Author Topic: Hot Air Balloon/Car Walk Mode  (Read 476 times)

http://www.geocities.com/EnchantedForest/Cottage/5900/7415.html

:D



Also. Since its hard to press C, D and W at the same time. Why not make a script that when you get in a vehicle, your walk mode temporarly changes to Shift. Making it easier to go slower. Since i cant change walk to Left Shift and right shift doesnt help alot because i cant control the camera

You can change walk to left shift, you just have to change crouch to something else first.
I'm sure it would be simple to check whether you're controlling a vehicle or a player. I'll make something up quick.

Quote
package CarWalk
{
   function crouch(%val)
   {
      if(%val)
      {
         if(ServerConnection.getControlOb ject().getClassName() $= "WheeledVehicle" || ServerConnection.getControlOb ject().getClassName() $= "FlyingVehicle")
         {
            $VehiWalk = 1;
            walk(1);  //This part may be wrong.
            return %val;
         }
         else
            Parent::crouch(%val);
      }
      else
      {
         if($VehiWalk == 1)
            walk(0); //This part may be wrong.
         Parent::crouch(%val);
      }
   }
   function walk(%val)  //This whole function may not exist.
   {
      if($VehiWalk == 1 && %val == 1)
         %val = 0;
      Parent::walk(%val);
   }
};
activatePackage(CarWalk);

Oh, and I know I put it in quote instead of code, but that's just so FireFox users wont complain about page stretches.

Turn off strafe-steering, use C, W and the mouse. Much easier and gives you more control.

You can also press Jump (Space) for a "lock all wheels" brake.