Cogito, ergo sum
UE2:ONSAttackCraft (UT2004)
Object >> Actor >> Pawn >> Vehicle >> SVehicle >> ONSVehicle >> ONSChopperCraft >> ONSAttackCraft |
- Package:
- Onslaught
- Direct subclass:
- ONSDualAttackCraft
- Known custom subclasses:
- Crusha/DynamicWeather, Crusha/DynamicWeather/DWMeteor
The Raptor aircraft.
Properties[edit]
Property group 'ONSAttackCraft'[edit]
MaxPitchSpeed[edit]
Type: float
Velocity at which the maximum engine pitch is reached.
Default value: 2000.0
StreamerEffectOffset[edit]
Type: array<Object.Vector>
Offsets for the streamer effects displayed when flying faster.
Default value, index 0:
Member | Value |
---|---|
X | -219.0 |
Y | -35.0 |
Z | 57.0 |
Default value, index 1:
Member | Value |
---|---|
X | -219.0 |
Y | 35.0 |
Z | 57.0 |
Default value, index 2:
Member | Value |
---|---|
X | -52.0 |
Y | -24.0 |
Z | 142.0 |
Default value, index 3:
Member | Value |
---|---|
X | -52.0 |
Y | 24.0 |
Z | 142.0 |
StreamerOpacityChangeRate[edit]
Type: float
How quickly to change the streamer effects opacity.
Default value: 1.0
StreamerOpacityMax[edit]
Type: float
The maximum opacity to apply to the streamer effects.
Default value: 0.7
StreamerOpacityRamp[edit]
Type: Object.Range
The forward velocity range from zero to maximum streamer effect opacity.
Default value:
Member | Value |
---|---|
Max | 1600.0 |
Min | 1200.0 |
TrailEffectPositions[edit]
Type: array<Object.Vector>
Offsets for the thruster trail effect emitters.
Default value, index 0:
Member | Value |
---|---|
X | -148.0 |
Y | -26.0 |
Z | 51.0 |
Default value, index 1:
Member | Value |
---|---|
X | -148.0 |
Y | 26.0 |
Z | 51.0 |
Internal variables[edit]
StreamerActive[edit]
Type: bool
Whether the streamer effects are currently being drawn.
StreamerCurrentOpacity[edit]
Type: float
The current streamer effects opacity.
StreamerEffect[edit]
Type: array<ONSAttackCraftStreamer>
The streamer effects emitters.
StreamerEffectClass[edit]
Type: class<ONSAttackCraftStreamer>
The streamer effects emitter class.
Default value: Class'Onslaught.ONSAttackCraftStreamer'
TrailEffectClass[edit]
Type: class<ONSAttackCraftExhaust>
The thruster trail emitter class
Default value: Class'Onslaught.ONSAttackCraftExhaust'
TrailEffects[edit]
Type: array<ONSAttackCraftExhaust>
The thruster trail emitters.
Default values[edit]
Subobjects[edit]
KParams0[edit]
Class: Engine.KarmaParamsRBFull
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
bClientOnly | False | ||||||||
bDestroyOnWorldPenetrate | True | ||||||||
bDoSafetime | True | ||||||||
bHighDetailOnly | False | ||||||||
bKAllowRotate | True | ||||||||
bKDoubleTickRate | True | ||||||||
bKNonSphericalInertia | True | ||||||||
bKStayUpright | True | ||||||||
KActorGravScale | 0.0 | ||||||||
KAngularDamping | 0.0 | ||||||||
KCOMOffset |
|
||||||||
KFriction | 0.5 | ||||||||
KImpactThreshold | 300.0 | ||||||||
KInertiaTensor[0] | 1.0 | ||||||||
KInertiaTensor[1] | 0.0 | ||||||||
KInertiaTensor[2] | 0.0 | ||||||||
KInertiaTensor[3] | 3.0 | ||||||||
KInertiaTensor[4] | 0.0 | ||||||||
KInertiaTensor[5] | 3.5 | ||||||||
KLinearDamping | 0.0 | ||||||||
KStartEnabled | True |
Functions[edit]
Static functions[edit]
StaticPrecache[edit]
Overrides: ONSVehicle.StaticPrecache
Precaches the Raptor debris and projectile meshed as well as the Raptor mesh, debris, particle and projectile textures.
Events[edit]
Destroyed[edit]
Overrides: ONSVehicle.Destroyed
Cleans up thruster and streamer effects.
DrivingStatusChanged[edit]
Overrides: Vehicle.DrivingStatusChanged
Spawns or cleans up the thruster and streamer effects.
Tick[edit]
Overrides: SVehicle.Tick
Updates the engine pitch and thruster/streamer effects.
Other instance functions[edit]
ClientKDriverEnter[edit]
Overrides: ONSVehicle.ClientKDriverEnter
Sets bHeadingInitialized to False, which tells the native AONSChopperCraft::UpdateVehicle() function to (re-)initialize the heading. This prevents the Raptor from spinning around wildly when a new player enters due to the last heading used before the previous pilot left.
Died[edit]
Overrides: ONSVehicle.Died
Cleans up thruster and streamer effects.
Dodge[edit]
Overrides: Pawn.Dodge
FastVehicle[edit]
Overrides: ONSVehicle.FastVehicle
Returns True for bot AI. (Used by ONSSquadAI to ensure the freelance squad has a fast vehicle.)
ImpactDamageModifier[edit]
Overrides: ONSVehicle.ImpactDamageModifier
Returns a smaller multiplier for hitting an object from below.
KDriverEnter[edit]
Overrides: ONSVehicle.KDriverEnter
Sets bHeadingInitialized to False, like in ClientKDriverEnter().
PlaceExitingDriver[edit]
Overrides: Vehicle.PlaceExitingDriver
Attempts to find an exit where the leaving driver won't be run over by the Raptor if it's still moving.
RecommendLongRangedAttack[edit]
Overrides: Pawn.RecommendLongRangedAttack
Returns True for bot AI.
SpecialCalcBehindView[edit]
Overrides: Vehicle.SpecialCalcBehindView
Same as Vehicle.SpecialCalcBehindView(), except that this implementation uses Location instead of an offset based on Vehicle.TPCamLookat.
UpdatePrecacheMaterials[edit]
Overrides: ONSVehicle.UpdatePrecacheMaterials
Precaches textures for the Raptor mesh, debris, particle and projectiles.
UpdatePrecacheStaticMeshes[edit]
Overrides: ONSVehicle.UpdatePrecacheStaticMeshes
Precaches the StaticMeshes for Raptor debris and projectiles.