Results 1 to 8 of 8

Thread: Script Error: Unknown identifier for trait

  1. #1

    Default Script Error: Unknown identifier for trait

    I get a CTD at game start when changing the following trait:

    Code:
    From
    
    Trait ValerivsFlaccvs ;Patrician
        Characters family, diplomat
        Hidden
        AntiTraits RemRomanFamilyName
    
        Level Valerivs_Flaccvs
            Description Hidden_desc
            EffectsDescription Hidden_effects_desc
            Epithet Valerivs_Flaccvs_epithet_desc
            Threshold  1
            
    To
    
    Trait ValerivsFlaccvs ;Patrician
        Characters family, diplomat
        Hidden
        AntiTraits RemRomanFamilyName
    
        Level Valerivs_Flaccvs
            Description Hidden_desc
            EffectsDescription Hidden_effects_desc
            Epithet Valerivs_Flaccvs_epithet_desc
            Threshold  1
            
        Level Valerivs_Flaccvs_Praetor
            Description Hidden_desc
            EffectsDescription Hidden_effects_desc
            Epithet Valerivs_Flaccvs_Praetor_epithet_desc
            Threshold  2
    Get the log message: Script Error in mods/ebii/data/export_descr_character_traits.txt, at line 3595, column 9
    Unknown identifier for trait(ValerivsFlaccvs) level(Valerivs_Flaccvs_Praetor) when expecting Description.

    Any idea why?

    - The entries "Description Hidden_desc", "EffectsDescription Hidden_effects_desc" and "Epithet Valerivs_Flaccvs_Praetor_epithet_desc" all exist in export_vnvs. Also deleted the "export_VnVs.txt.strings" file before starting game.
    - Freshly installed EBII 2.35A R3.5 before doing the changes. (Perhaps I missed switching on/off some setting?)

  2. #2

    Default Re: Script Error: Unknown identifier for trait

    Does the entry "Valerivs_Flaccvs_Praetor" exist in export_vnvs? That will be the name of the trait as it appears for the second threshold.

  3. #3

    Default Re: Script Error: Unknown identifier for trait

    Yes it does.

  4. #4
    Gigantus's Avatar You should always listen to your inner voice! - Agreed, but which one?
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    50,609
    Blog Entries
    30

    Default Re: Script Error: Unknown identifier for trait

    Could be a formatting issue, best to upload the EDCT for someone to check.




  5. #5

    Default Re: Script Error: Unknown identifier for trait

    Quote Originally Posted by Gigantus View Post
    Could be a formatting issue, best to upload the EDCT for someone to check.
    If someone could check it, that would be really really nice and very gentle! Here you go:


    files.rar

  6. #6
    Gigantus's Avatar You should always listen to your inner voice! - Agreed, but which one?
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    50,609
    Blog Entries
    30

    Default Re: Script Error: Unknown identifier for trait

    Yup, for some reason you are using the Mac\Linux type of line end\carriage feed, see pic: CRLF is windows, LF is Mac



    To fix that (you need to use Notepad++ and select view\show symbols\show all characters for this display) you need to set the cursor in front of the LF symbol, press 'delete' and then 'enter'.




  7. #7

    Default Re: Script Error: Unknown identifier for trait

    Thanks alot, that worked!!!!

    Notepad++ actually even has an inbuilt function for this. From the "Edit" menu, click on "EOL Conversion" -> "Windows/Dos Format".

  8. #8
    Gigantus's Avatar You should always listen to your inner voice! - Agreed, but which one?
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    50,609
    Blog Entries
    30

    Default Re: Script Error: Unknown identifier for trait

    Wasn't sure if that worked for partial stuff, thanks for confirming. Once I discovered ++ I never went back to the Windows version, guess you will do so, too.
    You'll love the inbuilt position counter once you work on the modelDB file...




Posting Permissions

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