Results 1 to 5 of 5

Thread: Need help modding

Hybrid View

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

    Default Need help modding

    Hello,

    I'm attempting to alter my version of RTR Platinum 1.9. Right now I'm working on adding new character traits like this below. I think Im adding the right text the correct files, but when I try to play then opening that character's screen causes my game to crash. Is there is file I'm not updating, or is there an error in my text? Or is there something fundamental about the structure of the code that I'm ignorant too? Right now I'm just trying ot reverse engineer this from observing other similar traits so I could be missing something important.

    Thanks,

    Here are the files i'm altering and what I'm placing in the file:

    export_descr_character_traits
    ----------------------
    Trait ElectedSenator
    Characters family
    ExcludeCultures barbarian, greek, eastern, egyptian, carthaginian
    Level Senator
    Description Senator_desc
    EffectsDescription Senator_effects_desc
    Threshold 2
    Effect Influence 2
    Effect Law 1
    ;------------------------------------------
    Trigger ElectedSenator
    WhenToTest CharacterTurnEnd
    Condition CultureType roman
    and Trait Elected_Senator > 28
    Affects Senator 1 Chance 100




    export_descr_VnVs_enums
    ;-----------------------------------------
    Senator
    Senator_desc
    Senator_effects_desc



    export_VnVs
    ;-----------------------------------------------------

    {ElectedSenator} Senator

    {ElectedSenator_desc}
    This man is one of the Conscript Fathers of the Roman Senate.

    {ElectedSenator_effects_desc}
    +2 Influence, +1 Law
    ;-----------------------------------------------------------

  2. #2
    Quinn Inuit's Avatar Artifex
    Join Date
    Sep 2006
    Location
    Virginia, USA
    Posts
    4,968

    Default Re: Need help modding

    Now, I'm not a traits modder, but don't your export_descr_VnVs_enums have to match the export_VnVs?
    RTR Platinum Team Apprentice, RTR VII Team Member, and Extended Realism Mod Team Coordinator. Proud member of House Wilpuri under the patronage of Pannonian

    The ExRM forum: come for the mod, stay for the Classical History discussions. Or vice versa.

    My writing-related Twitter feed.

  3. #3

    Default Re: Need help modding

    Your right of course, but I fixed that part and it didn't help. Right now I'm using the scripts from MCM Leadersip Mod to accomplish the same end. Working out pretty well, but man if you change some of the titles it takes alot of minor edits in a ton of locations. Whew! Also, since I don't fundamentally understand exactly what all the triggers operate from then sometimes I can screw up the whole shabang! Haha, needle in a haystack fun time!

  4. #4
    Quinn Inuit's Avatar Artifex
    Join Date
    Sep 2006
    Location
    Virginia, USA
    Posts
    4,968

    Default Re: Need help modding

    Have you tried using the traits and ancillaries validator? That tends to speed things up.

    btw, screwing up a lot is a good way to learn things.
    RTR Platinum Team Apprentice, RTR VII Team Member, and Extended Realism Mod Team Coordinator. Proud member of House Wilpuri under the patronage of Pannonian

    The ExRM forum: come for the mod, stay for the Classical History discussions. Or vice versa.

    My writing-related Twitter feed.

  5. #5
    AqD's Avatar 。◕‿◕。
    Join Date
    Dec 2007
    Location
    🏡🐰🐿️🐴🌳
    Posts
    10,897

    Default Re: Need help modding

    You don't need to modify export_descr_VnVs_enums.txt - it's no longer used.

    Your export_VnVs.txt is wrong. Instead of adding text for the traits, you should add it for the trait levels, as specified in your export_descr_character_traits.txt, like this:
    Code:
    {Senator} Senator
    
    {Senator_desc}
    This man is one of the Conscript Fathers of the Roman Senate.
    
    {Senator_effects_desc}
    +2 Influence, +1 Law

Posting Permissions

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