Sign up - or - Login

Recover password
×

To recover your password, you must enter the username or e-mail that you used during the registration. After that, a mail with a security code will be sent to your inbox.

Your username or e-mail :

Zombie Edition v 1.1Zombie Edition v 1.1

Мод о Хедкрабе...

21/06/2010
DeadDead

Средний мод для half life. Он будет рассказывать историю другого Фримена......

Stat overall size ( ALL )

Работа на клиенте


  • Description
  • HOW TO INSTALL

Звук попадания как в HL2

Работа на клиенте


Views : 2288 ( +1 )
Downloads : 63
Uploader : master07
Created : 04/03/2013 3:06:23 AM
Rating :
 ( 0 ) 
Share :


Following translations are available : | russian |

Ладно сразу приступим!

Найдите и откройте ev_hldm.cpp

Найдите функцию:

float EV_HLDM_PlayTextureSound( int idx, pmtrace_t *ptr, float *vecSrc, float *vecEnd, int iBulletType )

В ней замените:

        switch (chTextureType)
        {
        default:
        case CHAR_TEX_CONCRETE: fvol = 0.9;     fvolbar = 0.6;
                rgsz[0] = "player/pl_step1.wav";
                rgsz[1] = "player/pl_step2.wav";
                cnt = 2;
                break;
        case CHAR_TEX_METAL: fvol = 0.9; fvolbar = 0.3;
                rgsz[0] = "player/pl_metal1.wav";
                rgsz[1] = "player/pl_metal2.wav";
                cnt = 2;
                break;
        case CHAR_TEX_DIRT:     fvol = 0.9; fvolbar = 0.1;
                rgsz[0] = "player/pl_dirt1.wav";
                rgsz[1] = "player/pl_dirt2.wav";
                rgsz[2] = "player/pl_dirt3.wav";
                cnt = 3;
                break;
        case CHAR_TEX_VENT:     fvol = 0.5; fvolbar = 0.3;
                rgsz[0] = "player/pl_duct1.wav";
                rgsz[1] = "player/pl_duct1.wav";
                cnt = 2;
                break;
        case CHAR_TEX_GRATE: fvol = 0.9; fvolbar = 0.5;
                rgsz[0] = "player/pl_grate1.wav";
                rgsz[1] = "player/pl_grate4.wav";
                cnt = 2;
                break;
        case CHAR_TEX_TILE:     fvol = 0.8; fvolbar = 0.2;
                rgsz[0] = "player/pl_tile1.wav";
                rgsz[1] = "player/pl_tile3.wav";
                rgsz[2] = "player/pl_tile2.wav";
                rgsz[3] = "player/pl_tile4.wav";
                cnt = 4;
                break;
        case CHAR_TEX_SLOSH: fvol = 0.9; fvolbar = 0.0;
                rgsz[0] = "player/pl_slosh1.wav";
                rgsz[1] = "player/pl_slosh3.wav";
                rgsz[2] = "player/pl_slosh2.wav";
                rgsz[3] = "player/pl_slosh4.wav";
                cnt = 4;
                break;
        case CHAR_TEX_WOOD: fvol = 0.9; fvolbar = 0.2;
                rgsz[0] = "debris/wood1.wav";
                rgsz[1] = "debris/wood2.wav";
                rgsz[2] = "debris/wood3.wav";
                cnt = 3;
                break;
        case CHAR_TEX_GLASS:
        case CHAR_TEX_COMPUTER:
                fvol = 0.8; fvolbar = 0.2;
                rgsz[0] = "debris/glass1.wav";
                rgsz[1] = "debris/glass2.wav";
                rgsz[2] = "debris/glass3.wav";
                cnt = 3;
                break;
        case CHAR_TEX_FLESH:
                if (iBulletType == BULLET_PLAYER_CROWBAR)
                        return 0.0; // crowbar already makes this sound
                fvol = 1.0;     fvolbar = 0.2;
                rgsz[0] = "weapons/bullet_hit1.wav";
                rgsz[1] = "weapons/bullet_hit2.wav";
                fattn = 1.0;
                cnt = 2;
                break;
        }

