[ZPS] Update gamedata and engine migration (#782)

* Migrate ZPS from EP2 to SDK 2013 engine

* Update ZPS gamedata (for version 3.0.7-Hotfix3)
This commit is contained in:
Joël Troch 2018-03-20 00:19:01 +01:00 committed by Nick Hastings
parent 07f8043bce
commit 54a32e979f
5 changed files with 132 additions and 133 deletions

View File

@ -17,7 +17,6 @@
"#supported" "#supported"
{ {
"game" "ageofchivalry" "game" "ageofchivalry"
"game" "zps"
"game" "bg2" "game" "bg2"
"game" "pvkii" "game" "pvkii"
"game" "gesource" "game" "gesource"

View File

@ -19,6 +19,7 @@
{ {
"game" "synergy" "game" "synergy"
"game" "empires" "game" "empires"
"game" "zps"
} }
"Offsets" "Offsets"

View File

@ -1,105 +1,105 @@
"Games" "Games"
{ {
/* Zombic Panic Source 2.0 */ /* Zombic Panic Source 3.0.7 (Hotfix-3) */
"zps" "zps"
{ {
"Offsets" "Offsets"
{ {
"EndTouch" "EndTouch"
{ {
"windows" "96" "windows" "113"
"linux" "97" "linux" "114"
} }
"FireBullets" "FireBullets"
{ {
"windows" "108" "windows" "125"
"linux" "109" "linux" "126"
} }
"OnTakeDamage" "OnTakeDamage"
{ {
"windows" "61" "windows" "74"
"linux" "62" "linux" "75"
} }
"PreThink" "PreThink"
{ {
"windows" "295" "windows" "351"
"linux" "296" "linux" "352"
} }
"PostThink" "PostThink"
{ {
"windows" "296" "windows" "352"
"linux" "297" "linux" "353"
} }
"SetTransmit" "SetTransmit"
{ {
"windows" "19" "windows" "26"
"linux" "20" "linux" "27"
} }
"ShouldCollide" "ShouldCollide"
{ {
"windows" "15" "windows" "22"
"linux" "16" "linux" "23"
} }
"Spawn" "Spawn"
{ {
"windows" "21" "windows" "28"
"linux" "22" "linux" "29"
} }
"StartTouch" "StartTouch"
{ {
"windows" "94" "windows" "111"
"linux" "95" "linux" "112"
} }
"Think" "Think"
{ {
"windows" "46" "windows" "57"
"linux" "47" "linux" "58"
} }
"Touch" "Touch"
{ {
"windows" "95" "windows" "112"
"linux" "96" "linux" "113"
} }
"TraceAttack" "TraceAttack"
{ {
"windows" "59" "windows" "70"
"linux" "60" "linux" "71"
} }
"Use" "Use"
{ {
"windows" "93" "windows" "110"
"linux" "94" "linux" "111"
} }
"VPhysicsUpdate" "VPhysicsUpdate"
{ {
"windows" "149" "windows" "170"
"linux" "150" "linux" "171"
} }
"Weapon_CanSwitchTo" "Weapon_CanSwitchTo"
{ {
"windows" "240" "windows" "281"
"linux" "241" "linux" "282"
} }
"Weapon_CanUse" "Weapon_CanUse"
{ {
"windows" "234" "windows" "274"
"linux" "235" "linux" "275"
} }
"Weapon_Drop" "Weapon_Drop"
{ {
"windows" "237" "windows" "277"
"linux" "238" "linux" "278"
} }
"Weapon_Equip" "Weapon_Equip"
{ {
"windows" "235" "windows" "275"
"linux" "236" "linux" "276"
}
"Weapon_Switch"
{
"windows" "278"
"linux" "279"
} }
//"Weapon_Switch"
//{
// "windows" "234"
// "linux" "235"
//}
} }
} }
} }

View File

@ -91,7 +91,6 @@
"#supported" "#supported"
{ {
"game" "ageofchivalry" "game" "ageofchivalry"
"game" "zps"
"game" "bg2" "game" "bg2"
"game" "gesource" "game" "gesource"
"game" "RnLBeta" "game" "RnLBeta"

View File

@ -18,130 +18,130 @@
{ {
"GiveNamedItem" "GiveNamedItem"
{ {
"windows" "358" "windows" "552"
"linux" "359" "linux" "553"
} }
"RemovePlayerItem" "RemovePlayerItem"
{ {
"windows" "247" "windows" "289"
"linux" "248" "linux" "290"
} }
"Weapon_GetSlot" "Weapon_GetSlot"
{ {
"windows" "242" "windows" "284"
"linux" "243" "linux" "285"
} }
"Ignite" "Ignite"
{ {
"windows" "199" "windows" "223"
"linux" "200" "linux" "224"
} }
"Extinguish" "Extinguish"
{ {
"windows" "203" "windows" "227"
"linux" "204" "linux" "228"
} }
"Teleport" "Teleport"
{ {
"windows" "104" "windows" "121"
"linux" "105" "linux" "122"
} }
"CommitSuicide" "CommitSuicide"
{ {
"windows" "405" "windows" "465"
"linux" "405" "linux" "465"
} }
"GetVelocity" "GetVelocity"
{ {
"windows" "133" "windows" "153"
"linux" "134" "linux" "154"
} }
"EyeAngles" "EyeAngles"
{ {
"windows" "125" "windows" "144"
"linux" "126" "linux" "145"
} }
"AcceptInput" "AcceptInput"
{ {
"windows" "35" "windows" "42"
"linux" "36" "linux" "43"
}
"SetEntityModel"
{
"windows" "24"
"linux" "25"
}
"WeaponEquip"
{
"windows" "235"
"linux" "236"
} }
//"SetEntityModel"
//{
// "windows" "24"
// "linux" "25"
//}
//"WeaponEquip"
//{
// "windows" "235"
// "linux" "236"
//}
"Activate" "Activate"
{ {
"windows" "32" "windows" "39"
"linux" "33" "linux" "40"
} }
"PlayerRunCmd" "PlayerRunCommand"
{ {
"windows" "377" "windows" "443"
"linux" "378" "linux" "444"
}
}
"Signatures"
{
"FindEntityByClassname"
{
"library" "server"
"windows" "\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x4D\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\x2A\x2A\x2A\x2A\x40\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5D\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x2A\x2A\x2A\x2A\x83\xC4\x2A\xEB\x2A\x39"
"linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
}
"FireOutput"
{
"library" "server"
"windows" "\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x71\x2A\x57"
"linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
} }
} }
//"Signatures"
//{
// "FindEntityByClassname"
// {
// "library" "server"
// "windows" "\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x4D\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\x2A\x2A\x2A\x2A\x40\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5D\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x2A\x2A\x2A\x2A\x83\xC4\x2A\xEB\x2A\x39"
// "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
// }
// "FireOutput"
// {
// "library" "server"
// "windows" "\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x71\x2A\x57"
// "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
// }
//}
} }
"zps" //"zps"
{ //{
"Offsets" // "Offsets"
{ // {
/* Offset into CBaseTempEntity constructor */ // /* Offset into CBaseTempEntity constructor */
"s_pTempEntities" // "s_pTempEntities"
{ // {
"windows" "19" // "windows" "19"
} // }
"GetTEName" // "GetTEName"
{ // {
"windows" "4" // "windows" "4"
"linux" "4" // "linux" "4"
} // }
"GetTENext" // "GetTENext"
{ // {
"windows" "8" // "windows" "8"
"linux" "8" // "linux" "8"
} // }
"TE_GetServerClass" // "TE_GetServerClass"
{ // {
"windows" "0" // "windows" "0"
"linux" "0" // "linux" "0"
} // }
} // }
"Signatures" // "Signatures"
{ // {
"CBaseTempEntity" // "CBaseTempEntity"
{ // {
"library" "server" // "library" "server"
"windows" "\x55\x8B\xEC\x8B\xC1\x8B\x4D\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89" // "windows" "\x55\x8B\xEC\x8B\xC1\x8B\x4D\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89"
} // }
"s_pTempEntities" // "s_pTempEntities"
{ // {
"library" "server" // "library" "server"
"linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" // "linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE"
} // }
} // }
} //}
} }