Source Code Project Mantis - FSSCP
View Issue Details
0001926FSSCPiffpublic2009-05-12 23:152009-05-18 17:55
Assigned Tokarajorma 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.6.11 
Summary0001926: Piranha submunitions homing on player (traitor)
DescriptionWhen I go traitor (shooting friendlies too much) and fire a Piranha, some of the submunitions home on me after it detonates.

Maybe has to do with how all iff's (including traitor) will attack traitor ships.
TagsNo tags attached.
Attached Files

2009-05-12 23:23   
Yup. As it says in iff_defs, traitors attack other traitors. So that would apply to any missiles fired by a traitor as well.
2009-05-12 23:33   
Upon further reflection, this means that in multiplayer dogfight, your own Piranha missiles will target you, which is not what we want. And the traitor IFF is used in multiplayer dogfight in a non-standard way (even in retail).

Assigning to karajorma for consideration. I'm not sure there's an easy solution to this, or even if a solution should be attempted.
2009-05-13 10:43   
(Last edited: 2009-05-13 10:44)
I'd suggest that we simply fix it so that when a sub-munition is choosing its target it doesn't select the parent object.

That can probably be fixed without going anywhere near the multiplayer code and would also work in singleplayer instances like this one.

The question is whether we make this behaviour dependent on a weapons flag so you can set off heatseekers that come after you if you're careless. Cause that might actually be a nice addition to the game.

Issue History
2009-05-12 23:15AardwolfNew Issue
2009-05-12 23:15AardwolfStatusnew => assigned
2009-05-12 23:15AardwolfAssigned To => Goober5000
2009-05-12 23:23Goober5000Note Added: 0010887
2009-05-12 23:23Goober5000Statusassigned => resolved
2009-05-12 23:23Goober5000Resolutionopen => no change required
2009-05-12 23:33Goober5000Note Added: 0010889
2009-05-12 23:33Goober5000Assigned ToGoober5000 => karajorma
2009-05-12 23:33Goober5000Statusresolved => acknowledged
2009-05-12 23:33Goober5000Resolutionno change required => open
2009-05-13 10:43karajormaNote Added: 0010897
2009-05-13 10:44karajormaNote Edited: 0010897
2009-05-18 17:55karajormaStatusacknowledged => resolved
2009-05-18 17:55karajormaFixed in Version => 3.6.11
2009-05-18 17:55karajormaResolutionopen => fixed