Page 1 of 1
[HELP] Water damage
Posted: Sun Sep 18, 2011 10:42 pm
by jdee/barc
how do you get units or vehicles to not get water damage (i'm trying to create basically a stormtrooper that can lurk underwater)? is there some sort of odf parameter or lua command?
Re: [HELP] Water damage
Posted: Mon Sep 19, 2011 7:15 am
by Ginev
Before very long time i have try to make a underwater map however without luck.But when you mention this i chech something and i find that the droideka have this two lines in her odf file.Look:
UprightWaterDamageHeight = "1.5"
BallWaterDamageHeight = "0.5"
I still dont have time to test this but i can give you one example what im gonna do.Lets say your height of the water is 20.0 Maybe if you change the UprightWaterDamageHeight to lets say 5.0 or less (maybe 1.0) your soldiers will not die.I will say again that i dont know if this will work but atleast if you have time you can experiment around and see. (if this work please tell me

)
Re: [HELP] Water damage
Posted: Mon Sep 19, 2011 7:40 am
by keenmike
Ginev wrote:the droideka have this two lines in her odf file.Look:
UprightWaterDamageHeight = "1.5"
BallWaterDamageHeight = "0.5"
Clues are every where. Very nice. Will try.
Re: [HELP] Water damage
Posted: Mon Sep 19, 2011 1:33 pm
by DarthD.U.C.K.
im 99% sure that waterdamage on unit cant be changed. the droideka is an exception because its a hybrid, not a real unit.
Re: [HELP] Water damage
Posted: Mon Sep 19, 2011 3:38 pm
by jdee/barc
What about on a walker, like an AT-ST?
I'm pretty sure Ty294 got a workaround water damage. in one of his maps, a diver unit could go underwater. the red damage flash would still occur, but the unit would keep full health.
Re: [HELP] Water damage
Posted: Mon Sep 19, 2011 3:47 pm
by Ginev
Can you give me link for this map?I want to check it.
Re: [HELP] Water damage
Posted: Mon Sep 19, 2011 5:36 pm
by jdee/barc
Duulan Mine Pit. its the 1.0 version. the newer version removed the troopers
http://starwarsbattlefront.filefront.co ... _Pit;97965
Re: [HELP] Water damage
Posted: Mon Sep 19, 2011 6:17 pm
by keenmike
DarthD.U.C.K. wrote:im 99% sure that waterdamage on unit cant be changed. the droideka is an exception because its a hybrid, not a real unit.
Forgot about that fact, DarthD.U.C.K. Call me anyone anytime so we can try that mod map.
Edit, When someone gets the Game Front link to that zip download post it k. Filefront to Game Front mirror link thing is not working now.
Re: [HELP] Water damage
Posted: Mon Sep 19, 2011 6:19 pm
by Ty294
I'm afraid my workaround was only an "AddHealth" line added below the standard Health line. I'm afraid I don't have the ODF for that unit anymore, but I believe it was something like:
Code: Select all
MaxHealth = 150.0
AddHealth = 10.0
I'm not completely sure, but I do know the Diver unit had a below average health, it may have been 175 or 200.