- 鐵幣
- 110 元
- 文章
- 91 篇
- 聲望
- 36 枚
- 上次登入
- 09-6-18
- 精華
- 0
- 註冊時間
- 07-11-9
- UID
- 461693
|
呵呵 我剛改錯位置了, 改成不是AK47的位置
結果攜彈量是可以改的,位置如下圖:
http://img13.imageshack.us/img13/9333/snap31df2.jpg
就是改下面 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
[ 本文章最後由 yuehmao 於 09-2-16 13:47 編輯 ] |
|