Registrierung - oder - Hineingehen
Overwatch 1.50Overwatch 1.50

Кооперативный многопользовательский FPS / RTS...

20/08/2010

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


  • Beschreibung
  • WIE INSTALLIERT MAN

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

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


Der Durchsichten : 751 ( +2 )
Heruntergeladen : 27
Hochgeladen von : master07
Erstellt : 04/03/2013 12:06:23 AM
Wertung :
 ( 0 ) 
Aktie :


Es gibt die folgenden Sprachen : | russisch |

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

Найдите и откройте 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 )
Die Ähnlichen1. Добавление ножа из Op4 - Добавление ножа из Op4
2. Новый монстр - В общем-то это самый лёгкий тутор который можно придумать.
3. Trigger_PlayerFreeez - Trigger_PlayerFreeez (остановка игрока)
4. Тряска игрока от наносимого урона - Вы хотите cделать чтобы игроков трясло от урона?
5. Мазлфлэш на брашах - Мазлфлэш на брашах
Sie können nicht kommentieren, da Sie sind nicht registriert.
    Hula Dancers TMC Files 2.5
    Dead Or Alive 5 Last RoundHula Dancers TMC Files 2.5
    Naotora Lingerie
    Dead Or Alive 5 Last RoundNaotora Lingerie
    Lisa Bikini Armor
    Dead Or Alive 5 Last RoundLisa Bikini Armor
    Geni - HLOD nude pack
    Dead Or Alive 5 Last RoundGeni - HLOD nude pack

Время --------- ___ALL___ --------- : 0.59482 секунд