Page 1 of 2 12 LastLast
Results 1 to 20 of 21

Thread: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

  1. #1

    Icon1 CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    ;------------------------------------------
    Trait LeadershipI
    Characters family
    NoGoingBackLevel 3
    ExcludeCultures carthaginian, eastern, egyptian, greek, nomad, barbarian
    AntiTraits PathologicalLiar, BadPoet, NonAuthoritarian, Authoritarian, HarshRuler, HarshJustice, LenientJustice, Unjust, LaxPersonalSecurity, BoringSpeaker, BadDisciplinarian, Arse, Bloodthirsty, Haemophobic, GloriousFool, BadInfantryGeneral, BadCavalryGeneral, Lewd, Perverted, Embezzler, Corrupt

    Level Newborn_Commander
    Description Newborn_Commander_desc
    EffectsDescription Newborn_Commander_effects_desc
    Threshold 2

    Effect Influence 1
    Effect Law 1
    Effect TroopMorale 1
    Effect LineOfSight 2
    Effect MovementPoints 2
    Effect Command 2
    Effect InfantryCommand 2
    Effect CavalryCommand 2






    Level Veteran_Leader
    Description Veteran_Leader_desc
    EffectsDescription Veteran_Leader_effects_desc
    Threshold 4

    Effect Influence 3
    Effect Law 3
    Effect TroopMorale 4
    Effect LineOfSight 4
    Effect MovementPoints 4
    Effect Command 3
    Effect InfantryCommand 3
    Effect CavalryCommand 3






    Level Revered_Leader
    Description Revered_Leader_desc
    EffectsDescription Revered_Leader_effects_desc
    Threshold 8

    Effect Influence 5
    Effect Law 5
    Effect TroopMorale 6
    Effect LineOfSight 6
    Effect MovementPoints 6
    Effect Command 5
    Effect InfantryCommand 5
    Effect CavalryCommand 5
    Effect TrainingUnits 5
    Effect PersonalSecurity 4

    ~

    TRIGGER:

    ;------------------------------------------
    Trigger LeadershipII_ROMANI
    WhenToTest CharacterComesOfAge

    Condition FatherTrait LeadershipI >= 1
    and CultureType roman

    Affects LeadershipI Chance 35


    VnVs

    ¬--------------------


    {Newborn_Commander} Newborn Commander


    {Newborn_Commander_desc}
    His mind is still naive and ill-tempered, experience will sharpen it.


    {Newborn_Commander_effects_desc}
    A fruitful amount of skills.


    ¬--------------------


    {Veteran_Leader} Veteran Leader


    {Veteran_Leader_desc}
    This man's mind and tongue has become eloquent through the passage of time, his men look up to him.


    {Veteran_Leader_effects_desc}
    A set of skills sharpened by time.


    ¬--------------------


    {Revered_Leader} Revered Leader


    {Revered_Leader_desc}
    His men see him as the closest resemblance to the Gods, his mere presence is enough to silence others.


    {Revered_Leader_effects_desc}
    A wise leader, equipped with the greatest knowledge for the greatest use.

    I ALSO INCLUDED THE DETAILS IN VnVs_enums.text.


    Can SOMEONE HELP ME WITH THIS? I JUST RECENTLY GOT BACK TO RTW I AND BEFORE I HAD NO PROBLEMS WITH MAKING NEW TRAITS, THE GAME JUST WENT FINE, I EVEN DID THOSE IN THE "EXTENDED CULTURES" MOD.

    P.S: Regarding any AntiTrait limit suggestion, I already know, as far as I have been informed, from v1.4 - u had a limit of 10 AntiTraits, from v1.5 (Rome)/v1.6(Barbarian Invasion) u had a limit of 20 AntiTraits. And the trait I made had below 20 AntiTraits.

  2. #2
    z3n's Avatar State of Mind
    Moderator Emeritus

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Why do you have traits in excludescultures? Also use the trait validation tool for RTW created if I remember correctly by Squid.
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  3. #3

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    I don't there is ANTITRAIT listed below, look more closely:

    ExcludeCultures carthaginian, eastern, egyptian, greek, nomad, barbarian
    AntiTraits PathologicalLiar, BadPoet, NonAuthoritarian, Authoritarian, HarshRuler, HarshJustice, LenientJustice, Unjust, LaxPersonalSecurity, BoringSpeaker, BadDisciplinarian, Arse, Bloodthirsty, Haemophobic, GloriousFool, BadInfantryGeneral, BadCavalryGeneral, Lewd, Perverted, Embezzler, Corrupt

  4. #4

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Here's the details I get when I run the validator:
    [IMG]file:///C:/Users/c/Desktop/SAS.png[/IMG]

  5. #5

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!


  6. #6
    z3n's Avatar State of Mind
    Moderator Emeritus

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    I cant see the image.

    Only thing I can suggest is remove parts you think could cause the crash. If it is a hard ctd not kbm then it is a limit or unauthorized attempt to do something. Ctds are either RAM related or rule related (file structure and syntax)
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  7. #7

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Ok, here's just the detail: (This is the trait)

    Error: Parsing EDCT failed, the followng errors were found:

    Line 30 - Error: Expecting Trait or Trigger - Found: ExcludeCultures



    This is the line number and where it leads:

    Trait LeadershipI
    Characters family
    NoGoingBackLevel 3
    AntiTraits PathologicalLiar, BadPoet, NonAuthoritarian, Authoritarian, HarshRuler, Unjust, LaxPersonalSecurity, BoringSpeaker, BadDisciplinarian, Arse, Bloodthirsty, Haemophobic, GloriousFool, BadInfantryGeneral, BadCavalryGeneral, Lewd, Perverted, Embezzler, Corrupt
    ExcludeCultures carthaginian, egyptian, greek, eastern, nomad, barbarian <--- This is line 30. - What the hell does this mean?

  8. #8

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Ok, here's just the detail: (This is the trait)

    Error: Parsing EDCT failed, the followng errors were found:

    Line 30 - Error: Expecting Trait or Trigger - Found: ExcludeCultures



    This is the line number and where it leads:

    Trait LeadershipI
    Characters family
    NoGoingBackLevel 3
    AntiTraits PathologicalLiar, BadPoet, NonAuthoritarian, Authoritarian, HarshRuler, Unjust, LaxPersonalSecurity, BoringSpeaker, BadDisciplinarian, Arse, Bloodthirsty, Haemophobic, GloriousFool, BadInfantryGeneral, BadCavalryGeneral, Lewd, Perverted, Embezzler, Corrupt
    ExcludeCultures carthaginian, egyptian, greek, eastern, nomad, barbarian <--- This is line 30. - What the hell does this mean?

  9. #9
    z3n's Avatar State of Mind
    Moderator Emeritus

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    You should move the antitraits and excludecultures around, they may be in the wrong place.

    If that does not work; only use 1 anti trait to test and 1 culture. Don't go overboard at once, get something working and understand how the lines are supposed to be placed.
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  10. #10

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    I tried it, but no success, there's literally just a degrading in the line number:

    From this:
    Line 30 - Error: Expecting Trait or Trigger - Found: ExcludeCultures;

    To this:
    Line 29 - Error: Expecting Trait or Trigger - Found: ExcludeCultures;


    I even switched the AntiTraits with the ExcludeCultures, but to no good, same crash.


  11. #11
    z3n's Avatar State of Mind
    Moderator Emeritus

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    So your problem is, you have it out of order (like I said you have to move them around)
    Look at this link for more details
    http://www.twcenter.net/wiki/Export_...ter_traits.txt

    Trait Trait_Name
    Characters Character_Type
    Hidden
    ExcludeCultures Excluded_Culture(s)
    NoGoingBackLevel No_Going_Back_Level
    AntiTraits Anti_Trait(s)
    Last edited by z3n; April 17, 2018 at 12:15 PM. Reason: forgot link (oops)
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  12. #12

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Trait LeadershipI
    Characters family
    ExcludeCultures carthaginian, egyptian, greek, eastern, nomad, barbarian
    NoGoingBackLevel 3
    AntiTraits PathologicalLiar, BadPoet, NonAuthoritarian, Authoritarian, HarshRuler, Unjust, LaxPersonalSecurity, BoringSpeaker, BadDisciplinarian, Arse, Bloodthirsty, Haemophobic, GloriousFool, BadInfantryGeneral, BadCavalryGeneral, Lewd, Perverted, Embezzler, Corrupt


    ~
    Still, the error persists,
    P.s I also tried removing most of the antitraits and the excludedcultures.

  13. #13
    z3n's Avatar State of Mind
    Moderator Emeritus

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Try something barebones like this; also I am not even sure anti-traits work in RTW. They don't work in M2TW
    http://www.twcenter.net/forums/showt...val-2-Kingdoms

    Trait Leader
    Characters family
    ExcludeCultures barbarian
    NoGoingBackLevel 2
    AntiTraits BadDisciplinarian


    Level new_guy
    Description new_guy_desc
    EffectsDescription new_guy_effects_desc
    Threshold 2


    Effect Influence 1
    Effect Command 1


    Level veteran
    Description veteran_desc
    EffectsDescription veteran_effects_desc
    Threshold 4


    Effect Influence 2
    Effect Command 2


    Have you read the traits guide?
    http://www.twcenter.net/forums/showthread.php?131861-Guide-The-complete-traits-ancillaries-guide
    Last edited by z3n; April 17, 2018 at 12:41 PM.
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  14. #14

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Nope, nothing that changes.

  15. #15
    z3n's Avatar State of Mind
    Moderator Emeritus

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Quote Originally Posted by CaesarOfLiberta View Post
    Nope, nothing that changes.
    Unless you've hit the trait limit , it's something wrong with your syntax and placement. There's always a reason for a crash, its usually something simple.
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  16. #16

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    I just don't get it, I made tremendous new traits before and there were just simple errors which were quickly fixed, I was able to edit any mod. But now it just crashes for no reason, even when I fixes and placed everything as it should be? What the hell is going on here...

  17. #17
    z3n's Avatar State of Mind
    Moderator Emeritus

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    How many traits are in the trait file?
    If theres more than a specific number (can't remember if its 256 or 512?) then you will get a crash.


    But since Squids validator is picking up a parsing error, there is probably something wrong with that line or something around that line. Can I see your entire traits file
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  18. #18

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    No, I fixed every EDCT that the Validator detected regarding my New Traits, but there were some completely random EDA ancillaries that I never even touched or tinkered with before. I ran the game and again, the same error. I removed my Traits, ran the Validator and again those EDA errors showed up, but the Game actually ran fine... Weird.

  19. #19

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    Here's the EDCT, hope the link works -

    https://drive.google.com/open?id=1yv...TLn9Dfv6hOmLGQ

  20. #20

    Default Re: CHARACTER TRAIT. IMMEDIATE CTD AFTER TRYING TO OPEN A CAMPAIGN!

    I am still waiting for a valid fix....

Page 1 of 2 12 LastLast

Posting Permissions

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