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

OnslaughtBP.ONSArtillery

Extends
ONSWheeledCraft

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

Variables Summary
stringArtiLockOnClassString
boolbJustDeployed
floatClientUpdateTime
RotatorLastAim
floatLastLocalMsgTime
ONSMortarCameraMortarCamera
floatPitchAccel
floatStartDrivingTime
floatYawAccel
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
functionactor AlternateTarget ()))
function AltFire (optional float F ))
event ApplyFireImpulse (bool bAlt))
functionfloat BotDesireability (Actor S, int TeamIndex, Actor Objective))
event Destroyed ()))
function DriverLeft ()))
functionbool IsArtillery ()))
functionbool IsDeployed ()))
function KDriverEnter (Pawn P))
functionint LimitPitch (int pitch))
function NextWeapon ()))
function PrevWeapon ()))
function RawInput (float DeltaTime, float aBaseX, float aBaseY, float aBaseZ, float aMouseX, float aMouseY, float aForward, float aTurn, float aStrafe, float aUp, float aLookUp))
functionbool RecommendLongRangedAttack ()))
function ServerAim (int NewYaw))
function ShouldTargetMissile (Projectile P))
function StaticPrecache (LevelInfo L))
function Tick (float DT))
function UpdatePrecacheMaterials ()))
function UpdatePrecacheStaticMeshes ()))
function VehicleFire (bool bWasAltFire))
eventbool VerifyLock (actor Aggressor, out actor NewTarget))
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

ArtiLockOnClassString Source code

var string ArtiLockOnClassString;

bJustDeployed Source code

var bool bJustDeployed;

ClientUpdateTime Source code

var float ClientUpdateTime;

LastAim Source code

var Rotator LastAim;

LastLocalMsgTime Source code

var float LastLocalMsgTime;

MortarCamera Source code

var ONSMortarCamera MortarCamera;

PitchAccel Source code

var float PitchAccel;

StartDrivingTime Source code

var float StartDrivingTime;

YawAccel Source code

var float YawAccel;


Functions Detail

AlternateTarget Source code

simulated function actor AlternateTarget ( ) )

AltFire Source code

function AltFire ( optional float F ) )

ApplyFireImpulse Source code

event ApplyFireImpulse ( bool bAlt) )

BotDesireability Source code

function float BotDesireability ( Actor S, int TeamIndex, Actor Objective) )

Destroyed Source code

simulated event Destroyed ( ) )

DriverLeft Source code

function DriverLeft ( ) )

IsArtillery Source code

function bool IsArtillery ( ) )

IsDeployed Source code

function bool IsDeployed ( ) )

KDriverEnter Source code

function KDriverEnter ( Pawn P) )

LimitPitch Source code

function int LimitPitch ( int pitch) )

NextWeapon Source code

simulated function NextWeapon ( ) )

PrevWeapon Source code

simulated function PrevWeapon ( ) )

RawInput Source code

simulated function RawInput ( float DeltaTime, float aBaseX, float aBaseY, float aBaseZ, float aMouseX, float aMouseY, float aForward, float aTurn, float aStrafe, float aUp, float aLookUp) )

RecommendLongRangedAttack Source code

function bool RecommendLongRangedAttack ( ) )

ServerAim Source code

function ServerAim ( int NewYaw) )

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 ( ) )

VehicleFire Source code

function VehicleFire ( bool bWasAltFire) )

VerifyLock Source code

event bool VerifyLock ( actor Aggressor, out actor NewTarget) )


Defaultproperties

