Continued making adding new entries easier
{hs_}register_function->ham_register(HamHook:function,...) Added a few more hooks Fixed a few directory errors Updated config file
This commit is contained in:
120
dlls/hamsandwich/config/hamdata.ini
Normal file
120
dlls/hamsandwich/config/hamdata.ini
Normal file
@ -0,0 +1,120 @@
|
||||
; Ham Sandwich module config file
|
||||
; -
|
||||
; Do not modify this file unless you know exactly what you're doing!
|
||||
; -
|
||||
; entry syntax is as follows:
|
||||
; [modname]_[os]_key
|
||||
; Example: the "use" key on TS running Linux would be "ts_linux_use"
|
||||
; "modname" is the game directory, NOT the game description!
|
||||
; eg: "ts", not "The Specialists"
|
||||
; -
|
||||
; Keys support either hexadecimal (MUST prefix with 0x) or base 10
|
||||
; -
|
||||
; Key types:
|
||||
; * takedamage: this is the vtable index of the takedamage routine
|
||||
; * use: this is the vtable index of the use routine
|
||||
; * pev: this is the offset in bytes of the location of pev in the cbaseentity
|
||||
; * classbase: this is the size in bytes of the cbaseentity base class LINUX ONLY
|
||||
; NOTE: If the mod is compiled with GCC 3.3+ (NS is the only one
|
||||
; I know of), then the classbase will always be 0x0
|
||||
; -
|
||||
; NOTE: If a mod is missing keys for a certain native, that particular native
|
||||
; will not be loaded! Example: Say CS is missing the "takedamage" index
|
||||
; but has the use and pev indexes. The hs_use and hs_pdata_cbase natives
|
||||
; will be registered, but the hs_takedamage native will not be registered.
|
||||
|
||||
; Data dated: 2007-02-23
|
||||
; Version tested: 1.6 Steam (legitimate)
|
||||
cstrike_windows_takedamage 12
|
||||
cstrike_windows_killed 14 ;estimated
|
||||
cstrike_windows_addpoints 23 ;estimated
|
||||
cstrike_windows_addpointstoteam 24 ;estimated
|
||||
cstrike_windows_use 46
|
||||
cstrike_windows_blocked 47 ;estimated
|
||||
cstrike_windows_respawn 48 ;estimated
|
||||
cstrike_windows_pev 4
|
||||
cstrike_linux_restart 4 ;estimated
|
||||
cstrike_linux_takedamage 14
|
||||
cstrike_windows_addpoints 25 ;estimated
|
||||
cstrike_windows_addpointstoteam 26 ;estimated
|
||||
cstrike_linux_killed 16 ;estimated
|
||||
cstrike_linux_use 48
|
||||
cstrike_linux_blocked 49 ;estimated
|
||||
cstrike_linux_respawn 50 ;estimated
|
||||
cstrike_linux_pev 0
|
||||
cstrike_linux_classbase 0x94
|
||||
|
||||
; Data dated: 2007-02-23
|
||||
; Version tested: 1.6 Steam (legitimate)
|
||||
czero_windows_takedamage 12
|
||||
czero_windows_use 46
|
||||
czero_windows_pev 4
|
||||
czero_linux_takedamage 14
|
||||
czero_linux_use 48
|
||||
czero_linux_pev 0
|
||||
czero_linux_classbase 0x94
|
||||
|
||||
; Data dated: 2007-02-23
|
||||
; Version tested: 3.1
|
||||
ns_windows_takedamage 10
|
||||
ns_windows_use 49
|
||||
ns_windows_pev 4
|
||||
ns_linux_takedamage 11
|
||||
ns_linux_use 50
|
||||
ns_linux_pev 4
|
||||
ns_linux_classbase 0x0
|
||||
|
||||
; Data dated: 2007-02-23
|
||||
; Version tested: 3.2 beta 2
|
||||
nsp_windows_takedamage 10
|
||||
nsp_windows_use 49
|
||||
nsp_windows_pev 4
|
||||
nsp_linux_takedamage 11
|
||||
nsp_linux_use 50
|
||||
nsp_linux_pev 4
|
||||
nsp_linux_classbase 0x0
|
||||
|
||||
; Data dated: 2007-02-23
|
||||
; Version tested: 1.3 (?) Steam (legitimate)
|
||||
dod_windows_takedamage 18
|
||||
dod_windows_use 51
|
||||
dod_windows_pev 4
|
||||
dod_linux_takedamage 20
|
||||
dod_linux_use 51
|
||||
dod linux_pev 0
|
||||
dod_linux_classbase 0x154
|
||||
|
||||
; Data dated: 2007-02-23
|
||||
; Version tested: 2.1
|
||||
ts_windows_takedamage 12
|
||||
ts_windows_use 44
|
||||
ts_windows_pev 4
|
||||
ts_linux_takedamage 14
|
||||
ts_linux_use 46
|
||||
ts_linux_pev 0
|
||||
ts_linux_classbase 0x470
|
||||
|
||||
; Data dated: 2007-02-23
|
||||
; Version tested: 1.5 Steam (legitimate)
|
||||
tfc_windows_takedamage 14
|
||||
tfc_windows_use 48
|
||||
tfc_windows_pev 4
|
||||
tfc_linux_takedamage 16
|
||||
tfc_linux_use 50
|
||||
tfc_linux_pev 0
|
||||
tfc_linux_classbase 0x60
|
||||
|
||||
; Data dated: 2007-02-23
|
||||
; Version tested: 3.0
|
||||
; Sven-Coop does not have a Linux build
|
||||
svencoop_windows_takedamage 11
|
||||
svencoop_windows_use 46
|
||||
svencoop_windows_pev 4
|
||||
|
||||
; Data dated: 2007-02-26
|
||||
; Version tested: 2.18.07
|
||||
; Earth's Special Forces (I can't find the non beta version, but it should still work!)
|
||||
; ESF does not have a Linux binary!
|
||||
esf_openbeta_windows_takedamage 12
|
||||
esf_openbeta_windows_use 46
|
||||
esf_openbeta_windows_pev 4
|
Reference in New Issue
Block a user