[Mod Tools] Hitmarkers

Topic created · 2 Posts · 554 Views
  • Youtube Video

    DOWNLOAD

    1.-Open your zombie_mapname.gsc and look for this line:

    maps\_zombiemode::main();
    

    above it add this:

    precacheShader( "damage_feedback" );
    

    2.-Open your _zombiemode_spawner.gsc and go to the function: zombie_death_event( zombie ) and look for this (this is then at the beginning):

    if ( !IsDefined( zombie ) )
           {
                  return;
           }
    

    below add this:

    if( IsDefined( zombie.attacker ) && IsPlayer( zombie.attacker ) )
        {
            zombie.attacker thread maps\_damagefeedback::updateDamageFeedback( zombie );
        }
    

    Look for the function: zombie_damage_ads() and look for this:

    if( !IsDefined( player ) )
           {
                  return;
           }
    

    below add this:

    if( IsDefined( player ) && IsPlayer( player ) )
        {
            player thread maps\_damagefeedback::updateDamageFeedback( self );
        }
    

    3.-Open your _zombiemode.gsc file and look for this function: onPlayerSpawned() under this:

    self add_to_spectate_list();
    

    add this:

    if( !IsDefined( self.hud_damagefeedback ) )
        {
            self thread maps\_damagefeedback::init();
        }
    

    4.-In your sound file add this:

    MP_hit_alert,raw\sound\prj\bullet\headshot\mp_hit_indication_3c.wav,wpn_all_reload_plr,wpn_pm63,,reload,100,100,100,0,0,0,default,default,allon,rdefault,5,priority,5,reject,-88,84,0,70,70,0.25,1,2d,loaded,nonlooping,,1,0,88,,default,0,0,0,0,0.5,0.5,no,yes,none,1000,no,,both,no,no,,,75,yes,no,0,0,wma,yes,no,world,reload,no,raw\sound\wpn\smg\pm63\reload\fly_pm63_futz.xm4,0,raw\sound\wpn\smg\pm63\reload\fly_pm63_futz.mp3,0,raw\sound\prj\bullet\headshot\mp_hit_indication_3c.wav,0,wpn_rifle,all
    
    bullet_impact_headshot_helmet_nodie,raw\sound\prj\bullet\headshot\helmet_nd\helmet_nd_00.wav,wpn_all_reload_plr,wpn_pm63,,reload,100,100,100,0,0,0,default,default,allon,rdefault,5,priority,5,reject,-88,84,0,70,70,0.25,1,2d,loaded,nonlooping,,1,0,88,,default,0,0,0,0,0.5,0.5,no,yes,none,1000,no,,both,no,no,,,75,yes,no,0,0,wma,yes,no,world,reload,no,raw\sound\wpn\smg\pm63\reload\fly_pm63_futz.xm4,0,raw\sound\wpn\smg\pm63\reload\fly_pm63_futz.mp3,0,raw\sound\prj\bullet\headshot\helmet_nd\helmet_nd_00.wav,0,wpn_rifle,all
    bullet_impact_headshot_helmet_nodie,raw\sound\prj\bullet\headshot\helmet_nd\helmet_nd_01.wav,wpn_all_reload_plr,wpn_pm63,,reload,100,100,100,0,0,0,default,default,allon,rdefault,5,priority,5,reject,-88,84,0,70,70,0.25,1,2d,loaded,nonlooping,,1,0,88,,default,0,0,0,0,0.5,0.5,no,yes,none,1000,no,,both,no,no,,,75,yes,no,0,0,wma,yes,no,world,reload,no,raw\sound\wpn\smg\pm63\reload\fly_pm63_futz.xm4,0,raw\sound\wpn\smg\pm63\reload\fly_pm63_futz.mp3,0,raw\sound\prj\bullet\headshot\helmet_nd\helmet_nd_01.wav,0,wpn_rifle,all
    bullet_impact_headshot_helmet_nodie,raw\sound\prj\bullet\headshot\helmet_nd\helmet_nd_02.wav,wpn_all_reload_plr,wpn_pm63,,reload,100,100,100,0,0,0,default,default,allon,rdefault,5,priority,5,reject,-88,84,0,70,70,0.25,1,2d,loaded,nonlooping,,1,0,88,,default,0,0,0,0,0.5,0.5,no,yes,none,1000,no,,both,no,no,,,75,yes,no,0,0,wma,yes,no,world,reload,no,raw\sound\wpn\smg\pm63\reload\fly_pm63_futz.xm4,0,raw\sound\wpn\smg\pm63\reload\fly_pm63_futz.mp3,0,raw\sound\prj\bullet\headshot\helmet_nd\helmet_nd_02.wav,0,wpn_rifle,all
    
  • @shippuden1592 HI there thanks for this, I was wondering if you could possibly show me how to apply it to all single player maps?

Log in to reply