You may know that Legolas in Historical battles often miss when shooting at enemy, it is different from Legolas in Lord of the Rings Series.
You need to edit these file:
- descr_projectile_new.txt
- export_descr_edit.txt
First, you have to add these lines to the bottom of descr_projectile_new.txt
That is my custom projectile i made for Legolasprojectile sharp_arrow
damage 0
radius 0.1
accuracy_vs_units 0.01
min_angle -60
max_angle 70
velocity 60
display aimed
triangle
texture data/textures/arrow_test.tga
tail 0.9
length 3.0
tail_tex0 0 0.0
tail_tex1 0 0.25
head_tex 1 0.125
end
Next you need to edit this part in export_descr_unit.txt :
totype legolas
dictionary legolas ; Legolas archer for HB (single)
category infantry
class light
voice_type Heavy_1
soldier legolas_bow, 6, 0, 2, 1, 1.7
attributes sea_faring, hide_improved_forest, hide_long_grass, very_hardy, general_unit, no_custom
formation 2, 2, 3, 3, 4, square
stat_health 9, 30
stat_pri 22, 0, arrow_elf, 170, 30, missile, archery, piercing, none, 25 ,1
stat_pri_attr ap, bp
stat_sec 7, 4, no, 0, 0, melee, simple, piercing, knife, 25 ,1
stat_sec_attr area, ap
stat_pri_armour 16, 12, 11, metal
stat_sec_armour 0, 2, flesh
stat_heat 0
stat_ground 0, 0, 0, 0
stat_mental 50, disciplined, untrained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 4, 1000, 350, 150, 150, 1001
ownership seleucid, macedon, thrace, carthage, gauls, germans
"sharp_arrow" is the name of my custom projectile.type legolas
dictionary legolas ; Legolas archer for HB (single)
category infantry
class light
voice_type Heavy_1
soldier legolas_bow, 6, 0, 2, 1, 1.7
attributes sea_faring, hide_improved_forest, hide_long_grass, very_hardy, general_unit, no_custom
formation 2, 2, 3, 3, 4, square
stat_health 9, 30
stat_pri 22, 0, sharp_arrow, 170, 30, missile, archery, piercing, none, 25 ,1
stat_pri_attr ap, bp
stat_sec 7, 4, no, 0, 0, melee, simple, piercing, knife, 25 ,1
stat_sec_attr area, ap
stat_pri_armour 16, 12, 11, metal
stat_sec_armour 0, 2, flesh
stat_heat 0
stat_ground 0, 0, 0, 0
stat_mental 50, disciplined, untrained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 4, 1000, 350, 150, 150, 1001
ownership seleucid, macedon, thrace, carthage, gauls, germans
So i showed you what i did with Legolas's Accuracy, now Legolas will have 98% to one hit kill.
Good luck.