На мою:

        switch (chTextureType)
        {
        default:
        case CHAR_TEX_CONCRETE: fvol = 0.9;     fvolbar = 0.6;
                rgsz[0] = "player/step1.wav";
                rgsz[1] = "player/step2.wav";
                cnt = 2;
                break;
        case CHAR_TEX_METAL: fvol = 0.9; fvolbar = 0.3;
                rgsz[0] = "player/metal1.wav";
                rgsz[1] = "player/metal2.wav";
                cnt = 2;
                break;
        case CHAR_TEX_DIRT:     fvol = 0.9; fvolbar = 0.1;
                rgsz[0] = "player/pl_dirt1.wav";
                rgsz[1] = "player/pl_dirt2.wav";
                rgsz[2] = "player/pl_dirt3.wav";
                cnt = 3;
                break;
        case CHAR_TEX_VENT:     fvol = 0.5; fvolbar = 0.3;
                rgsz[0] = "player/metal1.wav";
                rgsz[1] = "player/metal1.wav";
                cnt = 2;
                break;
        case CHAR_TEX_GRATE: fvol = 0.9; fvolbar = 0.5;
                rgsz[0] = "player/metal1.wav";
                rgsz[1] = "player/metal1.wav";
                cnt = 2;
                break;
        case CHAR_TEX_TILE:     fvol = 0.8; fvolbar = 0.2;
                rgsz[0] = "player/pl_tile1.wav";
                rgsz[1] = "player/pl_tile3.wav";
                rgsz[2] = "player/pl_tile2.wav";
                rgsz[3] = "player/pl_tile4.wav";
                cnt = 4;
                break;
        case CHAR_TEX_SLOSH: fvol = 0.9; fvolbar = 0.0;
                rgsz[0] = "player/pl_slosh1.wav";
                rgsz[1] = "player/pl_slosh3.wav";
                rgsz[2] = "player/pl_slosh2.wav";
                rgsz[3] = "player/pl_slosh4.wav";
                cnt = 4;
                break;
        case CHAR_TEX_WOOD: fvol = 0.9; fvolbar = 0.2;
                rgsz[0] = "debris/wood1.wav";
                rgsz[1] = "debris/wood2.wav";
                rgsz[2] = "debris/wood3.wav";
                cnt = 3;
                break;
        case CHAR_TEX_GLASS:
        case CHAR_TEX_COMPUTER:
                fvol = 0.8; fvolbar = 0.2;
                rgsz[0] = "debris/glass1.wav";
                rgsz[1] = "debris/glass2.wav";
                rgsz[2] = "debris/glass3.wav";
                cnt = 3;
                break;
        case CHAR_TEX_FLESH:
                if (iBulletType == BULLET_PLAYER_CROWBAR)
                        return 0.0; // crowbar already makes this sound
                fvol = 1.0;     fvolbar = 0.2;
                rgsz[0] = "weapons/bullet_hit1.wav";
                rgsz[1] = "weapons/bullet_hit2.wav";
                fattn = 1.0;
                cnt = 2;
                break;
        }

Всё! Звуки в архиве.



1. ( 60.4 Kb )
Similar1. Монстры по сети - Для создания кооперативного мода или просто для включения монстров в сетевой игре
2. Мазлфлэш на брашах - Мазлфлэш на брашах
You cannot comment, because you are not logged-in.
    me3_TableLarge01_Dirty
    Half-Lifeme3_TableLarge01_Dirty
    me3_TableLarge01
    Half-Lifeme3_TableLarge01
    me3_Crate01_L
    Half-Lifeme3_Crate01_L
    me3_Desk01_Corner_Worn
    Half-Lifeme3_Desk01_Corner_Worn