Skip to content

EntityAppearance

huggins edited this page Apr 10, 2025 · 2 revisions

Entity Appearance

Container for Entity Appearance information. This record is related to Platforms of the Air Domain.

struct FEntityAppearance

Back to Top


Members

Type Name Description
EEntityDamage Damage Describes the damaged appearance of an entity
bool FirePowerKilled Describes the visual effects characteristic of Fire-power kills
int HatchState Describes the state of the hatch
bool IsDeactivated Describes the state if a platform
bool IsEngineSmoking Describes whether or not the engine is emitting smoke
bool IsFlaming Describes whether flames are rising from an entity
bool IsFrozen Describes the Frozen status of a platform
bool IsLandingGearExtended Describes whether the landing gear is wholly retracted or extended
bool IsSmoking Describes status or location of smoke emanating from an entity
bool LightCollision Describes whether anti-collision lights are on or off
bool LightPrimary Describes whether landing lights are on or off
bool LightSecondary Describes whether navigation lights are on or off
bool MobilityKilled Describes visual effects characteristic of Mobility Kills
[EPaintScheme] PaintScheme Describes the paint scheme of the entity
int32 RawVal The raw value describing the Entity's Appearance
int Trailing Describes the size of trailing effects from an entity. Trailing effects include dust clouds for land platforms, wakes for surface platforms, rocket flames for guided munitions, contrails and ionization trails for air platforms, etc.

Back to Top


Constructors

Name Description
FEntityAppearance() Default constructor
FEntityAppearance(uint32 val) Constructor that takes in the entity appearance as an unsigned integer.

Functions

Return Name Description
int getField(uint32 val, int mask, int pos) Gets the bit at the given position of the given value using the given mask.
bool getField(uint32 val, int pos) Gets the bit at the given position of the given value.
int32 UpdateValue() Updates RawVal based on the current variable conditions.

Back to Top


Details

Damage

EEntityDamage Damage = EEntityDamage::NoDamage

Describes the damaged appearance of an entity

Category: GRILL DIS|Structs

Back to Top


Fire Power Killed

bool FirePowerKilled = false

Describes the visual effects characteristic of Fire-power kills

Category: GRILL DIS|Structs

Back to Top


Hatch State

int HatchState = 0

Describes the state of the hatch

Category: GRILL DIS|Structs

Back to Top


Is Deactivated

bool IsDeactivated = false

Describes the state if a platform

Category: GRILL DIS|Structs

Back to Top


Is Engine Smoking

bool IsEngineSmoking = false

Describes whether or not the engine is emitting smoke

Category: GRILL DIS|Structs

Back to Top


Is Flaming

bool IsFlaming = false

Describes whether flames are rising from an entity

Category: GRILL DIS|Structs

Back to Top


Is Frozen

bool IsFrozen = false

Describes the Frozen status of a platform

Category: GRILL DIS|Structs

Back to Top


Is Landing Gear Extended

bool IsLandingGearExtended = false

Describes whether the landing gear is wholly retracted or extended

Category: GRILL DIS|Structs

Back to Top


Is Smoking

bool IsSmoking = false

Describes status or location of smoke emanating from an entity

Category: GRILL DIS|Structs

Back to Top


Light Collision

bool LightCollision = false

Describes whether anti-collision lights are on or off

Category: GRILL DIS|Structs

Back to Top


Light Primary

bool LightPrimary = false

Describes whether landing lights are on or off

Category: GRILL DIS|Structs

Back to Top


Light Secondary

bool LightSecondary = false

Describes whether navigation lights are on or off

Category: GRILL DIS|Structs

Back to Top


Mobility Killed

bool MobilityKilled = false

Describes visual effects characteristic of Mobility Kills

Category: GRILL DIS|Structs

Back to Top


Paint Scheme

EPaintScheme PaintScheme = false

Describes the paint scheme of the entity

Category: GRILL DIS|Structs

Back to Top


Raw Val

int32 RawVal = 0

The raw value describing the Entity's Appearance

Category: GRILL DIS|Structs

Back to Top


Trailing

int Trailing = 0

Describes the size of trailing effects from an entity. Trailing effects include dust clouds for land platforms, wakes for surface platforms, rocket flames for guided munitions, contrails and ionization trails for air platforms, etc.

Category: GRILL DIS|Structs

Back to Top


FEntityAppearance

FEntityAppearance()

Default constructor

Back to Top


FEntityAppearance

FEntityAppearance
(
  uint32 val
)

Constructor that takes in the entity appearance as an unsigned integer.

Parameter Description
val The entity appearance as an unsigned integer.

Back to Top


Get Field

static int getField
(
  uint32 val,
  int mask,
  int pos
)

Constructor that takes in the entity appearance as an unsigned integer.

Parameter Description
val The value to get the bit position from.
mask The mask to apply to the position.
pos The position of the bit to get.

|Returns| |The integer value of the masked bits at the given position|

Back to Top


Get Field

static bool getField
(
  uint32 val,
  int pos
)

Constructor that takes in the entity appearance as an unsigned integer.

Parameter Description
val The value to get check the specific bit of.
pos The position of the bit to check.

|Returns| |Whether or not the bit at the given position is set|

Back to Top


Update Value

int32 UpdateValue()

Updates RawVal based on the current variable conditions.

|Returns| |The updated RawVal.|

Back to Top


Clone this wiki locally