Blockland Forums > Modification Help
survivalRP - holywtf bump! and maybe finishing up some loose ends??
<< < (35/347) > >>
AGlass0fMilk:
I'll do any other GUI's you want.
-Absolution-:
Okay, so I made a row boat with rowing animation.  Everyone says making a boat is impossible because it would drive on land.  I was looking at the script and I noticed this:

--- Code: ---// Rigid Body
mass = 300;
density = 5.0;
drag = 1.6;   
bodyFriction = 0.6;
bodyRestitution = 0.6;
minImpactSpeed = 10;        // Impacts over this invoke the script callback

--- End code ---
Wouldn't decreasing the density allow it to float?  Or am I just mistaken.
Azimuth:
Try it out. Also guys, i'll leave off what I have done with the system. I can't work half fast as what you need. Doesn't mean I'm quitting, though. I might do small bits, and I'll get that domain up real soon. If we manage to get alot of it done, I'll connect it to the internet.
-Absolution-:

--- Quote from: Azimuth on May 24, 2009, 11:42:02 PM ---Try it out.
--- End quote ---
I just tried it.  You can float, but you have no control.  You would have to create a new player type, I guess.
Wait.  I just figured it out.  It is indeed possible:

--- Code: ---   runForce = 29 * 90;
   runEnergyDrain = 0;
   minRunEnergy = 0;
   maxForwardSpeed = 30;
   maxBackwardSpeed = 20;
   maxSideSpeed = 0;
--- End code ---
Change this to:

--- Code: ---   runForce = 15 * 90;
   runEnergyDrain = 0;
   minRunEnergy = 0;
   maxForwardSpeed = 1;
   maxBackwardSpeed = 1;
   maxSideSpeed = 0;
--- End code ---
This.  I tested it.  It works at a good speed in water and barely moves at all on land.
So, can I get a scripter/exporter?
Gorella:
"Floating the boat" Isn't the hard part of the script, creating a immobilization code when touching ground is the challenging part.
Navigation
Message Index
Next page
Previous page

Go to full version