Page 1 of 2 12 LastLast
Results 1 to 20 of 27

Thread: Traits to off_map characters

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default

    Topic title says all.

    How to -if possible- assign traits to off-map characters?

    Cheers

    Oops.
    Last edited by Ishan; January 19, 2011 at 11:18 AM. Reason: double post

  2. #2

    Default Re: Traits to off_map characters

    You need to know the name\label of the character that went off-map.

  3. #3
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Traits to off_map characters

    Use the give_trait command, check it out in docudemons.

  4. #4
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Traits to off_map characters

    it should be possible as long as it has a label or name (like ishan said)
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  5. #5
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Traits to off_map characters

    ??

    Say I have

    Code:
    character_record  Salamon_I,   male, age 27,  off_map, past_leader
    What do I do?

  6. #6
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Traits to off_map characters

    (the past_leader with an off_map character isnt a fatal error btw)

  7. #7
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Traits to off_map characters

    why the past leader?


    if he isn't leader you can just give the title to someone else...
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  8. #8
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Traits to off_map characters

    because I am recreating historical families and in turbulent years living people would get abdicated in favour of sons, brothers, cousins, nephews and usurpers alike.

  9. #9
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Traits to off_map characters

    ah ok, seems good


    about the trait, try this:

    Code:
    monitor_event PreFactionTurnStart FactionType putfactionnamehere
        and I_CharacterExists Salamon_I
        and I_TurnNumber = turnnumberhere (or another condition to check when to trigger)
    
        console_command give_trait Salamon_I traitnamehere
    
    end_monitor
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  10. #10
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Traits to off_map characters

    Can't it just be added to descr_strat?
    Would make life way easier as the character-in-question has about 4~6 (bloodline) traits to be added (upon his children get it). It would be even better if it is possible to either add traits to under-aged children or dead people?

  11. #11
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Traits to off_map characters

    If it doesn't work to assign traits to inherently off_map characters, try creating him on the stage, with all the traits, and then sending him off map.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  12. #12
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Traits to off_map characters

    yea, you can even send a character at turn 0 (right when the game starts)
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  13. #13
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Traits to off_map characters

    So,

    I would make the guy alive (he is supposed to be dead) with all the required traits, then I script-kill him?

    How do I do that (killing by script)?

  14. #14

    Icon1 Re: Traits to off_map characters

    Quote Originally Posted by Bowden View Post
    How do I do that (killing by script)?
    Code:
    	monitor_event FactionTurnStart FactionIsLocal
    		kill_character Salamon_I
    	terminate_monitor
    	end_monitor

  15. #15
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Traits to off_map characters

    Quote Originally Posted by SigniferOne View Post
    Hmm... if he is dead, and in the family tree, there would be no way you could see his traits anyway. So either he's with traits, and alive, or without traits and dead.
    The character-in-question has two under-aged boys, who should have some of their father's bloodline traits on coming of age. If I keep him alive and then script_kill him, would they have the above mentioned traits on coming of age?

    Quote Originally Posted by TNZ View Post
    Code:
        monitor_event FactionTurnStart FactionIsLocal
            kill_character Salamon_I
        terminate_monitor
        end_monitor
    It should be for every faction, not just the FactionIsLocal (so it has to be scripted for every faction)...

  16. #16
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Traits to off_map characters

    Quote Originally Posted by Bowden View Post
    The character-in-question has two under-aged boys, who should have some of their father's bloodline traits on coming of age. If I keep him alive and then script_kill him, would they have the above mentioned traits on coming of age?
    Ah I see. Those are some particular esoteric requirements you've got there

    Yes I think the only solution you have would be to create the character, give traits, then kill him off. You wouldn't even have to send him off-screen. Or, you could create him, give traits and then send off-screen -- either way he wouldn't be controllable.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  17. #17
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Traits to off_map characters

    Maybe this works:
    Code:
    monitor_event FactionTurnStart TrueCondition
    kill_character Salamon_I
    terminate_monitor
    end_monitor

  18. #18
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Traits to off_map characters

    Quote Originally Posted by Taiji View Post
    Maybe this works:
    Code:
    monitor_event FactionTurnStart TrueCondition
    kill_character Salamon_I
    terminate_monitor
    end_monitor
    Works. Many thanks.

    +1 to all who contributed

  19. #19
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Traits to off_map characters

    Hmm... if he is dead, and in the family tree, there would be no way you could see his traits anyway. So either he's with traits, and alive, or without traits and dead.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  20. #20
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Traits to off_map characters

    I'll have a go.

Page 1 of 2 12 LastLast

Posting Permissions

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