Results 1 to 9 of 9

Thread: Tutorial (Kingdoms): Merging two factions mid-campaign

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Tutorial (Kingdoms): Merging two factions mid-campaign

    it's quite unlikely that faction leader wouldn't have children...

    but you could give faction leader of faction 'c' trait 'a' (I think)
    and give any children of that father with fathertrait 'a' another trait 'b'

    and then set condition in script that if no-one living has trait 'b' all of faction 'c'
    is given to faction 'd'

    am not entirely sure if the link to princess is recordable - you'd need to work out
    if marriage of princess from faction 'd' can be used in first place to trigger giving trait 'a' to leader of faction 'c'


    if you've only got two factions the example would be as above - if you've got a lot of factions the whole thing would expand exponentially, with you needing to code each case; eg. that princess from faction 'f' marries leader of faction 'g', or faction 'd' etc... and every other permutation!
    Not used mods before? Looking for something small and fun?!
    Download the:

  2. #2

    Default Re: Tutorial (Kingdoms): Merging two factions mid-campaign

    I knew that, scripting is mainly a lot of work.

  3. #3
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Tutorial (Kingdoms): Merging two factions mid-campaign

    Yup

    Quote Originally Posted by Makanyane View Post
    it's quite unlikely that faction leader wouldn't have children...
    I was actually a bit wrong on that, if you meant true, born as baby, children. If he hasn't got children who haven't come of age yet coded for him in descr_strat, and faction expands so game starts wanting to give it more generals, he's likely to end up with adopted generals filling the slots, especially if its an AI controlled faction.


    the other thing to look at would be to use an ancillary derived from the inherited traits, which is passed to real son and heirs.... you can quite easily code monitors to use
    and not FactionwideAncillaryExists Im_a_heir_anc true
    checking for faction not having a trait is messier as there isn't a FactionwideTraitExists command, though you could probably get round it with counters
    Not used mods before? Looking for something small and fun?!
    Download the:

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