求教:有关战车兵的修改(郁闷中)
我用刘备阵营,开局先把刘备改成用诸葛弩的战车兵。方法是先把export_descr_unit中的刘备改成:;刘备
type JiangJun_BaShu Aa_0201-LiuBei
dictionary JiangJun_BaShu_Aa_0201-LiuBei
category cavalry
class missile
voice_type Heavy_1
soldier Zhugeluchebin_Liubei, 30, 10, 1
mount china tiejia
mount_effect elephant +3, camel +3
attributes sea_faring, general_unit, frighten_foot, hide_forest, hardy, can_swim, no_custom
formation 7, 9, 15, 15, 2, square
stat_health 2, 2
stat_pri 13,6,arrow,160,60,missile,archery,piercing,none,35,0.5
stat_pri_attr ap
stat_sec 13, 8, no, 0, 0, melee, blade, slashing, none, 25 ,1
stat_sec_attr launching, ap, area
stat_pri_armour12, 12, 5, metal
stat_sec_armour10, 10, metal
stat_heat 2
stat_ground 0, -2, -8, 2
stat_mental 21, disciplined, highly_trained
stat_charge_dist 50
stat_fire_delay0
stat_food 60, 300
stat_cost 1, 503, 25, 140, 210, 1370
ownership empire_east
然后再在descr_model_battle 文件中添上以下一段:
;诸葛弩车兵
type Zhugeluchebin_Liubei
skeleton fs_chariot_archer, fs_chariot_sword
indiv_range 40
texture empire_east, bi/data/models_unit/sanguo/textures/Zhugelu_Liubei.tga
texture empire_east_rebels, bi/data/models_unit/sanguo/textures/Zhugelu_Liubei.tga
model_flexi bi/data/models_unit/sanguo/Zhugelu_Liubei.cas, 15
model_flexi bi/data/models_unit/sanguo/Zhugelu_Liubei1.cas, 30
model_flexi bi/data/models_unit/sanguo/Zhugelu_Liubei2.cas, 40
model_flexi bi/data/models_unit/sanguo/Zhugelu_Liubei3.cas, max
model_sprite empire_east, 60.0, bi/data/sprites/empire_east_Zhugeluqibin_Liubei_sprite.spr
model_sprite empire_east_rebels, 60.0, bi/data/sprites/empire_east_Zhugeluqibin_Liubei_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
OK ! 经测试,一切运行正常。 然后,我尝试把麋竺也改成乘战车的无当飞军弓箭兵,于是尝试在descr_model_battle 文件中添加以下一段:
;无当飞军弓车兵
type Wudangfeijun_Gongche
skeleton fs_chariot_archer,fs_chariot_sword
indiv_range 40
texture empire_east, bi/data/models_unit/sanguo/textures/Wudangfeijun_Liubei.tga
texture empire_east_rebels, bi/data/models_unit/sanguo/textures/Wudangfeijun_Liubei.tga
model_flexi bi/data/models_unit/sanguo/Wudangfeijun_Liubei.cas, 15
model_flexi bi/data/models_unit/sanguo/Wudangfeijun_Liubei.cas, 30
model_flexi bi/data/models_unit/sanguo/Wudangfeijun_Liubei.cas, 40
model_flexi bi/data/models_unit/sanguo/Wudangfeijun_Liubei.cas, max
model_sprite empire_east, 60.0, bi/data/sprites/empire_east_Bashuqiangbin_Liubei_sprite.spr
model_sprite empire_east_rebels, 60.0, bi/data/sprites/empire_east_rebels_Bashuqiangbin_Liubei_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
但一开始游戏便立即跳出,我尝试过把这段文字放在不同的位置,皆无法运行。但奇怪的是,只要我把先前「诸葛弩车兵」一段删去,刘备改回重骑兵,然后
在descr_model_battle 文件中添加一段:
;麋竺
type JiangJun_BaShu Da_MiZhu
dictionary JiangJun_BaShu_Da_MiZhu
category cavalry
class missile
voice_type Heavy_1
soldier Wudangfeijun_Gongche, 30, 10, 1
mount china light
mount_effect elephant +1, camel +1
attributes sea_faring, general_unit, frighten_foot, hide_forest, hardy, can_swim, no_custom
formation 7, 9, 15, 15, 2, square
stat_health 2, 2
stat_pri 11,6,arrow,150,60,missile,archery,piercing,none,35,0.5
stat_pri_attr ap
stat_sec 11, 8, no, 0, 0, melee, blade, slashing, none, 25 ,1
stat_sec_attr launching, ap, area
stat_pri_armour12, 12, 5, metal
stat_sec_armour10, 10, metal
stat_heat 2
stat_ground 0, -2, -8, 2
stat_mental 21, disciplined, highly_trained
stat_charge_dist 50
stat_fire_delay0
stat_food 60, 300
stat_cost 1, 503, 25, 140, 210, 1370
ownership empire_east
一切运作又正常起来。
我想请问一声:我是否不能在descr_model_battle 文件中添加两段文字呢?
一开始游戏是自定义还是帝国会战 回复 notdiebird 的帖子
根本不能进入游戏选项! :o读取过程中跳出? 可能是模组数量达到上限250个了吧........ 回复 猪油贰爷 的帖子
猪油重出江湖:) 猪油贰爷 发表于 2010-12-4 03:25 static/image/common/back.gif
可能是模组数量达到上限250个了吧........
噢!原来是有数量上的限定,感谢指教!
我把descr_model_battle 原来的诸葛弩骑兵修改为诸葛弩战车,由于没有增加兵模数目,刘备可以用了。:)
回复 突骨兀 的帖子
兄弟你能做无当飞军弓车兵吗?我每次都跳出 楼主,好强啊! 飞天胖鹏 发表于 2010-12-6 10:44 static/image/common/back.gif
楼主,好强啊!
兄弟过赏了,我是个修改的新手,之前只看过雾隐残雪和lyj103786903两篇有关的文章,然后依样画葫芦而已。 本帖最后由 突骨兀 于 2010-12-6 14:05 编辑
zixin827 发表于 2010-12-5 18:55 static/image/common/back.gif
回复 突骨兀 的帖子
兄弟你能做无当飞军弓车兵吗?我每次都跳出
已经测试,完全没有问题啊。试发几张图。
简雍的无当飞军战车:
http://a367.yahoofs.com/hkblog/zMdRwkCRGB5MuPlDfq507q0gxuQ-_7/blog/20101206015319616.jpg?ib_____DQNHDJ7zF
麋竺的无当飞军战车:
http://a367.yahoofs.com/hkblog/zMdRwkCRGB5MuPlDfq507q0gxuQ-_7/blog/20101206015351695.jpg?ib_____DXOrQpvls
孙干的投枪兵战车(飞熊军):
http://a367.yahoofs.com/hkblog/zMdRwkCRGB5MuPlDfq507q0gxuQ-_7/blog/20101206015335132.jpg?ib_____DbEnuuvGv
刘备的诸葛弩战车:
http://a367.yahoofs.com/hkblog/zMdRwkCRGB5MuPlDfq507q0gxuQ-_7/blog/20101206015402208.jpg?ib_____DSdv4Ze0x :):):):):):):) 是不是人太密了.我也改过.将飞熊改为车兵.太密了.就跳出.只要将部队改分散一些就好了.简单. 挖坟之重 呵呵努力啊 弓弩車兵太強大了. 一直想柱子組做出弩兵戰車.但好像太過強了.
页:
[1]