Results 1 to 9 of 9

Thread: A way to add titles to characters

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Man-at-Arms Member Dave1984's Avatar
    Join Date
    Jun 2006
    Location
    Staffordshire
    Posts
    255

    Default Re: A way to add titles to characters

    Quote Originally Posted by Re Berengario I
    One of my modding idea was to get rid of the territorial factions and instead stick with the dinastic factions as they are more realistic in a medieval contest. If any of you have ever played Crusader Kings you can catch the concept.

    So I needed to give to the faction leaders and other named characters the noble titles linked to the regions they own or rule.

    So I made a test with Traits and Triggers.

    I wrote a new trait:

    Trait DukeVenice
    Characters family

    Level DogeVenice
    Description DogeVenice_desc
    EffectsDescription DogeVenice_effects_desc
    Threshold 1

    Effect Trading 5

    And 2 linked triggers (these are just the ones for venice faction, unfortunately in this case you need to make one set for every faction as we're messing with faction leaders. Plus we can have different traits based on the culture/religion... Sultan of Venice comes soon to mind)

    ;------------------------------------------
    Trigger isdogevenice_venice
    WhenToTest CharacterTurnStart

    Condition CharFactionType venice
    and IsFactionLeader
    and I_SettlementOwner Venice = venice
    and Trait DukeVenice <1

    Affects DukeVenice 1 Chance 100

    ;------------------------------------------
    Trigger isnodogevenice_venice
    WhenToTest CharacterTurnStart

    Condition CharFactionType venice
    and IsFactionLeader
    and not I_SettlementOwner Venice = venice
    and Trait DukeVenice =1

    Affects DukeVenice -1 Chance 100
    How many new traits have you been able to enter?

    So far I've only been able to add one- any others I create after this cannot be found in the database. Anyone know if there is a harcoded limit for traits?


    Edit: Don't know what it was- just re-wrote the entries in a fresh copy of the files and they all worked fine.
    Last edited by Dave1984; 12-06-2006 at 15:16.

  2. #2
    Captain Obvious Member Maizel's Avatar
    Join Date
    Sep 2005
    Location
    Deventer, The Netherlands
    Posts
    237

    Default Re: A way to add titles to characters

    Nice job
    Last edited by Maizel; 12-06-2006 at 15:07.

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