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

Onslaught.ONSRV

Extends
ONSWheeledCraft

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Pawn
      |   
      +-- Engine.Vehicle
         |   
         +-- Engine.SVehicle
            |   
            +-- Onslaught.ONSVehicle
               |   
               +-- Onslaught.ONSWheeledCraft
                  |   
                  +-- Onslaught.ONSRV

Variables Summary
stringArmExtendForce
stringArmRetractForce
boolbClientLeftArmBroke
boolbClientRightArmBroke
boolbLeftArmBroke
boolbRightArmBroke
ONSRV
soundArmExtendSound
soundArmRetractSound
soundBladeBreakSound
Inherited Variables from Onslaught.ONSWheeledCraft
ActualSteering, AirPitchDamping, AirPitchTorque, AirRollDamping, AirRollTorque, AirTurnTorque, bAllowAirControl, bAllowBigWheels, bAllowChargingJump, bDoStuntInfo, bIsDriving, bIsInverted, bMakeBrakeLights, bNewCarState, bOldVehicleOnGround, bPushDown, BrakeLightMaterial, BrakeLightOffset[2], BrakeLight[2], CarMPH, CarState, ChangeDownPoint, ChangeUpPoint, ChassisState, ChassisTorqueScale, DaredevilMessageClass, DaredevilPoints, DaredevilThreshInAirDistance, DaredevilThreshInAirPitch, DaredevilThreshInAirRoll, DaredevilThreshInAirSpin, DaredevilThreshInAirTime, DesiredJumpForce, Dust, DustSlipRate, DustSlipThresh, EngineBrakeFactor, EngineBrakeRPMScale, EngineInertia, EngineRPM, EngineRPMSoundRange, FenderBenderSpeed, ForwardVel, FTScale, Gear, GearRatios[5], HandbrakeThresh, IdleRPM, InAirDistance, InAirPitch, InAirRoll, InAirSpin, InAirTime, JumpChargeTime, JumpFeedbackForce, JumpForce, JumpMeterColor, JumpMeterHeight, JumpMeterOriginX, JumpMeterOriginY, JumpMeterSpacing, JumpMeterTexture, JumpMeterWidth, JumpSound, JumpSpin, LastOnGroundLocation, LastOnGroundTime, LSDFactor, MaxBrakeTorque, MaxJumpForce, MaxJumpSpin, MaxSteerAngleCurve, MinAirControlDamping, MinBrakeFriction, NumForwardGears, NumPoweredWheels, OldCarState, OldRotation, OutputBrake, OutputGas, OutputHandbrake, OutputPitch, RevMeterMaterial, RevMeterPosX, RevMeterPosY, RevMeterScale, RevMeterSizeY, SpinMeterColor, SteerBoneAxis, SteerBoneMaxAngle, SteerBoneName, SteerSpeed, StopThreshold, TorqueCurve, TotalSpinVel, TransRatio, TurnDamping, WheelAdhesion, WheelHandbrakeFriction, WheelHandbrakeSlip, WheelInertia, WheelLatFrictionScale, WheelLatSlipFunc, WheelLongFrictionFunc, WheelLongFrictionScale, WheelLongSlip, WheelPenOffset, WheelPenScale, WheelRestitution, WheelSoftness, WheelSuspensionMaxRenderTravel, WheelSuspensionOffset, WheelSuspensionTravel
Inherited Variables from Onslaught.ONSVehicle
ActiveWeapon, AltFireImpulse, AltFocalPoint, bAltFocalPoint, bCannotBeBased, bCustomAiming, bDestroyAppearance, bDisintegrateVehicle, bDriverCannotLeaveVehicle, bEjectPassengersWhenFlipped, bEnableProximityViewShake, bHadFire, bHasAltFire, bHasAltFireImpulse, bHasBeenAwake, bHasFireImpulse, bIsAwake, BlueSkin, bNeverReset, bOnlyViewShakeIfDriven, bSoundsPrecached, CrosshairColor, CrosshairTexture, CrosshairX, CrosshairY, CustomAim, DamagedEffect, DamagedEffectAccruedDamage, DamagedEffectAccScale, DamagedEffectClass, DamagedEffectFireDamagePerSec, DamagedEffectHealthFireFactor, DamagedEffectHealthSmokeFactor, DamagedEffectOffset, DamagedEffectScale, DebugInfo, DestroyedRoadKillDamageType, DestroyedVehicleMesh, DestructionAngularMomentum, DestructionEffectClass, DestructionLinearMomentum, DisintegrationEffectClass, DisintegrationHealth, DriverWeapons, ExplosionCount, ExplosionDamage, ExplosionDamageType, ExplosionMomentum, ExplosionRadius, ExplosionSoundRadius, ExplosionSounds, ExplosionSoundVolume, FireImpulse, HeadlightCorona, HeadlightCoronaMaterial, HeadlightCoronaMaxSize, HeadlightCoronaOffset, HeadlightProjector, HeadlightProjectorMaterial, HeadlightProjectorOffset, HeadlightProjectorRotation, HeadlightProjectorScale, IdleSound, ImpactDamageMult, ImpactDamageSounds, ImpactDamageThreshold, ImpactDamageTicks, ImpactInfo, ImpactTicksLeft, LastCheckUpsideDownTime, LastImpactExplosionTime, LastRunOverWarningTime, LastVelocitySize, LockedOnSound, MinRunOverWarningAim, OldExplosionCount, OldYaw, PassengerWeapons, RedSkin, Reservation, ResetTime, ShakeOffsetMag, ShakeOffsetRate, ShakeOffsetTime, ShakeRotMag, ShakeRotRate, ShakeRotTime, ShutDownForce, ShutDownSound, SparkAdvanceFactor, SparkEffect, SparkEffectClass, StartUpForce, StartUpSound, TimeBetweenImpactExplosions, UpsideDownDamage, ViewShakeLastCheck, ViewShakeOffsetFreq, ViewShakeOffsetMag, ViewShakeRadius, ViewShakeRotFreq, ViewShakeRotMag, WeaponPawns, Weapons

