Results 1 to 3 of 3

Thread: Garrison Script Adding alot more units lol

Hybrid View

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

    Default Garrison Script Adding alot more units lol

    Playing the greatest mod ever once again. Waiting for some money for a 770 4gb so I play Rome II better. Have changed everything in this game to make it as hard as I can but need to mod the Garrison script so that when I attack an enemy capital its spawns like 3 stacks any ideas? Was thinking just add more units to the list in the script but is it that simple?

  2. #2
    Kiliç Alì's Avatar Domesticus
    Artifex

    Join Date
    Feb 2011
    Location
    Italy
    Posts
    2,114

    Default Re: Garrison Script Adding alot more units lol

    You can only spawn troops in a settlement until it is full (20 units), any other stack must be spawned outside the settlement (wich is a pain for you don't know from where the settlement is being attacked).

    Member of the Imperial House of Hader, proud client of The only and sole Ferrit

  3. #3
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Garrison Script Adding alot more units lol

    As Kilic said. spawn_army is the command to use and there are plenty in the script already to use as examples. If you use the settlement's coordinates as the spawn point then the armies will appear adjacent to it. That is what you want (I assume) but exactly which tiles they'll land on depends on which ones are free and which ones are accessible (e.g. it won't put them on mountains, dense forest or any other kind of impassable ground type, except perhaps rivers). If there are no free tiles left - e.g. settlement is surrounded - then they'll land one further tile away so no longer adjacent to the settlement. So all up their positions might appear a bit random, depending on the situation.

Posting Permissions

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