Log in

View Full Version : Giving Alemanni horde ability does not work



Bernhard of Clairvaux
12-07-2005, 09:34
Yesterday I tried to give the Alemmanis horde ability. I copied the horde settings from the Franks in Sm_faction and added allemanni under the horde units that the Franks also get in unit.text. However this did not work. What am I doing wrong here. AFAIKT it should work or do you have to create special units for the Alemmani?

Thanks for any tips~:)

BoC

Epistolary Richard
12-07-2005, 12:12
Can you post your actual entry from descr_sm_factions?

Bernhard of Clairvaux
12-07-2005, 13:12
You mean the changes? if so here is what I changed

faction alemanni
culture barbarian
symbol models_strat/symbol_alemanni.CAS
rebel_symbol models_strat/symbol_barb_rebel.CAS
primary_colour red 56, green 80, blue 90
secondary_colour red 166, green 20, blue 23
loading_logo loading_screen/symbols/symbol128_alemanni.tga
standard_index 0
logo_index 23 ; Index into strat3.rsd
small_logo_index 243 ; Index into shared.rsd
triumph_value 5
intro_movie
victory_movie fmv/victory/alemanni_win.wmv
defeat_movie fmv/lose/alemanni_eliminated.wmv
death_movie fmv/lose/alemanni_eliminated.wmv
custom_battle_availability yes
horde_min_units 80
horde_max_units 100
horde_max_units_reduction_every_horde 20
horde_unit_per_settlement_population 300
horde_min_named_characters 4
horde_max_percent_army_stack 80
horde_disband_percent_on_settlement_capture 33
horde_disband_percent_on_settlement_capture 50
horde_disband_percent_on_settlement_capture 100horde_unit barb horde chosen swordsmen
horde_unit barb horde spearman
horde_unit barb horde spearman
horde_unit barb horde spearman
horde_unit barb horde hunter
horde_unit barb horde raider
horde_unit barb horde raider
horde_unit barb horde chosen swordsmencan_sap yes
prefers_naval_invasions no

AND THE UNITS (added Alemani to them)

type barb horde peasants
dictionary barb_horde_peasants ; Horde Peasants
category infantry
class light
voice_type Light_1
soldier western_peasant, 60, 0, 0.8
attributes sea_faring, hide_forest, can_horde, can_swim, no_custom, is_peasant
formation 1.2, 1.8, 2.4, 2.4, 6, horde
stat_health 1, 0
stat_pri 2, 1, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 0, 5, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 3, 2
stat_mental 1, low, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 72, 0, 20, 30, 80
ownership franks, lombardi, burgundii, alemanni


type barb horde spearman
dictionary barb_horde_spearman ; Horde Spearmen
category infantry
class spearmen
voice_type Light_1
soldier spear_warband, 60, 0, 1.1
attributes sea_faring, hide_forest, can_horde, no_custom
formation 1, 1, 2, 2, 4, horde
stat_health 1, 0
stat_pri 8, 6, 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 4, 5, 4, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 3, 2
stat_mental 6, normal, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 279, 0, 40, 50, 310
ownership franks, lombardi, burgundii, alemanni


type barb horde hunter
dictionary barb_horde_hunter ; Horde Hunters
category infantry
class missile
voice_type Medium_1
soldier saxon_hunters, 40, 0, 0.9
mount_effect elephant +6, chariot +6
attributes sea_faring, hide_improved_forest, hide_long_grass, can_horde, can_swim
formation 1.6, 2, 3.2, 4, 2, square
stat_health 1, 0
stat_pri 6, 2, arrow, 120, 30, missile, archery, piercing, none, 25 ,1
stat_pri_attr no
stat_sec 5, 1, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 4, 5, 0, flesh
stat_sec_armour 0, 2, flesh
stat_heat 2
stat_ground 1, -2, 3, 2
stat_mental 5, normal, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 207, 0, 30, 40, 230
ownership franks, lombardi, burgundii, alemanni


type barb horde raider
dictionary barb_horde_raider ; Horde Raiders
category cavalry
class light
voice_type Medium_1
soldier raiders, 27, 0, 1
mount light horse
mount_effect elephant -4, camel -4
attributes sea_faring, hide_forest, can_horde, can_swim
formation 3, 4, 6, 6, 4, square
stat_health 1, 0
stat_pri 7, 7, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 4, 5, 3, leather
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 0, -2, -4, 2
stat_mental 6, normal, untrained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 342, 0, 40, 60, 380
ownership franks, lombardi, burgundii, alemanni


type barb horde chosen swordsmen
dictionary barb_horde_chosen_swordsmen ; Horde Chosen Swordsmen
category infantry
class heavy
voice_type Heavy_1
soldier sword_heerbann, 40, 0, 1.1
officer barb_standard
attributes sea_faring, hide_improved_forest, hardy, can_horde
formation 1.2, 1.2, 2.4, 2.4, 4, square, shield_wall
stat_health 1, 0
stat_pri 13, 7, no, 0, 0, melee, blade, piercing, sword, 25 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 8, 7, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 1, -2, 3, 2
stat_mental 12, impetuous, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 567, 0, 70, 100, 630
ownership franks, lombardi, burgundii, alemanni

Cheexsta
12-07-2005, 14:58
I can see two mistakes in there.

horde_disband_percent_on_settlement_capture 100horde_unit barb horde chosen swordsmen
Should be:

horde_disband_percent_on_settlement_capture 100
horde_unit barb horde chosen swordsmen
And:

horde_unit barb horde chosen swordsmencan_sap yes
prefers_naval_invasions no
Should be:

horde_unit barb horde chosen swordsmen
can_sap yes
prefers_naval_invasions no
Maybe that will fix it.

Bernhard of Clairvaux
12-07-2005, 15:30
I can see two mistakes in there.

Should be:

And:

Should be:

Maybe that will fix it.

I think it was the text format in the post who did those peculiar changes. In the SM faction text it reads as you suggested so that can“t be the problem.

wlesmana
12-07-2005, 16:26
Did you assign alemanni skin texture for those units in DMB.txt?

professorspatula
12-07-2005, 16:29
I hate when people reply to posts, plugging their own mods. Someone plug mine here please ~;) . You can always use the horde bits in my mod to give the Alemanni hordes and their own horde units and unit cards.

Bernhard of Clairvaux
12-07-2005, 17:18
Did you assign alemanni skin texture for those units in DMB.txt?

No, perhaps that is the problem..

Bernhard of Clairvaux
12-07-2005, 17:20
I hate when people reply to posts, plugging their own mods. Someone plug mine here please ~;) . You can always use the horde bits in my mod to give the Alemanni hordes and their own horde units and unit cards.

I am aware of your mod but I have done some own changes that might come into conflict with other modifications.~:)

Epistolary Richard
12-07-2005, 18:04
I think that professorspatula was suggesting that you can use the bits of his mod relevant to making the Alemanni horde to get yours to work :thumbsup:

Generally speaking, the failure to define a texture in dmb just leads the soldier to use their default texture (or occasionally appear just in white).

Bernhard of Clairvaux
12-08-2005, 09:16
I think that professorspatula was suggesting that you can use the bits of his mod relevant to making the Alemanni horde to get yours to work :thumbsup:

Generally speaking, the failure to define a texture in dmb just leads the soldier to use their default texture (or occasionally appear just in white).

Yep, did that yesterday, hopefully I will see what is missing. On a sidenote, tried to extract the files into RTW but was denied becuase of copy protection. I tried to remove the copy protection but it did not work. Never experienced that before.