It would be really useful if we could make mines "unable" to target certain units, even if they within the perimeter.
So if I had some sort of stealthy unit, make it so mines are unable to attack this unit, unless the unit comes into direct contact with it. I imagine it'd be possible with lua, but it would be a lot easier to do it straight from the FBI.
Mine tags.
Moderator: Moderators
Re: Mine tags.
S44 mines already do this
I can't quite remember how, but basically its something like they have a normal weapon with onlytargetcategory which when fired also blows themselves up.
It's possible that the script detonates a second weapon which kills the mine, even.

I can't quite remember how, but basically its something like they have a normal weapon with onlytargetcategory which when fired also blows themselves up.
It's possible that the script detonates a second weapon which kills the mine, even.
Re: Mine tags.
So that anti tank mines don't get triggered by infantry?
Re: Mine tags.
Correct
Re: Mine tags.
Hmm I'll look into that. Could you give me the unit name of the mine(s) so I can look into that?
Re: Mine tags.
Yeh, I did something very similar with the WarEvo smart mines.
Re: Mine tags.
KP bugbombs used that method though they weren't restricted in the targets they could strike.
Re: Mine tags.
Units with kamikaze=1 are currently stupid and borked, imo. They should follow all weaponstate commands, among other things, and should generally work more like a unit with a weapon that's an explosion.