What can this be?
![]()
have you made that new building , or is it from a mod (the spartacus mod apparently) ? If it's from a mod , it's best to ask on their forum :)
It's pretty clear actually. ;) The building tree's first level (ie shrine) is not available to a faction, while a level above that is, so it's causing an error.
Norman Invasion - The fate of England lies in your hands...
Viking Invasion II - Unite Britain in the best TW campaign ever!
Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland
Neither the temple the error referes to is not available to romans_julii on any level. The temple above it, is available for all the leves. I've checked and re-checked it, thats why it doesn't seem to make sense. Also, the line the error points to, its the last line on the EDB.
It is from a mod, PopePopo. But one that I am creating: Spartacus, Total War.
Could you post the entire section of code for the temple_of_governors?
There are never enough hours in the days of a Queen, and her nights have too many...ATW Version 2.5 is now out!
plugins
{
}
}
building temple_of_governors
{
levels temple_of_governors_shrine temple_of_governors_temple temple_of_governors_large_temple temple_of_governors_awesome_temple temple_of_governors_pantheon
{
temple_of_governors_shrine requires factions { pontus, macedon, }
{
capability
{
happiness_bonus bonus 1
law_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_governors_temple
}
}
temple_of_governors_temple requires factions { pontus, macedon, }
{
capability
{
happiness_bonus bonus 2
law_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_governors_large_temple
}
}
temple_of_governors_large_temple requires factions { pontus, macedon, }
{
capability
{
happiness_bonus bonus 3
law_bonus bonus 3
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_governors_awesome_temple
}
}
temple_of_governors_awesome_temple requires factions { pontus, macedon, }
{
capability
{
happiness_bonus bonus 4
law_bonus bonus 4
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_governors_pantheon
}
}
temple_of_governors_pantheon requires factions { }
{
capability
{
happiness_bonus bonus 5
law_bonus bonus 5
farming_level bonus 2
recruits_exp_bonus bonus 2
weapon_missile bonus 2
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
Here it is.
is
the right way to say no factions can build that level? maybe its reading that as all factions?temple_of_governors_pantheon requires factions { }
I've seen that written elsewhere as
temple_of_governors_pantheon requires factions { , }
If the above doesn't work - you can sometimes get really weird EDB errors if you've made changes to resources / things Carthaginian's can build without fixing their look up first, and haven't deleted your map.rwmAlso, the line the error points to, its the last line on the EDB.
Not used mods before? Looking for something small and fun?!Download the:
I believe the right way isthe right way to say no factions can build that level? maybe its reading that as all factions?
temple_of_governors_pantheon
nothing added in front of it, because there are other temples like that. I checked it when I made the changes.
My mistake, I pasted after making some changes to try and see if it would work.
Here is the "correct" one:
}
building temple_of_governors
{
levels temple_of_governors_shrine temple_of_governors_temple temple_of_governors_large_temple temple_of_governors_awesome_temple temple_of_governors_pantheon
{
temple_of_governors_shrine requires factions { pontus, macedon, }
{
capability
{
happiness_bonus bonus 1
law_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_governors_temple
}
}
temple_of_governors_temple requires factions { pontus, macedon, }
{
capability
{
happiness_bonus bonus 2
law_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_governors_large_temple
}
}
temple_of_governors_large_temple requires factions { pontus, macedon, }
{
capability
{
happiness_bonus bonus 3
law_bonus bonus 3
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_governors_awesome_temple
}
}
temple_of_governors_awesome_temple requires factions { pontus, }
{
capability
{
happiness_bonus bonus 4
law_bonus bonus 4
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_governors_pantheon
}
}
temple_of_governors_pantheon
{
capability
{
happiness_bonus bonus 5
law_bonus bonus 5
farming_level bonus 2
recruits_exp_bonus bonus 2
weapon_missile bonus 2
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
I think you will find, and as Mak rightly guessed, that your syntax is being read as "all factions". The Julii are being reported because they are the default report faction I believe. Change it to the syntax Mak suggested. This is how I do it, and it is how other mods no doubt do it - check other mods and learn from them rather than guessing![]()
I can confirm the syntax isnt the issue, had to dig trhu some back up folders, but from my EDB:
edit: .. er .. I used 2 spaces instead of 1, so perhaps it could be a syntax error ... lolCode:building taverns { levels tavern bardic_circle { tavern requires factions { } { capability { happiness_bonus bonus 1 } construction 2 cost 800 settlement_min large_town upgrades { bardic_circle } } bardic_circle requires factions { } { capability { happiness_bonus bonus 2 } construction 3 cost 1600 settlement_min city upgrades { } } } plugins { } } building temple_of_battle { levels temple_of_battle_shrine temple_of_battle_temple temple_of_battle_large_temple temple_of_battle_awesome_temple temple_of_battle_pantheon { temple_of_battle_shrine requires factions { } { capability { happiness_bonus bonus 1 } construction 1 cost 400 settlement_min town upgrades { temple_of_battle_temple } } temple_of_battle_temple requires factions { } { capability { happiness_bonus bonus 2 recruits_morale_bonus bonus 1 } construction 2 cost 800 settlement_min large_town upgrades { temple_of_battle_large_temple } } temple_of_battle_large_temple requires factions { } { capability { happiness_bonus bonus 3 recruits_morale_bonus bonus 2 } construction 3 cost 1600 settlement_min city upgrades { temple_of_battle_awesome_temple } } temple_of_battle_awesome_temple requires factions { } { capability { happiness_bonus bonus 4 recruits_morale_bonus bonus 3 } construction 5 cost 3200 settlement_min large_city upgrades { temple_of_battle_pantheon } } temple_of_battle_pantheon requires factions { } { capability { happiness_bonus bonus 7 recruits_morale_bonus bonus 4 } construction 6 cost 6400 settlement_min huge_city upgrades { } } } plugins { } }
Last edited by Red Spot; 02-26-2009 at 02:00.
If you do not want pontus or macedon to have the pantheon level, why not just remove it?
This ought to do the trick (I think)
Code:} building temple_of_governors { levels temple_of_governors_shrine temple_of_governors_temple temple_of_governors_large_temple temple_of_governors_awesome_temple { temple_of_governors_shrine requires factions { pontus, macedon, } { capability { happiness_bonus bonus 1 law_bonus bonus 1 } construction 1 cost 400 settlement_min town upgrades { temple_of_governors_temple } } temple_of_governors_temple requires factions { pontus, macedon, } { capability { happiness_bonus bonus 2 law_bonus bonus 2 } construction 2 cost 800 settlement_min large_town upgrades { temple_of_governors_large_temple } } temple_of_governors_large_temple requires factions { pontus, macedon, } { capability { happiness_bonus bonus 3 law_bonus bonus 3 } construction 3 cost 1600 settlement_min city upgrades { temple_of_governors_awesome_temple } } temple_of_governors_awesome_temple requires factions { pontus, } { capability { happiness_bonus bonus 4 law_bonus bonus 4 } construction 5 cost 3200 settlement_min large_city upgrades { } } } plugins { } }
Last edited by SubRosa; 02-26-2009 at 02:21.
There are never enough hours in the days of a Queen, and her nights have too many...ATW Version 2.5 is now out!
It is the syntax. I tested a building from a mod. Use the "requires factions { , }" to block out any higher levels you do not want; you can just remove the level but sometimes that means hunting through and changing references elsewhere (and of course you may choose to use it later).
I have used this in FATW for years and it has never caused any reported errors, CTDs or instability.
Bookmarks