defaultproperties
{
	Mesh=Mesh'ONSBPAnimations.ArtilleryMesh'
	VehiclePositionString="in a SPMA"
	VehicleNameString="SPMA"


	DriverWeapons(0)=(WeaponClass=class'OnslaughtBP.ONSArtilleryCannon',WeaponBone=CannonAttach);
	PassengerWeapons(0)=(WeaponPawnClass=class'OnslaughtBP.ONSArtillerySideGunPawn',WeaponBone=SideGunAttach);


	RedSkin=Texture'ONSBPTextures.Skins.SPMATan'
    BlueSkin=Texture'ONSBPTextures.Skins.SPMAGreen'


	DestroyedVehicleMesh=StaticMesh'ONSBP_DestroyedVehicles.SPMA.DestroyedSPMA'
    DestructionEffectClass=class'Onslaught.ONSVehicleExplosionEffect'
	DisintegrationEffectClass=class'OnslaughtBP.ONSArtilleryDeathExp'
    DestructionLinearMomentum=(Min=250000,Max=400000)
    DestructionAngularMomentum=(Min=100,Max=150)
    DisintegrationHealth=-100
	ImpactDamageMult=0.0010


	Health=600
	HealthMax=600
	DriverDamageMult=0.1
	MomentumMult=2.0
	RanOverDamageType=class'DamTypePRVRoadkill'
	CrushedDamageType=class'DamTypePRVPancake'


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


	FPCamPos=(X=160,Y=-30,Z=75)
	TPCamLookat=(X=100,Y=-30,Z=-100)
	TPCamWorldOffset=(X=0,Y=0,Z=350)
	TPCamDistance=375
	TPCamDistRange=(Min=200,Max=1500)


	bDoStuntInfo=true
	DaredevilThreshInAirSpin=90.0
	DaredevilThreshInAirPitch=300.0
	DaredevilThreshInAirRoll=300.0
	DaredevilThreshInAirTime=1.2
	DaredevilThreshInAirDistance=17.0


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


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


	MaxViewYaw=16000
	MaxViewPitch=16000


	DrivePos=(X=145,Y=-30.0,Z=75.0)
	DriveRot=(Pitch=0)


	IdleSound=sound'ONSVehicleSounds-S.PRV.PRVEng01'
	StartUpSound=sound'ONSBPSounds.Artillery.EngineRampUp'
	ShutDownSound=sound'ONSBPSounds.Artillery.EngineRampDown'
	EngineRPMSoundRange=10000
	IdleRPM=500
	RevMeterScale=4000
	SoundVolume=200
	SoundRadius=220


	StartUpForce="PRVStartUp"
	ShutDownForce="PRVShutDown"


	SteerBoneName=""
	SteerBoneAxis=AXIS_Z
	SteerBoneMaxAngle=90


	EntryPosition=(X=40,Y=-60,Z=10)
	EntryRadius=320.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=290,Y=50,Z=40)
	HeadlightCoronaOffset(1)=(X=290,Y=-50,Z=40)
	HeadlightCoronaMaterial=Material'EpicParticles.flashflare1'
	HeadlightCoronaMaxSize=70


	bMakeBrakeLights=true
	BrakeLightOffset(0)=(X=46,Y=47,Z=45)
	BrakeLightOffset(1)=(X=46,Y=-47,Z=45)
	BrakeLightMaterial=Material'EpicParticles.flashflare1'


	HeadlightProjectorOffset=(X=290,Y=0,Z=40)
	HeadlightProjectorRotation=(Yaw=0,Pitch=-1500,Roll=0)
	HeadlightProjectorMaterial=Texture'VMVehicles-TX.NewPRVGroup.PRVProjector'
	HeadlightProjectorScale=0.65


	DamagedEffectOffset=(X=250,Y=20,Z=50)
	DamagedEffectScale=1.2


	bHasFireImpulse=True
	FireImpulse=(X=-110000,Y=0.0,Z=0.0)


	WheelPenScale=1.5
	WheelPenOffset=0.01
	WheelSoftness=0.06
	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.5
	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.15
	WheelSuspensionTravel=25.0
	WheelSuspensionOffset=-10.0
	WheelSuspensionMaxRenderTravel=25.0


	TurnDamping=35


	HandbrakeThresh=200
	FTScale=0.03
	ChassisTorqueScale=1.25


	MinBrakeFriction=4.0
	MaxBrakeTorque=20.0
	MaxSteerAngleCurve=(Points=((InVal=0,OutVal=35.0),(InVal=700.0,OutVal=35.0),(InVal=800.0,OutVal=10.0),(InVal=1000000000.0,OutVal=10.0)))
	SteerSpeed=110
	StopThreshold=100
	TorqueCurve=(Points=((InVal=0,OutVal=9.0),(InVal=200,OutVal=10.0),(InVal=1500,OutVal=11.0),(InVal=2500,OutVal=0.0)))
	EngineBrakeFactor=0.0001
	EngineBrakeRPMScale=0.1
	EngineInertia=0.2
	WheelInertia=0.1


	TransRatio=0.11
	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=4.0


    Begin Object Class=KarmaParamsRBFull Name=KParams0
		KStartEnabled=True
		KFriction=0.5
		KLinearDamping=0.05
		KAngularDamping=0.05
		KImpactThreshold=500
		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.5
		KCOMOffset=(X=1.5,Y=0.0,Z=-0.5)
		bDestroyOnWorldPenetrate=True
		bDoSafetime=True
        Name="KParams0"
    End Object
    KParams=KarmaParams'KParams0'


	Begin Object Class=SVehicleWheel Name=RWheel1
		BoneName="Wheel_Right01"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=-15.0,Y=0.0,Z=0.0)
		WheelRadius=43
		bPoweredWheel=True
		bHandbrakeWheel=True
		SteerType=VST_Steered
		SupportBoneName="SuspensionRight01"
		SupportBoneAxis=AXIS_X
	End Object
	Wheels(0)=SVehicleWheel'RWheel1'


	Begin Object Class=SVehicleWheel Name=LWheel1
		BoneName="Wheel_Left01"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=15.0,Y=0.0,Z=0.0)
		WheelRadius=43
		bPoweredWheel=True
		bHandbrakeWheel=True
		SteerType=VST_Steered
		SupportBoneName="SuspensionLeft01"
		SupportBoneAxis=AXIS_X
	End Object
	Wheels(1)=SVehicleWheel'LWheel1'


	Begin Object Class=SVehicleWheel Name=RWheel2
		BoneName="Wheel_Right02"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=-15.0,Y=0.0,Z=0.0)
		WheelRadius=43
		bPoweredWheel=True
		bHandbrakeWheel=True
		SteerType=VST_Fixed
		SupportBoneName="SuspensionRight02"
		SupportBoneAxis=AXIS_X
	End Object
	Wheels(2)=SVehicleWheel'RWheel2'


	Begin Object Class=SVehicleWheel Name=LWheel2
		BoneName="Wheel_Left02"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=15.0,Y=0.0,Z=0.0)
		WheelRadius=43
		bPoweredWheel=True
		bHandbrakeWheel=True
		SteerType=VST_Fixed
		SupportBoneName="SuspensionLeft02"
		SupportBoneAxis=AXIS_X
	End Object
	Wheels(3)=SVehicleWheel'LWheel2'


	Begin Object Class=SVehicleWheel Name=RWheel3
		BoneName="Wheel_Right03"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=-15.0,Y=0.0,Z=0.0)
		WheelRadius=43
		bPoweredWheel=True
		bHandbrakeWheel=True
		SteerType=VST_Inverted
		SupportBoneName="SuspensionRight03"
		SupportBoneAxis=AXIS_X
	End Object
	Wheels(4)=SVehicleWheel'RWheel3'


	Begin Object Class=SVehicleWheel Name=LWheel3
		BoneName="Wheel_Left03"
		BoneRollAxis=AXIS_Y
		BoneSteerAxis=AXIS_Z
		BoneOffset=(X=15.0,Y=0.0,Z=0.0)
		WheelRadius=43
		bPoweredWheel=True
		bHandbrakeWheel=True
		SteerType=VST_Inverted
		SupportBoneName="SuspensionLeft03"
		SupportBoneAxis=AXIS_X
	End Object
	Wheels(5)=SVehicleWheel'LWheel3'


	GroundSpeed=840
	bDriverHoldsFlag=false
	FlagOffset=(X=200.0,Z=150.0)
	FlagBone=Body
	FlagRotation=(Yaw=32768)


	HornSounds(0)=sound'ONSBPSounds.Artillery.SPMAHorn'
	HornSounds(1)=sound'ONSVehicleSounds-S.Horn04'
	
	VehicleIcon=(Material=Texture'AS_FX_TX.Icons.OBJ_HellBender',X=0,Y=0,SizeX=64,SizeY=64,bIsGreyScale=true)


	ObjectiveGetOutDist=1500.0
	CustomAim=(Pitch=12000,Roll=0)
	MaxDesireability=0.6
	ArtiLockOnClassString="Onslaught.ONSOnslaughtMessage"
}

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