Results 1 to 5 of 5

Thread: Quick scripting question

  1. #1

    Default Quick scripting question

    Hey people.

    Is there any command to pass one named character from one faction to another via script? I guess the answer is no?

    What I want to do is a Xanthippos char for Carthage like in EB but with an hellenic portrait, if it's possible at all.

  2. #2
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Default Re: Quick scripting question

    Quote Originally Posted by Mad Hoplite
    Is there any command to pass one named character from one faction to another via script? I guess the answer is no?
    That's correct, the answer is no.
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



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

    Default Re: Quick scripting question

    On the issue of the portrait, Wlesmana (I think) posted that in descr_strat you could use for faction x a leader that belonged to sub_faction y as you do for slaves, eg:

    character sub_faction saxons, Guillaume, named character, age 21, , x 260, y 11

    you could try and see if that works for spawn army - I've not tried so have no idea, but it might be worth a go....
    Not used mods before? Looking for something small and fun?!
    Download the:

  4. #4

    Thumbs up Re: Quick scripting question

    YESSS!!!! That absolutely works!

    Thanks Makanyane!

    I did a quick test and added sub_faction greek_cities to Hamalcar in desc_strat and got a CTD, but just because "Hamalcar" is not a proper greek_cities name.

    Changing all the references of "Hamalcar" in desc_strat to Xanthippos solved all. He is even showing in the family tree!

    EDIT:

    Unfortunately, I could not make work the sub_faction trick with a script. When it does not CTD simply it doesn't do anything. Oh well.
    Last edited by Mad Hoplite; 11-21-2007 at 17:02.

  5. #5

    Default Re: Quick scripting question

    We had the same problem, I'm sure it is not possible to change a character from one faction to another.
    In my opinion, the best aproach is to kill the first one and to spawn a different character with the same name in the other faction. But you can not choose the portrait of the 2nd one...

    Btw, the only reason for wlesmana to use a sub_faction for some characters is so other factions do not use these same names (like Gandalf, Aragorn...)

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