[ZP4.2] 道具選單.更換人物模組.背景音樂

Home Home
引用 | 編輯 zxzyman
2011-06-03 22:08
樓主
推文 x0
對您有幫助 請推推 + 花花表情  
道具選單




修改'M'選單的道具選單

開啟"zombie_plague40.sma"   搜尋"new const g_extra_names[][]"
複製程式
// Extra Items: Weapons and their costs 
new const g_extra_names[][] = { "燃燒彈", "M3散彈槍", "雙持-MP7A1"} 
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_m3", "weapon_mp5navy"  
     } 
new const g_extra_costs[] = { 3, 20, 25 } //道具彈包價錢 



new const g_extra_names[][] = { "燃燒彈", "M3散彈槍", "雙持-MP7A1"}
→這是在選單內看到的道具名稱

new const g_extra_items[][] = { "weapon_hegrenade", "weapon_m3", "weapon_mp5navy"   }
→這是武器代號 (例:AK=ak47, M4=m4a1)

new const g_extra_costs[] = { 3, 20, 25 }
→道具彈包價錢  (燃燒彈-3彈包   M3-20彈包   MP7-25彈包)


另外教大家改一開始選槍時的武器名稱:

搜尋"new const WEAPONNAMES[][]"

有各個槍枝的名稱,可改成自己喜愛的槍名


------------------------------------------------------------------------------------------------------------------------------



更換人物模組



修改 (復仇者.倖存者.VIP的人物模型)

開啟"zombie_plague40.sma"     搜尋"new const model_nemesis[][]"


會看到這樣:
new const model_nemesis[][] = { "ABC" } // 復仇者
new const model_survivor[][] = { "Admin_7865" } // 倖存者
new const model_human[][] = { "arctic", "guerilla", "leet", "terror", "gign", "gsg9", "sas", "urban" } // 人類 new const model_admin[][] = { "vip1" } // 管理員 (人類)
new const model_admin_zombie[][] = { "depredador2" } // 管理員 (殭屍)

人物模組檔案說明:

例:cstrike/models/player/ABC/ABC.mdl

ABC.mdl是模組名稱,若要設ABC.mdl為"復仇者" ,就要像上面的路徑一樣

在player資料夾內 新建ABC資料夾 再把ABC.mdl丟到裡面集即可。

new const model_nemesis[][] = { "ABC" } // 復仇者   (復仇者就變成ABC.mdl的人物了)表情


--------------------------------------------------------------------------------------------------------------------------







背景音樂設定

搜尋"new const sound_ambience1[][]"

複製程式
// [color=#0000ff]感染模式[/color] Infection Rounds 
new const sound_ambience1[][] = { "[color=#ff9900]zombie_plague/xxx.mp3[/color]" } // sounds (played randomly) 
new const Float:sound_ambience1_duration[] = { 17.0 } // duration in seconds of each sound 
// [color=#0000ff]復仇者模式[/color] Nemesis Rounds 
new const sound_ambience2[][] = { "[color=#ff9900]zombie_plague/xxx.mp3[/color]" } 
new const Float:sound_ambience2_duration[] = { 17.0 } 
// [color=#0000ff]倖存者模式[/color] Survivor Rounds 
new const sound_ambience3[][] = { "[color=#ff9900]zombie_plague/xxx.mp3[/color]" } 
new const Float:sound_ambience3_duration[] = { 17.0 } 
// [color=#0000ff]對抗模式[/color] Swarm Rounds 
new const sound_ambience4[][] = { "[color=#ff9900]zombie_plague/xxx.mp3[/color]" } 
new const Float:sound_ambience4_duration[] = { 17.0 } 
// [color=#0000ff]瘟疫模式[/color] Plague Rounds 
new const sound_ambience5[][] = { "[color=#ff9900]zombie_plague/xxx.mp3[/color]" } 
new const Float:sound_ambience5_duration[] = { 17.0 }


改好後模式出現,音樂也就會出現!


獻花 x1
引用 | 編輯 Raymond9103
2011-06-18 11:04
1樓
  
是CSO的背景音樂嗎?

獻花 x0
引用 | 編輯 [ggg]
2011-07-01 23:30
2樓
  
何必那麼麻煩 到 zombieplague.ini 修改就好了阿 表情

獻花 x0
引用 | 編輯 zxzyman
2011-07-02 19:35
3樓
  
下面是引用 [ggg] 於 2011-07-01 23:30 發表的 : 到引言文
何必那麼麻煩 到 zombieplague.ini 修改就好了阿 表情



ZP4.2  有這個文件嗎?!

獻花 x0
引用 | 編輯 fggabc
2011-08-29 13:20
4樓
  
大大,zombieplague.ini 係4.3,呢個係4.2 =___=

獻花 x0
引用 | 編輯 =_=
2011-09-11 15:19
5樓
  
要怎麼開啟SMA黨
我不會開

獻花 x0
引用 | 編輯 zxzyman
2012-01-08 11:15
6樓
  
下面是引用 =_= 於 2011-09-11 15:19 發表的 : 到引言文
要怎麼開啟SMA黨
我不會開


教學區都有文章~

您可以在收尋上打 sma

就可以找到了

獻花 x0
引用 | 編輯 a220168722
2012-07-06 08:01
7樓
  
ZP4.2的修改可以應用到ZP4.3?

獻花 x0
引用 | 編輯 a039539709
2012-07-07 13:34
8樓
  
好複雜= =有沒有影片或教學之類的.

獻花 x0
引用 | 編輯 asdohk123
2012-07-07 14:45
9樓
  
換這個要不要amxx? 表情

獻花 x0
引用 | 編輯 SixNine
2012-12-06 17:48
10樓
  
zombieplague.ini 這邊就可以設定模組

[Player Models] //玩家模型設定 (假如項目超過1個的話,會隨機選擇其一)
HUMAN = arctic , guerilla , leet , terror , gign , gsg9 , sas , urban 這是人類的
NEMESIS = nemesis2 這是復仇者
SURVIVOR = dsaAVA56 這是倖存者
ADMIN ZOMBIE = zombie_source 管理員殭屍MDL
ADMIN HUMAN = vip 管理員MDL

也要搭配幾個指令
zp_admin_models_human 1            // 開啟ADM人物(人類)
zp_admin_models_zombie 0            // 開啟ADM人物(喪屍)
zp_admin_knife_models_human 0      // 開啟ADM使用的刀子模型(人類)
zp_admin_knife_models_zombie 0      // 開啟ADM使用的爪子模型(喪屍)

獻花 x0
引用 | 編輯 hobXD
2014-08-31 11:05
11樓
  
  背景音樂呀!找了很久啦表情
現在玩ZP時的感覺好很多了表情

獻花 x0
引用 | 編輯 gp6au4ru81u
2014-09-13 15:04
12樓
  
好複雜= =有沒有影片或教學之類的.

獻花 x0