_GLOBAL__sub_I_versus_round_restarttimer
0x003ba9a0 · 2267 bytes · unknown
Decompiled
undefined (0 params)
void _GLOBAL__sub_I_versus_round_restarttimer(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;
InterfaceReg::InterfaceReg
((InterfaceReg *)__g_CreateCServerGameTagsIServerGameTags_reg,
__CreateCServerGameTagsIServerGameTags_interface,"ServerGameTags001");
ConVar::ConVar((ConVar *)versus_round_restarttimer,"versus_round_restarttimer","15",0);
__cxa_atexit(ConVar::~ConVar,versus_round_restarttimer,&__dso_handle);
ConVar::ConVar((ConVar *)versus_round_restarttimer_finale,"versus_round_restarttimer_finale","10",
0);
__cxa_atexit(ConVar::~ConVar,versus_round_restarttimer_finale,&__dso_handle);
ConVar::ConVar((ConVar *)versus_force_start_time,"versus_force_start_time","90",0,
"Starts versus game after this amount of time, even if survivors are still inside the safe room"
,true,10.0,false,10000.0);
__cxa_atexit(ConVar::~ConVar,versus_force_start_time,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_debug,"versus_boss_debug","0",0x4000,
"Enable debug output for versus tank/witch spawning logic");
__cxa_atexit(ConVar::~ConVar,versus_boss_debug,&__dso_handle);
ConVar::ConVar((ConVar *)versus_tank_chance,"versus_tank_chance","0.75",0x4000,
"Chance of a tank spawning within a regular versus map");
__cxa_atexit(ConVar::~ConVar,versus_tank_chance,&__dso_handle);
ConVar::ConVar((ConVar *)versus_tank_chance_intro,"versus_tank_chance_intro","0.3",0x4000,
"Chance of a tank spawning within the first map of a campaign");
__cxa_atexit(ConVar::~ConVar,versus_tank_chance_intro,&__dso_handle);
ConVar::ConVar((ConVar *)versus_tank_chance_finale,"versus_tank_chance_finale","0.1",0x4000,
"Chance of a tank spawning within the finale map of a campaign");
__cxa_atexit(ConVar::~ConVar,versus_tank_chance_finale,&__dso_handle);
ConVar::ConVar((ConVar *)versus_witch_chance,"versus_witch_chance","0.75",0x4000,
"Chance of a witch spawning within a regular versus map");
__cxa_atexit(ConVar::~ConVar,versus_witch_chance,&__dso_handle);
ConVar::ConVar((ConVar *)versus_witch_chance_intro,"versus_witch_chance_intro","0.3",0x4000,
"Chance of a witch spawning within the first map of a campaign");
__cxa_atexit(ConVar::~ConVar,versus_witch_chance_intro,&__dso_handle);
ConVar::ConVar((ConVar *)versus_witch_chance_finale,"versus_witch_chance_finale","0.1",0x4000,
"Chance of a witch spawning within the finale map of a campaign");
__cxa_atexit(ConVar::~ConVar,versus_witch_chance_finale,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_flow_min,"versus_boss_flow_min","0.25",0x4000,
"Min fraction of map flow for tank/witch spawn location");
__cxa_atexit(ConVar::~ConVar,versus_boss_flow_min,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_flow_max,"versus_boss_flow_max","0.9",0x4000,
"Max fraction of map flow for tank/witch spawn location");
__cxa_atexit(ConVar::~ConVar,versus_boss_flow_max,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_flow_min_intro,"versus_boss_flow_min_intro","0.5",0x4000,
"Min fraction of map flow for tank/witch spawn location within the first map of a campaign"
);
__cxa_atexit(ConVar::~ConVar,versus_boss_flow_min_intro,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_flow_max_intro,"versus_boss_flow_max_intro","0.75",0x4000,
"Max fraction of map flow for tank/witch spawn location within the first map of a campaign"
);
__cxa_atexit(ConVar::~ConVar,versus_boss_flow_max_intro,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_flow_min_finale,"versus_boss_flow_min_finale","0.25",0x4000,
"Min fraction of map flow for tank/witch spawn location within the finale map of a campaign"
);
__cxa_atexit(ConVar::~ConVar,versus_boss_flow_min_finale,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_flow_max_finale,"versus_boss_flow_max_finale","0.6",0x4000,
"Max fraction of map flow for tank/witch spawn location within the finale map of a campaign"
);
__cxa_atexit(ConVar::~ConVar,versus_boss_flow_max_finale,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_padding_min,"versus_boss_padding_min","0.1",0x4000,
"How far apart the tank/witch have to be along the flow");
__cxa_atexit(ConVar::~ConVar,versus_boss_padding_min,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_padding_max,"versus_boss_padding_max","0.3",0x4000,
"How far apart the tank/witch have to be along the flow");
__cxa_atexit(ConVar::~ConVar,versus_boss_padding_max,&__dso_handle);
ConVar::ConVar((ConVar *)versus_boss_buffer,"versus_boss_buffer","2200",0x4000);
__cxa_atexit(ConVar::~ConVar,versus_boss_buffer,&__dso_handle);
ConVar::ConVar((ConVar *)versus_special_respawn_interval,"versus_special_respawn_interval","20",
0x4000);
__cxa_atexit(ConVar::~ConVar,versus_special_respawn_interval,&__dso_handle);
ConVar::ConVar((ConVar *)versus_wandering_zombie_density,"versus_wandering_zombie_density","0.027"
,0x4010);
__cxa_atexit(ConVar::~ConVar,versus_wandering_zombie_density,&__dso_handle);
ConVar::ConVar((ConVar *)versus_tank_flow_team_variation,"versus_tank_flow_team_variation","0.1",
0x4000,
"Window of flow distance that the tank can spawn in for the second team in versus")
;
__cxa_atexit(ConVar::~ConVar,versus_tank_flow_team_variation,&__dso_handle);
ConVar::ConVar((ConVar *)versus_witch_flow_team_variation,"versus_witch_flow_team_variation","0.0"
,0x4000,
"Window of flow distance that the witch can spawn in for the second team in versus"
);
__cxa_atexit(ConVar::~ConVar,versus_witch_flow_team_variation,&__dso_handle);
ConVar::ConVar((ConVar *)versus_winning_team_goes_last,"versus_winning_team_goes_last","1",0x4000,
"In versus mode, the team that is losing plays as survivors first");
__cxa_atexit(ConVar::~ConVar,versus_winning_team_goes_last,&__dso_handle);
ConVar::ConVar((ConVar *)DirectorVSConvertPills,"director_vs_convert_pills","0.5",0,
"What fraction of pain pills should be converted to health kits in vs mode");
__cxa_atexit(ConVar::~ConVar,DirectorVSConvertPills,&__dso_handle);
ConVar::ConVar((ConVar *)versus_marker_num,"versus_marker_num","3",2,
"Number of travel markers we expose to survivors in Versus mode.");
__cxa_atexit(ConVar::~ConVar,versus_marker_num,&__dso_handle);
ConVar::ConVar((ConVar *)versus_level_restart_delay,"versus_level_restart_delay","4",0x4000,
"After a successful vote, restart the map after this many seconds.");
__cxa_atexit(ConVar::~ConVar,versus_level_restart_delay,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)director_force_versus_start,"director_force_versus_start",
CMD_ForceVersusStart,
"Force start the versus game, so PZs can spawn even if survivors are still in the safe room"
,0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,director_force_versus_start,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)versus_boss_flow_test,"versus_boss_flow_test",CMD_versus_boss_flow_test,
"Force start the versus game, so PZs can spawn even if survivors are still in the safe room"
,0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,versus_boss_flow_test,&__dso_handle);
return;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
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.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
⚠ 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.