IIRC someone said swords are 25% more deadly in the code, also swords have a higher attack rating than spears.
IIRC someone said swords are 25% more deadly in the code, also swords have a higher attack rating than spears.
"If it wears trousers generally I don't pay attention."
[IMG]https://img197.imageshack.us/img197/4917/logoromans23pd.jpg[/IMG]
export_descr_unit.txt for RTW v1.5
----------------------------------
;Details of unit's primary weapon. If the unit has a missile weapon it must be the primary
; stat_pri From left to right
; attack factor
; attack bonus factor if charging
; missile type fired (no if not a missile weapon type)
; range of missile
; amount of missile ammunition per man
; Weapon type = melee, thrown, missile, or siege_missile
; Tech type = simple, other, blade, archery or siege
; Damage type = piercing, blunt, slashing or fire. (I don't think this is used anymore)
; Sound type when weapon hits = none, knife, mace, axe, sword, or spear
; Min delay between attacks (in 1/10th of a second)
stat_pri_attr
; primary weapon attributes any or all of
; ap = armour piercing. Only counts half of target's armour
; bp = body piercing. Missile can pass through men and hit those behind
; spear = Used for long spears. Gives bonuses fighting cavalry, and penalties against infantry
; long_pike = Use very long pikes. Phalanx capable units only
; short_pike = Use shorter than normal spears. Phalanx capable units only
; prec = Missile weapon is only thrown just before charging into combat
; thrown = The missile type if thrown rather than fired
; launching = attack may throw target men into the air
; area = attack affects an area, not just one man
;Details of secondary weapons. If the unit rides on, or has attached animals or vehicles
;then the secondary weapon details refer to their attacks. If the unit has missile weapons
;the secondary weapon will be the one used for melee
;If the unit has a primary melee weapon, it may have a secondary side arm
; stat_sec As per stat_pri (a value of no means no secondary weapon)
; stat_sec_attr As per stat_pri_attr
For example:
type warband huntsman gaul
dictionary warband_huntsman_gaul ; Forester Warband
category infantry
class missile
voice_type Light_1
soldier warband_huntsman, 40, 0, 1.2
attributes sea_faring, hide_improved_forest, hide_long_grass, hide_anywhere, very_hardy
formation 1.2, 1.2, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 11, 4, arrow, 170, 30, missile, archery, piercing, none, 25 ,1
stat_pri_attr no
stat_sec 11, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
stat_sec_attr light_spear, spear_bonus_4
stat_pri_armour 3, 4, 0, leather
stat_sec_armour 0, 1, flesh
stat_heat 2
stat_ground 2, -2, 3, 2
stat_mental 12, normal, untrained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 960, 200, 100, 150, 960
ownership gauls
Second example:
type warband spear german
dictionary warband_spear_german ; Spear Warband
category infantry
class spearmen
voice_type Light_1
soldier warband_spearman_german, 60, 0, 1.2
officer barb_standard
attributes sea_faring, hide_improved_forest
formation 1, 1, 2, 2, 5, square, phalanx
stat_health 1, 0
stat_pri 9, 5, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr spear, spear_bonus_8
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 3, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 2, -2, 3, 2
stat_mental 4, impetuous, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 510, 200, 60, 80, 510
ownership germans
Last edited by Puzz3D; 03-15-2006 at 14:13.
_________Designed to match Original STW gameplay.
Beta 8 + Beta 8.1 patch + New Maps + Sound add-on + Castles 2
I think not. They don't have such bonuses/disadvantages.Originally Posted by orangat
"Cry, the beloved country, for the unborn child that is the inheritor of our fear. Let him not love the earth too deeply. Let him not laugh too gladly when the water runs through his fingers, nor stand too silent when the setting sun makes red the veld with fire. Let him not be moved when the birds of his land are singing, nor give too much of his heart to a mountain or a valley. For fear will rob him of all if he gives too much."
Cry, the Beloved Country by Alan Paton.
Bookmarks