PHP Code:
"Functions"
{
"L4DD::CTerrorPlayer::OnSlammedSurvivor"
{
"signature" "CTerrorPlayer::OnSlammedSurvivor"
"callconv" "thiscall"
"return" "void"
"this" "entity"
"arguments"
{
"pVictim"
{
"type" "cbaseentity"
}
"bWallSlam"
{
"type" "bool"
}
"bDeadlyCharge"
{
"type" "bool"
}
}
}
}
"Signatures"
{
"CTerrorPlayer::OnSlammedSurvivor"
{
"library" "server"
"linux" "@_ZN13CTerrorPlayer17OnSlammedSurvivorEPS_bb"
"windows" "\x55\x8B\xEC\x83\xEC\x2A\xD9\xEE\x56\x57\x6A\x00\x51\xD9\x2A\x24\x68\x2A\x2A\x2A\x2A\x8B\x2A\xE8\x2A\x2A\x2A\x2A\xF3\x0F"
/* 55 8B EC 83 EC ? D9 EE 56 57 6A 00 51 D9 ? 24 68 ? ? ? ? 8B ? E8 ? ? ? ? F3 0F */
}
}
Can I request this as a new forward?
Funny story that not even a single event indicates a slam has (potentially) happened.
Maybe hook both pre and post (post-handled? blocking this may lead to a lot of issues so suggest
Plugin_Handled be used for overrding params)
P.S. The param
bDeadlyCharge indicates the carry ends at a height down 360.0 units from the carry start, and adds
DMG_PARALYZE to the damage flags to incap the victim.