Gah - a solution with more questions. – EntropicLqd

User:Crusha/UltimateMappingTools/UltimateRadarVehicleLRI

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

UltimateRadarVehicleLRI

by Crusha K. Rool

UT2004 Object >> Actor >> Info >> ReplicationInfo >> UltimateRadarVehicleLRI (custom)
Package: 
UltimateMappingTools

ReplicationInfo for a Vehicle from the UltimateONSFactory

Stores the radar-relevant values and updates and replicates the location of vehicle to the client so that it can be read by the UltimateRadarVehicleHUDOverlay.

Properties

bAdded

Type: bool


bMarkerMode

Type: bool

If True, this is used by the UltimateRadarMapMarker and thus doesn't require a vehicle.

bRadarFadeWithEnemyUpdateTime

Type: bool

If False, the icon will always stay fully opaque.

bRadarFadeWithOwnerUpdateTime

Type: bool

If True, the icon on the radar map will interpolate between opaque and translucent as time passes between location updates on the radar.

bRadarHideWhenEmpty

Type: bool

If true, the vehicle is not drawn when it's empty.

bRadarNeutralWhenEmpty

Type: bool

If true, the vehicle is drawn with white team color when it's left.

bRadarVisibleToDriver

Type: bool

Should the vehicle be shown on the radar to it's driver?

NextVehicleLRI

Type: UltimateRadarVehicleLRI

The next ReplicationInfo. This way we create a dynamic linked list that can change at runtime.

OldOwnerTeam

Type: byte

The original TeamNum that the vehicle had.

PassedTime

Type: float


PassedTimeEnemy

Type: float

The time that has passed since the location and rotation have been updated.

RadarEnemyUpdateTime

Type: float

Same as above, just for enemies.

RadarMaterial

Type: Material


RadarOwnerUpdateTime

Type: float

How many seconds have to pass before the location and rotation of the vehicle is updated for the owning team.

RadarTexRot

Type: TexRotator

This image will represent the vehicle on the Radar.

RadarTextureRotationOffset

Type: int

A base rotation that is added to the rotation of the texture.

RadarTextureScale

Type: float

The image will be scaled by this factor.

RadarVehicleVisibility

Type: ERadarVehicleVisibility


TrackedVehicle

Type: Vehicle

The vehicle whose location and rotation is tracked.

VehicleLocation

Type: Object.Vector


VehicleLocationEnemy

Type: Object.Vector

The location of the vehicle. (replicated)

VehicleLRIMaster

Type: UltimateRadarVehicleLRIMaster


Default values

Property Value
bSkipActorPropertyReplication False
NetPriority 2.0

Enums

ERadarVehicleVisibility

RVV_Always 
Always to everyone.
RVV_DriverTeam 
Always to the team that drives the vehicle.
RVV_DriverEnemy 
Always to the enemy team of the driver.
RVV_OriginalTeam 
Always to the team that originally owned the vehicle.
RVV_OriginalTeamAndHijacker 
Always to the team that originally owned the vehicle and to the enemy when he hijacks.
RVV_OriginalEnemy 
Always to the team that not originally owned the vehicle.
RVV_OriginalEnemyAndHijacker 
Always to the team that not originally owned the vehicle and to the owners when it got hijacked.
RVV_OnlyWhenOwned 
Only show to the team that originally owned the vehicle when it's not hijacked.
RVV_OnlyWhenHijacked 
Only show to the team that originally owned the vehicle when it got hijacked.

Events

BaseChange

simulated event BaseChange ()

Overrides: Actor.BaseChange


BeginPlay

event BeginPlay ()

Overrides: Actor.BeginPlay


Destroyed

simulated event Destroyed ()

Overrides: Actor.Destroyed


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick



UltimateRadarVehicleLRIMaster

by Crusha K. Rool

UT2004 Object >> Actor >> Info >> ReplicationInfo >> UltimateRadarVehicleLRIMaster (custom)
Package: 
UltimateMappingTools

Master of the UltimateRadarVehicleLRIs

Serves as anchor for the first node in the linked list of UltimateRadarVehicleLRIs. Contains functions to add or remove new nodes at the correct position in the list.

Properties

FirstVehicleLRI

Type: UltimateRadarVehicleLRI


Default values

Property Value
NetPriority 2.0

Instance functions

AddVehicleLRI

simulated function AddVehicleLRI (UltimateRadarVehicleLRI VehicleLRI)


RemoveVehicleLRI

simulated function RemoveVehicleLRI (UltimateRadarVehicleLRI U)