News:

Currently available MegaGlest gameservers are listed on Play.MG.

Main Menu

a "dont attack" option

Started by Zoythrus, 18 December 2010, 22:56:33

Zoythrus

i had this idea, a way to tell a unit not to attack another kind of unit. eg. a sniper has no effect on buildings and tanks, he will not be able to attack them.

how do we do this? i think it should be in the main mod's XML in the multipliers. if the multiplier is 0, then that attack type will not even try to hurt that armor type.

it would look like this:
    <damage-multiplier attack="snipe" armor="metal" value="0"/>

any attack that is a "snipe" will not attack anything with "metal" armor.

Gabbe

"hold stand" command?

or wait, that would be attack everything but DO NOT MOVE UNDER ANY CIRCUMSTANCES!

Omega

Agreed. It puzzled me in the past, in Military's development, why it doesn't do this already.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Zoythrus

i was talking to silnarm, and he says that when he fully implements tags, this will be one of the first features on his list that uses them.

he also says that a multiplier of 0 will prevent any damage to that armor type (as of right now, all attacks do at least 1 damage)