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

WVHoverTankV3.HoverTank

Extends
ONSHoverCraft
Modifiers
abstract

HoverTank Creation date: 2011-08-03 18:12 Last change: $Id$ Copyright © 2011, Wormbo Website: http://www.koehler-homepage.de/Wormbo/ Feel free to reuse this code. Send me a note if you found it helpful or want to report bugs/provide improvements.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Pawn
      |   
      +-- Engine.Vehicle
         |   
         +-- Engine.SVehicle
            |   
            +-- Onslaught.ONSVehicle
               |   
               +-- Onslaught.ONSHoverCraft
                  |   
                  +-- WVHoverTankV3.HoverTank

Direct Known Subclasses:

FirebugTank, GoblinTank, HoverGoliath, NekomataTank, NephthysTank, OdinHoverTank, PoltergeistTank

Variables Summary
floatAccumulatedWaterDamage
boolbOnGround
boolbTurnedOff
boolbWasInWater
floatDrivenBuoyancy
array<name>HiddenBones
array<HoverTankDustEmitter>HoverDust
array<vector>HoverDustLastNormal
floatMaxAirSpeed
floatMaxGroundSpeed
floatSmoothSoundPitch
TurretSocketSocket
floatStartupSoundAlpha
array<name>ThrusterBones
class<TurretSocket>TurretSocketClass
floatUndrivenBuoyancy
HoverTank
stringBuild
floatCrouchedHoverPenScale
class<HoverTankDustEmitter>DustEmitterClass
byteEnginePitchRange
array<vector>HoverDustOffset
floatHoverDustTraceDistance
floatMinVehicleDistance
floatRaisedHoverCheckDist
floatResetDelay
Inherited Variables from Onslaught.ONSHoverCraft
bHeadingInitialized, bNewHoverState, ChassisState, HoverCheckDist, HoverMPH, HoverPenScale, HoverSoftness, HoverState, LatDamping, LongDamping, MaxRandForce, MaxRiseForce, MaxStrafeForce, MaxThrustForce, MaxYawRate, OldDriver, OldHoverState, OutputStrafe, OutputThrust, PitchDamping, PitchTorqueFactor, PitchTorqueMax, RandForceInterval, RollDamping, RollTorqueMax, RollTorqueStrafeFactor, RollTorqueTurnFactor, StopThreshold, TargetHeading, TargetPitch, ThrusterOffsets, TurnDamping, TurnTorqueFactor, TurnTorqueMax, UpDamping, UprightDamping, UprightStiffness
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.ONSHoverCraft
HoverCraftState
Inherited Structures from Onslaught.ONSVehicle
DriverWeaponStruct, ImpactInfoStruct, PassengerWeaponStruct

Functions Summary
function ChooseFireAt (Actor A))
function ClientKDriverEnter (PlayerController PC))
function DestroyAppearance ()))
function Destroyed ()))
functionbool Dodge (eDoubleClickDir DoubleClickMove))
function DriverLeft ()))
event DrivingStatusChanged ()))
functionVehicle FindEntryVehicle (Pawn P))
functionString GetDebugName ()))
functionbool ImportantVehicle ()))
function KDriverEnter (Pawn P))
function PostBeginPlay ()))
function PostNetBeginPlay ()))
function StaticPrecache (LevelInfo L))
function TakeDamage (int Damage, Pawn instigatedBy, Vector Hitlocation, Vector Momentum, class<DamageType> DamageType))
event TakeWaterDamage (float DeltaTime))
event TeamChanged ()))
function Tick (float DeltaTime))
function Timer ()))
functionbool TooCloseToAttack (Actor Other))
function TurnOff ()))
function UpdatePrecacheMaterials ()))
function UpdateVehicle (float DeltaTime))
Inherited Functions from Onslaught.ONSHoverCraft
Died, KUpdateState, PostNetBeginPlay, SpecialCalcFirstPersonView, SVehicleUpdateParams
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

AccumulatedWaterDamage Source code

var float AccumulatedWaterDamage;

bOnGround Source code

var bool bOnGround;

bTurnedOff Source code

var bool bTurnedOff;

bWasInWater Source code

var bool bWasInWater;

DrivenBuoyancy Source code

var float DrivenBuoyancy;

HiddenBones Source code

var array<name> HiddenBones;

HoverDust Source code

var array<HoverTankDustEmitter> HoverDust;

HoverDustLastNormal Source code

var array<vector> HoverDustLastNormal;

MaxAirSpeed Source code

var float MaxAirSpeed;

MaxGroundSpeed Source code

var float MaxGroundSpeed;

SmoothSoundPitch Source code

var float SmoothSoundPitch;

Socket Source code

var TurretSocket Socket;

StartupSoundAlpha Source code

var float StartupSoundAlpha;

ThrusterBones Source code

var array<name> ThrusterBones;

