Results 1 to 11 of 11

Thread: priest character traits please help!

Hybrid View

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

    Default priest character traits please help!

    I am trying to create a script in export_descr_character_traits. I would like to have Scottish catholic priests that visit my new region Stornoway to have +1 piety. This is to reflect visiting the Iona monastery. This is my script which has had no impact in-game:

    ;------------------------------------------
    Trigger Priest_Visit_Iona
    WhenToTest CharacterTurnEnd
    Condition CharacterReligion catholic
    and AgentType = priest
    and IsRegionOneOf 102 Stornoway_Province
    and FactionType scotland
    and TimeInRegion > 1
    and Trait PriestCatholicDoctrine = 0
    Affects PriestCatholicDoctrine 1 Chance 100
    ;------------------------------------------
    is this script right? if so which other scripts should i edit and how?
    Last edited by sputnik; January 17, 2011 at 04:49 AM.

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: priest character traits please help!

    and IsRegionOneOf 102 Stornoway_Province

    Use either the ID number (can vary if you add new regions) or the name (is fixed) of the region.

    and Trait PriestCatholicDoctrine = 0

    this line isn't really needed, else everything looks fine










  3. #3

    Default Re: priest character traits please help!

    Im afraid it still doesnt work

    This is my script entries:

    export_descr_character_traits:

    ;------------------------------------------
    Trait PriestVisitIona
    Characters priest

    Level PriestVisitIona
    Description PriestVisitIona_desc
    EffectsDescription PriestVisitIona_effects_desc
    Threshold 1
    Effect Purity 1
    ;------------------------------------------
    ;------------------------------------------
    Trigger Priest_Visit_Iona
    WhenToTest CharacterTurnEnd
    Condition CharacterReligion catholic
    and AgentType = priest
    and IsRegionOneOf Stornoway_Province
    and FactionType scotland
    and TimeInRegion > 1
    Affects PriestVisitIona 1 Chance 100
    ;------------------------------------------
    export_descr_vnvs_enums:

    PriestVisitIona
    PriestVisitIona_desc
    PriestVisitIona_effects_desc
    export_vnvs

    {PriestVisitIona} Pilgrimage to Iona
    {PriestVisitIona_desc} This priest has visited the renowned monastery on Iona and has witnessed some of the finest religous documents in Western Christendom.
    {{PriestVisitIona_desc}_effects_desc} +1 Purity
    ?

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: priest character traits please help!

    Only error I can see: {{PriestVisitIona_desc}_effects_desc} +1 Purity

    It would take more then one round for the priest to get the trait:
    1. arrival in the first round
    2. stay in the second round = presence equals one round
    3. stay in the third round round = presence is more then one round (and TimeInRegion > 1)
    4. can leave the region in the fourth round with the trait

    Have you tried using Squid's Trait checker with this? ATVTW - Trait/Ancillary Validator










  5. #5

    Default Re: priest character traits please help!

    Thanks, clearly i missed that error.

    Still not working I have tried using the Trait checker but im working on Sicilian Vespers mod and there is an error as export_advice.txt is missing and it wont proceed.

  6. #6
    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: priest character traits please help!

    Just grab a converted export_advice.txt and you should be good to go.
    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

  7. #7

    Default Re: priest character traits please help!

    where can i find this?

  8. #8
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: priest character traits please help!

    In the data\text folder after you have used the string.bin convertor in cojunction with Python 2.5.

  9. #9
    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: priest character traits please help!

    or python 2.6
    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

  10. #10

    Default Re: priest character traits please help!

    Thanks.

    I have some other more pressing scripting issues in another thread. Once i get these out the way I will try with the advice you have all gave and let you know the outcome.

  11. #11

    Default Re: priest character traits please help!


    You will need these to convert the .bin file into .txt.

Posting Permissions

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