Droideka Roll Damage

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
User avatar
Benoz
Corporal
Corporal
Posts: 142
Joined: Tue May 28, 2013 12:34 pm
Projects :: Clone Wars Era Mod Version 2
Games I'm Playing :: OldFront - EAFront
xbox live or psn: No gamertag set
Location: Germany

Droideka Roll Damage

Post by Benoz »

Is it possible to give a droideka roll damage so when you roll over enemies it does damage like with the speederbike?
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Droideka Roll Damage

Post by AnthonyBF2 »

The66Order66 wrote:Is it possible to give a droideka roll damage so when you roll over enemies it does damage like with the speederbike?
You would need to set custom CollisionScale values on each enemy ODF class. CollisionScale takes 3 values, as seen in the jet trooper ODF:

Code: Select all

CollisionScale = "0.0 0.0 0.0"
This is what prevents the jet trooper from taking damage when landing.

You would apply this to every other character then figure out which number assigns forward/backwards damage and set it to something like 1.0 or 5.0, keep increasing or decreasing until you get the amount of damage you want.
I say experiment because I've never done it, but it should be possible.

I did find a way to prevent starfighters from crashing and dying by using these values in all of my flyer ODFs:

Code: Select all

CollisionScale = "-99.0 0.0 -99.0"
This made ships very hard to wreck. I'm still not sure which specific value manipulates which direction, I was just changing numbers randomly until I got the result I wanted.

I hope someone with more knowledge leaves a comment for both of us, letting us know what each value controls what direction.
User avatar
Benoz
Corporal
Corporal
Posts: 142
Joined: Tue May 28, 2013 12:34 pm
Projects :: Clone Wars Era Mod Version 2
Games I'm Playing :: OldFront - EAFront
xbox live or psn: No gamertag set
Location: Germany

Re: Droideka Roll Damage

Post by Benoz »

Thanks for the fast reply. I'll definitely check it out!
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Droideka Roll Damage

Post by MileHighGuy »

Try

CollisionInflict = "50"

in the droideka odf

also for an explanation of collisionacale
https://sites.google.com/site/swbf2modt ... sion_notes
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Droideka Roll Damage

Post by AnthonyBF2 »

MileHighGuy wrote:CollisionInflict = "50"
Lmao, this is a real function?
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Droideka Roll Damage

Post by MileHighGuy »

yes. Its used in the tauntaun ODF and it works (when I tested with tauntaun).
Post Reply