投石车命中几率修改
打开descr_projectile_new.txt
找到如下内容:
projectile big_boulder
effect boulder_set
end_effect boulder_explosion_set
damage 110
damage_to_troops 10
radius 0.3
mass 0.1
area 2.0
accuracy_vs_units 0.09
accuracy_vs_buildings 0.0625
min_angle 0
max_angle 70
velocity 61
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
;model data/models_missile/onager_rock.CAS, max
;model data/models_missile/Big_Boulder_high.CAS, 40.0
;model data/models_missile/Big_Boulder_med.CAS, 80.0
;model data/models_missile/Big_Boulder_low.CAS, max
projectile big_fiery_boulder
flaming big_boulder
effect fiery_boulder_set
end_effect fiery_boulder_explosion_set
damage 60
damage_to_troops 40
radius 0.30
mass 0.1
area 3.0
accuracy_vs_units 0.35
accuracy_vs_buildings 0.125
fiery ; uncomment this to make all boulders fiery
min_angle 0
max_angle 70
velocity 61
ground_shatter
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
;model data/models_missile/onager_rock.CAS, max
;model data/models_missile/Big_Boulder_high.CAS, 40.0
;model data/models_missile/Big_Boulder_med.CAS, 80.0
;model data/models_missile/Big_Boulder_low.CAS, max
把这段文字复制一份到文件末尾
修改如下:
projectile big_boulder改为projectile s_big_boulder
projectile big_fiery_boulder改为projectile s_big_fiery_boulder
再修改
accuracy_vs_units 0.09
accuracy_vs_buildings 0.0625
尾数都改为零
找到你要改命中率的兵种(见兵种基本数值修改)
比如:
type egyptian heavy onager
dictionary egyptian_heavy_onagers ; Heavy Onagers
category siege
class missile
voice_type Medium_1
soldier egyptian_crew, 16, 2, 0.8
engine heavy_onager
attributes sea_faring
formation 1.5, 1.5, 3, 3, 3, square
stat_health 1, 0
stat_pri 4, 2, no, 0, 0, melee, simple, piercing, knife, 25 ,1
stat_pri_attr no
stat_sec 63, 2, big_boulder, 300, 30, siege_missile, blade, blunt, none, 25 ,1
stat_sec_attr ap, bp, area, launching
stat_pri_armour 0, 3, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 0
stat_ground 0, 0, 0, 0
stat_mental 4, normal, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 930, 110, 100, 140, 930
ownership egypt
把stat_sec 63, 2, big_boulder, 300, 30, siege_missile, blade, blunt, none, 25 ,1
改为stat_sec 63, 2, s_big_boulder, 300, 30, siege_missile, blade, blunt, none, 25 ,1
改为如下时,效果更佳stat_sec 63, 2, s_big_boulder, 300, 30, missile, blade, blunt, none, 25 ,1