
什么能可以修改??
不错!你绝对没听错!!
注:zombie_plague40.sma 文件是zombie_plague40.amxx的源码,可以通过UltraEdit等16进制编辑器编辑后转换成AMXX格式
决定cs1.6僵尸模式中各个木仓支的备用弹夹的子弹数量在——zombie_plague40.sma内(应该是作者扩展的)
就是改下面 Max BP ammo weapon 中的數量設定,紅色數字就是Ak47的备用弹夹子弹数量,把它改成150了
// Max BP ammo for weapons
new const MAXBPAMMO[] = { -1, 52, -1, 90, 1, 32, 1, 100, 90, 1, 120, 100, 100, 90, 90, 90, 100, 120,
30, 120, 200, 32, 90, 120, 90, 2, 35, 90, 150, -1, 100 }
这样就基本完成了,但是要想修改别的木仓支的怎么办?那就看看顺序
武器的排列方式就和,下面的名稱順序一樣
// Primary and Secondary Weapon Names ##購買選單的主要和次要武器的名字
new const WEAPONNAMES[][] = { , P228 Compact, , Schmidt Scout, , XM1014 M4, , Ingram MAC-10, Steyr AUG A1,
, Dual Elite Berettas, FiveseveN, UMP 45, SG-550 Auto-Sniper, IMI Galil, Famas,
USP .45 ACP Tactical, Glock 18C, AWP Magnum Sniper, MP5 Navy, M249 Para Machinegun,
M3 Super 90, M4A1 Carbine, Schmidt TMP, G3SG1 Auto-Sniper, , Desert Eagle .50 AE,
SG-552 Commando, AK-47 Kalashnikov, , ES P90 }
在AMXX中每一項武器都有它的ID代碼,也就是照上面的位置順序,
這個代碼你可以由 amxconst.inc 查詢
/* Id of weapons in CS */
#define CSW_P228 1
#define CSW_SCOUT 3
#define CSW_HEGRENADE 4
#define CSW_XM1014 5
#define CSW_C4 6
#define CSW_MAC10 7
#define CSW_AUG 8
#define CSW_SMOKEGRENADE 9
#define CSW_ELITE 10
#define CSW_FIVESEVEN 11
#define CSW_UMP45 12
#define CSW_SG550 13
#define CSW_GALI 14
#define CSW_GALIL 14
#define CSW_FAMAS 15
#define CSW_USP 16
#define CSW_GLOCK18 17
#define CSW_AWP 18
#define CSW_MP5NAVY 19
#define CSW_M249 20
#define CSW_M3 21
#define CSW_M4A1 22
#define CSW_TMP 23
#define CSW_G3SG1 24
#define CSW_FLASHBANG 25
#define CSW_DEAGLE 26
#define CSW_SG552 27
#define CSW_AK47 28
#define CSW_KNIFE 29
#define CSW_P90 30
#define CSW_VEST 31
#define CSW_VESTHELM 32
来图。。
没图没人信~