[HELP] Water damage

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
jdee/barc
1st Lieutenant
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

Post 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?
User avatar
Ginev
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Thu Apr 02, 2009 7:02 am
Projects :: Remaking FR Battlefront 3 Tatooine map.
Games I'm Playing :: nothing for now
xbox live or psn: No gamertag set
Location: Bulgaria

Re: [HELP] Water damage

Post 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 :D )
User avatar
keenmike
Second Lance Corporal
Second Lance Corporal
Posts: 110
Joined: Sat Mar 14, 2009 7:05 am
Projects :: Side by side bike with suspension
Games I'm Playing :: SWBF1
Location: South Texas
Contact:

Re: [HELP] Water damage

Post 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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: [HELP] Water damage

Post 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.
User avatar
jdee/barc
1st Lieutenant
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

Post 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.
User avatar
Ginev
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Thu Apr 02, 2009 7:02 am
Projects :: Remaking FR Battlefront 3 Tatooine map.
Games I'm Playing :: nothing for now
xbox live or psn: No gamertag set
Location: Bulgaria

Re: [HELP] Water damage

Post by Ginev »

Can you give me link for this map?I want to check it.
User avatar
jdee/barc
1st Lieutenant
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

Post by jdee/barc »

Duulan Mine Pit. its the 1.0 version. the newer version removed the troopers

http://starwarsbattlefront.filefront.co ... _Pit;97965
User avatar
keenmike
Second Lance Corporal
Second Lance Corporal
Posts: 110
Joined: Sat Mar 14, 2009 7:05 am
Projects :: Side by side bike with suspension
Games I'm Playing :: SWBF1
Location: South Texas
Contact:

Re: [HELP] Water damage

Post 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.
Last edited by keenmike on Mon Sep 19, 2011 6:22 pm, edited 1 time in total.
Ty294
Sergeant Major
Sergeant Major
Posts: 247
Joined: Thu Mar 12, 2009 10:28 pm
Projects :: Various
Location: Minnesota

Re: [HELP] Water damage

Post 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.
Post Reply