Page 1 of 1

Unit with Hover Qualities

Posted: Sat Jul 05, 2008 6:27 pm
by Blade
This is kind of an odd question, but does a unit/vehicle have to be completely "Hover" to be able to float on water? I've been thinking about toying around with this to make units be able to have a sloppy :quotes: swimming ability... I think there's a line in the odf that determines if it can float on water, but I don't know if this concerns regular units as well as vehicles. I just need to know if I should even attempt it, or if someone knows that it isn't possible. I can probably figure it out, once I know if I should even try or not.

Re: Unit with Hover Qualities

Posted: Wed Jul 16, 2008 5:20 am
by tnt_1992
there is a line that makes it float on water becuase the jet trooper has the hover quality, so no just puting the hover quality will not make it hover.

Re: Unit with Hover Qualities

Posted: Wed Jul 16, 2008 6:28 am
by Sky_216
Not sure, probably not ....my advice is if you want people to swim, give them boats/submarines.

Re: Unit with Hover Qualities

Posted: Wed Jul 16, 2008 7:13 am
by MandeRek
Okay, this is straight from the odf_guide, out of the documentation folder..

Code: Select all

FloatsOnWater – Whether or not it can float on water as a hover vehicle type.
It's for vehicles though.. This could mean a submarine type of vehicle though..

Re: Unit with Hover Qualities

Posted: Wed Jul 16, 2008 9:20 am
by Blade

Code: Select all

Okay, this is straight from the odf_guide, out of the documentation folder..

Code:
FloatsOnWater – Whether or not it can float on water as a hover vehicle type.
Ah, thank you, I'll try that out and see if it works with units as well, probably doesn't, but whatever.

When I place that in the .odf, would I script it as FloatsOnWater = 1 for having it float?

Re: Unit with Hover Qualities

Posted: Wed Jul 16, 2008 9:24 am
by DarthD.U.C.K.
Blade wrote:

Code: Select all

Okay, this is straight from the odf_guide, out of the documentation folder..

Code:
FloatsOnWater – Whether or not it can float on water as a hover vehicle type.
Ah, thank you, I'll try that out and see if it works with units as well, probably doesn't, but whatever.

When I place that in the .odf, would I script it as FloatsOnWater = 1 for having it float?
try it out! :D

Re: Unit with Hover Qualities

Posted: Wed Jul 16, 2008 9:42 am
by Aman/Pinguin
Blade wrote:When I place that in the .odf, would I script it as FloatsOnWater = 1 for having it float?
Yes.