Comment 13 for bug 895346

Revision history for this message
Renegade (renegade) wrote :

Actually, I've already half-way implemented the Warhead part of this - just missing some API stuff for the moment. Flag will be KillDriver=(true|false) on Warheads, turning the vehicle over to the Special house, as discussed above.

While suggestions are always welcome, Pilot=(true|false) already exists - it defines the InfantryType that parachutes from an AircraftType when it is destroyed.
Redefining it to mean "IsVehicleThiefLight" would likely confuse people, even if it were on a *Type.

The problem I see with restricting it to targeting a particular flag is two-fold:
For one, it defeats the purpose. It turns the flag from "make this weapon able to kill the driver of a vehicle" to "turn units with this flag neutral". It's a totally different thing in-game if you have a Sniper that you know can snipe the drivers of incoming vehicles, or if you have a dude which is effective against units Foo, Bar and Baz.
For two, that makes it kind of pointless...if you only want a particular weapon to have a particular effect on a particular group of *Types in the game, you could just add a custom armor and set the verses right.

However, I could add something like ProtectedDriver=(true|false) which counteracts KillDriver, if that is wished?