Re: Pytania początkujących moderów
Witam.
Chciałem dodać do moda nowy budynek i jednostki. Robiłem tak jak w poradnikach. Pojawia mi się czarny ekran i napotka. Nie wiem dokładnie gdzie może być przyczyna. :(
Nowy budynek:
Kod:
building barracks
{
levels barracks_lv1 barracks_lv2 barracks_lv3 barracks_lv4 barracks_lv5
{
barracks_lv1 city requires factions { byzantium, }
{
capability
{
recruit_pool "Rhudaur Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Swords" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Axemen of Rhudaur" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Tharbad Militia" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Guard" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Marines" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Lindon Longspears" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Miners" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
law_bonus bonus 1
population_health_bonus bonus 1
}
material wooden
construction 2
cost 400
settlement_min village
upgrades
{
barracks_lv2
}
}
barracks_lv2 city requires factions { byzantium, }
{
capability
{
recruit_pool "Rhudaur Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Swords" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Axemen of Rhudaur" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Pikemen" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Tharbad Militia" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Guard" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Marines" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Lindon Longspears" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Homeguard Warriors" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Miners" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
recruit_pool "Dwarven Warriors" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
law_bonus bonus 2
population_health_bonus bonus 2
}
material wooden
construction 3
cost 800
settlement_min town
upgrades
{
barracks_lv3
}
}
barracks_lv3 city requires factions { byzantium, }
{
capability
{
recruit_pool "Rhudaur Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Swords" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Axemen of Rhudaur" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Pikemen" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Tharbad Militia" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Guard" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Marines" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Lindon Longspears" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Homeguard Warriors" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Elf Sword" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Miners" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
recruit_pool "Dwarven Warriors" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
recruit_pool "Dwarven Halberdmen" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
law_bonus bonus 3
population_health_bonus bonus 4
}
material wooden
construction 4
cost 1600
settlement_min large_town
upgrades
{
barracks_lv4
}
}
barracks_lv4 city requires factions { byzantium, }
{
capability
{
recruit_pool "Rhudaur Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Swords" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Axemen of Rhudaur" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Pikemen" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Nobles" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Tharbad Militia" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Guard" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Marines" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Lindon Longspears" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Homeguard Warriors" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Elf Sword" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Miners" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
recruit_pool "Dwarven Warriors" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
recruit_pool "Dwarven Halberdmen" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
law_bonus bonus 4
population_health_bonus bonus 5
}
material wooden
construction 5
cost 3200
settlement_min city
upgrades
{
barracks_lv5
}
}
barracks_lv5 city requires factions { byzantium, }
{
capability
{
recruit_pool "Rhudaur Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Swords" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Axemen of Rhudaur" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Pikemen" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Rhudaur Nobles" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource rhu
recruit_pool "Tharbad Militia" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Guard" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Marines" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Tharbad Archers" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource tharbad
recruit_pool "Lindon Longspears" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Homeguard Warriors" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Elf Sword" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource ali
recruit_pool "Miners" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
recruit_pool "Dwarven Warriors" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
recruit_pool "Dwarven Halberdmen" 0 0.5 3 0 requires factions { byzantium, } and hidden_resource fornost
law_bonus bonus 6
population_health_bonus bonus 10
}
material wooden
construction 5
cost 4600
settlement_min large_city
upgrades
{
}
}
}
plugins
{
}
}
Zmiany do export_descr_unit:
Kod:
type Rhudaur Archers
dictionary Rhudaur_Archers ; Rhudaur Archers
category infantry
class missile
voice_type Heavy
banner faction main_missile
banner holy crusade
soldier mordor_archers, 50, 0, 0.75
officer arnor_captain_early_flag
officer arnor_captain
attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit
formation 1.6, 1.6, 3.2, 2.4, 4, square
stat_health 1, 3
stat_pri 2, 1, arrow, 110, 40, missile, missile_mechanical, piercing, none, 0, 1
stat_pri_attr no
stat_sec 2, 2, no, 0, 0, melee, melee_blade, piercing, sword, 30, 1
stat_sec_attr no
stat_pri_armour 3, 6, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 0
stat_ground 1, -1, 3, 1
stat_mental 9, impetuous, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 380, 0, 75, 75, 380, 4, 100
armour_ug_levels 2
armour_ug_models rhudaur_archers
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 5
type Rhudaur Nobles
dictionary Rhudaur_Nobles ; Rhudaur Nobles
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier Rhudaur_Nobles, 50, 0, 1
officer arnor_captain_early_flag
officer arnor_captain
mount_effect elephant -4
attributes sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit
formation 1.4, 1.4, 3.2, 2.8, 5, square
stat_health 1, 2
stat_pri 6, 4, no, 0, 0, melee, melee_blade, piercing, sword, 15, 1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr ap
stat_pri_armour 7, 8, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground -1, 1, 1, -1
stat_mental 13, impetuous, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 560, 0, 75, 75, 560, 3, 150
armour_ug_levels 2, 3
armour_ug_models Rhudaur_Nobles, Rhudaur_Nobles_upg
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 10
type Rhudaur Pikemen
dictionary Rhudaur_Pikemen ; Rhudaur Pikemen
category infantry
class spearmen
voice_type Heavy
banner faction main_spear
banner holy crusade
soldier Uruk_halbera, 50, 0, 1.35
officer arnor_captain_early_flag
officer arnor_captain
mount_effect horse +2, elephant -1
attributes sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit, pike
move_speed_mod 0.7
formation 1.2, 1.2, 2.4, 2.4, 5, square, phalanx
stat_health 1, 3
stat_pri 2, 4, no, 0, 0, melee, melee_blade, piercing, spear, 90, 1
stat_pri_attr spear, long_pike, spear_bonus_8
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 4, 1, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 7
stat_ground 0, -2, 2, 0
stat_mental 10, impetuous, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 700, 0, 100, 100, 700, 3, 150
armour_ug_levels 3, 4
armour_ug_models Uruk_halbera
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 10
type Rhudaur Swords
dictionary Rhudaur_sWords ; Rhudaur Swords
category infantry
class light
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier Rhudaur_sWords, 50, 0, 0.9
officer arnor_captain_early_flag
officer arnor_captain
mount_effect elephant -4
attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit
formation 1.4, 1.4, 2.8, 2.8, 5, square
stat_health 1, 2
stat_pri 3, 2, no, 0, 0, melee, melee_blade, piercing, sword, 15, 1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr ap
stat_pri_armour 3, 7, 3, metal
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 0, -2, 2, 0
stat_mental 10, impetuous, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 560, 0, 75, 75, 560, 3, 150
armour_ug_levels 2, 3
armour_ug_models Rhudaur_sWords, Rhudaur_sWords_upg
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 5
type Axemen of Rhudaur
dictionary Axemen_of_Rhudaur ; Axemen of Rhudaur
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier Rhudaur, 50, 0, 1.125
officer arnor_captain_early_flag
officer arnor_captain
mount_effect horse +1, camel +1, elephant -4
attributes sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit, ap, mercenary_unit
formation 1.6, 1.4, 2.8, 2.8, 4, square
stat_health 1, 3
stat_pri 7, 4, no, 0, 0, melee, melee_blade, slashing, axe, 90, 1
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 3, 5, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground -1, 1, 1, -1
stat_mental 10, impetuous, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 470, 0, 75, 75, 470, 3, 150
armour_ug_levels 1, 2
armour_ug_models Rhudaur, Rhudaur_ug1
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 0
type Tharbad Marines
dictionary Marines ; Pelargir Marines
category infantry
class skirmish
voice_type Heavy
accent GondorInfantry
banner faction main_missile
banner holy crusade
soldier marines, 60, 0, 0.95
officer arnor_captain_early_flag
officer arnor_captain
mount_effect elephant -10
attributes sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 2
stat_pri 14, 3, quality_javelin, 55, 4, thrown, missile_mechanical, piercing, spear, 0, 1 ; heavy javelins +2 attack but -5m range
stat_pri_attr ap, thrown
stat_sec 5, 3, no, 0, 0, melee, melee_blade, piercing, sword, 45, 1
stat_sec_attr ap
stat_pri_armour 4, 8, 3, metal ; light mail
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 1, 0, 2, -1
stat_mental 12, disciplined, trained
stat_charge_dist 6
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 380, 100, 75, 75, 480, 4, 150
armour_ug_levels 2, 3
armour_ug_models marines, marines_ug1
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 7
type Tharbad Guard
dictionary Pelspears ; Pelargir spears
category infantry
class spearmen
voice_type Heavy
accent GondorInfantry
banner faction main_spear
banner holy crusade
soldier watchmen, 60, 0, 1.0
officer arnor_captain_early_flag
officer arnor_captain
mount_effect horse +2, camel +2, elephant -4
attributes sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit
move_speed_mod 0.9
formation 1.0, 1.0, 2.0, 2.0, 4, square, schiltrom
stat_health 1, 3
stat_pri 4, 4, no, 0, 0, melee, melee_blade, piercing, spear, 45, 1
stat_pri_attr light_spear, spear_bonus_4
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 4, 4, 7, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 0, -1, 1, -2
stat_mental 11, disciplined, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 300, 100, 75, 75, 500, 3, 100
armour_ug_levels 2, 3
armour_ug_models maspear, maspear_ug1
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 10
type Tharbad Archers
dictionary Pelargir_Archers ; Pelargir Archers
category infantry
class missile
voice_type Heavy
accent GondorArchers
banner faction main_missile
banner holy crusade
soldier dale_longbowmen, 60, 0, 0.8
officer arnor_captain_early_flag
officer arnor_captain
mount_effect elephant -4
attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit, hardy
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 3
stat_pri 5, 2, quality_mass_bodkin_arrow, 140, 30, missile, missile_mechanical, piercing, none, 0, 1
stat_pri_attr area
stat_sec 4, 2, no, 0, 0, melee, melee_blade, piercing, sword, 15, 1
stat_sec_attr no
stat_pri_armour 4, 7, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 0, -1, 1, -2
stat_mental 9, disciplined, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 520, 120, 60, 60, 750, 4, 100
armour_ug_levels 2, 3
armour_ug_models marcher, marcher_upg
ownership byzantium, slave
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 10
type Tharbad Militia
dictionary Pelswords ; Pelargir swords
category infantry
class light
voice_type Heavy
accent GondorInfantry
banner faction main_spear
banner holy crusade
soldier Norse_Swordsmen, 60, 0, 1.0
officer arnor_captain_early_flag
officer arnor_captain
mount_effect elephant -4
attributes sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit
move_speed_mod 0.9
formation 1.0, 1.0, 2.4, 2.0, 4, square
stat_health 1, 3
stat_pri 5, 3, no, 0, 0, melee, melee_blade, piercing, sword, 0, 1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 4, 9, 5, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 0, -1, 1, -2
stat_mental 11, disciplined, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 400, 100, 75, 75, 500, 3, 150
armour_ug_levels 2, 3
armour_ug_models pswords, pswords_ug1
ownership byzantium, slave
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 10
type Lindon Longspears
dictionary Lindon_Longspears ;Lindon Longspears
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier lindon_spears, 60, 0, 1.2
officer arnor_captain_early_flag
officer arnor_captain
mount_effect horse +2, camel +2, elephant -4
attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit
move_speed_mod 1.10
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 3
stat_pri 10, 6, no, 0, 0, melee, melee_blade, piercing, axe, 60, 1
stat_pri_attr ap, spear_bonus_6
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 5, 11, 0, leather
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 2, 0, 3, 2
stat_mental 15, disciplined, highly_trained
stat_charge_dist 10
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 1380, 375, 75, 75, 1380, 3, 150
armour_ug_levels 0, 1
armour_ug_models lindon_spears, lindon_spears_upg
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 5
type Homeguard Warriors
dictionary Homeguard_Warriors ;Homeguard Warriors
category infantry
class missile
voice_type Heavy
banner faction main_missile
banner holy crusade
soldier homeguard_bow, 60, 0, 1
officer arnor_captain_early_flag
officer arnor_captain
attributes sea_faring, hide_improved_forest, extreme_range, very_hardy, can_withdraw, free_upkeep_unit, start_not_skirmishing, stakes, stakes
move_speed_mod 1.15
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 3
stat_pri 8, 4, exceptional_elven_mass_arrow, 230, 30, missile, missile_mechanical, piercing, none, 0, 1
stat_pri_attr area
stat_sec 11, 4, no, 0, 0, melee, melee_blade, piercing, sword, 0, 1 ; sword 5 + elite 4 + elf blade 1 + no shield 1
stat_sec_attr no
stat_pri_armour 7, 11, 0, metal ; elven heavy mail ; defense 5 + elite 2 + armor 1 + elf 2 + agility 1
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -1, 3, 1
stat_mental 17, disciplined, highly_trained
stat_charge_dist 6
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1700, 230, 75, 75, 1700, 4, 100
armour_ug_levels 1, 2
armour_ug_models homeguard_bow, homeguard_bow_upg
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 0
type Elf Sword
dictionary Elf_Sword ; Eldarinwë Swordsmen
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier elf_sword, 60, 0, 1.2
officer arnor_captain_early_flag
officer arnor_captain
mount_effect horse +1, camel +1, elephant -4
attributes sea_faring, hide_improved_forest, very_hardy, can_withdraw, free_upkeep_unit
move_speed_mod 1.15
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 3
stat_pri 16, 7, no, 0, 0, melee, melee_blade, slashing, sword, 0, 1 ; 8+2+6
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
stat_sec_attr no
stat_pri_armour 13, 14, 0, metal ; elven gold plate mail
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 0, -2, 1, 0
stat_mental 21, disciplined, highly_trained, lock_morale
stat_charge_dist 6
stat_fire_delay 0
stat_food 60, 300
stat_cost 3, 2250, 500, 75, 75, 2250, 4, 250
armour_ug_levels 3, 4
armour_ug_models elf_sword, elf_sword_upg
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 5
type Miners
dictionary Miners ; Miners
category infantry
class light
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier dwarven_miners, 60, 0, 1.875
officer arnor_captain_early_flag
officer arnor_captain
mount_effect horse -1, camel -1, elephant -4
attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit
move_speed_mod 1.1
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 1
stat_pri 4, 3, no, 0, 0, melee, melee_blade, piercing, axe, 75, 1
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 3, 7, 0, leather
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 1, -1, 3, 2
stat_mental 13, normal, trained
stat_charge_dist 6
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 420, 130, 75, 75, 360, 4, 100
armour_ug_levels 1, 2
armour_ug_models dwarven_miners, dwarven_miners_upg
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset -5
type Dwarven Halberdmen
dictionary Dwarven_Halberdmen ; Dwarven Halberdmen
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
soldier dwarven_halberdmen, 48, 0, 1.725
officer arnor_captain_early_flag
officer arnor_captain
mount_effect horse +1, camel +1, elephant -4
attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit
move_speed_mod 0.6
formation 1.2, 1.2, 2.4, 2.4, 4, square, phalanx
stat_health 1, 2
stat_pri 9, 6, no, 0, 0, melee, melee_blade, piercing, axe, 105, 1
stat_pri_attr ap, light_spear
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 9, 10, 0, metal ; lamellar ; defense halberd 5 + phalanx 2 + superior 1 + agility 1 + dwarf 1
stat_sec_armour 0, 0, flesh
stat_heat 6
stat_ground 0, -2, 1, 1
stat_mental 15, disciplined, highly_trained
stat_charge_dist 6
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 880, 260, 75, 600, 800, 4, 100
armour_ug_levels 1, 2
armour_ug_models dwarven_halberdmen, dwarven_halberdmen_upg
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 0
type Dwarven Warriors
dictionary Dwarven_Warriors ; Dwarven Warriors
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier dwarven_warriors, 48, 0, 1.25
officer arnor_captain_early_flag
officer arnor_captain
mount_effect horse -1, camel -1, elephant -4
attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit
formation 1.2, 1.2, 2.4, 2.4, 4, square, shield_wall
stat_health 1, 2
stat_pri 6, 3, no, 0, 0, melee, melee_blade, slashing, axe, 45, 1
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 9, 6, 5, metal ; dwarven lamellar ; defense 3 + 1 + 1 + 1
stat_sec_armour 0, 0, flesh
stat_heat 6
stat_ground 0, -2, 2, 1
stat_mental 15, disciplined, highly_trained
stat_charge_dist 6
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 880, 260, 75, 600, 800, 4, 150
armour_ug_levels 2, 3
armour_ug_models dwarven_warriors, dwarven_warriors_upg
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 0
Re: Pytania początkujących moderów
Witam.
Do jakiego moda? Na TATW mi to wygląda.
Co chcesz osiągnąć? rekrutować nowe jednostki dla Arnoru czy co?
Re: Pytania początkujących moderów
Zgadza się. Chciałem rekrutować nowe jednostki odpowiadające mi pod historie wyczytane. Na razie nic szczególnego gdyż dopiero zaczynam przygodę z modowaniem.
Re: Pytania początkujących moderów
Na początek radzę zająć się export_descr_unit
Dość łatwo dodać dowolnej frakcji rekrutację najemnych jednostek.
Możesz np. dodać najemne trolle, Rycerzy z dol_amroth, czy niektóre elfy.
Nie trzeba nowego budynku tworzyć.
Wybierz jakąś najemną jednostkę, musi mieć atrybut mercenary_unit a ja napisze Ci jak ją dodać Arnorowi np. do rekrutacji.
Napisz w co grasz TATW 3.2 czy Mos? jak MOS to który.
Re: Pytania początkujących moderów
Gram w MOS 1.6.1. Jak wybiorę jednostkę najemną to będzie można dać jej inną nazwie opis i HR? bo chciałbym dopisać je tylko do niektórych miast/regionów. :) Ogólnie to chciałem dodać wymienione jednostki Rhudaur, 3 jednostki krasnoludów do Fornostu, elfy do regionów bliskich szarej przystani należących do Arnoru, do portowego Tharbadu jednostki w stylu Pelargiru i jak się poduczę to stworzyć jednostki dla Cardolanu, specjalne odziały takie jak strażnicy minas ithildo Amon Sul. :D
Re: Pytania początkujących moderów
Opanuj się.
Pisałem podaj jedną jednostkę zajrzyj do export_descr_units ma mieć atrybut mercenary_unit.
Taką mogę dodać Arnorowi.
W Mos raczej nie pododajesz własnych jednostek, bo mają niesformatowany battle_models, a to bardzo utrudnia zmiany jednostek w MOS, na najemne. Czy dodawanie nowych.
Chyba, że w 1.6.2 dadzą ten plik sformatowany.
Re: Pytania początkujących moderów
Ok już :D
Oto ona:
Kod:
type Axemen of Rhudaur
dictionary Axemen_of_Rhudaur ; Axemen of Rhudaur
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier Rhudaur, 48, 0, 1.125
officer rhudaur_captain_early_flag
officer rhudaur_captain
mount_effect horse +1, camel +1, elephant -4
attributes sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit, ap, mercenary_unit
formation 1.6, 1.4, 2.8, 2.8, 4, square
stat_health 1, 3
stat_pri 7, 4, no, 0, 0, melee, melee_blade, slashing, axe, 90, 1
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 3, 5, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground -1, 1, 1, -1
stat_mental 10, impetuous, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 470, 0, 75, 75, 470, 3, 150
armour_ug_levels 1, 2
armour_ug_models Rhudaur, Rhudaur_ug1
ownership portugal
era 0 portugal
era 1 portugal
era 2 portugal
recruit_priority_offset 0
to trudno, poczekam na kolejną wersję.
Re: Pytania początkujących moderów
W export_descr_units pododawaj to co pogrubiłem.
W export_descr_buildings też dodaj to co pogrubiłem, po Arnor Militia np.
Pododawaj w każdym poziomie koszar.
Zrób wcześniej kopię obu plików w/w.
Usuń map.rwm z katalogu base i powinna być ta jednostka do rekrutacji dla Arnoru. Działa na savy. Po kilku turach będzie.
type Axemen of Rhudaur
dictionary Axemen_of_Rhudaur ; Axemen of Rhudaur
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier Rhudaur, 48, 0, 1.125
officer rhudaur_captain_early_flag
officer rhudaur_captain
mount_effect horse +1, camel +1, elephant -4
attributes sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit, ap, mercenary_unit
formation 1.6, 1.4, 2.8, 2.8, 4, square
stat_health 1, 3
stat_pri 7, 4, no, 0, 0, melee, melee_blade, slashing, axe, 90, 1
stat_pri_attr ap
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 3, 5, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground -1, 1, 1, -1
stat_mental 10, impetuous, trained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 470, 0, 75, 75, 470, 3, 150
armour_ug_levels 1, 2
armour_ug_models Rhudaur, Rhudaur_ug1
ownership portugal, byzantium, turks
era 0 portugal, byzantium, turks
era 1 portugal, byzantium, turks
era 2 portugal, byzantium, turks
recruit_priority_offset 0
building barracks
{
convert_to castle_barracks
levels town_watch town_guard city_watch militia_drill_square militia_barracks army_barracks royal_armoury
{
town_watch city requires factions { sicily, byzantium, milan, scotland, turks, spain, venice, england, france, hre, portugal, egypt, mongols, saxons, moors, dunland, }
{
convert_to 1
capability
{
recruit_pool "Axemen of Rhudaur" 1 0.12 1 0 requires factions { byzantium, turks, } and region_religion islam 33 and event_counter dunedain_turks 1 and hidden_resource forest
recruit_pool "Axemen of Rhudaur" 1 0.09 1 0 requires factions { byzantium, turks, } and region_religion islam 33 and event_counter dunedain_turks 1 and hidden_resource desert
recruit_pool "Axemen of Rhudaur" 1 0.09 1 0 requires factions { byzantium, turks, } and region_religion islam 33 and event_counter dunedain_turks 1 and hidden_resource mountains
Re: Pytania początkujących moderów
ok thx za pomoc ;)
A jakbym nie dodał budynku tylko do tych koszar co są to by coś dało? bo dodałem do Arnoru czarnych numenorejczyków i we własnych bitwach są tylko nie mam ich w rekrutacji.
Re: Pytania początkujących moderów
Kolego.
Ty nie dodawaj żadnych nowych budynków.
I tak nie dodasz.
To nie takie proste.
Napisałem co masz zrobić.
Poprzeklejaj wpisy o rekrutacji toporników z Rhuduaru do innych poziomów koszar są tylko w town_watch.
Jak nie dopiszesz jednostki w export_descr_buildings to nie będzie jej można rekrutować.
Będzie co najwyżej we własnej bitwie, jeśli zmiany zrobisz tylko w export_descr_units.
Jak dodałeś Numenorejczyków dla Arnoru, wklej tu jej wpis ok?