Page 1 of 1
Set push to only affect enemies?
Posted: Sun Jul 08, 2007 7:33 pm
by ARC_Commander
Title says it all. How would I set a grenade's push to only affect enemies? I've got it affecting everyone now, I'd like it to not affect friendlies. It's disastrous on maps like Kamino and Death Star.
RE: Set push to only affect enemies?
Posted: Sun Jul 08, 2007 7:37 pm
by Snork
Try looking at force pull....
TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"
Put TargetFriendly to 0 in the Force Push ODF.
RE: Set push to only affect enemies?
Posted: Sun Jul 08, 2007 7:48 pm
by ARC_Commander
That actually works? And for explosions?
RE: Set push to only affect enemies?
Posted: Sun Jul 08, 2007 7:59 pm
by Snork
I think that should work.
RE: Set push to only affect enemies?
Posted: Sun Jul 08, 2007 8:47 pm
by trainmaster611
It only works for push. If you do it for explosions, that just means that the AI won't try to team kill you (you can make them do that). So its actually already set that way.
RE: Set push to only affect enemies?
Posted: Sun Jul 08, 2007 8:55 pm
by Snork
Heh. A FFA mode on Mos Eisly would be cool, though all the comps wolud spawnkill eachother.
RE: Set push to only affect enemies?
Posted: Wed Jul 11, 2007 7:10 am
by Qdin
speaking of affecting... is there something called TargetSelf?

sometihng I just tohght of when speaking of explosions...
RE: Set push to only affect enemies?
Posted: Wed Jul 11, 2007 8:45 am
by VF501
Well what do you want the explosion to do? Affect only you or not affect you? If you want the explosion to ignore you add this to the yournamehere_exp.odf. AffectOwner = "0". This disables the explosions effect on you, change it to 1 or remove it to be affected again.
RE: Set push to only affect enemies?
Posted: Wed Jul 11, 2007 8:48 am
by Master Fionwë
It only works for push. If you do it for explosions, that just means that the AI won't try to team kill you (you can make them do that). So its actually already set that way.
I have that set in my blast cannon weapon, but the ai still blows twenty of his team off the ramps.