Results 1 to 5 of 5

Thread: MOD: Global - 2, 5 or Unlimited Units Per Tile

  1. #1
    Join Date
    Apr 2011
    Location
    Near Portsmouth, UK
    Posts
    1,067

    MOD: Global - 2, 5 or Unlimited Units Per Tile

    THREE mods to change the stacking limits to 2, 5 or unlimited units per tile.

    (Unlimited is actually 99)

    You can find these mods on the Mod Hub under Game Rules.

  2. #2
    Join Date
    Oct 2010
    Location
    Poland
    Posts
    376
    Quote Originally Posted by whoward69 View Post
    THREE mods to change the stacking limits to 2, 5 or unlimited units per tile.

    (Unlimited is actually 99)

    You can find these mods on the Mod Hub under Game Rules.
    hello,
    Is it possible to add some notification about current number of units in stack? Like in Civ4.

  3. #3
    Join Date
    Apr 2011
    Location
    Near Portsmouth, UK
    Posts
    1,067
    I went straight from Civ to Civ V

    There is a pPlot:GetNumUnits() method and a pPlot:GetUnit(iIndex) method - between them you can certainly work out how many civilian/combat units there are in a stack - which you could probably add to the tooltip

  4. #4
    Join Date
    Oct 2010
    Location
    Poland
    Posts
    376
    Quote Originally Posted by whoward69 View Post
    I went straight from Civ to Civ V

    There is a pPlot:GetNumUnits() method and a pPlot:GetUnit(iIndex) method - between them you can certainly work out how many civilian/combat units there are in a stack - which you could probably add to the tooltip
    I know how to check number of units at Plot but how to show it on UI. In Lua it is easy but UI modification is not so easy for me. Do you know any methods for dynamical manipulate units icons?

  5. #5
    Join Date
    Apr 2011
    Location
    Near Portsmouth, UK
    Posts
    1,067
    Showing it is fairly easy (just add an offset to the unit flag's world anchor position depending on the unit's index on the plot), but the hard part is a) changing the rest of the UI to make stacks workable - and even if you manage that, b) changing the AI to be able to arrange troops sensibly for combat (which needs DLL access)

    It's not an area I'm interested in so I've given it no deep thought, beyond the list of "problems needing solving".

    The AI is really geared to 1UPT

Posting Permissions

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