PDA

View Full Version : Phalanxes



caravel
11-08-2007, 12:19
How does one remove Phalanx formation and make all Phalanx units fight like spearmen? Also how would I go about turning basic warband into spearmen, as at present they seem to be a unit that is redundat once you can train swordsmen?

:bow:

Monkwarrior
11-08-2007, 12:44
How does one remove Phalanx formation and make all Phalanx units fight like spearmen? Also how would I go about turning basic warband into spearmen, as at present they seem to be a unit that is redundat once you can train swordsmen?

:bow:
First part is very easy.
Open export_descr_unit.txt (in data folder) with notepad or similar (backup it before any change).
Use the find option for phalanx and you will find lines like this one:

formation 1, 1, 2, 2, 8, square, phalanx
Just delete the word phalanx (I'm not sure if the "," will produce any problem, so delete it too).
That's all.

For the second part, you cannot change the weapon of a unit, unless you modify the 3D model. :juggle2:

Charge
11-08-2007, 12:50
Monkwarrior is faster than me, anyway I'll add..

How does one remove Phalanx formation and make all Phalanx units fight like spearmen? Open EDU, find unit's entry, and remove "phalanx'' atribute. Also remove short_pike or long_pike attr.

Eg. Bronze shields entry

type east hoplite brazen shield
dictionary bronze_shield ; Bronze Shields
category infantry
class spearmen
voice_type Heavy_1
soldier greek_bronxe_shield, 60, 0, 1
officer east_heavy_standard
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1, 2, 2, 8, square, phalanx
stat_health 1, 0
stat_pri 10, 4, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr spear, long_pike, spear_bonus_8
stat_sec 5, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 6, 6, 2, leather
stat_sec_armour 0, 0, flesh
stat_heat 0
stat_ground 2, 1, 0, -1
stat_mental 8, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 690, 360, 70, 110, 690
ownership pontus

should be

type east hoplite brazen shield
dictionary bronze_shield ; Bronze Shields
category infantry
class spearmen
voice_type Heavy_1
soldier greek_bronxe_shield, 60, 0, 1
officer east_heavy_standard
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1, 2, 2, 8, square
stat_health 1, 0
stat_pri 10, 4, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr spear, spear_bonus_8
stat_sec 5, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 6, 6, 2, leather
stat_sec_armour 0, 0, flesh
stat_heat 0
stat_ground 2, 1, 0, -1
stat_mental 8, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 690, 360, 70, 110, 690
ownership pontus


Also how would I go about turning basic warband into spearmen, Eerr, you want phalanx? Than instead of this

type barb infantry gaul
dictionary barb_infantry_gaul ; Warband
category infantry
class light
voice_type Light_1
soldier barb_infantry_longshield, 60, 0, 1.2
officer barb_standard
attributes sea_faring, hide_improved_forest, warcry
formation 1.2, 1.2, 2.4, 2.4, 5, square
stat_health 1, 0
stat_pri 7, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
stat_pri_attr light_spear, spear_bonus_4
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 2, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 2, -2, 3, 2
stat_mental 4, impetuous, untrained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 420, 200, 50, 70, 420
ownership gauls
make this

type barb infantry gaul
dictionary barb_infantry_gaul ; Warband
category infantry
class light
voice_type Light_1
soldier barb_infantry_longshield, 60, 0, 1.2
officer barb_standard
attributes sea_faring, hide_improved_forest, warcry
formation 1.2, 1.2, 2.4, 2.4, 5, square, phalanx
stat_health 1, 0
stat_pri 7, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
stat_pri_attr light_spear, short_pike, spear_bonus_4
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 2, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 2, -2, 3, 2
stat_mental 4, impetuous, untrained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 420, 200, 50, 70, 420
ownership gauls
They will fight as small phalanx with charges, but I don't think it will increase their perfomance, you still need swordsmen.
Or you can remove "short_pike" and they will be a phalanx (like vanilla german spearmen) :bow:

Monkwarrior
11-08-2007, 17:00
Monkwarrior is faster than me, anyway I'll add..

But you are more precise than me. :holmes:

caravel
11-09-2007, 22:58
First part is very easy.
Open export_descr_unit.txt (in data folder) with notepad or similar (backup it before any change).
Use the find option for phalanx and you will find lines like this one:

formation 1, 1, 2, 2, 8, square, phalanx
Just delete the word phalanx (I'm not sure if the "," will produce any problem, so delete it too).
That's all.

For the second part, you cannot change the weapon of a unit, unless you modify the 3D model. :juggle2:
:bow:

Monkwarrior is faster than me, anyway I'll add..
Open EDU, find unit's entry, and remove "phalanx'' atribute. Also remove short_pike or long_pike attr.

Eg. Bronze shields entry

type east hoplite brazen shield
dictionary bronze_shield ; Bronze Shields
category infantry
class spearmen
voice_type Heavy_1
soldier greek_bronxe_shield, 60, 0, 1
officer east_heavy_standard
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1, 2, 2, 8, square, phalanx
stat_health 1, 0
stat_pri 10, 4, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr spear, long_pike, spear_bonus_8
stat_sec 5, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 6, 6, 2, leather
stat_sec_armour 0, 0, flesh
stat_heat 0
stat_ground 2, 1, 0, -1
stat_mental 8, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 690, 360, 70, 110, 690
ownership pontus

should be

type east hoplite brazen shield
dictionary bronze_shield ; Bronze Shields
category infantry
class spearmen
voice_type Heavy_1
soldier greek_bronxe_shield, 60, 0, 1
officer east_heavy_standard
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1, 2, 2, 8, square
stat_health 1, 0
stat_pri 10, 4, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr spear, spear_bonus_8
stat_sec 5, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 6, 6, 2, leather
stat_sec_armour 0, 0, flesh
stat_heat 0
stat_ground 2, 1, 0, -1
stat_mental 8, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 690, 360, 70, 110, 690
ownership pontus

Eerr, you want phalanx? Than instead of this

type barb infantry gaul
dictionary barb_infantry_gaul ; Warband
category infantry
class light
voice_type Light_1
soldier barb_infantry_longshield, 60, 0, 1.2
officer barb_standard
attributes sea_faring, hide_improved_forest, warcry
formation 1.2, 1.2, 2.4, 2.4, 5, square
stat_health 1, 0
stat_pri 7, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
stat_pri_attr light_spear, spear_bonus_4
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 2, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 2, -2, 3, 2
stat_mental 4, impetuous, untrained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 420, 200, 50, 70, 420
ownership gauls
make this

type barb infantry gaul
dictionary barb_infantry_gaul ; Warband
category infantry
class light
voice_type Light_1
soldier barb_infantry_longshield, 60, 0, 1.2
officer barb_standard
attributes sea_faring, hide_improved_forest, warcry
formation 1.2, 1.2, 2.4, 2.4, 5, square, phalanx
stat_health 1, 0
stat_pri 7, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
stat_pri_attr light_spear, short_pike, spear_bonus_4
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 2, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 2, -2, 3, 2
stat_mental 4, impetuous, untrained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 420, 200, 50, 70, 420
ownership gauls
They will fight as small phalanx with charges, but I don't think it will increase their perfomance, you still need swordsmen.
Or you can remove "short_pike" and they will be a phalanx (like vanilla german spearmen) :bow:
Well I was hoping to turn the spear warband which have the phalanx ability into spearmen without phalanx, if possible? Also I wanted the regular Warbands to be more like Spearmen, better defenders, but not Phalanx.
~:cheers:

Pharnakes
11-10-2007, 10:10
I don't understand, they're armed with spears, therefore they are spearmen?:inquisitive:

As for the other remove the phalanx and short pike atributes, then tweak the attack and defense stats (vannila I assume, so you won't have to worry about lethality) to rebalance them.