sourcemod/gamedata/sdkhooks.games/game.zpanic.txt
XeroX 6b588fff61
ZPS: Add missing offsets (#1719)
* Update offsets for ZPS 3.2

Zombie Panic! Source Version 3.2 released and these are the updated offsets.

* Update offsets for 3.2

ZPS 3.2 has been release and these are the updated offsets / signatures.

* ZPS: Add missing offsets.

Adds support for OnTakeDamage_Alive, GetMaxHealth, Blocked, Reload and GroundEntChanged.
I wasn't aware these were missing entirely or I would have pushed them with the previous PR.

* ZPS Add missing offsets.

Adds support for GivePlayerAmmo.
Wasn't aware these were missing the first place.

* Fix ForcePlayerSuicide not properly working in ZPS

ZPS requires the second bool parameter to be true otherwise it won't do anything for players in the lobby or delayed for players on either team 2 or team 3.

* Fixed breaking code for other mods.

Added bForce which is set to true for zps.
2022-04-16 14:07:16 +00:00

130 lines
1.6 KiB
Plaintext

"Games"
{
"zps"
{
"Offsets"
{
"GroundEntChanged"
{
"windows" "188"
"linux" "190"
}
"OnTakeDamage_Alive"
{
"windows" "287"
"linux" "288"
}
"GetMaxHealth"
{
"windows" "126"
"linux" "127"
}
"Blocked"
{
"windows" "109"
"linux" "110"
}
"Reload"
{
"windows" "287"
"linux" "288"
}
"EndTouch"
{
"windows" "107"
"linux" "108"
}
"FireBullets"
{
"windows" "121"
"linux" "121"
}
"OnTakeDamage"
{
"windows" "69"
"linux" "70"
}
"PreThink"
{
"windows" "348"
"linux" "349"
}
"PostThink"
{
"windows" "349"
"linux" "350"
}
"SetTransmit"
{
"windows" "28"
"linux" "29"
}
"ShouldCollide"
{
"windows" "16"
"linux" "17"
}
"Spawn"
{
"windows" "30"
"linux" "31"
}
"StartTouch"
{
"windows" "105"
"linux" "106"
}
"Think"
{
"windows" "57"
"linux" "58"
}
"Touch"
{
"windows" "106"
"linux" "107"
}
"TraceAttack"
{
"windows" "67"
"linux" "68"
}
"Use"
{
"windows" "104"
"linux" "105"
}
"VPhysicsUpdate"
{
"windows" "168"
"linux" "169"
}
"Weapon_CanSwitchTo"
{
"windows" "278"
"linux" "279"
}
"Weapon_CanUse"
{
"windows" "272"
"linux" "273"
}
"Weapon_Drop"
{
"windows" "275"
"linux" "276"
}
"Weapon_Equip"
{
"windows" "273"
"linux" "274"
}
"Weapon_Switch"
{
"windows" "276"
"linux" "277"
}
}
}
}