Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 00043 00044 00045 |
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 { IconMaterialName="MutatorArt.nosym" 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." MaxForce=200000.0 MaxSpin=80.0 JumpChargeTime=1.0 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |