Water Damage
Moderator: Moderators
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
Water Damage
This should be a simple question, but I haven't the slightest clue if its possible to do or not..
Is it possible to make units not take any damage under water?
Both gungans and droids can function properly underwater, and I would like to amend this before releasing a public version of the map I'm currently working on.
If anybody has any ideas..(negative damage region? but I dont want you to gain health simply by going underwater..)
Is it possible to make units not take any damage under water?
Both gungans and droids can function properly underwater, and I would like to amend this before releasing a public version of the map I'm currently working on.
If anybody has any ideas..(negative damage region? but I dont want you to gain health simply by going underwater..)
-
archer01
RE: Water Damage
I've seen these properties used for vehicles (in their odf files):
WaterDamageInterval = "1.0"
WaterDamageAmount = "10.0"
Try them out (set as zero damage of course) and see if they work for soldiers too.
WaterDamageInterval = "1.0"
WaterDamageAmount = "10.0"
Try them out (set as zero damage of course) and see if they work for soldiers too.
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
-
Ergonomics
perhaps setting the values to almost 0? like 0.0000001 etc u get the idea. maybe it cant handle the value 0.
EDIT sorry i think i get where your coming. i think u might need to make an infantry odf into a vehicle odf. there was a discussion into if this was possible somewhere, forgot link. perhaps it might work if you get the line of code in EXACTLY the right place. it can be frustrating tho if you dont know fo sho
EDIT sorry i think i get where your coming. i think u might need to make an infantry odf into a vehicle odf. there was a discussion into if this was possible somewhere, forgot link. perhaps it might work if you get the line of code in EXACTLY the right place. it can be frustrating tho if you dont know fo sho
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
Yeah see the problem is if I make it into a vehicle class then it will function like a vehicle, and not a unit.
I dunno. This is hard to figure. I mean, the droideka has a line in it stating the height of where water damage starts, but it seems specific to the droidekas class of walkerdroid. Perhaps if I remove the Roll (ball? something like that) stuff before the line it might work on a regular unit. Then I could just set the height to some negative number, so you wouldnt take damage.
I dunno. This is hard to figure. I mean, the droideka has a line in it stating the height of where water damage starts, but it seems specific to the droidekas class of walkerdroid. Perhaps if I remove the Roll (ball? something like that) stuff before the line it might work on a regular unit. Then I could just set the height to some negative number, so you wouldnt take damage.
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
actually, thats what sparked this whole discussion. Rekubot, who helps me out and reviews/tests my maps, said it would be neat to give the gungans the ability to breath underwater. Coincidentally, I was reading the wookieepedia b-1 battledroid article, and i found out that battledroids can function underwater as well. So I figured I'd see what I could do.
But yeah neither side can live underwater. I still haven't tried the droideka thing (I'm really busy right now but after I get a haircut i will be able to try it).
Tell me what you think about the droideka stuff Teancum, should I just remove the ball/roll lines before the WaterDamageHeight?
UprightWaterDamageHeight = "1.5"
BallWaterDamageHeight = "0.5"
so it'd be like
WaterDamageHeight = "0.5"
also, which number should I use, a high negative, or a high positive (my brain hurts right now i dont want to think it arhg)
But yeah neither side can live underwater. I still haven't tried the droideka thing (I'm really busy right now but after I get a haircut i will be able to try it).
Tell me what you think about the droideka stuff Teancum, should I just remove the ball/roll lines before the WaterDamageHeight?
UprightWaterDamageHeight = "1.5"
BallWaterDamageHeight = "0.5"
so it'd be like
WaterDamageHeight = "0.5"
also, which number should I use, a high negative, or a high positive (my brain hurts right now i dont want to think it arhg)
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
Hahaha no I guess I need to be more clear.
Droidekas use that line in their odf to determine at what height (as in how high the water is compared to the droidekas body) they take damage. It must be different for ball mode than when they are deployed.
All other units have no lines in their odf pertaining to this, and I thought that it may be possible to use "WaterDamageHeight = "x" for regular, non "walkerdroid" class units.
Droidekas use that line in their odf to determine at what height (as in how high the water is compared to the droidekas body) they take damage. It must be different for ball mode than when they are deployed.
All other units have no lines in their odf pertaining to this, and I thought that it may be possible to use "WaterDamageHeight = "x" for regular, non "walkerdroid" class units.
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
t551
- General

- Posts: 791
- Joined: Sat Jul 16, 2005 3:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
Yeah, pretty much. Though the droideka is a walker, its also a unit. and the way its odf is set up, its very clear that much of what applies to standard units apply to the droideka, and vise versa.
I have yet to try giving the units the ball thing, as I've been really busy.
PS. Qdin, the odf is readay. I dont know why im saying it here but I dont feel like pming, im in a rush to get my wetsuit on and hit the beach. As I said, i'll include all the textures and odfs for my redone weapons (at least the weapons that I have given Cody, being a DC-15A Rifle, DC-15S Blaster Carbine, either a DC-15 Sidearm or a DC-17 repeating hand blaster, as I cant remember which one it said he stored in his jetpack, 2 thermals, 2 conc nades, and electro binoculars)
I have yet to try giving the units the ball thing, as I've been really busy.
PS. Qdin, the odf is readay. I dont know why im saying it here but I dont feel like pming, im in a rush to get my wetsuit on and hit the beach. As I said, i'll include all the textures and odfs for my redone weapons (at least the weapons that I have given Cody, being a DC-15A Rifle, DC-15S Blaster Carbine, either a DC-15 Sidearm or a DC-17 repeating hand blaster, as I cant remember which one it said he stored in his jetpack, 2 thermals, 2 conc nades, and electro binoculars)
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
nice nice 
and
vehicular - I've honestly never heard of it before, but it just sounded right
so I'm glad it's a real word! 
remember I'm a Dane, and if you knew how odd and no-reason bendings we've got for... well - our Nouns is the toughest in the whole language xD then you'd know how difficult it is to translate a sentence from one to another
anyways
But do we know what makes the Droideka an exception compared to all the other vehicles which CANNOT be considered 'units'?
and
vehicular - I've honestly never heard of it before, but it just sounded right
remember I'm a Dane, and if you knew how odd and no-reason bendings we've got for... well - our Nouns is the toughest in the whole language xD then you'd know how difficult it is to translate a sentence from one to another
But do we know what makes the Droideka an exception compared to all the other vehicles which CANNOT be considered 'units'?
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
Well, its class is specific to it, if I am correct. It is a "Walkerdroid" (off memory so pardon me if I'm off). Which means it has properties which are specific to it. I'm really unsure.
Thinking of it now, pretty much every faction, excluding rebels, could function underwater. Clones/Stormie wore pressure sealed suits, battledroids dont breath (wookieepedia says they work underwater), and gungans, well they have big ears.
Soo, it might be easier to attempt to remove the water damage, out of the files water uses. Anyone have any ideas?
Thinking of it now, pretty much every faction, excluding rebels, could function underwater. Clones/Stormie wore pressure sealed suits, battledroids dont breath (wookieepedia says they work underwater), and gungans, well they have big ears.
Soo, it might be easier to attempt to remove the water damage, out of the files water uses. Anyone have any ideas?
