Force Power that only affects vehicles

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
darthhalv
Private First Class
Posts: 88
Joined: Sun Dec 05, 2010 8:40 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsbattlefront2

Force Power that only affects vehicles

Post by darthhalv »

Is it possible to make force choke only affect vehicles and buildings.
I have played along with the odf file for force choke but I haven't been able to find a solution. Very grateful for help. :)
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Force Power that only affects vehicles

Post by thelegend »

I am not sure since I never tried it before but maybe this helps:

Add this into your choke's odf:

Code: Select all

ShieldScale     = "0.0"
HealthScale     = "0.0"
PersonScale     = "0.0"             
AnimalScale     = "0.0"
DroidScale      = "0.0"
ArmorScale      = "0.0"
VehicleScale    = "1.0"
BuildingScale   = "1.0"
This should prevent your weapon (In this case "force choke") from damaging players, units, shields, animals and droids.

And this might make it look better so when you look at any unit your HUD will not turn blue or red:

Code: Select all

TargetPerson    = "0"
TargetAnimal    = "0"
TargetDroid     = "0"
TargetVehicle   = "1"
TargetBuilding  = "1"
0 = No
1 = Yes

I hope this helps.
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Force Power that only affects vehicles

Post by AnthonyBF2 »

By default, choke already works on vehicles and objects like medical droids. It takes a long time to kill a tank with choke, though... :funny2:
darthhalv
Private First Class
Posts: 88
Joined: Sun Dec 05, 2010 8:40 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsbattlefront2

Re: Force Power that only affects vehicles

Post by darthhalv »

thelegend: Did not work, tried that before. Thanks anyway.
anthonybf2: Already knew choke worked on vehicles but want it to make a huge ammount of damage without it being overpowered on units.
Post Reply