_GLOBAL__sub_I_TankThrowLoftRate
0x003d30e0 · 1051 bytes · unknown
Decompiled
undefined (0 params)
void _GLOBAL__sub_I_TankThrowLoftRate(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 *)TankThrowLoftRate,"tank_throw_loft_rate",".01",0x4000,
"Beyond no-loft range, Tank adds this angle/distance when throwing");
__cxa_atexit(ConVar::~ConVar,TankThrowLoftRate,&__dso_handle);
ConVar::ConVar((ConVar *)TankThrowMaxLoftAngle,"tank_throw_max_loft_angle","30",0x4000,
"Maximum loft angle for Tank throw angle adjustment");
__cxa_atexit(ConVar::~ConVar,TankThrowMaxLoftAngle,&__dso_handle);
ConVar::ConVar((ConVar *)TankThrowLeadTimeFactor,"tank_throw_lead_time_factor","0.5",0x4000,
"How much to lead a moving target");
__cxa_atexit(ConVar::~ConVar,TankThrowLeadTimeFactor,&__dso_handle);
ConVar::ConVar((ConVar *)TankThrowAllowRange,"tank_throw_allow_range","250",0x4000,
"How far away our victim must be before we\'ll try to throw debris at them");
__cxa_atexit(ConVar::~ConVar,TankThrowAllowRange,&__dso_handle);
ConVar::ConVar((ConVar *)TankThrowMinInterval,"tank_throw_min_interval","8",0x4000,
"Minimum interval between Tank rock throws");
__cxa_atexit(ConVar::~ConVar,TankThrowMinInterval,&__dso_handle);
ConVar::ConVar((ConVar *)TankThrowAimError,"tank_throw_aim_error","100",0x4000,
"Margin of error for Easy mode Tank rock throws");
__cxa_atexit(ConVar::~ConVar,TankThrowAimError,&__dso_handle);
ConVar::ConVar((ConVar *)TankStuckFailsafe,"tank_stuck_failsafe","1",0x4000);
__cxa_atexit(ConVar::~ConVar,TankStuckFailsafe,&__dso_handle);
ConVar::ConVar((ConVar *)TankStuckTimeChooseNewTarget,"tank_stuck_time_choose_new_target","2",
0x4000);
__cxa_atexit(ConVar::~ConVar,TankStuckTimeChooseNewTarget,&__dso_handle);
ConVar::ConVar((ConVar *)TankStuckVisibilityToleranceChooseNewTarget,
"tank_stuck_visibility_tolerance_choose_new_target","5",0x4000);
__cxa_atexit(ConVar::~ConVar,TankStuckVisibilityToleranceChooseNewTarget,&__dso_handle);
ConVar::ConVar((ConVar *)TankStuckTimeTimeSuicide,"tank_stuck_time_suicide","10",0x4000);
__cxa_atexit(ConVar::~ConVar,TankStuckTimeTimeSuicide,&__dso_handle);
ConVar::ConVar((ConVar *)TankStuckVisibilityToleranceSuicide,
"tank_stuck_visibility_tolerance_suicide","15",0x4000);
__cxa_atexit(ConVar::~ConVar,TankStuckVisibilityToleranceSuicide,&__dso_handle);
ConVar::ConVar((ConVar *)TankVisibilityToleranceSuicide,"tank_visibility_tolerance_suicide","60",
0x4000);
__cxa_atexit(ConVar::~ConVar,TankVisibilityToleranceSuicide,&__dso_handle);
ConVar::ConVar((ConVar *)TankStasisTimeSuicide,"tank_stasis_time_suicide","30",0x4000);
__cxa_atexit(ConVar::~ConVar,TankStasisTimeSuicide,&__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.