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

OnslaughtFull.ONSBomber


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
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class ONSBomber extends ONSPlaneCraft;

#exec OBJ LOAD FILE=..\Animations\ONSVehicles-A.ukx

var()   float   MaxPitchSpeed;

simulated event DrivingStatusChanged()
{
    if (bDriving)
        Enable('Tick');
    else
        Disable('Tick');
}

simulated function Tick(float DeltaTime)
{
    local float EnginePitch;

    if(Level.NetMode != NM_DedicatedServer)
	{
        EnginePitch = 96.0 + VSize(Velocity)/MaxPitchSpeed * 32.0;
        SoundPitch = FClamp(EnginePitch, 96, 128);
    }

    Super.Tick(DeltaTime);
}

defaultproperties
{
	Mesh=Mesh'ONSFullAnimations.Bomber'

    RedSkin=Shader'ONSFullTextures.BomberGroup.BomberChassisFinalRED'
    BlueSkin=Shader'ONSFullTextures.BomberGroup.BomberChassisFinalBLUE'

	DriverWeapons(0)=(WeaponClass=class'OnslaughtFull.ONSBombDropper',WeaponBone=FrontGunMount);

	Health=600
	HealthMax=600

	IdleSound=sound'ONSVehicleSounds-S.Flying.Flying02'
//	StartUpSound=sound'ONSVehicleSounds-S.AttackCraft.AttackCraftStartUp'
//	ShutDownSound=sound'ONSVehicleSounds-S.AttackCraft.AttackCraftShutDown'
	MaxPitchSpeed=3200
	SoundVolume=255

    Begin Object Class=KarmaParamsRBFull Name=KParams0
        KInertiaTensor(0)=3.5
        KInertiaTensor(1)=0.0
        KInertiaTensor(2)=0.0
        KInertiaTensor(3)=10
        KInertiaTensor(4)=0.0
        KInertiaTensor(5)=13
		KCOMOffset=(X=0.65,Y=0.0,Z=0.0)
		KStartEnabled=True
		KFriction=0.6
		KLinearDamping=0.0
		KAngularDamping=1.5
		bKNonSphericalInertia=True
        bHighDetailOnly=False
        bClientOnly=False
		bKDoubleTickRate=True
		KActorGravScale=2.0
        KMaxSpeed=4000.0
        KImpactThreshold=300
		bDestroyOnWorldPenetrate=True
		bDoSafetime=True
        Name="KParams0"
    End Object
    KParams=KarmaParams'KParams0'

    DrawScale=0.7

    VehicleMass=4

    bDrawDriverInTP=False
	bDrawMeshInFP=True

	LiftCoefficientCurve=(Points=((InVal=-180,OutVal=0.0),(InVal=-10.0,OutVal=0.0),(InVal=0.0,OutVal=0.4),(InVal=6.0,OutVal=0.8),(InVal=10.0,OutVal=1.2),(InVal=12.0,OutVal=1.4),(InVal=20.0,OutVal=0.8),(InVal=60.0,OutVal=0.6),(InVal=90.0,OutVal=0.0),(InVal=180.0,OutVal=0.0)))
	DragCoefficientCurve=(Points=((InVal=-180,OutVal=0.0),(InVal=-90.0,OutVal=1.2),(InVal=-10.0,OutVal=0.1),(InVal=-5.0,OutVal=0.35),(InVal=0.0,OutVal=0.01),(InVal=5.0,OutVal=0.35),(InVal=10.0,OutVal=0.1),(InVal=15.0,OutVal=0.3),(InVal=60.0,OutVal=1.0),(InVal=90.0,OutVal=1.2),(InVal=180.0,OutVal=0.0)))
    AirFactor=0.00005

	HoverForceCurve=(Points=((InVal=0,OutVal=500),(InVal=30,OutVal=700),(InVal=250,OutVal=0)))
	COMHeight=20.0
	MaxThrust=110.0
    PitchTorque=700.0
    BankTorque=700.0
    ThrustAcceleration=60.0
    bHoverOnGround=True

    ImpactDamageThreshold=1000
    ImpactDamageMult=0.03

    MomentumMult=0.05

    HoverSoftness=0.9
	HoverPenScale=1.5
	HoverCheckDist=500

	ThrusterOffsets(0)=(X=200,Y=0,Z=10)
	ThrusterOffsets(1)=(X=-50,Y=300,Z=10)
	ThrusterOffsets(2)=(X=-50,Y=-300,Z=10)

    ExitPositions(0)=(X=0,Y=500,Z=100)
    ExitPositions(1)=(X=0,Y=-500,Z=100)
	ExitPositions(2)=(X=350,Y=0,Z=100)
	ExitPositions(3)=(X=-350,Y=0,Z=100)
	VehiclePositionString="in a DragonFly"
	VehicleNameString="DragonFly"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:31:52.000 - Creation time: Do 14.8.2014 09:58:46.152 - Created with UnCodeX