0 A.D.

Conditional Visible Garrisoning for 0 A.D.

Released (updated ago). Ranked 22 of 35 with 4,756 (9 today) downloads

Created by StanleySweet (mod ID: 113)

screenshot0232.png

This mod allows modders to restrict certain visible garrison spots to specific types of units while still being able to garrison other units in the building.

To add this mod as a dependency of your own mod, add "conditional_visible_garrisoning" to the dependencies section of your mod's mod.json.


Usage


So for instance if you want a spot to be a siege only spot, you can set the restriction to ranged+ballista, and only units with this kind of classed will be able to be on those spots.

Important: Because of the way this mod works every building with visible garrisoning should specify the classes. See: Github.com

      <Ballista>
        <X>10.5</X>
        <Y>13.75</Y>
        <Z>9.5</Z>
        <VisibleGarrisonAllowedClasses datatype="tokens">
          BoltShooter+Ranged
        </VisibleGarrisonAllowedClasses>
      </Ballista>

Releases

FilenameSizeVersionAddedOptions
conditional_visible_garrisoning.1.zip23.55kb1.0.1

conditional_visible_garrisoning.zip23.54kb1.0.0

4 comments

Join the community or sign in with your gaming account to join the conversation:

Justus_Avramenko
Justus_Avramenko @justus-avramenko

Does this work with current development version of 0 A.D.?

AS
asterix @asterix

I do not think so.

S
Sevi117 @sevi117

How can i make it work? The mod is enabled but i cant see a diference.

LI
lionkanzen @lionkanzen

Gracias Stand, this kind of mods for moders can be nice touch.