我玩的是英国,独爱英国的小臼炮,由于臼炮没有爆裂的特技,于是我就自己在descr_projectile.txt的臼炮下面添加了一个爆裂的代码。游戏中成功的使臼炮拥有了特技,但用特技后却经常性的看到炮手只有装填弹药和开火的动作,以及开火后的后坐力让火炮向后移动一点。却没看到任何炮弹发射出来,敌军也没有受到炮击死亡,所以想请教各位是不是我的某些代码添加错误?应该如何改正。
附:我是将蜥炮的爆裂代码修改后添加上去的,下面是我添加的代码
projectile exploding_mortar_shot
exploding mortar_shot
effect cannon_ball_medium_set
end_effect ground_impact_explosion_culvern_set
end_man_effect man_impact_catapult_set
end_package_effect ground_impact_wall_explosion_culvern_set
end_shatter_effect ground_impact_explosion_culvern_set
end_shatter_man_effect man_impact_catapult_set
end_shatter_package_effect ground_impact_wall_explosion_culvern_set
area_effect ae_mortar_shot
damage 150
damage_to_troops 20
radius 0.3
mass 0.3
area 99.0
accuracy_vs_units 0.001
accuracy_vs_buildings 0.0055
accuracy_vs_towers 0.0055
min_angle 40
max_angle 60
prefer_high
velocity 55, 80
ground_shatter
body_piercing
;bounce 0.5 0.6 0.5 0.4
display aimed
;effect_only
; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?
;stuck
effect_only
附:我是将蜥炮的爆裂代码修改后添加上去的,下面是我添加的代码
projectile exploding_mortar_shot
exploding mortar_shot
effect cannon_ball_medium_set
end_effect ground_impact_explosion_culvern_set
end_man_effect man_impact_catapult_set
end_package_effect ground_impact_wall_explosion_culvern_set
end_shatter_effect ground_impact_explosion_culvern_set
end_shatter_man_effect man_impact_catapult_set
end_shatter_package_effect ground_impact_wall_explosion_culvern_set
area_effect ae_mortar_shot
damage 150
damage_to_troops 20
radius 0.3
mass 0.3
area 99.0
accuracy_vs_units 0.001
accuracy_vs_buildings 0.0055
accuracy_vs_towers 0.0055
min_angle 40
max_angle 60
prefer_high
velocity 55, 80
ground_shatter
body_piercing
;bounce 0.5 0.6 0.5 0.4
display aimed
;effect_only
; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?
;stuck
effect_only














