PDA

View Full Version : script error



Jimmytwohand
07-04-2005, 11:39
After enabling the -show_err extension i am receiving the following error on exiting RTW. The game plays without a hitch.


Script error in data/export_descr_buildings.txt at line 3309, column 81. Expected faction or culture type, or 'all' - terminate list with comma, enclose list in {}

I think is to do with modding the temples so that temple of mars is available for all Roman factions. Line 3309 is:


}
building temple_of_violence
{
levels temple_of_violence_shrine temple_of_violence_temple temple_of_violence_large_temple temple_of_violence_awesome_temple temple_of_violence_pantheon
{
-3309-> temple_of_violence_shrine requires factions { germans, pontus, macedon, romans, }
{
capability
{
happiness_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_violence_temple
}

It looks to me as if it already is ended with a comma and enclosed in {}. I have unfortunately binned my original of this file as it seemed to be working ok. Any advice on how to correct this error would be much appreciated.

Jimmytwohand
07-04-2005, 12:36
Cancel that, just found my backup of my backups.

Dol Guldur
07-04-2005, 13:31
roman not romans; that was the problem I assume?

Jimmytwohand
07-04-2005, 14:03
I actually just restored my original copy of export_descr_buildings.txt. However after your post i redid the editing to roman rather than romans. It works perfectly now. I just didnt read Epistolary Richard's thread (https://forums.totalwar.org/vb/showthread.php?t=50066) correctly. Thanks Dol.