Results 1 to 6 of 6

Thread: CTD with traits... Why?

  1. #1

    Default CTD with traits... Why?

    For Inca: Total War, I am testing our "Intelligence" trait. I made the faction leader of the Brutii start with one of the levels of the traits, too. However, any time I go to the leader's trait screen, or I get to the end of the turn where I get a new character (since that's when they get the trait), it crashes to the desktop. I hope I'm using -show_err right, because it isn't working correctly. No error message at all. Any idea what could be wrong?

  2. #2
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: CTD with traits... Why?

    Sounds like two different errors, the first, when you look at the leaders character screen, is caused by a missing/mistyped entry in export_VnVs.txt. The second sounds like you have two triggers with the same name, this will cause an errorless CTD when they trigger. Both of these issues are covered in the trait/ancillary guide.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  3. #3

    Default Re: CTD with traits... Why?

    Thank you very much.

  4. #4

    Default Re: CTD with traits... Why?

    Gah, it's still not working. The trait line was created by another member of Inca, I found a few problems, and fixed them, but now I'm getting CTDs. I'll just copy the code, please tell me what I did wrong.

    Code:
    ;------------------------------------------
    Trait Smartness
        Characters family 
    
        Level Monkey_Brains
            Description Monkey_Brains_desc
            EffectsDescription Monkey_Brains_effects_desc
            Threshold  1
    
        Level Dumb
            Description Dumb_desc
            EffectsDescription Dumb_effects_desc
            Threshold  2
    
        Level Slow_Understander
            Description Slow_Understander_desc
            EffectsDescription Slow_Understander_effects_desc
            Threshold  3
    
        Level Average_Brain_Capacity
            Description Average_Brain_Capacity
            EffectsDescription Average_Brain_Capacity_effects_desc
            Threshold  4
    
        Level Smart
            Description Smart_desc
            EffectsDescription Smart_effects_desc
            Threshold  5
    
        Level Very_Smart
            Description Very_Smart_desc
            EffectsDescription Very_Smart_effects_desc
            Threshold  6
    
        Level The_Genius
            Description The_Genius_desc
            EffectsDescription The_Genius_effects_desc
            Threshold  7
    Code:
    ;------------------------------------------
    Trigger smartness1
        WhenToTest CharacterComesOfAge
    
        Affects Smartness  1  chance  100
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
    
    ;------------------------------------------
    Trigger smartness2
        WhenToTest OfferedForAdoption
    
        Affects Smartness  1  chance  100
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
    
    ;------------------------------------------
    Trigger smartness3
        WhenToTest LesserGeneralOfferedForAdoption
    
        Affects Smartness  1  chance  100
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
    
    ;------------------------------------------
    Trigger smartness4
        WhenToTest OfferedForMarriage
    
        Affects Smartness  1  chance  100
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
        Affects Smartness  1  chance  50
    Code:
    {Monkey_Brains}	Monkey Brains
    
    {Monkey_Brains_desc}
    The monkeys living in the Amazon jungle would like to point out their brain capacity is superior than this man's skull contents.
    
    {Monkey_Brains_effects_desc}
    
    
    ¬--------------------
    
    {Dumb}	Dumb
    
    {Dumb_desc}
    This man has a hard time understanding even the most simple things.
    
    {Dumb_effects_desc}
    
    
    ¬--------------------
    
    {Slow_Understander}	Slow Understander
    
    {Slow_Understander_desc}
    This man understands most things, it only takes a little more time.
    
    {Slow_Understander_effects_desc}
    
    
    ¬--------------------
    
    {Average_Brain_Capacity}	Average Brain Capacity
    
    {Average_Brain_Capacity_desc}
    You can call this man dumb nor smart.
    
    {Average_Brain_Capacity_effects_desc}
    
    
    ¬--------------------
    
    {Smart}	Smart
    
    {Smart_desc}
    This man's IQ allows him to learn and understand things faster then most people.
    
    {Smart_effects_desc}
    
    
    ¬--------------------
    
    {Very_Smart}	Very_Smart
    
    {Very_Smart_desc}
    This man has superior brains.
    
    {Very_Smart_effects_desc}
    
    
    ¬--------------------
    
    {The_Genius}	The_Genius
    
    {The_Genius_desc}
    If the god of wisdom has a son, it's probably this man.
    
    {The_Genius_desc}
    I have no idea what's wrong. I attempted to rename the traits and everything, but it still isn't working correctly. Also, does the Trait Validator in the Scripitorium work correctly? It keeps saying that AssassinCatcher is the last trait.

  5. #5
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Default Re: CTD with traits... Why?

    Code:
    ;------------------------------------------
       Level The_Genius
            Description The_Genius_desc
            EffectsDescription The_Genius_effects_desc
            Threshold  7
    
    ¬--------------------
    
    {The_Genius}	The_Genius
    
    {The_Genius_desc}
    If the god of wisdom has a son, it's probably this man.
    
    {The_Genius_desc}
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



  6. #6

    Default Re: CTD with traits... Why?

    Gah! How did I miss that? Thank you very much!

    However, Squid said there were two problems... I'll fix that and test it, hopefully that will fix all of it.

    EDIT: No change... Here's one of the lines in descr_strat, just in case I messed it up here instead.

    Code:
    traits GoodCommander 1 , NaturalMilitarySkill 1 , GoodAttacker 1 , PoliticsSkill 2 , Intelligent 1 , Smartness 3
    Last edited by SSJVegetaTrunks; 09-12-2007 at 03:17.

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