L L4D2node

_GLOBAL__sub_I_ChaseLeadTime

0x003cc300 · 999 bytes · unknown

Decompiled

undefined (0 params)

void _GLOBAL__sub_I_ChaseLeadTime(void)

{
  vec2_origin._0_4_ = 0;
  vec2_origin._4_4_ = 0;
  vec2_invalid._0_4_ = 0x7f7fffff;
  vec2_invalid._4_4_ = 0x7f7fffff;
  vec4_origin._0_4_ = 0;
  vec4_origin._4_4_ = 0;
  vec4_origin._8_4_ = 0;
  vec4_origin._12_4_ = 0;
  vec4_invalid._0_4_ = 0x7f7fffff;
  vec4_invalid._4_4_ = 0x7f7fffff;
  vec4_invalid._8_4_ = 0x7f7fffff;
  vec4_invalid._12_4_ = 0x7f7fffff;
  UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
  ConVar::ConVar((ConVar *)ChaseLeadTime,"nb_chase_lead_time","2.0",0x4000);
  __cxa_atexit(ConVar::~ConVar,ChaseLeadTime,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieMaxPathLength,"z_max_path_length","5000",0x4000);
  __cxa_atexit(ConVar::~ConVar,ZombieMaxPathLength,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieAttackMinRange,"z_attack_min_range","10",0x2000);
  __cxa_atexit(ConVar::~ConVar,ZombieAttackMinRange,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieAttackMaxRange,"z_attack_max_range","20",0x2000);
  __cxa_atexit(ConVar::~ConVar,ZombieAttackMaxRange,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieAttackOnTheRunRange,"z_attack_on_the_run_range","35",0x2000);
  __cxa_atexit(ConVar::~ConVar,ZombieAttackOnTheRunRange,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieAttackInterval,"z_attack_interval","1",0x2000);
  __cxa_atexit(ConVar::~ConVar,ZombieAttackInterval,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieAttackChangeTargetRange,"z_attack_change_target_range","100",0x2000
                );
  __cxa_atexit(ConVar::~ConVar,ZombieAttackChangeTargetRange,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombiePushAwayForce,"z_pushaway_force","100",0x4000,
                 "How hard the infected shove non-IT Survivors out of their way to reach the IT victim"
                );
  __cxa_atexit(ConVar::~ConVar,ZombiePushAwayForce,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieDebugCull,"z_debug_cull",(char *)0x0,0x4000);
  __cxa_atexit(ConVar::~ConVar,ZombieDebugCull,&__dso_handle);
  ConVar::ConVar((ConVar *)z_debug_stuck,"z_debug_stuck",(char *)0x0,2);
  __cxa_atexit(ConVar::~ConVar,z_debug_stuck,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieDestroyOnAttack,"z_destroy_on_attack","0",0x4000,
                 "When an infected starts punching its victim, destroy it. Useful for demos.");
  __cxa_atexit(ConVar::~ConVar,ZombieDestroyOnAttack,&__dso_handle);
  ConVar::ConVar((ConVar *)ZombieShoveFriendSpeed,"z_shove_friend_speed","130",0x4000);
  __cxa_atexit(ConVar::~ConVar,ZombieShoveFriendSpeed,&__dso_handle);
  ConVar::ConVar((ConVar *)z_attack_infected_it_damage,"z_attack_infected_it_damage","10",0x4000,
                 "Damage done per claw hit by infected on other infected who are IT");
  __cxa_atexit(ConVar::~ConVar,z_attack_infected_it_damage,&__dso_handle);
  return;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

Just a Signatures{} block, ready to drop into a gamedata file. Wire it up in your plugin however you like - SDKCall, DHooks, raw memory ops, or anything else.



        
        

⚠ This function has no mangled symbol — it may be internal/static. The Linux gamedata field uses @-prefix symbol resolution which requires an exported mangled name. You'll need a Linux byte signature for this one (extract via extract_signature.java).


          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)