引用 | 編輯
cryinGX
2014-07-15 09:06 |
樓主
▼ |
||
x0
圖 1. 我昨天找了2篇文章 http://bbs.mychat.to/sindex.php?t806663.html http://forum.gamer.com.tw/Co.php?bsn=01473&sn=55652 但還是都改不了 都照做了... 我給大大看我改的 // Classic Zombie Attributes new const zclass1_name[] = { "zx24515291Zombie" } new const zclass1_info[] = { "=Balanced=" } new const zclass1_model[] = { "zombie_big" } new const zclass1_clawmodel[] = { "v_knife_zombi_big.mdl" } const zclass1_health = 1800 const zclass1_speed = 190 const Float:zclass1_gravity = 1.0 const Float:zclass1_knockback = 1.0 // Raptor Zombie Attributes new const zclass2_name[] = { "R2 Zombie" } new const zclass2_info[] = { "HP-- Speed++ Knockback++" } new const zclass2_model[] = { "zombie_girl" } new const zclass2_clawmodel[] = { "v_knife_zombie_girl.mdl" } const zclass2_health = 900 const zclass2_speed = 225 const Float:zclass2_gravity = 1.0 const Float:zclass2_knockback = 1.5 // Poison Zombie Attributes new const zclass3_name[] = { "P3Zombie" } new const zclass3_info[] = { "HP- Jump+ Knockback+" } new const zclass3_model[] = { "zombie_leech" } new const zclass3_clawmodel[] = { "v_knive_zombie_leech.mdl" } const zclass3_health = 1400 const zclass3_speed = 190 const Float:zclass3_gravity = 0.75 const Float:zclass3_knockback = 1.25 // Big Zombie Attributes new const zclass4_name[] = { "B7Zombie" } new const zclass4_info[] = { "HP++ Speed- Knockback--" } new const zclass4_model[] = { "zombie_resident" } new const zclass4_clawmodel[] = { "v_zombie_resident.mdl" } const zclass4_health = 2700 const zclass4_speed = 155 const Float:zclass4_gravity = 1.0 const Float:zclass4_knockback = 0.5 // Leech Zombie Attributes new const zclass5_name[] = { "L7Zombie" } new const zclass5_info[] = { "HP- Knockback+ Leech++" } new const zclass5_model[] = { "zombie_nemesis" } new const zclass5_clawmodel[] = { "v_knife_zombi_big.mdl" } const zclass5_health = 1300 const zclass5_speed = 190 const Float:zclass5_gravity = 1.0 const Float:zclass5_knockback = 1.25 const zclass5_infecthp = 200 // extra hp for infections 我有改名稱模型和刀子 不知道是要轉檔還是有檔案改錯或寫錯 各位大大幫我看一下知道的可以順便po個教學嗎 還有也可以順便交我如何新增新的喪屍類型嗎?? 拜託大大一定要交我 不管怎麼改都永遠是這樣 x0
|
引用 | 編輯
Taiwan™
2014-07-15 22:38 |
1樓
▲ ▼ |
按照
皮洨歪 1. zombie_plague40 算是喪屍的主程式 2. zp_zclasses40 是 喪屍的檔 3. new const zclass1_name[] = { \"Classic Zombie\" } //喪屍名稱 new const zclass1_info[] = { \"=Balanced=\" } //喪屍介紹 new const zclass1_model[] = { \"zombie_source\" } //喪屍人物檔 new const zclass1_clawmodel[] = { \"v_knife_zombie.mdl\" } //喪屍刀模型 const zclass1_health = 1800 //血量 const zclass1_speed = 190 //速度 const Float:zclass1_gravity = 1.0 //重量 const Float:zclass1_knockback = 1.0 //反彈力 以上都能照自己喜好修改 另外的 喪屍人物模型 放在 models\player 並且 資料夾跟MDL 檔名要一致 例如 : 資料夾名稱為 ABC , MDL 檔名就為 ABC.mdl 而 喪屍的刀模型 放在 models\zombie_plague 你似乎沒加上 { \"xxxxl\" } \\ 這東西 或是你檔案沒轉好 x0 |