TurretSocketClass Source code

var class<TurretSocket> TurretSocketClass;

UndrivenBuoyancy Source code

var float UndrivenBuoyancy;

HoverTank

Build Source code

var(HoverTank) const editconst string Build;

CrouchedHoverPenScale Source code

var(HoverTank) float CrouchedHoverPenScale;

DustEmitterClass Source code

var(HoverTank) class<HoverTankDustEmitter> DustEmitterClass;

EnginePitchRange Source code

var(HoverTank) byte EnginePitchRange;

HoverDustOffset Source code

var(HoverTank) array<vector> HoverDustOffset;

HoverDustTraceDistance Source code

var(HoverTank) float HoverDustTraceDistance;

MinVehicleDistance Source code

var(HoverTank) float MinVehicleDistance;

RaisedHoverCheckDist Source code

var(HoverTank) float RaisedHoverCheckDist;

ResetDelay Source code

var(HoverTank) float ResetDelay;


Functions Detail

ChooseFireAt Source code

function ChooseFireAt ( Actor A) )

ClientKDriverEnter Source code

simulated function ClientKDriverEnter ( PlayerController PC) )

DestroyAppearance Source code

simulated function DestroyAppearance ( ) )

Destroyed Source code

simulated function Destroyed ( ) )

Dodge Source code

function bool Dodge ( eDoubleClickDir DoubleClickMove) )

DriverLeft Source code

function DriverLeft ( ) )

DrivingStatusChanged Source code

simulated event DrivingStatusChanged ( ) )

FindEntryVehicle Source code

function Vehicle FindEntryVehicle ( Pawn P) )

GetDebugName Source code

function String GetDebugName ( ) )

ImportantVehicle Source code

function bool ImportantVehicle ( ) )

KDriverEnter Source code

function KDriverEnter ( Pawn P) )

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )

PostNetBeginPlay Source code

simulated function PostNetBeginPlay ( ) )

StaticPrecache Source code

static function StaticPrecache ( LevelInfo L) )

TakeDamage Source code

function TakeDamage ( int Damage, Pawn instigatedBy, Vector Hitlocation, Vector Momentum, class<DamageType> DamageType) )

TakeWaterDamage Source code

event TakeWaterDamage ( float DeltaTime) )

TeamChanged Source code

simulated event TeamChanged ( ) )

Tick Source code

simulated function Tick ( float DeltaTime) )

Timer Source code

function Timer ( ) )

TooCloseToAttack Source code

function bool TooCloseToAttack ( Actor Other) )

TurnOff Source code

simulated function TurnOff ( ) )

UpdatePrecacheMaterials Source code

simulated function UpdatePrecacheMaterials ( ) )

UpdateVehicle Source code

function UpdateVehicle ( float DeltaTime) )


Defaultproperties

