Results 1 to 3 of 3

Thread: Turning units into rebels

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Turning units into rebels

    I would like to add a cript for supprt costs armies bying out of settlements. I think it would be simply if i use add_money command. It should looks like this:
    console_command add_money byzantium, -200
    but i don't know how to check where units are in starting turn moment (i think i can use commands like InEnemyLands, AtSea, InBarbarianLands, InUncivilisedLands, but i'm not sure and i don't know if there is any condition checking if unit is out of settlement)

    Is there possible to turn units into rebels when kings treasury is empty?
    Last edited by attyla; March 04, 2011 at 11:09 AM.

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

    Default Re: Turning units into rebels

    Like this:

    add_money byzantium -200

    This is the condition you want:

    ---------------------------------------------------
    Identifier: EndedInSettlement
    Trigger requirements: character_record
    Parameters: None
    Sample use: EndedInSettlement
    Description: Test to see if the character is in a settlement
    Battle or Strat: Either
    Class: CHARACTER_IN_SETTLEMENT
    Implemented: Yes
    Author: Lee
    ---------------------------------------------------

    Quote Originally Posted by attyla View Post
    Is there possible to turn units into rebels when kings treasury is empty?
    Not that I know of, and I suspect there is no way.

  3. #3

    Default Re: Turning units into rebels

    So i only may disbading units, when treasury is empty? That's not the same, but i prefer something instead nothing

    Two new question
    1. how to check tresure balance?
    2. is there possibility to use different costs of support for differents kind of units? (for example one rate for infantry, second for calry, third for missile or maybe more like one rate for conscriptions infantry, another for proffesional, another for disbanding cavalry etc)

    OK i've founf treasury condition. I hope it make it i want to
    Last edited by attyla; March 04, 2011 at 05:52 PM.

Posting Permissions

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