Added Treason gamedata (#2356)
Some checks failed
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (clang, clang++, ubuntu-latest, linux) (push) Has been cancelled
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (clang-14, clang++-14, ubuntu-22.04, linux) (push) Has been cancelled
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (msvc, windows-latest, win) (push) Has been cancelled
hl2sdk-mock tests / mock (push) Has been cancelled

* Added Treason gamedata

* Removed unused entries

---------

Co-authored-by: Nicholas Hastings <nshastings@gmail.com>
This commit is contained in:
Evgeniy Sidorenko 2025-09-23 02:41:30 +03:00 committed by GitHub
parent 9b6e36f6cd
commit e56a1ac2ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 201 additions and 0 deletions

View File

@ -319,6 +319,7 @@
"game" "tf2classic"
"game" "pf2"
"game" "dystopia"
"game" "treason"
}
"Keys"

View File

@ -0,0 +1,93 @@
"Games"
{
"treason"
{
"Offsets"
{
"EndTouch"
{
"windows" "104"
}
"FireBullets"
{
"windows" "116"
}
"GroundEntChanged"
{
"windows" "182"
}
"OnTakeDamage"
{
"windows" "62"
}
"OnTakeDamage_Alive"
{
"windows" "277"
}
"PreThink"
{
"windows" "337"
}
"PostThink"
{
"windows" "338"
}
"SetTransmit"
{
"windows" "20"
}
"ShouldCollide"
{
"windows" "16"
}
"Spawn"
{
"windows" "22"
}
"StartTouch"
{
"windows" "102"
}
"Think"
{
"windows" "47"
}
"Touch"
{
"windows" "103"
}
"TraceAttack"
{
"windows" "60"
}
"Use"
{
"windows" "101"
}
"VPhysicsUpdate"
{
"windows" "162"
}
"Weapon_CanSwitchTo"
{
"windows" "271"
}
"Weapon_CanUse"
{
"windows" "265"
}
"Weapon_Drop"
{
"windows" "268"
}
"Weapon_Equip"
{
"windows" "266"
}
"Weapon_Switch"
{
"windows" "269"
}
}
}
}

View File

@ -223,4 +223,8 @@
{
"game" "hl1mp"
}
"game.treason.txt"
{
"game" "treason"
}
}

View File

@ -0,0 +1,99 @@
"Games"
{
"treason"
{
"Keys"
{
"SlapSoundCount" "5"
"SlapSound1" "player/hitmark.wav"
"SlapSound2" "player/hitmark_dart.wav"
"SlapSound3" "player/hitmark_protection.wav"
"SlapSound4" "player/hitmarkhead.wav"
"SlapSound5" "player/hitmarkhead_protection.wav"
"GameRulesProxy" "CTreasonGameRulesProxy"
"GameRulesDataTable" "treason_gamerules_data"
}
"Offsets"
{
"SetOwnerEntity"
{
"windows" "17"
}
"GiveNamedItem"
{
"windows" "405"
}
"RemovePlayerItem"
{
"windows" "275"
}
"Weapon_GetSlot"
{
"windows" "273"
}
"Ignite"
{
"windows" "214"
}
"Extinguish"
{
"windows" "218"
}
"Teleport"
{
"windows" "112"
}
"CommitSuicide"
{
"windows" "443"
}
"GetVelocity"
{
"windows" "145"
}
"EyeAngles"
{
"windows" "135"
}
"AcceptInput"
{
"windows" "36"
}
"SetEntityModel"
{
"windows" "24"
}
"WeaponEquip"
{
"windows" "266"
}
"Activate"
{
"windows" "33"
}
"PlayerRunCmd"
{
"windows" "423"
}
"GiveAmmo"
{
"windows" "257"
}
"GetAttachment"
{
"windows" "210"
}
}
"Signatures"
{
"LookupAttachment"
{
"library" "server"
"windows" "\x55\x8B\xEC\x56\x8B\xF1\x80\xBE\x31\x03\x00\x00\x00\x75\x2A\x83\xBE\x70\x04\x00\x00\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x8B\x86\x70\x04\x00\x00\x85\xC0\x74\x2A\x83\x38\x00\x74\x2A\xFF\x75\x08\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x40"
}
}
}
}

View File

@ -284,4 +284,8 @@
{
"game" "hl1mp"
}
"game.treason.txt"
{
"game" "treason"
}
}