defaultproperties
{
	Build = "%%%%-%%-%% %%:%%"
	VehiclePositionString = "in a Hovertank"
	VehicleNameString     = "Hovertank"


	bTurnInPlace     = True
	bTraceWater      = True
	bCanStrafe       = True
	bJumpCapable     = False
	bCanJump         = False
	MaxDesireability = 0.7
	WaterDamage      = 5.0


	MinVehicleDistance = 100.0


	RedSkin=Shader'VMVehicles-TX.HoverTankGroup.HoverTankChassisFinalRED'
	BlueSkin=Shader'VMVehicles-TX.HoverTankGroup.HoverTankChassisFinalBLUE'


	Mesh = Mesh'ONSNewTank-A.HoverTank'
	DestroyedVehicleMesh=StaticMesh'ONSDeadVehicles-SM.TankDead'
	DestructionEffectClass=class'Onslaught.ONSVehicleExplosionEffect'
	DisintegrationEffectClass=class'ONSVehDeathHoverTank'
	DestructionLinearMomentum=(Min=250000,Max=400000)
	DestructionAngularMomentum=(Min=100,Max=300)


	StartUpForce="TankStartUp"
	ShutDownForce="TankShutDown"


	IdleSound=sound'HoverEngine'
	StartUpSound=sound'HoverStart'
	ShutDownSound=sound'HoverStop'
	SoundVolume=255
	SoundRadius=500
	SoundPitch=64
	EnginePitchRange=28


	Health=800
	HealthMax=800
	DisintegrationHealth=0 
	CollisionHeight=+60.0
	CollisionRadius=+260.0


	HiddenBones = ("TreadR","TreadR01")
	ThrusterBones = ("RollerR1","RollerR2","RollerR3","RollerR4","RollerR5","RollerL1","RollerL2","RollerL3","RollerL4","RolleL5")


	HornSounds = (Sound'ONSVehicleSounds-S.Horn.Horn09',Sound'ONSBPSounds.ShockTank.PaladinHorn')


	HoverSoftness         = 0.5 
	HoverPenScale         = 2.5
	CrouchedHoverPenScale = 1.0
	HoverCheckDist        = 150
	RaisedHoverCheckDist  = 200


	UprightStiffness=500
	UprightDamping=300


	MaxThrustForce=200
	LongDamping=0.3


	MaxStrafeForce=150
	LatDamping=0.5


	TurnTorqueFactor=2200.0
	TurnTorqueMax=600.0
	TurnDamping=280.0
	MaxYawRate=2.0


	PitchTorqueFactor=200.0
	PitchTorqueMax=9.0
	PitchDamping=20.0


	RollTorqueTurnFactor=450.0
	RollTorqueStrafeFactor=50.0
	RollTorqueMax=12.5
	RollDamping=30.0


	ImpactDamageMult = 0.0001
	VehicleMass      =   12.0
	MomentumMult     =    0.3
	DriverDamageMult =    0.0
	MeleeRange       = -200.0  

	FPCamPos=(X=10,Y=-32,Z=160)
	FPCamViewOffset=(X=90,Y=0,Z=0)
	
	TPCamLookat=(X=-50,Y=0,Z=0)
	TPCamWorldOffset=(X=0,Y=0,Z=300)
	TPCamDistance=375


	bDrawDriverInTP=False
	bDrawMeshInFP=True
	bPCRelativeFPRotation=false


	MaxViewYaw=16000
	MaxViewPitch=16000


	DrivePos=(X=0.0,Y=0.0,Z=130.0)


	ExitPositions(0)=(X=0,Y=-200,Z=100)
	ExitPositions(1)=(X=0,Y=200,Z=100)


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


	DrivenBuoyancy   = 2.5
	UndrivenBuoyancy = 1.1


	Begin Object Class=KarmaParamsRBFull Name=HovertankKParams
		KStartEnabled=True
		KFriction=0.5
		KLinearDamping=0.15
		KAngularDamping=0.0
		KImpactThreshold=700
		KBuoyancy=1.2
		bKNonSphericalInertia=False
		bHighDetailOnly=False
		bClientOnly=False
		bKDoubleTickRate=True
		bKStayUpright=True
		bKAllowRotate=True
		kMaxSpeed=1000.0
		KInertiaTensor(0)=1.3
		KInertiaTensor(1)=0.0
		KInertiaTensor(2)=0.0
		KInertiaTensor(3)=4.0
		KInertiaTensor(4)=0.0
		KInertiaTensor(5)=4.5
		KCOMOffset=(X=0.0,Y=0.0,Z=0.0)
		bDestroyOnWorldPenetrate=True
		bDoSafetime=True
	End Object
	KParams=HovertankKParams


	MaxGroundSpeed =  800.0
	MaxAirSpeed    = 3000.0
	AirControl     =    0.3


	bDriverHoldsFlag=false
	FlagBone=MachineGunTurret
	FlagRotation=(Yaw=32768)


	DamagedEffectOffset=(X=100,Y=20,Z=26)
	DamagedEffectScale=1.5


	
	ThrusterOffsets(0)  = (X=192,Y=128,Z=30)
	ThrusterOffsets(1)  = (X=192,Y=0,Z=30)
	ThrusterOffsets(2)  = (X=192,Y=-128,Z=30)
	ThrusterOffsets(3)  = (X=64,Y=128,Z=30)
	ThrusterOffsets(4)  = (X=64,Y=0,Z=30)
	ThrusterOffsets(5)  = (X=64,Y=-128,Z=30)
	ThrusterOffsets(6)  = (X=-64,Y=128,Z=30)
	ThrusterOffsets(7)  = (X=-64,Y=0,Z=30)
	ThrusterOffsets(8)  = (X=-64,Y=-128,Z=30)
	ThrusterOffsets(9)  = (X=-192,Y=128,Z=30)
	ThrusterOffsets(10) = (X=-192,Y=0,Z=30)
	ThrusterOffsets(11) = (X=-192,Y=-128,Z=30)


	
	HoverDustOffset(0) = (X=160,Y=-112,Z=10)
	HoverDustOffset(1) = (X=80,Y=-112,Z=10)
	HoverDustOffset(2) = (X=-5,Y=-112,Z=10)
	HoverDustOffset(3) = (X=-80,Y=-112,Z=10)
	HoverDustOffset(4) = (X=-150,Y=-112,Z=10)
	HoverDustOffset(5) = (X=160,Y=112,Z=10)
	HoverDustOffset(6) = (X=80,Y=112,Z=10)
	HoverDustOffset(7) = (X=-5,Y=112,Z=10)
	HoverDustOffset(8) = (X=-80,Y=112,Z=10)
	HoverDustOffset(9) = (X=-150,Y=112,Z=10)
	HoverDustTraceDistance = 200.0
	DustEmitterClass = class'HoverTankDustEmitter'
}



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