Structures Summary
Inherited Structures from Onslaught.ONSWheeledCraft
SCarState
Inherited Structures from Onslaught.ONSVehicle
DriverWeaponStruct, ImpactInfoStruct, PassengerWeaponStruct

Functions Summary
function AltFire (optional float F))
function BladeBreakOff (int Slot, name BoneName, class<Emitter> BreakEffect))
functionPawn CheckForHeadShot (Vector loc, Vector ray, float AdditionalScale))
function ChooseFireAt (Actor A))
function ClientVehicleCeaseFire (bool bWasAltFire))
function ShouldTargetMissile (Projectile P))
function StaticPrecache (LevelInfo L))
function Tick (float DT))
function UpdatePrecacheMaterials ()))
function UpdatePrecacheStaticMeshes ()))
function VehicleCeaseFire (bool bWasAltFire))
function VehicleFire (bool bWasAltFire))
Inherited Functions from Onslaught.ONSWheeledCraft
Destroyed, DrawHUD, DrivingStatusChanged, ImpactDamageModifier, Jumping, KImpact, KUpdateState, LimitPitch, OnDaredevil, PostBeginPlay, PostNetBeginPlay, PrecacheAnnouncer, SetWheelsScale, SVehicleUpdateParams, Tick
Inherited Functions from Onslaught.ONSVehicle
AltFire, ApplyFireImpulse, CallDestroy, CanAttack, ChangedReservation, ChargeBar, CheckReset, ChooseFireAt, ClientKDriverEnter, ClientKDriverLeave, ClientRegisterVehicleWeapon, ClientVehicleCeaseFire, ClientVehicleExplosion, Deploy, DestroyAppearance, Destroyed, Died, DisplayDebug, DrawHUD, DriverDied, DriverLeft, DriverRadiusDamage, FastVehicle, FindEntryVehicle, Fire, FireOnRelease, GetBotPassenger, GetInstigator, GetTurrets, HasOccupiedTurret, HasUDamage, HasWeapon, HealDamage, ImpactDamageModifier, IsDeployed, IsFiring, IsVehicleEmpty, KDriverEnter, KDriverLeave, KImpact, LimitPitch, MayUndeploy, ModifyThreat, NeedToTurn, NewReservationCostMultiplier, NotifyEnemyLockedOn, NotifyEnemyLostLock, NumPassengers, OpenPositionFor, PlayHit, PostNetBeginPlay, PrecacheAnnouncer, RefireRate, ReservationCostMultiplier, ServerChangeDriverPosition, ServerPlayHorn, ServerVerifyVehicleWeapon, SetActiveWeapon, SetReservation, SetTeamNum, SpokenFor, StaticPrecache, SVehicleUpdateParams, SwitchWeapon, TakeDamage, TakeImpactDamage, TeamChanged, TooCloseToAttack, TryToDrive, UpdatePrecacheMaterials, UpdatePrecacheStaticMeshes, VehicleCeaseFire, VehicleExplosion, VehicleLocked


