Results 1 to 11 of 11

Thread: A CTD! Help me!

  1. #1
    Member-I'm still a noob though Member Melea Lord's Avatar
    Join Date
    Jul 2006
    Location
    Imperial Palace, Capua.
    Posts
    68

    Red face A CTD! Help me!

    I have edited the Character Traits File and have changed the Export_VnVs to make it have sense. I have spent ages changing these files! Is there a program I can use to find errors in particular files?

  2. #2
    Assistant Mod Mod Member GiantMonkeyMan's Avatar
    Join Date
    May 2005
    Location
    plymouth - scrubbing Beirut's toilet with a cat...
    Posts
    886

    Default Re: A CTD! Help me!

    here is malrubius' trait and ancillary validator: https://forums.totalwar.org/vb/showthread.php?t=55732

    next time remember to make back-ups of the files and only make little changes before testing and if you run into trouble again check the links database for tutorials (https://forums.totalwar.org/vb/local_links.php?catid=70)

  3. #3
    Member Member kambiz's Avatar
    Join Date
    Jul 2006
    Location
    Persian Empire
    Posts
    322

    Default Re: A CTD! Help me!

    Hiya;
    Is it possible to modify traits and ancillaries ???

    Thanks

    Forgotten Empire

  4. #4
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: A CTD! Help me!

    Quote Originally Posted by kambiz
    Hiya;
    Is it possible to modify traits and ancillaries ???

    Thanks
    Yeah - here's the basics:

    https://forums.totalwar.org/vb/showthread.php?t=38481

  5. #5
    Member Member kambiz's Avatar
    Join Date
    Jul 2006
    Location
    Persian Empire
    Posts
    322

    Default Re: A CTD! Help me!

    Hey Sruie;
    Very good guid ,But Infact I wanna know ,Is it possible to create New traits and ancillaries in mods?

    Thank you for Response
    -Kambiz

    Forgotten Empire

  6. #6
    Assistant Mod Mod Member GiantMonkeyMan's Avatar
    Join Date
    May 2005
    Location
    plymouth - scrubbing Beirut's toilet with a cat...
    Posts
    886

    Default Re: A CTD! Help me!

    yes you can make new traits

    Code:
     (in export_descr_character_traits.txt)
    
    ;------------------------------------------
    Trait NewTrait
        Characters family
    
        Level New_Trait
            Description New_Trait_desc
            EffectsDescription New_Trait_effects_desc
            Threshold  1 
    
            Effect Command  1 
            Effect Management  1 
    
    ;=========================================================
    ;== TRIGGER DATA STARTS HERE ==
    ;=========================================================
    
    ;------------------------------------------
    Trigger V0010_Standard_Battle_Attacker_Crushing_Victory_VnV_Trigger
        WhenToTest PostBattle
    
        Condition WasAttacker
              and IsGeneral
              and WonBattle
              and BattleSuccess = crushing
              and I_ConflictType Normal
              and BattleOdds >= 0.5
              and BattleOdds < 1.5
    
        Affects GoodAttacker  2  Chance  100 
        Affects TacticalSkill  1  Chance  5 
        Affects NewTrait  1  Chance  5

    Code:
     (in export_vnvs.txt)
    
    &#172;--------------------
    
    {New_Trait}	New Trait
    
    {New_Trait_desc}
    This is a new trait just to show of my immense modding skills.... mwahahahaha.
    
    {New_Trait_effects_desc}
    +1 Command, +1 Management

    Code:
     (in descr_strat)
    
    character	Vibius Brutus, named character, age 30, , x 114, y 63 
    traits GoodCommander 1 , GoodAdministrator 2 , PoliticsSkill 1 , Intelligent 2 , MathematicsSkill 2 , NewTrait 1 
    army
    unit		roman generals guard cavalry early				exp 1 armour 0 weapon_lvl 0


    now this is just a quick trait that i just threw together but you get the general idea... use the guide to make new traits that you want and follow the layout of the traits already there

    hope this helps
    GMM
    Last edited by GiantMonkeyMan; 08-07-2006 at 22:42.

  7. #7
    Member Member kambiz's Avatar
    Join Date
    Jul 2006
    Location
    Persian Empire
    Posts
    322

    Default Re: A CTD! Help me!

    Thanks a lot GiantMonkeyMan ,Yes It will help.

    Forgotten Empire

  8. #8
    Member-I'm still a noob though Member Melea Lord's Avatar
    Join Date
    Jul 2006
    Location
    Imperial Palace, Capua.
    Posts
    68

    Angry Re: A CTD! Help me!

    I ain't added new ones or deleted any old ones. I have edited thresholds and eddited/created/deleted effects in the trait section. In trigger section I have eddited/deleted/added traits and have edited points and chances. Are u sure the validator cheked this. I did as the instructions said and I don't know how to find if I have errors from the 3 files that are produced.

    I think the main thing I did when I changed numbers to postive or negative I made it so there was always 2 spaces between the number so negatives will have the wrong amount of spaces or just 1 space so that positive numbers were wrong. Would this tool find it?

  9. #9
    Assistant Mod Mod Member GiantMonkeyMan's Avatar
    Join Date
    May 2005
    Location
    plymouth - scrubbing Beirut's toilet with a cat...
    Posts
    886

    Default Re: A CTD! Help me!

    you can't have negatives unfortunately...
    thresholds are like a tally that each time the required results of a trigger are made another one of the threshold is added, when it reaches a certain amount on the threshold it will make that level of the trait be gained

    but, as well as thresholds, negatives can't be used at all i don't think which is why the trait validator isn't working

    GMM

  10. #10
    Member-I'm still a noob though Member Melea Lord's Avatar
    Join Date
    Jul 2006
    Location
    Imperial Palace, Capua.
    Posts
    68

    Talking Re: A CTD! Help me!

    no no no. I meant the effects like:

    command 1
    command -1

    I have on some of them:

    command 1 (1 space, should be 2)

    And on others:

    command -1 (2 spaces, should be 1)

    Could the validator find mistakes like this?

  11. #11
    Member-I'm still a noob though Member Melea Lord's Avatar
    Join Date
    Jul 2006
    Location
    Imperial Palace, Capua.
    Posts
    68

    Red face Re: A CTD! Help me!

    I changed all the effects so they were correct and it still crashed. Any ideas on what other mistakes I made when editing this file?

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