-
EDB help
Can somebody please tell me if the can see anything wrong with this:
Code:
building barracks_M
{
levels muster_field_M militia_barracks_M city_barracks_M army_barracks_M royal_barracks_M
{
muster_field_M requires factions { macedon, } and hidden_resource supplyline
{
capability
{
recruit "greek infantry taxeis hoplitai" 0 requires factions { macedon, }
}
construction 2
cost 25000
settlement_min town
upgrades
{
militia_barracks_M
}
}
militia_barracks_M requires factions { macedon, } and hidden_resource supplyline
{
capability
{
recruit "greek infantry taxeis hoplitai" 0 requires factions { macedon, }
recruit "greek infantry taxeis phalangitai" 0 requires factions { macedon, }
recruit "greek skirmisher peltastai" 0 requires factions { macedon, }
recruit "hellenistic skirmisher cavalry hippakontistai" 0 requires factions { macedon, }
}
construction 3
cost 20000
settlement_min town
upgrades
{
city_barracks_M
}
}
city_barracks_M requires factions { macedon, } and hidden_resource supplyline
{
capability
{
recruit "greek infantry taxeis hoplitai" 0 requires factions { macedon, }
recruit "greek infantry taxeis phalangitai" 0 requires factions { macedon, }
recruit "greek skirmisher peltastai" 0 requires factions { macedon, }
recruit "hellenistic skirmisher cavalry hippakontistai" 0 requires factions { macedon, }
recruit "hellenistic infantry heavy pezhetairoi" 0 requires factions { macedon, }
recruit "hellenistic cavalry prodromoi" 0 requires factions { macedon, }
recruit "hellenistic infantry thureophoroi" 0 requires factions { macedon, }
recruit "cavalry thrakioi hippeis" 0 requires factions { macedon, }
}
construction 4
cost 15000
settlement_min town
upgrades
{
army_barracks_M
}
}
army_barracks_M requires factions { macedon, } and hidden_resource supplyline
{
capability
{
recruit "greek infantry taxeis hoplitai" 0 requires factions { macedon, }
recruit "greek infantry taxeis phalangitai" 0 requires factions { macedon, }
recruit "greek skirmisher peltastai" 0 requires factions { macedon, }
recruit "hellenistic skirmisher cavalry hippakontistai" 0 requires factions { macedon, }
recruit "hellenistic infantry heavy pezhetairoi" 0 requires factions { macedon, }
recruit "hellenistic cavalry prodromoi" 0 requires factions { macedon, }
recruit "hellenistic infantry thureophoroi" 0 requires factions { macedon, }
recruit "cavalry thrakioi hippeis" 0 requires factions { macedon, }
recruit "greek cavalry hippeis thessalikoi" 0 requires factions { macedon, }
recruit "hellenistic cavalry prodromoithrakioi" 0 requires factions { macedon, }
recruit "dacian missile peltastaithrakioi" 0 requires factions { macedon, }
recruit "hellenistic missile cretan archers" 0 requires factions { macedon, }
recruit "hellenistic infantry argyraspidai" 0 requires factions { macedon, }
recruit "hellenistic infantry hysteroi pezhetairoi" 0 requires factions { macedon, }
recruit "generic siege 3span" 0 requires factions { macedon, }
recruit "generic siege 30mina" 0 requires factions { macedon, }
}
construction 6
cost 12500
settlement_min town
upgrades
{
royal_barracks_M
}
}
royal_barracks_M requires factions { macedon, } and hidden_resource supplyline
{
capability
{
recruit "greek infantry taxeis hoplitai" 0 requires factions { macedon, }
recruit "greek infantry taxeis phalangitai" 0 requires factions { macedon, }
recruit "greek skirmisher peltastai" 0 requires factions { macedon, }
recruit "hellenistic skirmisher cavalry hippakontistai" 0 requires factions { macedon, }
recruit "hellenistic infantry heavy pezhetairoi" 0 requires factions { macedon, }
recruit "hellenistic cavalry prodromoi" 0 requires factions { macedon, }
recruit "hellenistic infantry thureophoroi" 0 requires factions { macedon, }
recruit "cavalry thrakioi hippeis" 0 requires factions { macedon, }
recruit "greek cavalry hippeis thessalikoi" 0 requires factions { macedon, }
recruit "hellenistic cavalry prodromoithrakioi" 0 requires factions { macedon, }
recruit "dacian missile peltastaithrakioi" 0 requires factions { macedon, }
recruit "hellenistic missile cretan archers" 0 requires factions { macedon, }
recruit "hellenistic infantry argyraspidai" 0 requires factions { macedon, }
recruit "hellenistic infantry hysteroi pezhetairoi" 0 requires factions { macedon, }
recruit "generic siege 3span" 0 requires factions { macedon, }
recruit "generic siege 30mina" 0 requires factions { macedon, }
recruit "hellenistic cavalry successor hetairoi" 0 requires factions { macedon, }
recruit "greek infantry hypaspistai" 0 requires factions { macedon, }
recruit "hellenistic infantry agrianaipelekephoroi" 0 requires factions { macedon, }
recruit "greek infantry pheraspidai" 0 requires factions { macedon, }
recruit "dacian infantry taxeistribalii" 0 requires factions { macedon, }
recruit "generic siege 3cubit" 0 requires factions { macedon, }
recruit "generic siege 1talent" 0 requires factions { macedon, }
}
construction 8
cost 9500
settlement_min town
upgrades
{
}
}
}
}
Cos its causing me an unexplained CTD when I put it into the EDB.
Thanks
-
Re: EDB help
All buildings in edb have the entry "plugins", your entry doesn't.
Foot
-
Re: EDB help
Thank you. That was so fustrating.:wall: :wall:
:wall:
EDIT: Sorry for yet another noob question, where should I put the plugins, because the mics don't seem to have plugins?:inquisitive:
-
Re: EDB help
-
Re: EDB help
Oh and remember, if you haven't already, to add entries to export_buildings.txt, otherwise the game will crash without warning at start up.
Foot