News:

MegaGlests' game mods menu let's you install many new mods. Even more are available on the MegaGlest Wiki and the Mods forum.

Main Menu

negative requirements

Started by titi, 8 September 2010, 21:59:07

titi

Well the idea come up to have negative requirements, something like:

Unit A is only allowed to build when there is no Unit B
maybe in the code with something like this:

<unit-requirements>
       <unit name="B" value="false"/>
</unit-requirements>


What do you think of this? Is this useful, needed , nonsens?



Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Zoythrus

since i was a part of forming this idea, i thought to mention some questions that were discussed about it:

1. how do we prevent a player from building both? eg. someone lays the foundations for both at the same time.

2. if you build B and it's destroyed, can you then build A? this would leave some holes for exploitation.

3. how do we tell the players what you can or cant build?