Results 1 to 4 of 4

Thread: Export_Descr_Buildings trouble

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Export_Descr_Buildings trouble

    I'm adding a heavier spearmen for the Byzantines and it works fine.... until I try to make it recruitable in the campaign by adding it to the EDB. Can anyone spot the mistake?

    Here's the error I get:

    PHP Code:
    18:53:21.843 [script.err] [errorScript Error in mods/retrofit/data/export_descr_buildings.txtat line 1570column 46
    Unknown unit type specified
    Greek Heavy Spearmen 
    The EDU entry:
    PHP Code:
    type             georgian greek spearmen

    dictionary       georgian_greek_spearmen      
    Greek Heavy Spearmen 
    The EU entry:

    PHP Code:
    {georgian_greek_spearmen}    Greek Heavy Spearmen

    {georgian_greek_spearmen_descr}

    {
    georgian_greek_spearmen_descr_short
    EDB entry (under castle armory):

    PHP Code:
    recruit_pool "Greek Heavy Spearmen"  1   0.7   1  0  requires factions byzantium, } 
    Note: I've tried changing the EDB entry to "Georgian Greek Spearmen" but get the same error. The model itself works because I can use it in custom battles.
    Last edited by SSJPabs; March 14, 2009 at 07:01 PM.

  2. #2

    Default Re: Export_Descr_Buildings trouble

    It definitely needs to be georgian greek spearmen . No caps or anything, just the way it is.

    Coder on Dark Ages: Roman Revival, the alternate history mod for BI.

    Under the Patronage of Augustus Lucifer, member of the House of Ward.

  3. #3

    Default Re: Export_Descr_Buildings trouble

    Quote Originally Posted by Mythic_Commodore View Post
    It definitely needs to be georgian greek spearmen . No caps or anything, just the way it is.
    Yes, that's it. It's been a while since I added anything and I forgot what to put there properly.

    Thanks.

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Export_Descr_Buildings trouble

    Moved to text editing and scripting. If you aren't posting a tutorial or a tool please don't post in the tutorial section of the M2TW Modding Workshop.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •