Results 1 to 10 of 10

Thread: Adding Orthodox Bishop and Patriarch traits...

Hybrid View

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

    Default Re: Adding Orthodox Bishop and Patriarch traits...

    Threshold is what # of points needed for that level.

    Lets take Arse (vanilla):

    Spoiler Alert, click show to read: 
    Trait Arse
    Characters family
    NoGoingBackLevel 2

    Level Uninhibited
    Description Uninhibited_desc
    EffectsDescription Uninhibited_effects_desc
    Threshold 1

    Effect Authority -1

    Level Shameful
    Description Shameful_desc
    EffectsDescription Shameful_effects_desc
    Threshold 4

    Effect Authority -2


    You need 1 point of arse to get "uninhibited", and you need 4 points to get "Shameful". NoGoingback is the amount of points you need before there is... no going back. So two points of arse is enough for a character to be stuck with it. (with arse it is very annoying since you do not know if your general has 1,2 or 3 points of arse; many traits have NoGoingBack at specific levels)

    I'm supposed to be working at home, doing Real-Work (tm) but I'll try and check your stuff out later. It's very interesting and definately something I'd like to add for both Orthodox and Islam.

  2. #2

    Default Re: Adding Orthodox Bishop and Patriarch traits...

    Ok I think I fixed it from popping up on catholic cardinals..

    Basically this all that is needed. Don't need to mod the Priest level line with the cardinal entry in it.

    export_descr_character_traits.txt

    ;------------------------------------------
    Trigger Patriarch
    WhenToTest CharacterTurnEnd
    Condition AgentType = priest
    and EndedInSettlement
    and FactionBuildingExists = huge_cathedral_o
    and not FactionwideTraitExists Patriarch
    and RemainingMPPercentage = 100
    and Trait PriestLevel = 1

    Affects PriestLevel 2 Chance 100

    ;------------------------------------------
    Trait Patriarch
    Characters priest
    Hidden

    Level A_Patriarch
    Description A_Patriarch_desc
    EffectsDescription A_Patriarch_effects_desc
    Threshold 2

    Effect Piety 3
    Effect Level 2

    ;------------------------------------------
    Trait Patriarch
    Characters priest

    Level Patriarch
    Description Patriarch_desc
    EffectsDescription Patriarch_effects_desc
    Threshold 2

    Effect Piety 3
    Effect Level 2


    export_descr_vnvs_enums.txt

    Patriarch
    Patriarch_desc
    Patriarch_effects_desc

    A_Patriarch
    A_Patriarch_desc
    A_Patriarch_effects_desc


    export_VnVs.txt

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

    {Patriarch} Patriarch

    {Patriarch_desc}
    This priest has been promoted to Patriach of the Orthodox Church of the Empire.

    {Patriarch_effects_desc}
    +3 Piety

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

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

    {A_Patriarch} A Patriarch

    {A_Patriarch_desc}
    DO NOT TRANSLATE - SHOULD BE HIDDEN. This priest was promoted to the title of Patriarch simply for sitting in a city with a Huge Cathedral. Silly huh?

    {A_Patriarch_effects_desc}
    +3 Piety

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

    This still leaves me with the problem of it being assigned muliple times. I just can't seem to get the exclude trigger to work. Also it still tags the patriarch as a cardinal when you mouse over his pic in the agent menu on the HUD and on his model on the campaign map.

  3. #3

    Default Re: Adding Orthodox Bishop and Patriarch traits...

    Well after fighting with the stupid traits triggers. I have given up and followed the route Olmsted on totalwar.com. Working off the principle that Dearmad came up on the ancillaries on twcenter.net

    Here is what I got and it does in fact seem to work. Although once the trigger fires off, whenever you mouse over the characters picture or model on the campaign map it still says cardinal. So I am not really sure how the system determines whether to make the tag display priest, bishop, or cardinal. At least using it this way does incorporate the unused level 2 orthodox priest model.

    Here is what I did...

    export_descr_ancillaries.txt entries...

    ;------------------------------------------
    Ancillary patriarch
    Type Religion
    Transferable 0
    Image patriarch.tga
    Description patriarch_desc
    EffectsDescription patriarch_effects_desc
    Effect Piety 2
    Effect Level 2

    ;------------------------------------------
    Trigger patriarch
    WhenToTest CharacterTurnEnd
    Condition AgentType = priest
    and SettlementBuildingExists >= cathedral_o
    and CharacterReligion orthodox
    and EndedInSettlement
    and not FactionwideAncillaryExists patriarch

    AcquireAncillary patriarch chance 100

    added this to export_descr_ancillary_enums.txt

    patriarch
    patriarch_desc
    patriarch_effects_desc

    this to the export_ancillaries.txt in the data/text folder

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

    {patriarch} Patriarch of the Orthodox Church

    {patriarch_desc}
    This priest has been appointed to the position of Patriarch. The head of the Orthodox Church for the entire kingdom.

    {patriarch_effects_desc}
    +3 Piety

    and then made a quick and dirty .tga for the data/ui/ancillaries folder. Any suggestions on something better to use would be appriciated.

    https://img219.imageshack.us/img219/...triarchvf1.jpg

    This all seems to work, no muliple ones get promoted until this one dies. Only problem is the cardinal tag which I mentioned earlier. So if anyone knows a way around that let me know.

    I may post the full mod I have been using if anyone is interested. I also wrote in a mess of units to be recruitable in campaign that were either turned off or only useable in custom fights (i.e., generals, mounted longbowmen, dismounted turegs, dismounted french archers, ect). Made several mercenary units usable in custom fights, and turned on a several traits and ancillaries that CA had either turned off or never set triggers for. Also fixed 2 typos on the AI file that caused the system to never accept ceasefires and vassalage when things got bad.

  4. #4
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Adding Orthodox Bishop and Patriarch traits...

    You could trigger the PriestLevel trait from the HasAncType condition (well if you give that ancillary it's own type).
    By the way, Threshold is the points you need in the trait in order to advance to that level (global, not relative to the last lower level)

  5. #5

    Default Re: Adding Orthodox Bishop and Patriarch traits...

    Well, I am almost done my first attempt at a mod. Still testing a few things.

    What is has so far, also listing the bugs associated to see if anyone has some ideas on how to fix them

    Ancillaries and Trait fixes based on the 3 big bug fix mods released by Orientis, the.seneschal, and Kobal2fr. I found all 3 have a little something the other doesn't but together they nail down just about every problem. So I've done my best at piecing them all together and trying to make the best of all worlds. Also found a few duplicate trigger names that none of them had addressed causing the trigger not to fire off and made a few tweaks myself. Lots and lots of time spent in Beyond Compare 2 messing with and comparing the different files.

    - The bug I found is when you use any modded trait file with an old save game it screws up all your family members current traits. New campaigns do not seem to be affected. Don't know if it is trying to read the old trigger positions or what.

    Added the Patriarch Ancillary for Orthodox factions.

    - The only bug I have with that is minor. It is the one I mentioned before, when you mouse over the Orthodox Patriarch it says he is a cardinal. Not really sure how to fix that. He does get the unused level 2 priest model in the game though which looks kind of cool.

    Also have made all units that are in custom battles recruitable in campaign. Mounted Longbowmen, Dismounted Tuaregs, Dismounted French Archers, Dismounted Broken Lances, ect.

    Increased the cavalry attack bonus for pike units. Currently they are no better then regular spearmen in the vanilla game.

    Lowered the costs of armories slightly to make them a little more worth building despite their diminishing returns.

    Made various merc units availible in custom battles for the appropriate factions.

    Includes zxiang1983's ballista and cannon tower fix.

    Pointed the Descr_Culture.txt file to make aztec cities not appear as middle eastern cities on the campaign map. Unfortunately cannot do the same for the battle map since CA never made textures for them.

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