Results 1 to 4 of 4

Thread: script error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Mojito maker Member Jimmytwohand's Avatar
    Join Date
    Jun 2005
    Location
    Birmingham, England
    Posts
    96

    Default script error

    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.

  2. #2
    Mojito maker Member Jimmytwohand's Avatar
    Join Date
    Jun 2005
    Location
    Birmingham, England
    Posts
    96

    Default Re: script error

    Cancel that, just found my backup of my backups.

  3. #3
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: script error

    roman not romans; that was the problem I assume?
    "One of the most sophisticated Total War mods ever developed..."

  4. #4
    Mojito maker Member Jimmytwohand's Avatar
    Join Date
    Jun 2005
    Location
    Birmingham, England
    Posts
    96

    Default Re: script error

    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 correctly. Thanks Dol.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO