Page 1 of 1
Droideka Roll Damage
Posted: Sun Apr 12, 2020 5:32 am
by Benoz
Is it possible to give a droideka roll damage so when you roll over enemies it does damage like with the speederbike?
Re: Droideka Roll Damage
Posted: Sun Apr 12, 2020 7:08 am
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:
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.
Re: Droideka Roll Damage
Posted: Sun Apr 12, 2020 7:19 am
by Benoz
Thanks for the fast reply. I'll definitely check it out!
Re: Droideka Roll Damage
Posted: Sun Apr 12, 2020 10:06 am
by MileHighGuy
Try
CollisionInflict = "50"
in the droideka odf
also for an explanation of collisionacale
https://sites.google.com/site/swbf2modt ... sion_notes
Re: Droideka Roll Damage
Posted: Sun Apr 12, 2020 10:45 am
by AnthonyBF2
MileHighGuy wrote:CollisionInflict = "50"
Lmao, this is a real function?
Re: Droideka Roll Damage
Posted: Sun Apr 12, 2020 10:49 am
by MileHighGuy
yes. Its used in the tauntaun ODF and it works (when I tested with tauntaun).