Cstrike: Move all hardcoded datas to its own gamedata files

This commit is contained in:
Arkshine
2015-06-24 17:46:03 +02:00
parent 6555ecf6b8
commit 864e0b88eb
121 changed files with 10184 additions and 524 deletions

View File

@ -0,0 +1,60 @@
/**
* Do not edit this file. Any changes will be overwritten by the gamedata
* updater or by upgrading your AMX Mod X install.
*
* To override data in this file, create a subdirectory named "custom" and
* place your own gamedata file(s) inside of it. Such files will be parsed
* after AMXX's own.
*
* For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(AMX_Mod_X)
*/
"Games"
{
"#default"
{
"Classes"
{
"CBasePlayerItem"
{
"Offsets"
{
"ItemInfoArray" // ItemInfo[32]
{
"windows" "-16"
"linux" "0"
"mac" "0"
}
"AmmoInfoArray" // AmmoInfo[32]
{
"windows" "-16"
"linux" "0"
"mac" "0"
}
"m_pPlayer" // CBasePlayer*
{
"windows" "164"
"linux" "180"
"mac" "180"
}
"m_pNext" // CBasePlayerItem*
{
"windows" "168"
"linux" "184"
"mac" "184"
}
"m_iId" // int
{
"windows" "172"
"linux" "188"
"mac" "188"
}
}
}
}
}
}