Variables Detail

ArmExtendForce Source code

var string ArmExtendForce;

ArmRetractForce Source code

var string ArmRetractForce;

bClientLeftArmBroke Source code

var bool bClientLeftArmBroke;

bClientRightArmBroke Source code

var bool bClientRightArmBroke;

bLeftArmBroke Source code

var bool bLeftArmBroke;

bRightArmBroke Source code

var bool bRightArmBroke;

ONSRV

ArmExtendSound Source code

var(ONSRV) sound ArmExtendSound;

ArmRetractSound Source code

var(ONSRV) sound ArmRetractSound;

BladeBreakSound Source code

var(ONSRV) sound BladeBreakSound;


Functions Detail

AltFire Source code

function AltFire ( optional float F) )

BladeBreakOff Source code

simulated function BladeBreakOff ( int Slot, name BoneName, class<Emitter> BreakEffect) )

CheckForHeadShot Source code

function Pawn CheckForHeadShot ( Vector loc, Vector ray, float AdditionalScale) )

ChooseFireAt Source code

function ChooseFireAt ( Actor A) )

ClientVehicleCeaseFire Source code

function ClientVehicleCeaseFire ( bool bWasAltFire) )

ShouldTargetMissile Source code

function ShouldTargetMissile ( Projectile P) )

StaticPrecache Source code

static function StaticPrecache ( LevelInfo L) )

Tick Source code

simulated function Tick ( float DT) )

UpdatePrecacheMaterials Source code

simulated function UpdatePrecacheMaterials ( ) )

UpdatePrecacheStaticMeshes Source code

simulated function UpdatePrecacheStaticMeshes ( ) )

VehicleCeaseFire Source code

function VehicleCeaseFire ( bool bWasAltFire) )

VehicleFire Source code

function VehicleFire ( bool bWasAltFire) )


Defaultproperties

