View Full Version : Possible Water Cog...
Shockaz
10-27-2003, 05:27 PM
Let's say I have a suit in my item inventory (like the tusken clothing from MotS). If I had the suit off and was in the water (or before going into into the water, I would be able to swim normally. Now, if I put on the suit if I was in the water (or before going into the water), would it even be possible to 'sink' underwater to the floor and be ABLE to walk on the floor underwater?
------------------
Pumpkins are the only living organisms with triangle eyes.
Descent_pilot
10-28-2003, 05:37 PM
This is all I can say, don't remove the current sector's water flag, then you will get the splash templates. You could increase the players bouyency to make him sink, then change to a puppet file where the majormodes for swimming were those of the walking. Only things I could think of that would give that impression.
------------------
The Sniper Missions. Current project, The Sniper Missions
The Magician Saber System.
The 2 riddle! (http://forums.massassi.net/html/Forum1/HTML/028595.html)
lucky_jackpot
10-31-2003, 02:11 AM
Hi there http://forums.massassi.net/html/smile.gif
I've been thinking about this one on my way to work over the last few days (but I'm currently visiting some friends at uni, none of whom have JED or JK, so I can't practically -and categorically- tell you that this would work, but here's some ideas:
When the player has the inventory activated (such as wearing tusken clothes, for example), if the player is in a non-water sector, then "return", and end cog script. If however, the sector is flagged as underwater, then apply a negative-z vector thrust (to simulate the downward pull). You could even include a "for" loop, making the z-vector change greater, to give the illusion of sinking quicker.
Once the player has touched a "bottom" surface, attach him/her to it, until they switch the inventory off ... then apply the paragraph above, switching the z-vector change to a positive number...
As for the puppet files (for the animation of walking along the bottom) I'd go with Descent_Pilot because (a) It sounds good and (b) As much as I hate fiddling with puppet files, I loathe dealing with keys for characters... http://forums.massassi.net/html/wink.gif http://forums.massassi.net/html/redface.gif
Anyways, hope these ideas help, but as I say, they are just merely ideas that struck me as I walked to work for the last couple of days.... http://forums.massassi.net/html/biggrin.gif
-Jackpot
------------------
Are you feeling lucky, cuz if you are, get your hands off me... ;)
"Life is mostly froth and bubble,
But two things stand in stone,
Kindness in another's trouble,
Courage in your own"
("Ye Wearie Wayfarer" - by Adam Lindsay Gordon)
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.