Author Topic: negative requirements  (Read 1097 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
negative requirements
« on: 8 September 2010, 21:59:07 »
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:
Code: [Select]
<unit-requirements>
        <unit name="B" value="false"/>
 </unit-requirements>

What do you think of this? Is this useful, needed , nonsens?
« Last Edit: 8 September 2010, 22:12:28 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Zoythrus

  • Guest
Re: negative requirements
« Reply #1 on: 8 September 2010, 22:23:02 »
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?

 

anything