Skip to content

Commit e56a1ac

Browse files
PiMoNFeeDpsychonic
andauthored
Added Treason gamedata (#2356)
* Added Treason gamedata * Removed unused entries --------- Co-authored-by: Nicholas Hastings <nshastings@gmail.com>
1 parent 9b6e36f commit e56a1ac

5 files changed

Lines changed: 201 additions & 0 deletions

File tree

gamedata/core.games/common.games.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@
319319
"game" "tf2classic"
320320
"game" "pf2"
321321
"game" "dystopia"
322+
"game" "treason"
322323
}
323324

324325
"Keys"
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
"Games"
2+
{
3+
"treason"
4+
{
5+
"Offsets"
6+
{
7+
"EndTouch"
8+
{
9+
"windows" "104"
10+
}
11+
"FireBullets"
12+
{
13+
"windows" "116"
14+
}
15+
"GroundEntChanged"
16+
{
17+
"windows" "182"
18+
}
19+
"OnTakeDamage"
20+
{
21+
"windows" "62"
22+
}
23+
"OnTakeDamage_Alive"
24+
{
25+
"windows" "277"
26+
}
27+
"PreThink"
28+
{
29+
"windows" "337"
30+
}
31+
"PostThink"
32+
{
33+
"windows" "338"
34+
}
35+
"SetTransmit"
36+
{
37+
"windows" "20"
38+
}
39+
"ShouldCollide"
40+
{
41+
"windows" "16"
42+
}
43+
"Spawn"
44+
{
45+
"windows" "22"
46+
}
47+
"StartTouch"
48+
{
49+
"windows" "102"
50+
}
51+
"Think"
52+
{
53+
"windows" "47"
54+
}
55+
"Touch"
56+
{
57+
"windows" "103"
58+
}
59+
"TraceAttack"
60+
{
61+
"windows" "60"
62+
}
63+
"Use"
64+
{
65+
"windows" "101"
66+
}
67+
"VPhysicsUpdate"
68+
{
69+
"windows" "162"
70+
}
71+
"Weapon_CanSwitchTo"
72+
{
73+
"windows" "271"
74+
}
75+
"Weapon_CanUse"
76+
{
77+
"windows" "265"
78+
}
79+
"Weapon_Drop"
80+
{
81+
"windows" "268"
82+
}
83+
"Weapon_Equip"
84+
{
85+
"windows" "266"
86+
}
87+
"Weapon_Switch"
88+
{
89+
"windows" "269"
90+
}
91+
}
92+
}
93+
}

gamedata/sdkhooks.games/master.games.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,4 +223,8 @@
223223
{
224224
"game" "hl1mp"
225225
}
226+
"game.treason.txt"
227+
{
228+
"game" "treason"
229+
}
226230
}
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
"Games"
2+
{
3+
"treason"
4+
{
5+
"Keys"
6+
{
7+
"SlapSoundCount" "5"
8+
"SlapSound1" "player/hitmark.wav"
9+
"SlapSound2" "player/hitmark_dart.wav"
10+
"SlapSound3" "player/hitmark_protection.wav"
11+
"SlapSound4" "player/hitmarkhead.wav"
12+
"SlapSound5" "player/hitmarkhead_protection.wav"
13+
14+
"GameRulesProxy" "CTreasonGameRulesProxy"
15+
"GameRulesDataTable" "treason_gamerules_data"
16+
}
17+
18+
"Offsets"
19+
{
20+
"SetOwnerEntity"
21+
{
22+
"windows" "17"
23+
}
24+
"GiveNamedItem"
25+
{
26+
"windows" "405"
27+
}
28+
"RemovePlayerItem"
29+
{
30+
"windows" "275"
31+
}
32+
"Weapon_GetSlot"
33+
{
34+
"windows" "273"
35+
}
36+
"Ignite"
37+
{
38+
"windows" "214"
39+
}
40+
"Extinguish"
41+
{
42+
"windows" "218"
43+
}
44+
"Teleport"
45+
{
46+
"windows" "112"
47+
}
48+
"CommitSuicide"
49+
{
50+
"windows" "443"
51+
}
52+
"GetVelocity"
53+
{
54+
"windows" "145"
55+
}
56+
"EyeAngles"
57+
{
58+
"windows" "135"
59+
}
60+
"AcceptInput"
61+
{
62+
"windows" "36"
63+
}
64+
"SetEntityModel"
65+
{
66+
"windows" "24"
67+
}
68+
"WeaponEquip"
69+
{
70+
"windows" "266"
71+
}
72+
"Activate"
73+
{
74+
"windows" "33"
75+
}
76+
"PlayerRunCmd"
77+
{
78+
"windows" "423"
79+
}
80+
"GiveAmmo"
81+
{
82+
"windows" "257"
83+
}
84+
"GetAttachment"
85+
{
86+
"windows" "210"
87+
}
88+
}
89+
90+
"Signatures"
91+
{
92+
"LookupAttachment"
93+
{
94+
"library" "server"
95+
"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"
96+
}
97+
}
98+
}
99+
}

gamedata/sdktools.games/master.games.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,4 +284,8 @@
284284
{
285285
"game" "hl1mp"
286286
}
287+
"game.treason.txt"
288+
{
289+
"game" "treason"
290+
}
287291
}

0 commit comments

Comments
 (0)