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 :

RE 1996 Voice Acting ModRE 1996 Voice Acting Mod

The mod that will bring back the awesome voice acting from the original 1996 Resident Evil....

20/10/2015
Wilson ChroniclesWilson Chronicles

First Person Shooter...

Stat ( mods sources ), pcs.

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


  • Description
  • HOW TO INSTALL

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

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


Views : 2207 ( +2 )
Downloads : 61
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. Разбираемся в коде пушки МР5 - По просьбам трудящихся коментирую код МР5
2. Исходный код снайперки - weapon_sniperrifle с оптическим прицелом
3. Летающие бочки и trigger_push - Все, кто хотя бы один раз прошел Hl1 наверняка знает, что на карте c2a5 (там где плотина) есть такие прикольные бочки, которые подскакивают вверх и там взрываются.
4. Как сделать вортигонта из HL1 другом - Моя первая статья
You cannot comment, because you are not logged-in.
    зомби без хедкраба №2
    Half-Lifeзомби без хедкраба №2
    HD Nissan Pathfinder LowPoly - By Netdenn.
    Half-LifeHD Nissan Pathfinder LowPoly - By Netdenn.
    С двадцатилетием, Half-Life 2! (Раздача в Steam)
    С двадцатилетием, Half-Life 2! (Раздача в Steam)
    de_city_battle
    Counter-Strike 1.6de_city_battle