Results 1 to 11 of 11

Thread: Idea: Scripted limits to unit recruitment?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Charge's Avatar
    Join Date
    Jul 2007
    Location
    Russia
    Posts
    1,324

    Default Re: Idea: Scripted limits to unit recruitment?

    It makes it so you can't build units after you have a certain amount of them.
    Disable respawn (2nd i think number)

  2. #2
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Idea: Scripted limits to unit recruitment?

    Unfortunately you don't have a unit number condition, all you got is a unit exists condition. What you can do is to limit the pool to one unit max with some tricks but it's not really possible to limit it to, say, three units or four units (at least unless somebody proves me wrong).

  3. #3
    Member Charge's Avatar
    Join Date
    Jul 2007
    Location
    Russia
    Posts
    1,324

    Default Re: Idea: Scripted limits to unit recruitment?

    @alpaca


    I believe that if you limit number of units per building (=per city),
    recruit_pool "Demi Lancers" 2 0.5 2 0

    and set reappearance to 0 (or very low)
    recruit_pool "Demi Lancers" 2 0 2 0

    you will have limited amount of them which faction can train and have,
    but yet I haven't much testing with it. I suppose you can train new units when some have died, until you fullfill max unit numbers..

    This doesn't appear to mercenaries, etc..

    Explain please if I wrong

  4. #4
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Idea: Scripted limits to unit recruitment?

    Quote Originally Posted by Charge
    @alpaca


    I believe that if you limit number of units per building (=per city),
    recruit_pool "Demi Lancers" 2 0.5 2 0

    and set reappearance to 0 (or very low)
    recruit_pool "Demi Lancers" 2 0 2 0

    you will have limited amount of them which faction can train and have,
    but yet I haven't much testing with it. I suppose you can train new units when some have died, until you fullfill max unit numbers..

    This doesn't appear to mercenaries, etc..

    Explain please if I wrong
    Yeah thing is if you do this, you will get two units of these in every settlement, and then none again until infinity.

  5. #5
    A pipe smoker Member MiniMe's Avatar
    Join Date
    Dec 2006
    Location
    Moscow, Russia
    Posts
    453

    Default Re: Idea: Scripted limits to unit recruitment?

    Charge, I'm afraid Alpaca's right.
    Take a look at Crusades campaign script (I suppose, you have it),
    part "RECRUITMENT - UNIQUE UNITS"
    If they could have limit unique units recruitment your way, they wouldn't bother to write all that staff.


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