[HELP] Water damage
Moderator: Moderators
- jdee/barc
- 1st Lieutenant

- Posts: 444
- Joined: Wed Aug 25, 2010 2:47 pm
- Projects :: Battlefront One and a Half
- xbox live or psn: No gamertag set
- Location: Boston
[HELP] Water damage
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?
- Ginev
- Command Sergeant Major

- Posts: 260
- Joined: Thu Apr 02, 2009 7:02 am
- Projects :: Remaking FR Battlefront 3 Tatooine map.
- xbox live or psn: No gamertag set
- Location: Bulgaria
Re: [HELP] Water damage
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
)
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
- keenmike
- Second Lance Corporal

- Posts: 110
- Joined: Sat Mar 14, 2009 7:05 am
- Projects :: Side by side bike with suspension
- Location: South Texas
- Contact:
Re: [HELP] Water damage
Clues are every where. Very nice. Will try.Ginev wrote:the droideka have this two lines in her odf file.Look:
UprightWaterDamageHeight = "1.5"
BallWaterDamageHeight = "0.5"
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: [HELP] Water damage
im 99% sure that waterdamage on unit cant be changed. the droideka is an exception because its a hybrid, not a real unit.
- jdee/barc
- 1st Lieutenant

- Posts: 444
- Joined: Wed Aug 25, 2010 2:47 pm
- Projects :: Battlefront One and a Half
- xbox live or psn: No gamertag set
- Location: Boston
Re: [HELP] Water damage
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.
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.
- Ginev
- Command Sergeant Major

- Posts: 260
- Joined: Thu Apr 02, 2009 7:02 am
- Projects :: Remaking FR Battlefront 3 Tatooine map.
- xbox live or psn: No gamertag set
- Location: Bulgaria
Re: [HELP] Water damage
Can you give me link for this map?I want to check it.
- jdee/barc
- 1st Lieutenant

- Posts: 444
- Joined: Wed Aug 25, 2010 2:47 pm
- Projects :: Battlefront One and a Half
- xbox live or psn: No gamertag set
- Location: Boston
Re: [HELP] Water damage
Duulan Mine Pit. its the 1.0 version. the newer version removed the troopers
http://starwarsbattlefront.filefront.co ... _Pit;97965
http://starwarsbattlefront.filefront.co ... _Pit;97965
- keenmike
- Second Lance Corporal

- Posts: 110
- Joined: Sat Mar 14, 2009 7:05 am
- Projects :: Side by side bike with suspension
- Location: South Texas
- Contact:
Re: [HELP] Water damage
Forgot about that fact, DarthD.U.C.K. Call me anyone anytime so we can try that mod map.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.
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.
Last edited by keenmike on Mon Sep 19, 2011 6:22 pm, edited 1 time in total.
-
Ty294
- Sergeant Major

- Posts: 247
- Joined: Thu Mar 12, 2009 10:28 pm
- Projects :: Various
- Location: Minnesota
Re: [HELP] Water damage
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:
I'm not completely sure, but I do know the Diver unit had a below average health, it may have been 175 or 200.
Code: Select all
MaxHealth = 150.0
AddHealth = 10.0