Page 1 of 1

Droidekas and Grenades

Posted: Sat Aug 01, 2009 2:44 am
by CodaRez
How would you stop units from throwing grenades at droidekas?

I bet its in the .odf, classlabel? when I changed that to soldier my map crashed.

Is tehre another way? or are they doomed to be grenade spammed forever :? :shock:

Re: Droidekas and Grenades

Posted: Sat Aug 01, 2009 2:54 am
by AQT
Since the Droideka is a type of vehicle, just add the following lines to your grenade's ODF:
Hidden/Spoiler:
TargetVehicle = "0"

AITargetVehicle = "0"

Re: Droidekas and Grenades

Posted: Sat Aug 01, 2009 3:00 am
by CodaRez
.....what if vehicles are in the map

Re: Droidekas and Grenades

Posted: Sat Aug 01, 2009 3:22 am
by AQT
My mistake, the Target and AITarget lines actually pertain to the HealthType. Use these lines:
Hidden/Spoiler:
TargetDroid = "0"

AITargetDroid = "0"
But that will effect all the other droids. You can change the Droideka's HealthType to animal and use these lines instead in your grenade's ODF:
Hidden/Spoiler:
TargetAnimal = "0"

AITargetAnimal = "0"