Log in

View Full Version : Can somebody help please



Pharnakes
06-06-2007, 12:21
Can anybody see the erro in the following piece of edb?




building colonia
{
levels apoikia, military_colony_1, military_colony_2, military_colony_3
{
apoikia requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
{
capability
{
law_bonus bonus 2
population_growth_bonus bonus -2
}
construction 12
cost 10400
settlement_min large_town
upgrades
{
military_colony_1
trade_colony_1
}
}
military_colony_1 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
{
capability
{
law_bonus bonus 2
population_growth_bonus bonus -2
}
construction 12
cost 10400
settlement_min large_town
upgrades
{
military_colony_2
trade_colony_2
}
}
military_colony_2 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
{
capability
{
law_bonus bonus 2
population_growth_bonus bonus -2
}
construction 12
cost 10400
settlement_min large_town
upgrades
{
military_colony_3
trade_colony_3
}
}
military_colony_3 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
{
capability
{
law_bonus bonus 2
population_growth_bonus bonus -2
}
construction 12
cost 10400
settlement_min large_town
upgrades
{
trade_colony_3
}
}
}
plugins
{
}
}
plugins
{
}
}
building Tcolonia
{
levels trade_colony_1, trade_colony_2, trade_colony_3
{
trade_colony_1 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
{
capability
{
law_bonus bonus 2
population_growth_bonus bonus -2
}
construction 12
cost 10400
settlement_min large_city
upgrades
{
trade_colony_2
military_colony_2
}
}
trade_colony_2 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
{
capability
{
law_bonus bonus 2
population_growth_bonus bonus -2
}
construction 12
cost 10400
settlement_min large_city
upgrades
{
trade_colony_3
military_colony_3
}
}
trade_colony_3 requires factions { thrace, greek_cities, macedon, romans_julii, seleucid, romans_scipii, parthia, numidia, romans_brutii, egypt, } and building_present_min_level port_buildings port and building_present_min_level government gov3
{
capability
{
law_bonus bonus 2
population_growth_bonus bonus -2
}
construction 12
cost 10400
settlement_min large_city
upgrades
{
military_colony_3
}
}
}
plugins
{
}
}


The error it gives me is invalid upgrade specified.

Thank you very, (and sorry as this probably isn't realy the best place for this)

Foot
06-06-2007, 12:28
Um that doesn't even make sense as a piece of code. You can't upgrade between complexes, which is what you've done here.

Also you have two sets of plugins, which is just wierd.

Collapse the Tcolonia into the colonia like this:


levels apoikia, military_colony_1, military_colony_2, military_colony_3, trade_colony_1, trade_colony_2, trade_colony_3


That will work fine.

Foot

Pharnakes
06-06-2007, 12:37
Ok, thanks, I was just trying to copy the romanii mics, (but you say that won't work?)

Foot
06-06-2007, 12:42
Ok, thanks, I was just trying to copy the romanii mics, (but you say that won't work?)

There are two building complexes for the Roman MICs, the Camillian/Polybian complex and the Marian/Augustian, but you can't upgrade between them. I think you need to take another look at those MIC complexes again.

Foot

Pharnakes
06-06-2007, 12:48
Yes, probably, all that recruitment makes my eyes hurt:dizzy2:

Edit: thanks foot, I've got it working, now I can set about murdering the EB recruitment system!

blacksnail
06-06-2007, 22:12
I highly recommend you do some testing for those top-level buildings and the capability to swap back and forth. (You can do so by changing all costs and time to 100 mnai / 1 turn for testing purposes.) I remember trying some variation of back-and-forth like that way back when we were trying to upgrade to RTW 1.5 and seem to remember that caused the game some problems. I can't recall if it was a weird error message in -show_err or something else.

Try building up from scratch to the top level of trade, then go back and forth with military. Do this for 20 straight turns in your test game and see if the engine barfs. Make sure you keep a count of how many times you have built something.

Good luck!