Results 1 to 12 of 12

Thread: Agents and Epithets

Hybrid View

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

    Default Agents and Epithets

    I've recently been troubleshooting my mod and I found that the mod was crashing when an AI priest got an Epithet. As I've had priests get Epithets before without problems I was wondering if this crash was caused by a priest gaining too many Epithets. Has anyone has a similar problem or researched whether agents getting Epithets can cause a mod to crash?
    Morning Sun (adds Korea and China to the Shogun 2 map)
    http://www.twcenter.net/forums/forum...28-Morning-Sun

    Expanded Japan mod (97 new regions and 101 new factions)
    http://www.twcenter.net/forums/showt...ew-factions%29

    How to split a region in TWS2
    http://www.twcenter.net/forums/showt...split-a-region

    Eras Total Conquest 2.3 (12 campaigns from 970-1547)

  2. #2
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Agents and Epithets

    I use epithets very frequently for priests (some 100 bishops titles implemented) and never run into any problems. It is most likely are very small thing with this specific epithet that causes your crash, like having forgot a letter or something like that.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  3. #3

    Default Re: Agents and Epithets

    I don't think it's a problem with this epithet as the mod previously crashed when an AI priest got another epithet. konny is it possible for a priest to have more than 1 Bishop title (epithet) in your mod, as I think the problem is to do with a priest getting multiple epithets, not with them getting an epithet.
    Morning Sun (adds Korea and China to the Shogun 2 map)
    http://www.twcenter.net/forums/forum...28-Morning-Sun

    Expanded Japan mod (97 new regions and 101 new factions)
    http://www.twcenter.net/forums/showt...ew-factions%29

    How to split a region in TWS2
    http://www.twcenter.net/forums/showt...split-a-region

    Eras Total Conquest 2.3 (12 campaigns from 970-1547)

  4. #4
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Agents and Epithets

    Quote Originally Posted by uanime5 View Post
    konny is it possible for a priest to have more than 1 Bishop title (epithet) in your mod
    No. The system is set up in a way that each priest can only acquire one title.

    Could you please post your code here, may be someone will find the error.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  5. #5

    Default Re: Agents and Epithets

    Here is the trait:

    Code:
        Level Beacon_of_Faith
            Description Beacon_of_Faith_desc
            EffectsDescription Beacon_of_Faith_effects_desc
            Epithet Beacon_of_Faith_epithet_desc
            Threshold  6 
    
            Effect Piety  3 
            Effect Eligibility  2 
            Effect Purity  3 
            Effect Violence -2
    Here is the 'export_vnvs.txt' entry:

    Code:
    {Beacon_of_Faith}    Beacon of Faith
    {Beacon_of_Faith_desc}    A true champion of spreading the faith. He always leaves a trail of believers in his wake.
    {Beacon_of_Faith_effects_desc}    +3 Piety, +2 Eligibility, +3 Purity, -2 Violence
    {Beacon_of_Faith_epithet_desc}    the Missionary
    I have found that if I change the 'Beacon_of_Faith_epithet_desc' line to any other Epithet the mod still crashes, which is why I think that the problem is that a priest has too many Epithets.
    Morning Sun (adds Korea and China to the Shogun 2 map)
    http://www.twcenter.net/forums/forum...28-Morning-Sun

    Expanded Japan mod (97 new regions and 101 new factions)
    http://www.twcenter.net/forums/showt...ew-factions%29

    How to split a region in TWS2
    http://www.twcenter.net/forums/showt...split-a-region

    Eras Total Conquest 2.3 (12 campaigns from 970-1547)

  6. #6
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Agents and Epithets

    But the crash does not occur when the priest gets the trait without epithet?

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  7. #7
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Agents and Epithets

    Quote Originally Posted by uanime5 View Post
    Here is the trait:
    Spoiler Alert, click show to read: 

    Code:
        Level Beacon_of_Faith
            Description Beacon_of_Faith_desc
            EffectsDescription Beacon_of_Faith_effects_desc
            Epithet Beacon_of_Faith_epithet_desc
            Threshold  6 
    
            Effect Piety  3 
            Effect Eligibility  2 
            Effect Purity  3 
            Effect Violence -2
    Here is the 'export_vnvs.txt' entry:

    Code:
    {Beacon_of_Faith}    Beacon of Faith
    {Beacon_of_Faith_desc}    A true champion of spreading the faith. He always leaves a trail of believers in his wake.
    {Beacon_of_Faith_effects_desc}    +3 Piety, +2 Eligibility, +3 Purity, -2 Violence
    {Beacon_of_Faith_epithet_desc}    the Missionary
    I have found that if I change the

    'Beacon_of_Faith_epithet_desc' line to any other Epithet the mod still crashes, which is why I think that the problem is that a priest has too many Epithets.
    What's the code for the entire trait as well as the triggers for it look like? Also, if the code tag didn't muck things up, it looks like you have spaces instead of a tab after the }, it should always be tabs.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  8. #8
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Agents and Epithets

    Make sure all the entries in export_VnVs.txt are there and are spelled correctly. That's the most common cause of crashes related to traits/ancillaries.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  9. #9

    Default Re: Agents and Epithets

    I know that when a character with no name (error in editing descr_names.txt or names.txt) gains a epithet, ctd


  10. #10

    Default Re: Agents and Epithets

    The HRE faction does start with a priest that doesn't have a name, so this could be the cause of the crash. Thanks for the help The Housekeeper.
    Morning Sun (adds Korea and China to the Shogun 2 map)
    http://www.twcenter.net/forums/forum...28-Morning-Sun

    Expanded Japan mod (97 new regions and 101 new factions)
    http://www.twcenter.net/forums/showt...ew-factions%29

    How to split a region in TWS2
    http://www.twcenter.net/forums/showt...split-a-region

    Eras Total Conquest 2.3 (12 campaigns from 970-1547)

  11. #11

    Default Re: Agents and Epithets

    you're welcome


Posting Permissions

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