Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Onslaught.MutWheeledVehicleStunts


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
class MutWheeledVehicleStunts extends Mutator;

var config float MaxForce;
var config float MaxSpin;
var config float JumpChargeTime;

function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
    local ONSWheeledCraft V;

    V = ONSWheeledCraft(Other);
    if (V != None)
    {
        V.bAllowAirControl = true;

        V.bAllowChargingJump = true;
        V.bSpecialHUD = true;
//		V.bScriptedRise = true;
        V.MaxJumpForce = MaxForce;
        V.MaxJumpSpin = MaxSpin;
        V.JumpChargeTime = JumpChargeTime;
        V.bHasHandbrake = false;

        //easier to get big jumps so make it harder to get an award for it
        V.DaredevilThreshInAirDistance *= 1.5;
        V.DaredevilThreshInAirTime *= 1.5;
        V.DaredevilThreshInAirSpin *= 2.0;
    }

    return true;
}

defaultproperties
{
     MaxForce=200000.000000
     MaxSpin=80.000000
     JumpChargeTime=1.000000
     GroupName="VehicleStunts"
     FriendlyName="Stunt Vehicles"
     Description="Players can make the wheeled vehicles jump. Hold down the crouch key to charge up and then release to jump. They can also control wheeled vehicles in mid-air."
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Wed 7/2/2007 19:12:24.000 - Creation time: Wed 7/2/2007 19:16:45.156 - Created with UnCodeX