Skip to content

Commit ae4ac2d

Browse files
authored
Update Ladder Rambos (#410)
- Added a convar to decide inventory switches on ladders. - Block holding items on ladders if switching is not allowed. - Fixed shove penalty sustained on ladders. - Fixed shotgun reload animation glitch on ladder if shotgun reload is off. - Removed debug info. - Removed gamedata leftover.
1 parent 7dd854d commit ae4ac2d

10 files changed

Lines changed: 172 additions & 112 deletions

File tree

addons/sourcemod/gamedata/l4d2_ladderrambos.txt

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,6 @@
1818
}
1919
}
2020
}
21-
"CTerrorGun::Holster"
22-
{
23-
"signature" "CTerrorGun::Holster"
24-
"callconv" "thiscall"
25-
"return" "int"
26-
"this" "entity"
27-
"arguments"
28-
{
29-
"CBaseCombatWeapon"
30-
{
31-
"type" "int"
32-
}
33-
}
34-
}
3521
"CTerrorGun::Reload"
3622
{
3723
"signature" "CTerrorGun::Reload"
@@ -117,28 +103,8 @@
117103
}
118104
}
119105
}
120-
"Addresses"
121-
{
122-
"CTerrorPlayer::PreThink"
123-
{
124-
"linux"
125-
{
126-
"signature" "CTerrorPlayer::PreThink"
127-
}
128-
"windows"
129-
{
130-
"signature" "CTerrorPlayer::PreThink"
131-
}
132-
}
133-
}
134106
"Offsets"
135107
{
136-
"CTerrorPlayer::PreThink__SafeDropLogic"
137-
{
138-
"linux" "181"
139-
"windows" "498"
140-
}
141-
142108
"CBaseCombatWeapon::AbortReload"
143109
{
144110
"linux" "281"
@@ -209,6 +175,13 @@
209175
/* ? ? ? ? ? ? 56 57 8B F1 E8 ? ? ? ? 8B F8 85 FF 0F 84 ? ? ? ? 8B 87 B4 1C 00 00 */
210176
/* Signature provided by Lux & Crasher_3637 */
211177
}
178+
"CBaseShotgun::PlayReloadAnim"
179+
{
180+
"library" "server"
181+
"linux" "@_ZN12CBaseShotgun14PlayReloadAnimE8Activity17PlayerAnimEvent_ti"
182+
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x8B\x2A\x85\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x8B\x2A\x8B"
183+
/* ? ? ? ? ? ? ? E8 ? ? ? ? 8B ? 85 ? 0F 84 ? ? ? ? 8B ? ? 8B ? 8B */
184+
}
212185
}
213186
}
214187
}
387 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)