BakkesMod Programming Wiki
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

CarWrapper : VehicleWrapper

View Implementation

Any car in the match. There can be more than one!

The best way to get the cars is using a ServerWrapper to call from its superclass GameEventWrapper.GetCars()


bool 
IsBoostCheap()



void 
SetBoostCheap(bool b)


Parameter Type Description
b bool

void 
SetCarRotation(Rotator rotation)


Parameter Type Description
rotation Rotator

void 
ForceBoost(bool force)


Parameter Type Description
force bool

std::string 
GetOwnerName()



void 
Unfreeze()



ControllerInput 
GetInput()



void 
SetInput(ControllerInput input)


Parameter Type Description
input ControllerInput

void 
Destroy()



void 
Demolish()



unsigned long 
HasFlip()



int 
GetLoadoutBody()



void 
SetCarColor(LinearColor mainColor, LinearColor secondaryColor)


Parameter Type Description
mainColor LinearColor
secondaryColor LinearColor

ArrayWrapper 
GetDefaultCarComponents()



FlipCarComponentWrapper 
GetFlipComponent()



unsigned char 
GetDemolishTarget()



void 
SetDemolishTarget(unsigned char newDemolishTarget)


Parameter Type Description
newDemolishTarget unsigned char

unsigned char 
GetDemolishSpeed()



void 
SetDemolishSpeed(unsigned char newDemolishSpeed)


Parameter Type Description
newDemolishSpeed unsigned char

unsigned long 
GetbLoadoutSet()



void 
SetbLoadoutSet(unsigned long newbLoadoutSet)


Parameter Type Description
newbLoadoutSet unsigned long

unsigned long 
GetbDemolishOnOpposingGround()



void 
SetbDemolishOnOpposingGround(unsigned long newbDemolishOnOpposingGround)


Parameter Type Description
newbDemolishOnOpposingGround unsigned long

unsigned long 
GetbWasOnOpposingGround()



void 
SetbWasOnOpposingGround(unsigned long newbWasOnOpposingGround)


Parameter Type Description
newbWasOnOpposingGround unsigned long

unsigned long 
GetbDemolishOnGoalZone()



void 
SetbDemolishOnGoalZone(unsigned long newbDemolishOnGoalZone)


Parameter Type Description
newbDemolishOnGoalZone unsigned long

unsigned long 
GetbWasInGoalZone()



void 
SetbWasInGoalZone(unsigned long newbWasInGoalZone)


Parameter Type Description
newbWasInGoalZone unsigned long

unsigned long 
GetbOverrideHandbrakeOn()



void 
SetbOverrideHandbrakeOn(unsigned long newbOverrideHandbrakeOn)


Parameter Type Description
newbOverrideHandbrakeOn unsigned long

unsigned long 
GetbCollidesWithVehicles()



void 
SetbCollidesWithVehicles(unsigned long newbCollidesWithVehicles)


Parameter Type Description
newbCollidesWithVehicles unsigned long

unsigned long 
GetbOverrideBoostOn()



void 
SetbOverrideBoostOn(unsigned long newbOverrideBoostOn)


Parameter Type Description
newbOverrideBoostOn unsigned long

FXActorWrapper 
GetExitFXArchetype()



void 
SetExitFXArchetype(FXActorWrapper newExitFXArchetype)


Parameter Type Description
newExitFXArchetype FXActorWrapper

float 
GetMaxTimeForDodge()



void 
SetMaxTimeForDodge(float newMaxTimeForDodge)


Parameter Type Description
newMaxTimeForDodge float

float 
GetLastWheelsHitBallTime()



void 
SetLastWheelsHitBallTime(float newLastWheelsHitBallTime)


Parameter Type Description
newLastWheelsHitBallTime float

float 
GetReplicatedCarScale()



void 
SetReplicatedCarScale(float newReplicatedCarScale)


Parameter Type Description
newReplicatedCarScale float

FXActorWrapper 
GetBodyFXActor()



void 
SetBodyFXActor(FXActorWrapper newBodyFXActor)


Parameter Type Description
newBodyFXActor FXActorWrapper

PriWrapper 
GetAttackerPRI()



void 
SetAttackerPRI(PriWrapper newAttackerPRI)


Parameter Type Description
newAttackerPRI PriWrapper

Vector 
GetMouseAccel()



void 
SetMouseAccel(Vector newMouseAccel)


Parameter Type Description
newMouseAccel Vector

Vector 
GetMouseAirAccel()



void 
SetMouseAirAccel(Vector newMouseAirAccel)


Parameter Type Description
newMouseAirAccel Vector

RumblePickupComponentWrapper 
GetAttachedPickup()



void 
SetAttachedPickup(RumblePickupComponentWrapper newAttachedPickup)


