Results 1 to 9 of 9

Thread: A way to add titles to characters

  1. #1

    Default A way to add titles to characters

    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

    This is the result (which I am very happy with )



    I'm still wondering how many things can modders link to titles..

  2. #2
    nightwar's Avatar Ducenarius
    Join Date
    Jan 2005
    Location
    America USA
    Posts
    991

    Default Re: A way to add titles to characters

    Nicely done Sir. I would like to know how to make a Trait to give command stars to all the AI generals.

  3. #3

    Default

    This looks really good, are you going to do that for all the factions? Or are you going to leave that to us?:hmmm: (First time i've posted in ages by the way )

  4. #4

    Default Re: A way to add titles to characters

    Quote Originally Posted by ocelot397 View Post
    This looks really good, are you going to do that for all the factions? Or are you going to leave that to us?:hmmm:
    I will do it for every faction and for every "kingdom" of my homebaked mod which will contain a lot of other modifications. If I will make it public in future will depend on the overall quality and playability of it (strictly linked to the time I will have to mess with it ).

    I posted the code here so any other modder can use this tecnique (and of course it'll be nice to have some credits around as I will do with the big map of Spurius) plus maybe some other people can dig deeper and find some other uses from it. Sharing, brainstorming and testing is what will make the modding comunity stronger and stronger imho.

  5. #5
    Burebista's Avatar Electro Artifacts AP
    Join Date
    Oct 2004
    Location
    East
    Posts
    1,401

    Default Re: A way to add titles to characters

    Quote Originally Posted by Re Berengario I View Post
    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

    I'm still wondering how many things can modders link to titles..
    Hi there,

    I have a bit of a problem reproduceing this - can you pls detail the installation procces? Its like the game does not see my files and keeps takeing the original ones.

    Thanks
    Modding Arts Inc.

    SS City Reinforcement Script - (*SS 6.2 any mod comptible)

  6. #6

    Default Re: A way to add titles to characters

    This is very interesting. I was wondering, since we can't assign faction heirs if we could use this as a workaround. Here's what I mean: Maybe make a title in the form of an ancillary for ?King? and ?Crowned Prince?, and make sure it is transferable. Then force the faction leader trait/faction heir trait (via triggers) to re-assign to whomever holds the title/ancillary.

    This way you could assign who gets the top job, again.

    Of course the only short fall may be that the new King would then need to join armies with the next user selected Crown Prince to pass off the Crown Prince title. But that may not be so bad, if you think of it in a sort of coronation way.
    ...It's the LAW of Entropy and the THEORY of Evolution...

  7. #7

    Default Re: A way to add titles to characters

    Quote Originally Posted by Voyager View Post
    This is very interesting. I was wondering, since we can't assign faction heirs if we could use this as a workaround. Here's what I mean: Maybe make a title in the form of an ancillary for ?King? and ?Crowned Prince?, and make sure it is transferable. Then force the faction leader trait/faction heir trait (via triggers) to re-assign to whomever holds the title/ancillary.

    This way you could assign who gets the top job, again.

    Of course the only short fall may be that the new King would then need to join armies with the next user selected Crown Prince to pass off the Crown Prince title. But that may not be so bad, if you think of it in a sort of coronation way.
    Wouldn't it be possible to just incorporate the heir choosing feature of RTW into M2TW? Or would that require more editing than I think?

  8. #8

    Default Re: A way to add titles to characters

    Quote Originally Posted by Burebista View Post
    Hi there,

    I have a bit of a problem reproduceing this - can you pls detail the installation procces? Its like the game does not see my files and keeps takeing the original ones.

    Thanks
    Strange unless you're not using the mod switch which is a must if you're messing with custom content.

    You also have to write the trait description (I didn't add that part but it's needed) and delete the bin so they can be recreated with the new stuff into.

  9. #9
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: A way to add titles to characters

    Moved to Text Editing and Scripting in the M2TW Mod Workshop.

Posting Permissions

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