defaultproperties
{
	Mesh=Mesh'ONSVehicles-A.RV'
	VehiclePositionString="in a Scorpion"
	VehicleNameString="Scorpion"
	bReplicateAnimations=True


    RedSkin=Shader'VMVehicles-TX.RVGroup.RVChassisFinalRED'
    BlueSkin=Shader'VMVehicles-TX.RVGroup.RVChassisFinalBLUE'


	DriverWeapons(0)=(WeaponClass=class'Onslaught.ONSRVWebLauncher',WeaponBone=ChainGunAttachment);


    DestroyedVehicleMesh=StaticMesh'ONSDeadVehicles-SM.RVDead'
	DestructionEffectClass=class'Onslaught.ONSSmallVehicleExplosionEffect'
	DisintegrationEffectClass=class'Onslaught.ONSVehDeathRV'
    DestructionLinearMomentum=(Min=200000,Max=300000)
    DestructionAngularMomentum=(Min=100,Max=150)
    DisintegrationHealth=-25
	ImpactDamageMult=0.0010


    ArmExtendSound=sound'ONSVehicleSounds-S.RV.Shing1'
    ArmRetractSound=sound'ONSVehicleSounds-S.RV.Shing2'
    BladeBreakSound=sound'ONSVehicleSounds-S.RV.RVBladeBreakOff'


    ArmExtendForce="RVBladeOpen"
    ArmRetractForce="RVBladeClose"


	Health=300
	HealthMax=300
	CollisionHeight=+40.0
	CollisionRadius=+100.0
	DriverDamageMult=0.80
	bHasAltFire=false
	bSeparateTurretFocus=true
	RanOverDamageType=class'DamTypeRVRoadkill'
	CrushedDamageType=class'DamTypeRVPancake'


	DrawScale=1.0
	DrawScale3D=(X=1.0,Y=1.0,Z=1.0)


	FPCamPos=(X=15,Y=0,Z=25)
	TPCamLookat=(X=0,Y=0,Z=0)
	TPCamWorldOffset=(X=0,Y=0,Z=100)
	TPCamDistance=375


	bDoStuntInfo=true
	DaredevilThreshInAirSpin=180.0
	DaredevilThreshInAirPitch=300.0
	DaredevilThreshInAirRoll=300.0
	DaredevilThreshInAirTime=1.7
	DaredevilThreshInAirDistance=21.0


	AirTurnTorque=35.0
	AirPitchTorque=55.0
	AirPitchDamping=35.0
	AirRollTorque=35.0
	AirRollDamping=35.0


	bDrawDriverInTP=True
	bDrawMeshInFP=True
	bHasHandbrake=true
	bAllowBigWheels=true


	DrivePos=(X=2.0,Y=0.0,Z=38.0)


	MaxViewYaw=16000
	MaxViewPitch=16000


	IdleSound=sound'ONSVehicleSounds-S.RV.RVEng01'
	StartUpSound=sound'ONSVehicleSounds-S.RV.RVStart01'
	ShutDownSound=sound'ONSVehicleSounds-S.RV.RVStop01'
	EngineRPMSoundRange=9000
	SoundVolume=180
	IdleRPM=500
	RevMeterScale=4000


	StartUpForce="RVStartUp"


	SteerBoneName="SteeringWheel"
	SteerBoneAxis=AXIS_Z
	SteerBoneMaxAngle=90


	EntryPosition=(X=0,Y=0,Z=0)
	EntryRadius=160.0


	ExitPositions(0)=(X=0,Y=-165,Z=100)
	ExitPositions(1)=(X=0,Y=165,Z=100)
	ExitPositions(2)=(X=0,Y=-165,Z=-100)
	ExitPositions(3)=(X=0,Y=165,Z=-100)


	HeadlightCoronaOffset(0)=(X=86,Y=30,Z=7)
	HeadlightCoronaOffset(1)=(X=86,Y=-30,Z=7)
	HeadlightCoronaMaterial=Material'EpicParticles.flashflare1'
	HeadlightCoronaMaxSize=65


	bMakeBrakeLights=true
	BrakeLightOffset(0)=(X=-100,Y=23,Z=7)
	BrakeLightOffset(1)=(X=-100,Y=-23,Z=7)
	BrakeLightMaterial=Material'EpicParticles.flashflare1'


	HeadlightProjectorOffset=(X=90,Y=0,Z=7)
	HeadlightProjectorRotation=(Yaw=0,Pitch=-1000,Roll=0)
	HeadlightProjectorMaterial=Texture'VMVehicles-TX.RVGroup.RVProjector'
	HeadlightProjectorScale=0.3


	DamagedEffectOffset=(X=60,Y=10,Z=10)
	DamagedEffectScale=1.0


	WheelPenScale=1.2
	WheelPenOffset=0.01
	WheelSoftness=0.025
	WheelRestitution=0.1
	WheelAdhesion=0.0
	WheelLongFrictionFunc=(Points=((InVal=0,OutVal=0.0),(InVal=100.0,OutVal=1.0),(InVal=200.0,OutVal=0.9),(InVal=10000000000.0,OutVal=0.9)))
	WheelLongFrictionScale=1.1
	WheelLatFrictionScale=1.35
	WheelLongSlip=0.001
	WheelLatSlipFunc=(Points=((InVal=0.0,OutVal=0.0),(InVal=30.0,OutVal=0.009),(InVal=45.0,OutVal=0.00),(InVal=10000000000.0,OutVal=0.00)))
	WheelHandbrakeSlip=0.01
	WheelHandbrakeFriction=0.1
	WheelSuspensionTravel=15.0
	WheelSuspensionOffset=0.0
	WheelSuspensionMaxRenderTravel=15.0
	TurnDamping=35


	HandbrakeThresh=200
	FTScale=0.03
	ChassisTorqueScale=0.4


	MinBrakeFriction=4.0
	MaxBrakeTorque=20.0
	MaxSteerAngleCurve=(Points=((InVal=0,OutVal=25.0),(InVal=1500.0,OutVal=11.0),(InVal=1000000000.0,OutVal=11.0)))
	SteerSpeed=160
	StopThreshold=100
	TorqueCurve=(Points=((InVal=0,OutVal=9.0),(InVal=200,OutVal=10.0),(InVal=1500,OutVal=11.0),(InVal=2800,OutVal=0.0)))
	EngineBrakeFactor=0.0001
	EngineBrakeRPMScale=0.1
	EngineInertia=0.1
	WheelInertia=0.1


	TransRatio=0.15
	GearRatios[0]=-0.5
	GearRatios[1]=0.4
	GearRatios[2]=0.65
	GearRatios[3]=0.85
	GearRatios[4]=1.1
	ChangeUpPoint=2000
	ChangeDownPoint=1000
	LSDFactor=1.0


	VehicleMass=3.5


    Begin Object Class=KarmaParamsRBFull Name=KParams0
		KStartEnabled=True
		KFriction=0.5
		KLinearDamping=0.05
		KAngularDamping=0.05
		KImpactThreshold=700
		bKNonSphericalInertia=True
        bHighDetailOnly=False
        bClientOnly=False
		bKDoubleTickRate=True
		KInertiaTensor(0)=1.0
		KInertiaTensor(1)=0.0
		KInertiaTensor(2)=0.0
		KInertiaTensor(3)=3.0
		KInertiaTensor(4)=0.0
		KInertiaTensor(5)=3.0
		KCOMOffset=(X=-0.25,Y=0.0,Z=-0.4)
		bDestroyOnWorldPenetrate=True
		bDoSafetime=True
        Name="KParams0"
    End Object
    KParams=KarmaParams'KParams0'


	Begin Object Class=SVehicleWheel Name=RRWheel
		BoneName="tire02"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=0.0,Y=7.0,Z=0.0)
		WheelRadius=24
		bPoweredWheel=True
		bHandbrakeWheel=True
		SteerType=VST_Fixed
		SupportBoneAxis=AXIS_X
		SupportBoneName="RRearStrut"
	End Object
	Wheels(0)=SVehicleWheel'RRWheel'


	Begin Object Class=SVehicleWheel Name=LRWheel
		BoneName="tire04"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=0.0,Y=-7.0,Z=0.0)
		WheelRadius=24
		bPoweredWheel=True
		bHandbrakeWheel=True
		SteerType=VST_Fixed
		SupportBoneAxis=AXIS_X
		SupportBoneName="LRearStrut"
	End Object
	Wheels(1)=SVehicleWheel'LRWheel'


	Begin Object Class=SVehicleWheel Name=RFWheel
		BoneName="tire"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=0.0,Y=7.0,Z=0.0)
		WheelRadius=24
		bPoweredWheel=True
		SteerType=VST_Steered
		SupportBoneAxis=AXIS_X
		SupportBoneName="RFrontStrut"
	End Object
	Wheels(2)=SVehicleWheel'RFWheel'


	Begin Object Class=SVehicleWheel Name=LFWheel
		BoneName="tire03"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=0.0,Y=-7.0,Z=0.0)
		WheelRadius=24
		bPoweredWheel=True
		SteerType=VST_Steered
		SupportBoneAxis=AXIS_X
		SupportBoneName="LFrontStrut"
	End Object
	Wheels(3)=SVehicleWheel'LFWheel'


	GroundSpeed=940
	CenterSpringForce="SpringONSSRV"


	HornSounds(0)=sound'ONSVehicleSounds-S.Horn06'
	HornSounds(1)=sound'ONSVehicleSounds-S.Dixie_Horn'


	MaxDesireability=0.4
	ObjectiveGetOutDist=1500.0
	bCanDoTrickJumps=true
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:18.192 - Created with UnCodeX