Parameter Type Description
newAttachedPickup RumblePickupComponentWrapper

Vector 
GetReplayFocusOffset()



void 
SetReplayFocusOffset(Vector newReplayFocusOffset)


Parameter Type Description
newReplayFocusOffset Vector

float 
GetAddedBallForceMultiplier()



void 
SetAddedBallForceMultiplier(float newAddedBallForceMultiplier)


Parameter Type Description
newAddedBallForceMultiplier float

float 
GetAddedCarForceMultiplier()



void 
SetAddedCarForceMultiplier(float newAddedCarForceMultiplier)


Parameter Type Description
newAddedCarForceMultiplier float

GameEventWrapper 
GetGameEvent()



void 
SetGameEvent(GameEventWrapper newGameEvent)


Parameter Type Description
newGameEvent GameEventWrapper

float 
GetMaxDriveBackwardsSpeed()



float 
GetMaxDriveForwardSpeed()



Vector 
GetReplayFocusLocation()



void 
OnPickupChanged(RumblePickupComponentWrapper InPickup)


Parameter Type Description
InPickup RumblePickupComponentWrapper

void 
SetAttachedPickup2(RumblePickupComponentWrapper InPickup)


Parameter Type Description
InPickup RumblePickupComponentWrapper

void 
EnablePodiumMode()



void 
CopyPushFactorCurve()



void 
ClearAttacker()



void 
NotifyNewAttacker(PriWrapper Attacker)


Parameter Type Description
Attacker PriWrapper

void 
UpdateBallIndicator()



void 
eventOnSuperSonicChanged()



void 
eventOnGroundChanged()



void 
FellOutOfWorld()



void 
DemolishDestroyTimer()



void 
Demolish2(RBActorWrapper Demolisher)


Parameter Type Description
Demolisher RBActorWrapper

bool 
Teleport(Vector &SpawnLocation, Rotator &SpawnRotation, unsigned long bStopVelocity, unsigned long bUpdateRotation, float ExtraForce)


Parameter Type Description
SpawnLocation Vector
SpawnRotation Rotator
bStopVelocity unsigned long
bUpdateRotation unsigned long
ExtraForce float

void 
OnJumpReleased()



void 
OnJumpPressed()



void 
eventSetVehicleInput(ControllerInput &NewInput)


Parameter Type Description
NewInput ControllerInput

bool 
CanDemolish(CarWrapper HitCar)


Parameter Type Description
HitCar CarWrapper

bool 
ShouldDemolish(CarWrapper HitCar, Vector &HitLocation, Vector &HitNormal, unsigned char *Result)


Parameter Type Description
HitCar CarWrapper
HitLocation Vector
HitNormal Vector
Result unsigned char *

unsigned char 
ApplyCarImpactForces(CarWrapper OtherCar, Vector &HitLocation, Vector &HitNormal)


Parameter Type Description
OtherCar CarWrapper
HitLocation Vector
HitNormal Vector

bool 
IsBumperHit(CarWrapper OtherCar)


Parameter Type Description
OtherCar CarWrapper

void 
ApplyBallImpactForces(BallWrapper Ball, Vector &HitLocation)


Parameter Type Description
Ball BallWrapper
HitLocation Vector

bool 
IsDodging()



void 
OnHitBall(BallWrapper Ball, Vector &HitLocation, Vector &HitNormal)


Parameter Type Description
Ball BallWrapper
HitLocation Vector
HitNormal Vector

bool 
AnyWheelTouchingGround()



CarComponentWrapper 
GiveCarComponent(CarComponentWrapper ComponentArchetype, PriWrapper Activator)


Parameter Type Description
ComponentArchetype CarComponentWrapper
Activator PriWrapper

void 
AddDefaultCarComponents()



void 
DetachPrimitiveComponent(PrimitiveComponentWrapper Component)


Parameter Type Description
Component PrimitiveComponentWrapper

void 
HandleWheelBallHit(WheelWrapper Wheel)


Parameter Type Description
Wheel WheelWrapper

void 
RespawnInPlace()



void 
SetCarScale(float NewScale)


Parameter Type Description
NewScale float

void 
OnClubColorsChanged()



void 
HandleTeamChanged(PriXWrapper MyPRI)


Parameter Type Description
MyPRI PriXWrapper

bool 
UpdateTeamLoadout()



void 
InitTeamPaint()



int 
GetLoadoutTeamIndex()



int 
GetPreviewTeamIndex()



bool 
HasTeam()



void 
HandleLoadoutSelected(PriWrapper MyPRI)


Parameter Type Description
MyPRI PriWrapper

void 
HandleGameEventChanged(PriWrapper MyPRI)


Parameter Type Description
MyPRI PriWrapper

void 
OnPRIChanged()



void 
OnControllerChanged()