Class BaseVehicle
java.lang.Object
zombie.entity.GameEntity
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.vehicles.BaseVehicle
- All Implemented Interfaces:
fmod.fmod.IFMODParameterUpdater
,Serializable
,Mover
,Thumpable
public final class BaseVehicle
extends IsoMovingObject
implements Thumpable, fmod.fmod.IFMODParameterUpdater
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
protected static class
static final class
static final class
static final class
static final class
static final class
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
int
long
protected VehiclePart
protected boolean
protected boolean
static float
float
float
float
float
float
final BaseVehicle.ServerVehicleState[]
int
protected boolean
int
int
long
protected long
long
protected int
protected int
protected int
int
double
static final int
float
int
boolean
boolean
boolean
protected final BaseVehicle.HitVars
protected static final ColorInfo
boolean
boolean
boolean
boolean
final org.joml.Vector3f
float
final Transform
int
byte
final LightbarLightsMode
final LightbarSirenMode
protected final ArrayList
<VehiclePart> protected boolean
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
final ArrayList
<BaseVehicle.ModelInfo> short
int
final long[]
static final byte
protected final ArrayList
<VehiclePart> protected BaseVehicle.Passenger[]
long
protected CarController
static final int
static final float
static float
protected final VehiclePoly
boolean
protected final VehiclePoly
boolean
boolean
static final float
long
long
static final int
int
static boolean
final org.joml.Matrix4f
float
float
final org.joml.Quaternionf
protected VehicleScript
protected String
boolean
final VehiclePoly
boolean
long
protected int
boolean
boolean
boolean
long
int
float
boolean
float
float
static final ThreadLocal
<BaseVehicle.Matrix4fObjectPool> static final ThreadLocal
<BaseVehicle.QuaternionfObjectPool> static final ThreadLocal
<BaseVehicle.TransformPool> static final ThreadLocal
<BaseVehicle.Vector2ObjectPool> static final ThreadLocal
<BaseVehicle.Vector2fObjectPool> static final ThreadLocal
<BaseVehicle.Vector3fObjectPool> static final ThreadLocal
<BaseVehicle.Vector4fObjectPool> final UpdateLimit
protected short
protected long
short
static Texture
final org.joml.Matrix4f
boolean
final BaseVehicle.WheelInfo[]
boolean
static final boolean
Fields inherited from class zombie.iso.IsoMovingObject
Collidable, current, def, hitDir, ID, last, MAX_ZOMBIES_EATING, movementLastFrame, movingSq, noDamage, reqMovement, ScriptModule, shootable, solid, treeSoundMgr, weight, width
Fields inherited from class zombie.iso.IsoObject
alpha, AttachedAnimSprite, bAlphaForced, bAnimating, bmod, bMovedThumpable, bNeverDoneAlpha, bSatChair, Children, container, Damage, dir, doNotSync, externalWaterSource, fireColor, gmod, isOutlineHighlight, isOutlineHlAttached, isOutlineHlBlink, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, objectRenderEffects, offsetX, offsetY, outlineHighlightCol, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, ppfBlink, ppfHighlighted, ppfHighlightRenderOnce, renderDepthAdjust, renderInfo, renderSquareOverride, renderSquareOverride2, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteModel, spriteModelInit, spriteModelName, spriteName, square, sx, sy, table, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
Fields inherited from class zombie.entity.GameEntity
DEFAULT_ENTITY_DISPLAY_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnimalFromHandsInTrailer
(IsoAnimal isoAnimal, IsoPlayer isoPlayer) void
addAnimalFromHandsInTrailer
(IsoDeadBody isoDeadBody, IsoPlayer isoPlayer) void
addAnimalInTrailer
(IsoAnimal isoAnimal) void
addAnimalInTrailer
(IsoDeadBody isoDeadBody) void
addBuildingKeyToGloveBox
(IsoGridSquare isoGridSquare) void
addDamageFrontHitAChr
(int dmg) When hitting a character (zombie or player) damage aren't the same as hitting a wall.void
addDamageRearHitAChr
(int dmg) When hitting a character (zombie or player) damage aren't the same as hitting a wall.void
addImpulse
(org.joml.Vector3f vector3f0, org.joml.Vector3f vector3f1) void
boolean
boolean
addKeyToSquare
(IsoGridSquare isoGridSquare, boolean boolean1) boolean
addKeyToSquare2
(IsoGridSquare isoGridSquare, int int0) boolean
addKeyToSquare2
(IsoGridSquare isoGridSquare, int int1, boolean boolean1) void
void
addKeyToWorld
(boolean boolean0) void
addPointConstraint
(IsoPlayer player, BaseVehicle vehicleB, String attachmentA, String attachmentB) void
addPointConstraint
(IsoPlayer player, BaseVehicle vehicleB, String attachmentA, String attachmentB, Boolean remote) void
addRandomDamageFromCrash
(IsoGameCharacter chr, float damage) void
void
addToWorld
(boolean boolean0) static org.joml.Matrix4f
static org.joml.Quaternionf
static Transform
static Vector2
static org.joml.Vector2f
static org.joml.Vector3f
static org.joml.Vector4f
void
ApplyImpulse
(IsoObject obj, float mul) void
ApplyImpulse4Break
(IsoObject obj, float mul) void
void
boolean
areaPositionWorld
(VehicleScript.Area area, Vector2 out) boolean
attachmentExist
(String attachmentName) void
authorizationChanged
(IsoGameCharacter character) void
authorizationClientCollide
(IsoPlayer driver) void
authorizationServerCollide
(short PlayerID, boolean isCollide) void
authorizationServerOnSeat
(IsoPlayer player, boolean enter) boolean
blocked
(int x, int y, int z) void
breakConstraint
(boolean forgetID, boolean remote) void
int
boolean
canAccessContainer
(int partIndex, IsoGameCharacter chr) boolean
canAddAnimalInTrailer
(IsoAnimal isoAnimal) boolean
canAddAnimalInTrailer
(IsoDeadBody isoDeadBody) boolean
canAttachTrailer
(BaseVehicle vehicleB, String attachmentA, String attachmentB) boolean
canAttachTrailer
(BaseVehicle vehicleB, String attachmentA, String attachmentB, boolean reconnect) boolean
canInstallPart
(IsoGameCharacter chr, VehiclePart part) boolean
canLightSmoke
(IsoGameCharacter isoGameCharacter) boolean
canLockDoor
(VehiclePart part, IsoGameCharacter chr) boolean
canSwitchSeat
(int seatFrom, int seatTo) boolean
canUninstallPart
(IsoGameCharacter chr, VehiclePart part) boolean
canUnlockDoor
(VehiclePart part, IsoGameCharacter chr) void
changeTransmission
(TransmissionNumber newTransmission) Change transmission, slow down the car if you change shift for a superior onevoid
cheatHotwire
(boolean _hotwired, boolean broken) checkCollision
(IsoGameCharacter target) boolean
checkForSpecialMatchOne
(String string1, String string2, String string0) boolean
checkForSpecialMatchTwo
(String string1, String string2, String string0) boolean
void
boolean
checkSquareForVehicleKeySpot
(IsoGridSquare isoGridSquare) boolean
checkSquareForVehicleKeySpot
(IsoGridSquare isoGridSquare, boolean boolean1) boolean
checkSquareForVehicleKeySpotContainer
(IsoGridSquare isoGridSquare) boolean
checkSquareForVehicleKeySpotZombie
(IsoGridSquare isoGridSquare) boolean
checkZombieKeyForVehicle
(IsoZombie isoZombie) boolean
checkZombieKeyForVehicle
(IsoZombie isoZombie, String string0) org.joml.Vector3f
chooseBestAttackPosition
(IsoGameCharacter isoGameCharacter1, IsoGameCharacter isoGameCharacter0, org.joml.Vector3f vector3f) boolean
circleIntersects
(float x, float y, float z, float radius) boolean
clearPassenger
(int seat) void
boolean
void
crash
(float delta, boolean front) void
createImpulse
(org.joml.Vector3f var1) void
void
createPhysics
(boolean boolean0) void
Damage
(float amount) void
damageObjects
(float damage) void
damagePlayers
(float damage) void
void
doChrHitImpulse
(IsoObject chr) void
void
void
drawDirectionLine
(Vector2 dir, float length, float r, float g, float b) void
void
void
void
void
engineDoShuttingDown
(String string) void
void
void
void
engineDoStartingFailed
(String string) void
void
boolean
enter
(int seat, IsoGameCharacter chr) boolean
enter
(int int0, IsoGameCharacter isoGameCharacter, org.joml.Vector3f vector3f) boolean
enterRSync
(int seat, IsoGameCharacter chr, BaseVehicle v) boolean
exit
(IsoGameCharacter chr) boolean
void
fixLightbarModelLighting
(IsoLightSource isoLightSource, org.joml.Vector3f vector3f) void
void
forceVehicleDistribution
(String string) float
float
float
float
getAreaCenter
(String areaId) getAreaCenter
(String areaId, Vector2 out) float
getAreaDist
(String string, float float0, float float1, float float2) float
getAreaDist
(String areaId, IsoGameCharacter chr) org.joml.Vector3f
getAttachmentLocalPos
(String string, org.joml.Vector3f vector3f) org.joml.Vector3f
getAttachmentWorldPos
(String string, org.joml.Vector3f vector3f) float
float
int
float
float
float
getCharacter
(int seat) float
float
float
float
float
float
float
float
float
int
int
int
double
void
getFacingPosition
(IsoGameCharacter chr, Vector2 out) static float
float
getForce()
org.joml.Vector3f
getForwardVector
(org.joml.Vector3f vector3f) float
boolean
boolean
short
getId()
float
float
getIntersectPoint
(Vector3 vector31, Vector3 vector33) int
int
getKeyId()
boolean
int
int
getLightByIndex
(int index) int
org.joml.Vector3f
getLinearVelocity
(org.joml.Vector3f vector3f) org.joml.Vector3f
getLocalPos
(float float1, float float0, float var3, org.joml.Vector3f vector3f) org.joml.Vector3f
getLocalPos
(org.joml.Vector3f vector3f1, org.joml.Vector3f vector3f0) float
getMass()
int
float
int
protected BaseVehicle.ModelInfo
getModelInfoForPart
(VehiclePart vehiclePart) getNearestVehiclePart
(float float0, float float1, float float2, boolean boolean0) short
int
protected float
getObjectX
(IsoObject isoObject) protected float
getObjectY
(IsoObject isoObject) float
Give the offroad efficiency of the car, based on car's script + where the vehicle is (in forest you get more damage than vegitation) Currently x2 to balance thingsgetPartById
(String id) getPartByIndex
(int index) int
getPartForSeatContainer
(int seat) getPassenger
(int seat) getPassengerAnim
(int seat, String id) getPassengerArea
(int seat) getPassengerDoor
(int seat) getPassengerDoor2
(int seat) org.joml.Vector3f
getPassengerLocalPos
(int int0, org.joml.Vector3f vector3f) getPassengerPosition
(int seat, String id) org.joml.Vector3f
getPassengerPositionWorldPos
(float float0, float float1, float float2, org.joml.Vector3f vector3f) org.joml.Vector3f
getPassengerPositionWorldPos
(VehicleScript.Position position, org.joml.Vector3f vector3f) getPassengerSwitchSeat
(int seat, int index) int
getPassengerSwitchSeatCount
(int seat) org.joml.Vector3f
getPassengerWorldPos
(int int0, org.joml.Vector3f vector3f) org.joml.Vector3f
getPlayerTrailerLocalPos
(String string, boolean boolean0, org.joml.Vector3f vector3f2) org.joml.Vector3f
getPlayerTrailerWorldPos
(String string, boolean boolean0, org.joml.Vector3f vector3f0) getPoly()
float
float
float
getRust()
protected VehicleScript.Passenger
getScriptPassenger
(int int0) int
getSeat
(IsoGameCharacter chr) double
getSkin()
int
int
float
float
int
getSqlId()
boolean
getSwitchSeatAnimName
(int seatFrom, int seatTo) float
getSwitchSeatAnimRate
(int seatFrom, int seatTo) getSwitchSeatSound
(int seatFrom, int seatTo) float
float
org.joml.Vector3f
getTowedByLocalPos
(String string, org.joml.Vector3f vector3f) org.joml.Vector3f
getTowedByWorldPos
(String string, org.joml.Vector3f vector3f) org.joml.Vector3f
getTowingLocalPos
(String string, org.joml.Vector3f vector3f) org.joml.Vector3f
getTowingWorldPos
(String string, org.joml.Vector3f vector3f) int
org.joml.Vector3f
getUpVector
(org.joml.Vector3f vector3f) float
getUseablePart
(IsoGameCharacter chr, boolean checkDir) void
getWheelForwardVector
(int int0, org.joml.Vector3f vector3f) boolean
org.joml.Vector3f
getWorldPos
(float float0, float float1, float float2, org.joml.Vector3f vector3f) org.joml.Vector3f
getWorldPos
(float float0, float float1, float float2, org.joml.Vector3f vector3f, VehicleScript var5) org.joml.Vector3f
getWorldPos
(org.joml.Vector3f vector3f1, org.joml.Vector3f vector3f0) org.joml.Vector3f
getWorldPos
(org.joml.Vector3f vector3f1, org.joml.Vector3f vector3f0, VehicleScript vehicleScript) getZone()
boolean
hasAlarm()
boolean
hasAuthorization
(UdpConnection connection) boolean
boolean
boolean
hasHorn()
boolean
boolean
boolean
boolean
hasRoof
(int seat) boolean
hasZombieType
(String string) boolean
Check if one of the seat door is unlockedvoid
HitByVehicle
(BaseVehicle vehicle, float amount) void
hitCharacter
(IsoAnimal isoAnimal0) void
hitCharacter
(IsoGameCharacter character, BaseVehicle.HitVars vars) void
hitCharacter
(IsoZombie chr) boolean
boolean
boolean
boolean
isAtRest()
boolean
boolean
boolean
isBurnt()
boolean
boolean
boolean
isCollided
(IsoGameCharacter character) boolean
boolean
boolean
boolean
boolean
isDriver
(IsoGameCharacter chr) boolean
boolean
boolean
boolean
isEnterBlocked
(IsoGameCharacter chr, int seat) boolean
isEnterBlocked2
(IsoGameCharacter chr, int seat) boolean
isExitBlocked
(int seat) boolean
isExitBlocked
(IsoGameCharacter chr, int seat) boolean
isExitBlocked2
(int seat) boolean
boolean
boolean
boolean
boolean
isInArea
(String areaId, IsoGameCharacter chr) boolean
isInBounds
(float worldX, float worldY) boolean
boolean
isIntersectingSquare
(int x, int y, int z) boolean
isIntersectingSquare
(IsoGridSquare isoGridSquare) boolean
isIntersectingSquareWithShadow
(int x, int y, int z) boolean
boolean
boolean
boolean
isInvalidChunkAround
(boolean moveW, boolean moveE, boolean moveN, boolean moveS) boolean
boolean
boolean
boolean
boolean
boolean
boolean
isNetPlayerAuthorization
(BaseVehicle.Authorization _netPlayerAuthorization) boolean
isNetPlayerId
(short _netPlayerId) boolean
boolean
boolean
isPassengerUseDoor2
(IsoGameCharacter chr, int seat) boolean
isPositionOnLeftOrRight
(float x, float y) boolean
boolean
boolean
boolean
boolean
isSeatInstalled
(int seat) boolean
isSeatOccupied
(int seat) boolean
boolean
boolean
boolean
boolean
void
keyNamerVehicle
(InventoryItem inventoryItem) static void
keyNamerVehicle
(InventoryItem inventoryItem, BaseVehicle baseVehicle) boolean
void
load
(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) static void
void
loadChange
(String change, ByteBuffer bb) static Texture
LoadVehicleTexture
(String name) static Texture
LoadVehicleTexture
(String name, int flags) static void
LoadVehicleTextures
(VehicleScript _script) void
lockServerUpdate
(long lockTimeMs) boolean
void
netPlayerFromServerUpdate
(BaseVehicle.Authorization authorization, short authorizationPlayer) void
boolean
void
void
void
void
void
void
void
void
playActorAnim
(VehiclePart part, String animId, IsoGameCharacter chr) void
playPartAnim
(VehiclePart part, String animId) void
playPartSound
(VehiclePart part, IsoPlayer player, String animId) void
playPassengerAnim
(int seat, String animId) void
playPassengerAnim
(int seat, String animId, IsoGameCharacter chr) void
playPassengerSound
(int seat, String animId) void
long
playSoundImpl
(String file, IsoObject parent) void
playSwitchSeatAnim
(int seatFrom, int seatTo) void
positionTrailer
(BaseVehicle trailer) void
boolean
processHit
(IsoGameCharacter isoGameCharacter, HandWeapon handWeapon, float float0) void
void
void
putKeyToContainer
(ItemContainer container, IsoGridSquare sq, IsoObject obj) void
putKeyToContainerServer
(InventoryItem inventoryItem, IsoGridSquare var2, IsoObject isoObject) void
void
putKeyToZombie
(IsoZombie zombie) void
static void
releaseMatrix4f
(org.joml.Matrix4f matrix4f) static void
releaseQuaternionf
(org.joml.Quaternionf quaternionf) static void
releaseTransform
(Transform transform) static void
static void
releaseVector2f
(org.joml.Vector2f vector2f) static void
releaseVector3f
(org.joml.Vector3f vector3f) static void
releaseVector4f
(org.joml.Vector4f vector4f) removeAnimalFromTrailer
(IsoAnimal isoAnimal1) void
void
void
void
render
(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader) void
void
void
repair()
void
replaceGrownAnimalInTrailer
(IsoAnimal isoAnimal1, IsoAnimal isoAnimal0) void
boolean
void
save
(ByteBuffer output, boolean IS_DEBUG_SAVE) void
saveChange
(String string, se.krka.kahlua.vm.KahluaTable kahluaTable, ByteBuffer byteBuffer) void
void
scriptReloaded
(boolean boolean0) boolean
void
setActiveInBullet
(boolean active) Used in mechanics UI, we enable the vehicle in Bullet when starting mechanics so physic will be updated.void
setAddThumpWorldSound
(boolean add) void
setAlarmed
(boolean _alarmed) void
setAngles
(float degreesX, float degreesY, float degreesZ) void
setBaseQuality
(float _baseQuality) void
setBloodIntensity
(String id, float intensity) void
setBraking
(boolean _isBraking) void
setBrakingForce
(float _brakingForce) void
setCharacterPosition
(IsoGameCharacter chr, int seat, String positionId) void
setCharacterPositionToAnim
(IsoGameCharacter chr, int seat, String animId) void
setClientForce
(float force) void
setColor
(float value, float saturation, float hue) void
setColorHSV
(float hue, float saturation, float value) void
setCurrentKey
(InventoryItem _currentKey) void
setCurrentSteering
(float _currentSteering) void
setCurrentTotalAnimalSize
(float float0) void
setDebugZ
(float z) void
setDoColor
(boolean _doColor) void
setEngineFeature
(int quality, int loudness, int engineForce) void
void
setGeneralPartCondition
(float _baseQuality, float chanceToSpawnDamaged) void
setGoodCar
(boolean _isGoodCar) void
setHeadlightsOn
(boolean on) void
setHotwired
(boolean _hotwired) void
setHotwiredBroken
(boolean _hotwiredBroken) void
setInitialMass
(float _initialMass) void
setKeyIsOnDoor
(boolean _keyIsOnDoor) void
setKeysInIgnition
(boolean keysOnContact) void
setLightbarLightsMode
(int mode) void
setLightbarSirenMode
(int mode) void
setMass
(float _mass) void
setMaxSpeed
(float _maxSpeed) void
setMechanicalID
(int _mechanicalID) void
setMechanicUIOpen
(boolean _mechanicUIOpen) protected BaseVehicle.ModelInfo
setModelVisible
(VehiclePart vehiclePart, VehicleScript.Model model, boolean boolean0) void
setNeedPartsUpdate
(boolean _needPartsUpdate) void
setNetPlayerAuthorization
(BaseVehicle.Authorization _netPlayerAuthorization, int _netPlayerId) boolean
setPassenger
(int int0, IsoGameCharacter isoGameCharacter, org.joml.Vector3f vector3f) void
setPhysicsActive
(boolean active) void
setPreviouslyEntered
(boolean boolean0) void
setPreviouslyMoved
(boolean boolean0) void
setRegulator
(boolean _regulator) void
setRegulatorSpeed
(float _regulatorSpeed) void
setRust
(float _rust) void
void
void
setScriptName
(String name) void
setSirenStartTime
(double worldAgeHours) void
setSkinIndex
(int index) setSmashed
(String location) setSmashed
(String location, boolean flipped) void
setStoplightsOn
(boolean on) void
setTireInflation
(int wheelIndex, float inflation) void
setTireRemoved
(int wheelIndex, boolean removed) void
setTrunkLocked
(boolean locked) void
setVehicleTowedBy
(BaseVehicle vehicleA, String attachmentA, String attachmentB) void
setVehicleTowing
(BaseVehicle vehicleB, String attachmentA, String attachmentB) void
setVehicleType
(String _type) void
setWindowLightsOn
(boolean on) void
void
boolean
boolean
boolean
boolean
showPassenger
(int seat) boolean
void
shutOff()
void
boolean
void
void
startEvent
(long eventInstance, GameSoundClip clip, BitSet parameterSet) void
stopEvent
(long eventInstance, GameSoundClip clip, BitSet parameterSet) int
stopSound
(long channel) void
switchSeat
(IsoGameCharacter chr, int seatTo) void
syncKeyInIgnition
(boolean inIgnition, boolean onDoor, InventoryItem key) testCollisionWithCharacter
(IsoGameCharacter chr, float circleRadius, Vector2 out) int
testCollisionWithCorpse
(IsoDeadBody body, boolean doSound) testCollisionWithObject
(IsoObject obj, float circleRadius, Vector2 out) int
testCollisionWithProneCharacter
(IsoGameCharacter chr, boolean doSound) int
testCollisionWithProneCharacter
(IsoMovingObject chr, float angleX, float angleY, boolean doSound) boolean
void
Thump
(IsoMovingObject thumper) void
toggleLockedDoor
(VehiclePart part, IsoGameCharacter chr, boolean locked) void
void
transmitCharacterPosition
(int seat, String positionId) void
void
void
void
transmitPartDoor
(VehiclePart part) void
transmitPartItem
(VehiclePart part) void
void
void
void
void
void
void
tryHotwire
(int electricityLevel) Try to hotwire a car Calcul is: 100-Engine quality (capped to 5) + Skill modifier: electricityLvl * 4 % of hotwiring the car Failing may cause the ignition to breakvoid
void
trySpawnKey
(boolean boolean0) boolean
trySpawnVehicleKeyInObject
(IsoObject isoObject) boolean
trySpawnVehicleKeyOnZombie
(IsoZombie isoZombie) void
void
tryStartEngine
(boolean haveKey) void
update()
protected void
updateAnimationPlayer
(AnimationPlayer animationPlayer, VehiclePart vehiclePart) void
void
void
updateEvent
(long eventInstance, GameSoundClip clip) void
void
void
boolean
updateHitByVehicle
(IsoGameCharacter target) void
void
void
Update the stats of the part depending on conditionvoid
void
void
void
void
protected void
void
WeaponHit
(IsoGameCharacter chr, HandWeapon weapon) int
Methods inherited from class zombie.iso.IsoMovingObject
canHaveMultipleHits, collideWith, compareToY, Despawn, DistTo, DistTo, distToNearestCamCharacter, DistToProper, DistToSquared, DistToSquared, DoCollideNorS, DoCollideWorE, doStairs, ensureOnTile, getBuilding, getBumpedType, getCollidedObject, getCollideType, getCurrentBuilding, getCurrentSquare, getCurrentZone, getDescription, getDistanceSq, getEatingZombies, getFacingPosition, getFeelersize, getFeelerTile, getFuturWalkedSquare, getGlobalMovementMod, getGlobalMovementMod, getHitDir, getHitForce, getHitFromAngle, getID, getIDCount, getImpulsex, getImpulsey, getLastCollideTime, getLastSquare, getLastTargettedBy, getLastX, getLastY, getLastZ, getLimpulsex, getLimpulsey, getMasterRegion, getMovementLastFrame, getNextX, getNextY, getNoDamage, getPathFindIndex, getPosition, getPosition, getScreenX, getScreenY, getScriptModule, getScriptNextX, getScriptNextY, getScriptnx, getScriptny, getStateEventDelayTimer, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, Hit, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollided, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isCollidedWithVehicle, isDestroyed, isEatingOther, isExistInTheWorld, isFirstUpdate, isOnFloor, isPushableForSeparate, isPushedByForSeparate, isShootable, isSolid, isSolidForSeparate, isZombiesDontAttack, Move, MoveUnmodded, onMouseRightClick, onMouseRightReleased, preupdate, removeFromSquare, separate, setbAltCollide, setCloseKilled, setCollidable, setCollidedE, setCollidedN, setCollidedObject, setCollidedS, setCollidedThisFrame, setCollidedW, setCollidedWithDoor, setCollideType, setCurrent, setDestroyed, setEatingZombies, setFeelersize, setFirstUpdate, setForceX, setForceY, setHitDir, setHitForce, setHitFromAngle, setID, setIDCount, setImpulsex, setImpulsey, setLast, setLastCollideTime, setLastTargettedBy, setLastX, setLastY, setLastZ, setLimpulsex, setLimpulsey, setMovementLastFrame, setMovingSquareNow, setNextX, setNextY, setNoDamage, setOnFloor, setPathFindIndex, setPosition, setPosition, setPosition, setScriptModule, setScriptNextX, setScriptNextY, setScriptnx, setScriptny, setShootable, setSolid, setStateEventDelayTimer, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, setZombiesDontAttack, shouldIgnoreCollisionWithSquare, spotted, toString, updateAnimation
Methods inherited from class zombie.iso.IsoObject
addAttachedAnimSprite, addAttachedAnimSpriteByName, addAttachedAnimSpriteInstance, addChild, addFluid, addItemsFromProperties, addItemToObjectSurface, addItemToObjectSurface, addLightSourceToWorld, addObjectAmbientEmitter, addSecondaryContainer, addSheetRope, afterRotated, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkAmbientSound, checkHaveElectricity, checkLightSourceActive, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, clearOnOverlay, Collision, countAddSheetRope, createContainersFromSpriteProperties, createFluidContainersFromSpriteProperties, customHashCode, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, emptyFluid, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAlphaUpdateRateDiv, getAlphaUpdateRateMul, getAttachedAnimSprite, getAttachedAnimSpriteCount, getCell, getChildSprites, getChunk, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCurrentFrameTex, getCustomColor, getDamage, getDir, getEntityNetID, getFacing, getFacingPositionAlt, getFactoryVehicle, getFasciaAttachedSquare, getFluidAmount, getFluidCapacity, getFluidUiName, getGameEntityType, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getLastRendered, getLastRenderedRendered, getLightSource, getMaskClickedY, getMasterObject, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOnOverlay, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, getRenderEffectObjectByIndex, getRenderEffectObjectCount, getRenderInfo, getRenderSquare, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getSpecialObjectIndex, getSprite, getSpriteGrid, getSpriteGridObjects, getSpriteGridObjects, getSpriteGridObjectsExcludingSelf, getSpriteGridObjectsIncludingSelf, getSpriteModel, getSpriteName, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getTile, getTileName, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWindRenderEffects, getWorldObjectIndex, hasAnimatedAttachments, hasAttachedAnimSprites, hasExternalWaterSource, hasFluid, hasModData, hasObjectAmbientEmitter, hasOverlaySprite, hasSpriteGrid, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, invalidateRenderChunkLevel, invalidateVispolyChunkLevel, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isAnimating, isBlink, isBlink, isBush, isCanPath, isConnectedSpriteGridObject, isEntityValid, isFascia, isFloor, isGenericCraftingSurface, isGrave, isHighlighted, isHighlighted, isHighlightRenderOnce, isHighlightRenderOnce, isHoppable, isItemAllowedInContainer, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSatChair, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, isTent, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, isZombie, load, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, moveFluidToTemporaryContainer, onAnimationFinished, onMouseLeftClick, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromWorldToMeta, removeLightSourceFromWorld, removeRenderEffect, removeSheetRope, renderAnimatedAttachments, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderModel, renderObjectPicker, renderWallTile, renderWallTileDepth, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveState, sendObjectChange, sendObjectChange, sendObjectChange, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAnimating, setAttachedAnimSprite, setBlink, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setExplored, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setHighlighted, setHighlighted, setHighlightRenderOnce, setHighlightRenderOnce, setKeyId, setLastRendered, setLastRenderedRendered, setLightSource, setModData, setMovedThumpable, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOnOverlay, setOutlineHighlight, setOutlineHighlight, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHlAttached, setOutlineHlAttached, setOutlineHlBlink, setOutlineHlBlink, setOutlineOnMouseover, setOutlineThickness, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setPipedFuelAmount, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSatChair, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSpriteModelName, setSquare, setTable, setTargetAlpha, setTargetAlpha, setTile, setType, setUsesExternalWaterSource, shouldLightSourceBeActive, shouldShowOnOverlay, sync, syncIsoObject, syncIsoObjectReceive, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, transferFluidFrom, transferFluidTo, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColorToClients, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, updateAlpha, updateAlpha, updateAlpha, updateRenderInfoForObjectPicker, useFluid, useItemOn, writeToRemoteBuffer
Methods inherited from class zombie.entity.GameEntity
attrib, componentSize, connectComponents, containsComponent, getAttributes, getComponent, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponents, hasRenderers, isAddedToEngine, isMeta, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, onEquip, onEquip, onFirstCreation, onFluidContainerUpdate, onReceiveEntityPacket, onUnEquip, receiveSyncEntity, receiveUpdateUsingPlayer, removeFromWorld, renderlastComponents, requiresEntitySave, saveEntity, sendClientEntityPacket, sendComponentEvent, sendComponentEvent, sendEntityEvent, sendEntityEvent, sendServerEntityPacket, sendServerEntityPacketTo, sendSyncEntity, sendUpdateUsingPlayer, setUsingPlayer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface zombie.iso.objects.interfaces.Thumpable
isDestroyed
-
Field Details
-
RADIUS
public static final float RADIUS- See Also:
-
FADE_DISTANCE
public static final int FADE_DISTANCE- See Also:
-
RANDOMIZE_CONTAINER_CHANCE
public static final int RANDOMIZE_CONTAINER_CHANCE- See Also:
-
noAuthorization
public static final byte noAuthorization- See Also:
-
YURI_FORCE_FIELD
public static final boolean YURI_FORCE_FIELD- See Also:
-
RENDER_TO_TEXTURE
public static boolean RENDER_TO_TEXTURE -
CENTER_OF_MASS_MAGIC
public static float CENTER_OF_MASS_MAGIC -
vehicleShadow
-
justBreakConstraintTimer
public int justBreakConstraintTimer -
wasTowedBy
-
inf
-
models
-
chunk
-
polyDirty
public boolean polyDirty -
VehicleID
public short VehicleID -
sqlID
public int sqlID -
serverRemovedFromWorld
public boolean serverRemovedFromWorld -
interpolation
-
waitFullUpdate
public boolean waitFullUpdate -
throttle
public float throttle -
engineSpeed
public double engineSpeed -
transmissionNumber
-
transmissionChangeTime
-
hasExtendOffset
public boolean hasExtendOffset -
hasExtendOffsetExiting
public boolean hasExtendOffsetExiting -
savedPhysicsZ
public float savedPhysicsZ -
savedRot
public final org.joml.Quaternionf savedRot -
jniTransform
-
jniSpeed
public float jniSpeed -
jniIsCollide
public boolean jniIsCollide -
jniLinearVelocity
public final org.joml.Vector3f jniLinearVelocity -
netPlayerAuthorization
-
netPlayerId
public short netPlayerId -
netPlayerTimeout
public int netPlayerTimeout -
authSimulationHash
public int authSimulationHash -
authSimulationTime
public long authSimulationTime -
frontEndDurability
public int frontEndDurability -
rearEndDurability
public int rearEndDurability -
rust
public float rust -
colorHue
public float colorHue -
colorSaturation
public float colorSaturation -
colorValue
public float colorValue -
currentFrontEndDurability
public int currentFrontEndDurability -
currentRearEndDurability
public int currentRearEndDurability -
collideX
public float collideX -
collideY
public float collideY -
shadowCoord
-
engineState
-
engineLastUpdateStateTime
public long engineLastUpdateStateTime -
MAX_WHEELS
public static final int MAX_WHEELS- See Also:
-
PHYSICS_PARAM_COUNT
public static final int PHYSICS_PARAM_COUNT- See Also:
-
wheelInfo
-
skidding
public boolean skidding -
skidSound
public long skidSound -
ramSound
public long ramSound -
ramSoundTime
public long ramSoundTime -
new_EngineSoundId
public final long[] new_EngineSoundId -
engineSoundIndex
public int engineSoundIndex -
alarmEmitter
-
hornemitter
-
startTime
public float startTime -
headlightsOn
public boolean headlightsOn -
stoplightsOn
public boolean stoplightsOn -
windowLightsOn
public boolean windowLightsOn -
soundAlarmOn
public boolean soundAlarmOn -
soundHornOn
public boolean soundHornOn -
soundBackMoveOn
public boolean soundBackMoveOn -
previouslyEntered
public boolean previouslyEntered -
previouslyMoved
public boolean previouslyMoved -
lightbarLightsMode
-
lightbarSirenMode
-
connectionState
-
passengers
-
scriptName
-
script
-
parts
-
battery
-
engineQuality
protected int engineQuality -
engineLoudness
protected int engineLoudness -
enginePower
protected int enginePower -
engineCheckTime
protected long engineCheckTime -
lights
-
createdModel
protected boolean createdModel -
skinIndex
protected int skinIndex -
physics
-
bCreated
protected boolean bCreated -
poly
-
polyPlusRadius
-
bDoDamageOverlay
protected boolean bDoDamageOverlay -
loaded
protected boolean loaded -
updateFlags
protected short updateFlags -
updateLockTimeout
protected long updateLockTimeout -
addedToWorld
public boolean addedToWorld -
soundSirenSignal
public long soundSirenSignal -
doorAlarmSound
public long doorAlarmSound -
keySpawned
public byte keySpawned -
vehicleTransform
public final org.joml.Matrix4f vehicleTransform -
renderTransform
public final org.joml.Matrix4f renderTransform -
physicActiveCheck
public long physicActiveCheck -
specificDistributionId
-
constraintTowing
public int constraintTowing -
isActive
public boolean isActive -
isStatic
public boolean isStatic -
isReliable
public boolean isReliable -
animals
-
timeSinceLastAuth
public float timeSinceLastAuth -
TL_transform_pool
-
TL_vector2_pool
-
TL_vector2f_pool
-
TL_vector3f_pool
-
TL_vector4f_pool
-
TL_matrix4f_pool
-
TL_quaternionf_pool
-
PHYSICS_Z_SCALE
public static final float PHYSICS_Z_SCALE- See Also:
-
PLUS_RADIUS
public static float PLUS_RADIUS -
MASK1_FRONT
public static final int MASK1_FRONT- See Also:
-
MASK1_REAR
public static final int MASK1_REAR- See Also:
-
MASK1_DOOR_RIGHT_FRONT
public static final int MASK1_DOOR_RIGHT_FRONT- See Also:
-
MASK1_DOOR_RIGHT_REAR
public static final int MASK1_DOOR_RIGHT_REAR- See Also:
-
MASK1_DOOR_LEFT_FRONT
public static final int MASK1_DOOR_LEFT_FRONT- See Also:
-
MASK1_DOOR_LEFT_REAR
public static final int MASK1_DOOR_LEFT_REAR- See Also:
-
MASK1_WINDOW_RIGHT_FRONT
public static final int MASK1_WINDOW_RIGHT_FRONT- See Also:
-
MASK1_WINDOW_RIGHT_REAR
public static final int MASK1_WINDOW_RIGHT_REAR- See Also:
-
MASK1_WINDOW_LEFT_FRONT
public static final int MASK1_WINDOW_LEFT_FRONT- See Also:
-
MASK1_WINDOW_LEFT_REAR
public static final int MASK1_WINDOW_LEFT_REAR- See Also:
-
MASK1_WINDOW_FRONT
public static final int MASK1_WINDOW_FRONT- See Also:
-
MASK1_WINDOW_REAR
public static final int MASK1_WINDOW_REAR- See Also:
-
MASK1_GUARD_RIGHT_FRONT
public static final int MASK1_GUARD_RIGHT_FRONT- See Also:
-
MASK1_GUARD_RIGHT_REAR
public static final int MASK1_GUARD_RIGHT_REAR- See Also:
-
MASK1_GUARD_LEFT_FRONT
public static final int MASK1_GUARD_LEFT_FRONT- See Also:
-
MASK1_GUARD_LEFT_REAR
public static final int MASK1_GUARD_LEFT_REAR- See Also:
-
MASK2_ROOF
public static final int MASK2_ROOF- See Also:
-
MASK2_LIGHT_RIGHT_FRONT
public static final int MASK2_LIGHT_RIGHT_FRONT- See Also:
-
MASK2_LIGHT_LEFT_FRONT
public static final int MASK2_LIGHT_LEFT_FRONT- See Also:
-
MASK2_LIGHT_RIGHT_REAR
public static final int MASK2_LIGHT_RIGHT_REAR- See Also:
-
MASK2_LIGHT_LEFT_REAR
public static final int MASK2_LIGHT_LEFT_REAR- See Also:
-
MASK2_BRAKE_RIGHT
public static final int MASK2_BRAKE_RIGHT- See Also:
-
MASK2_BRAKE_LEFT
public static final int MASK2_BRAKE_LEFT- See Also:
-
MASK2_LIGHTBAR_RIGHT
public static final int MASK2_LIGHTBAR_RIGHT- See Also:
-
MASK2_LIGHTBAR_LEFT
public static final int MASK2_LIGHTBAR_LEFT- See Also:
-
MASK2_HOOD
public static final int MASK2_HOOD- See Also:
-
MASK2_BOOT
public static final int MASK2_BOOT- See Also:
-
forcedFriction
public float forcedFriction -
hitVars
-
-
Constructor Details
-
BaseVehicle
-
-
Method Details
-
getSqlId
public int getSqlId() -
allocMatrix4f
public static org.joml.Matrix4f allocMatrix4f() -
releaseMatrix4f
public static void releaseMatrix4f(org.joml.Matrix4f matrix4f) -
allocQuaternionf
public static org.joml.Quaternionf allocQuaternionf() -
releaseQuaternionf
public static void releaseQuaternionf(org.joml.Quaternionf quaternionf) -
allocTransform
-
releaseTransform
-
allocVector2
-
releaseVector2
-
allocVector2f
public static org.joml.Vector2f allocVector2f() -
releaseVector2f
public static void releaseVector2f(org.joml.Vector2f vector2f) -
allocVector3f
public static org.joml.Vector3f allocVector3f() -
releaseVector4f
public static void releaseVector4f(org.joml.Vector4f vector4f) -
allocVector4f
public static org.joml.Vector4f allocVector4f() -
releaseVector3f
public static void releaseVector3f(org.joml.Vector3f vector3f) -
LoadAllVehicleTextures
public static void LoadAllVehicleTextures() -
LoadVehicleTextures
-
LoadVehicleTexture
-
LoadVehicleTexture
-
setNetPlayerAuthorization
public void setNetPlayerAuthorization(BaseVehicle.Authorization _netPlayerAuthorization, int _netPlayerId) -
isNetPlayerAuthorization
-
isNetPlayerId
public boolean isNetPlayerId(short _netPlayerId) -
getNetPlayerId
public short getNetPlayerId() -
getAuthorizationDescription
-
getFakeSpeedModifier
public static float getFakeSpeedModifier() -
isLocalPhysicSim
public boolean isLocalPhysicSim() -
addImpulse
public void addImpulse(org.joml.Vector3f vector3f0, org.joml.Vector3f vector3f1) -
getEngineSpeed
public double getEngineSpeed() -
getTransmissionNumberLetter
-
getTransmissionNumber
public int getTransmissionNumber() -
setClientForce
public void setClientForce(float force) -
getClientForce
public float getClientForce() -
getForce
public float getForce() -
getObjectName
- Overrides:
getObjectName
in classIsoMovingObject
-
Serialize
-
createPhysics
public void createPhysics() -
createPhysics
public void createPhysics(boolean boolean0) -
isPreviouslyEntered
public boolean isPreviouslyEntered() -
setPreviouslyEntered
public void setPreviouslyEntered(boolean boolean0) -
isPreviouslyMoved
public boolean isPreviouslyMoved() -
setPreviouslyMoved
public void setPreviouslyMoved(boolean boolean0) -
getKeyId
-
getKeySpawned
public boolean getKeySpawned() -
putKeyToZombie
-
putKeyToContainer
-
putKeyToContainerServer
public void putKeyToContainerServer(InventoryItem inventoryItem, IsoGridSquare var2, IsoObject isoObject) -
putKeyToWorld
-
addKeyToWorld
public void addKeyToWorld() -
addKeyToWorld
public void addKeyToWorld(boolean boolean0) -
addKeyToGloveBox
public void addKeyToGloveBox() -
addBuildingKeyToGloveBox
-
createVehicleKey
-
addKeyToSquare
-
addKeyToSquare
-
addKeyToSquare2
-
addKeyToSquare2
-
toggleLockedDoor
-
canLockDoor
-
canUnlockDoor
-
setGeneralPartCondition
public void setGeneralPartCondition(float _baseQuality, float chanceToSpawnDamaged) -
getController
-
getSurroundVehicle
-
getSkinCount
public int getSkinCount() -
getSkinIndex
public int getSkinIndex() -
setSkinIndex
public void setSkinIndex(int index) -
updateSkin
public void updateSkin() -
getShadowTexture
-
getScript
-
setScript
-
getScriptName
- Overrides:
getScriptName
in classIsoObject
-
setScriptName
-
setScript
public void setScript() -
scriptReloaded
public void scriptReloaded() -
scriptReloaded
public void scriptReloaded(boolean boolean0) -
getSkin
-
setModelVisible
protected BaseVehicle.ModelInfo setModelVisible(VehiclePart vehiclePart, VehicleScript.Model model, boolean boolean0) -
getModelInfoForPart
-
getScriptPassenger
-
getMaxPassengers
public int getMaxPassengers() -
setPassenger
public boolean setPassenger(int int0, IsoGameCharacter isoGameCharacter, org.joml.Vector3f vector3f) -
clearPassenger
public boolean clearPassenger(int seat) -
getPassenger
-
getCharacter
-
getSeat
-
isDriver
-
getWorldPos
public org.joml.Vector3f getWorldPos(org.joml.Vector3f vector3f1, org.joml.Vector3f vector3f0, VehicleScript vehicleScript) -
getWorldPos
public org.joml.Vector3f getWorldPos(float float0, float float1, float float2, org.joml.Vector3f vector3f, VehicleScript var5) -
getWorldPos
public org.joml.Vector3f getWorldPos(org.joml.Vector3f vector3f1, org.joml.Vector3f vector3f0) -
getWorldPos
public org.joml.Vector3f getWorldPos(float float0, float float1, float float2, org.joml.Vector3f vector3f) -
getLocalPos
public org.joml.Vector3f getLocalPos(org.joml.Vector3f vector3f1, org.joml.Vector3f vector3f0) -
getLocalPos
public org.joml.Vector3f getLocalPos(float float1, float float0, float var3, org.joml.Vector3f vector3f) -
getPassengerLocalPos
public org.joml.Vector3f getPassengerLocalPos(int int0, org.joml.Vector3f vector3f) -
getPassengerWorldPos
public org.joml.Vector3f getPassengerWorldPos(int int0, org.joml.Vector3f vector3f) -
getPassengerPositionWorldPos
public org.joml.Vector3f getPassengerPositionWorldPos(VehicleScript.Position position, org.joml.Vector3f vector3f) -
getPassengerPositionWorldPos
public org.joml.Vector3f getPassengerPositionWorldPos(float float0, float float1, float float2, org.joml.Vector3f vector3f) -
getPassengerAnim
-
getPassengerPosition
-
getPassengerDoor
-
getPassengerDoor2
-
isPositionOnLeftOrRight
public boolean isPositionOnLeftOrRight(float x, float y) -
haveOneDoorUnlocked
public boolean haveOneDoorUnlocked()Check if one of the seat door is unlocked -
getPassengerArea
-
playPassengerAnim
-
playPassengerAnim
-
playPassengerSound
-
playPartAnim
-
playActorAnim
-
playPartSound
-
setCharacterPosition
-
transmitCharacterPosition
-
setCharacterPositionToAnim
-
getPassengerSwitchSeatCount
public int getPassengerSwitchSeatCount(int seat) -
getPassengerSwitchSeat
-
getSwitchSeatAnimName
-
getSwitchSeatAnimRate
public float getSwitchSeatAnimRate(int seatFrom, int seatTo) -
getSwitchSeatSound
-
canSwitchSeat
public boolean canSwitchSeat(int seatFrom, int seatTo) -
switchSeat
-
playSwitchSeatAnim
public void playSwitchSeatAnim(int seatFrom, int seatTo) -
isSeatOccupied
public boolean isSeatOccupied(int seat) -
isSeatInstalled
public boolean isSeatInstalled(int seat) -
getBestSeat
-
updateHasExtendOffsetForExit
-
updateHasExtendOffsetForExitEnd
-
updateHasExtendOffset
-
getUseablePart
-
getUseablePart
-
getClosestWindow
-
getFacingPosition
-
enter
-
enter
-
enterRSync
-
exit
-
exitRSync
-
hasRoof
public boolean hasRoof(int seat) -
showPassenger
public boolean showPassenger(int seat) -
showPassenger
-
save
- Overrides:
save
in classIsoMovingObject
- Throws:
IOException
-
load
- Overrides:
load
in classIsoMovingObject
- Throws:
IOException
-
softReset
-
trySpawnKey
public void trySpawnKey() -
trySpawnKey
public void trySpawnKey(boolean boolean0) -
shouldCollideWithCharacters
public boolean shouldCollideWithCharacters() -
shouldCollideWithObjects
public boolean shouldCollideWithObjects() -
brekingObjects
public void brekingObjects() -
damageObjects
public void damageObjects(float damage) -
update
public void update()- Overrides:
update
in classIsoMovingObject
-
applyImpulseFromHitZombies
public void applyImpulseFromHitZombies() -
applyImpulseFromProneCharacters
public void applyImpulseFromProneCharacters() -
getFudgedMass
public float getFudgedMass() -
isInvalidChunkAround
public boolean isInvalidChunkAround() -
isInvalidChunkAhead
public boolean isInvalidChunkAhead() -
isInvalidChunkBehind
public boolean isInvalidChunkBehind() -
isInvalidChunkAround
public boolean isInvalidChunkAround(boolean moveW, boolean moveE, boolean moveN, boolean moveS) -
postupdate
public void postupdate()- Overrides:
postupdate
in classIsoMovingObject
-
updateAnimationPlayer
-
saveChange
public void saveChange(String string, se.krka.kahlua.vm.KahluaTable kahluaTable, ByteBuffer byteBuffer) - Overrides:
saveChange
in classIsoObject
-
loadChange
- Overrides:
loadChange
in classIsoObject
-
authorizationClientCollide
-
authorizationServerCollide
public void authorizationServerCollide(short PlayerID, boolean isCollide) -
authorizationServerOnSeat
-
hasAuthorization
-
netPlayerServerSendAuthorisation
-
netPlayerFromServerUpdate
public void netPlayerFromServerUpdate(BaseVehicle.Authorization authorization, short authorizationPlayer) -
getWorldTransform
-
setWorldTransform
-
flipUpright
public void flipUpright() -
setAngles
public void setAngles(float degreesX, float degreesY, float degreesZ) -
getAngleX
public float getAngleX() -
getAngleY
public float getAngleY() -
getAngleZ
public float getAngleZ() -
setDebugZ
public void setDebugZ(float z) -
setPhysicsActive
public void setPhysicsActive(boolean active) -
getDebugZ
public float getDebugZ() -
getPoly
-
getPolyPlusRadius
-
getForwardVector
public org.joml.Vector3f getForwardVector(org.joml.Vector3f vector3f) -
getUpVector
public org.joml.Vector3f getUpVector(org.joml.Vector3f vector3f) -
getUpVectorDot
public float getUpVectorDot() -
isStopped
public boolean isStopped() -
getCurrentSpeedKmHour
public float getCurrentSpeedKmHour() -
getLinearVelocity
public org.joml.Vector3f getLinearVelocity(org.joml.Vector3f vector3f) -
getSpeed2D
public float getSpeed2D() -
isAtRest
public boolean isAtRest() -
updateTransform
protected void updateTransform() -
updatePhysics
public void updatePhysics() -
updatePhysicsNetwork
public void updatePhysicsNetwork() -
checkPhysicsValidWithServer
public void checkPhysicsValidWithServer() -
updateControls
public void updateControls() -
isKeyboardControlled
public boolean isKeyboardControlled() -
getJoypad
public int getJoypad() -
Damage
-
HitByVehicle
- Overrides:
HitByVehicle
in classIsoObject
-
crash
public void crash(float delta, boolean front) -
addDamageFrontHitAChr
public void addDamageFrontHitAChr(int dmg) When hitting a character (zombie or player) damage aren't the same as hitting a wall. damaged will be mainly focus on windshield/hood, not on doors/windows like when hitting a wall. -
addDamageRearHitAChr
public void addDamageRearHitAChr(int dmg) When hitting a character (zombie or player) damage aren't the same as hitting a wall. damaged will be mainly focus on windshield/truckbed, not on doors/windows like when hitting a wall. -
isCharacterAdjacentTo
-
testCollisionWithCharacter
-
testCollisionWithProneCharacter
-
testCollisionWithCorpse
-
testCollisionWithProneCharacter
public int testCollisionWithProneCharacter(IsoMovingObject chr, float angleX, float angleY, boolean doSound) -
testCollisionWithObject
-
testCollisionWithVehicle
-
getObjectX
-
getObjectY
-
ApplyImpulse
-
ApplyImpulse4Break
-
hitCharacter
-
hitCharacter
-
calculateDamageWithCharacter
-
blocked
public boolean blocked(int x, int y, int z) -
isIntersectingSquare
public boolean isIntersectingSquare(int x, int y, int z) -
isIntersectingSquare
-
isIntersectingSquareWithShadow
public boolean isIntersectingSquareWithShadow(int x, int y, int z) -
circleIntersects
public boolean circleIntersects(float x, float y, float z, float radius) -
updateLights
public void updateLights() -
fixLightbarModelLighting
-
doDamageOverlay
public void doDamageOverlay() -
getBloodIntensity
-
setBloodIntensity
-
transmitBlood
public void transmitBlood() -
doBloodOverlay
public void doBloodOverlay() -
isOnScreen
public boolean isOnScreen()- Overrides:
isOnScreen
in classIsoObject
-
render
-
renderlast
public void renderlast()- Overrides:
renderlast
in classIsoMovingObject
-
renderShadow
public void renderShadow() -
isEnterBlocked
-
isExitBlocked
public boolean isExitBlocked(int seat) -
isExitBlocked
-
isPassengerUseDoor2
-
isEnterBlocked2
-
isExitBlocked2
public boolean isExitBlocked2(int seat) -
areaPositionWorld
-
areaPositionWorld
-
areaPositionWorld4PlayerInteract
-
areaPositionWorld4PlayerInteract
-
getWheelForwardVector
public void getWheelForwardVector(int int0, org.joml.Vector3f vector3f) -
tryStartEngine
public void tryStartEngine(boolean haveKey) -
tryStartEngine
public void tryStartEngine() -
engineDoIdle
public void engineDoIdle() -
engineDoStarting
public void engineDoStarting() -
isStarting
public boolean isStarting() -
engineDoRetryingStarting
public void engineDoRetryingStarting() -
engineDoStartingSuccess
public void engineDoStartingSuccess() -
engineDoStartingFailed
public void engineDoStartingFailed() -
engineDoStartingFailed
-
engineDoStartingFailedNoPower
public void engineDoStartingFailedNoPower() -
engineDoRunning
public void engineDoRunning() -
engineDoStalling
public void engineDoStalling() -
engineDoShuttingDown
public void engineDoShuttingDown() -
engineDoShuttingDown
-
shutOff
public void shutOff() -
shutOff
-
resumeRunningAfterLoad
public void resumeRunningAfterLoad() -
isEngineStarted
public boolean isEngineStarted() -
isEngineRunning
public boolean isEngineRunning() -
isEngineWorking
public boolean isEngineWorking() -
isOperational
public boolean isOperational() -
isDriveable
public boolean isDriveable() -
getEmitter
-
playSoundImpl
-
stopSound
public int stopSound(long channel) -
playSound
-
updateSounds
public void updateSounds() -
updateParts
public void updateParts() -
drainBatteryUpdateHack
public void drainBatteryUpdateHack() -
getHeadlightsOn
public boolean getHeadlightsOn() -
setHeadlightsOn
public void setHeadlightsOn(boolean on) -
getWindowLightsOn
public boolean getWindowLightsOn() -
setWindowLightsOn
public void setWindowLightsOn(boolean on) -
getHeadlightCanEmmitLight
public boolean getHeadlightCanEmmitLight() -
getStoplightsOn
public boolean getStoplightsOn() -
setStoplightsOn
public void setStoplightsOn(boolean on) -
hasHeadlights
public boolean hasHeadlights() -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
addToWorld
public void addToWorld(boolean boolean0) -
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoMovingObject
-
permanentlyRemove
public void permanentlyRemove() -
getBattery
-
setEngineFeature
public void setEngineFeature(int quality, int loudness, int engineForce) -
getEngineQuality
public int getEngineQuality() -
getEngineLoudness
public int getEngineLoudness() -
getEnginePower
public int getEnginePower() -
getBatteryCharge
public float getBatteryCharge() -
getPartCount
public int getPartCount() -
getPartByIndex
-
getPartById
-
getNumberOfPartsWithContainers
public int getNumberOfPartsWithContainers() -
getPartForSeatContainer
-
transmitPartCondition
-
transmitPartItem
-
transmitPartModData
-
transmitPartUsedDelta
-
transmitPartDoor
-
transmitPartWindow
-
getLightCount
public int getLightCount() -
getLightByIndex
-
getZone
-
setZone
-
isInArea
-
getAreaDist
-
getAreaDist
-
getAreaCenter
-
getAreaCenter
-
isInBounds
public boolean isInBounds(float worldX, float worldY) -
canAccessContainer
-
canInstallPart
-
canUninstallPart
-
getId
public short getId() -
setTireInflation
public void setTireInflation(int wheelIndex, float inflation) -
setTireRemoved
public void setTireRemoved(int wheelIndex, boolean removed) -
chooseBestAttackPosition
public org.joml.Vector3f chooseBestAttackPosition(IsoGameCharacter isoGameCharacter1, IsoGameCharacter isoGameCharacter0, org.joml.Vector3f vector3f) -
getMinMaxPosition
-
getVehicleType
-
setVehicleType
-
getMaxSpeed
public float getMaxSpeed() -
setMaxSpeed
public void setMaxSpeed(float _maxSpeed) -
lockServerUpdate
public void lockServerUpdate(long lockTimeMs) -
changeTransmission
Change transmission, slow down the car if you change shift for a superior one -
tryHotwire
public void tryHotwire(int electricityLevel) Try to hotwire a car Calcul is: 100-Engine quality (capped to 5) + Skill modifier: electricityLvl * 4 % of hotwiring the car Failing may cause the ignition to break -
cheatHotwire
public void cheatHotwire(boolean _hotwired, boolean broken) -
isKeyIsOnDoor
public boolean isKeyIsOnDoor() -
setKeyIsOnDoor
public void setKeyIsOnDoor(boolean _keyIsOnDoor) -
isHotwired
public boolean isHotwired() -
setHotwired
public void setHotwired(boolean _hotwired) -
isHotwiredBroken
public boolean isHotwiredBroken() -
setHotwiredBroken
public void setHotwiredBroken(boolean _hotwiredBroken) -
getDriver
-
isKeysInIgnition
public boolean isKeysInIgnition() -
setKeysInIgnition
public void setKeysInIgnition(boolean keysOnContact) -
putKeyInIgnition
-
removeKeyFromIgnition
public void removeKeyFromIgnition() -
putKeyOnDoor
-
removeKeyFromDoor
public void removeKeyFromDoor() -
syncKeyInIgnition
-
hasAlarm
public boolean hasAlarm() -
hasHorn
public boolean hasHorn() -
hasLightbar
public boolean hasLightbar() -
onAlarmStart
public void onAlarmStart() -
onAlarmStop
public void onAlarmStop() -
onHornStart
public void onHornStart() -
onHornStop
public void onHornStop() -
hasBackSignal
public boolean hasBackSignal() -
isBackSignalEmitting
public boolean isBackSignalEmitting() -
onBackMoveSignalStart
public void onBackMoveSignalStart() -
onBackMoveSignalStop
public void onBackMoveSignalStop() -
getLightbarLightsMode
public int getLightbarLightsMode() -
setLightbarLightsMode
public void setLightbarLightsMode(int mode) -
getLightbarSirenMode
public int getLightbarSirenMode() -
setLightbarSirenMode
public void setLightbarSirenMode(int mode) -
getChoosenParts
-
getMass
public float getMass() -
setMass
public void setMass(float _mass) -
getInitialMass
public float getInitialMass() -
setInitialMass
public void setInitialMass(float _initialMass) -
updateTotalMass
public void updateTotalMass() -
getBrakingForce
public float getBrakingForce() -
setBrakingForce
public void setBrakingForce(float _brakingForce) -
getBaseQuality
public float getBaseQuality() -
setBaseQuality
public void setBaseQuality(float _baseQuality) -
getCurrentSteering
public float getCurrentSteering() -
setCurrentSteering
public void setCurrentSteering(float _currentSteering) -
isDoingOffroad
public boolean isDoingOffroad() -
isBraking
public boolean isBraking() -
setBraking
public void setBraking(boolean _isBraking) -
updatePartStats
public void updatePartStats()Update the stats of the part depending on condition -
transmitEngine
public void transmitEngine() -
setRust
public void setRust(float _rust) -
getRust
public float getRust() -
transmitRust
public void transmitRust() -
transmitColorHSV
public void transmitColorHSV() -
transmitSkinIndex
public void transmitSkinIndex() -
updateBulletStats
public void updateBulletStats() -
setActiveInBullet
public void setActiveInBullet(boolean active) Used in mechanics UI, we enable the vehicle in Bullet when starting mechanics so physic will be updated. When we close the UI, we should disable it in Bullet, expect if the engine is running. -
areAllDoorsLocked
public boolean areAllDoorsLocked() -
isAnyDoorLocked
public boolean isAnyDoorLocked() -
getRemainingFuelPercentage
public float getRemainingFuelPercentage() -
getMechanicalID
public int getMechanicalID() -
setMechanicalID
public void setMechanicalID(int _mechanicalID) -
needPartsUpdate
public boolean needPartsUpdate() -
setNeedPartsUpdate
public void setNeedPartsUpdate(boolean _needPartsUpdate) -
getHeater
-
windowsOpen
public int windowsOpen() -
isAlarmed
public boolean isAlarmed() -
setAlarmed
public void setAlarmed(boolean _alarmed) -
triggerAlarm
public void triggerAlarm() -
isMechanicUIOpen
public boolean isMechanicUIOpen() -
setMechanicUIOpen
public void setMechanicUIOpen(boolean _mechanicUIOpen) -
damagePlayers
public void damagePlayers(float damage) -
addRandomDamageFromCrash
-
isTrunkLocked
public boolean isTrunkLocked() -
setTrunkLocked
public void setTrunkLocked(boolean locked) -
getNearestBodyworkPart
-
getSirenStartTime
public double getSirenStartTime() -
setSirenStartTime
public void setSirenStartTime(double worldAgeHours) -
sirenShutoffTimeExpired
public boolean sirenShutoffTimeExpired() -
repair
public void repair() -
isAnyListenerInside
public boolean isAnyListenerInside() -
couldCrawlerAttackPassenger
-
isGoodCar
public boolean isGoodCar() -
setGoodCar
public void setGoodCar(boolean _isGoodCar) -
getCurrentKey
-
setCurrentKey
-
isInForest
public boolean isInForest() -
shouldNotHaveLoot
public boolean shouldNotHaveLoot() -
isInTrafficJam
public boolean isInTrafficJam() -
getOffroadEfficiency
public float getOffroadEfficiency()Give the offroad efficiency of the car, based on car's script + where the vehicle is (in forest you get more damage than vegitation) Currently x2 to balance things -
doChrHitImpulse
-
isDoColor
public boolean isDoColor() -
setDoColor
public void setDoColor(boolean _doColor) -
getBrakeSpeedBetweenUpdate
public float getBrakeSpeedBetweenUpdate() -
getSquare
- Overrides:
getSquare
in classIsoMovingObject
-
setColor
public void setColor(float value, float saturation, float hue) -
setColorHSV
public void setColorHSV(float hue, float saturation, float value) -
getColorHue
public float getColorHue() -
getColorSaturation
public float getColorSaturation() -
getColorValue
public float getColorValue() -
isRemovedFromWorld
public boolean isRemovedFromWorld() -
getInsideTemperature
public float getInsideTemperature() -
getAnimationPlayer
-
releaseAnimationPlayers
public void releaseAnimationPlayers() -
setAddThumpWorldSound
public void setAddThumpWorldSound(boolean add) -
createImpulse
public void createImpulse(org.joml.Vector3f var1) -
Thump
-
WeaponHit
-
getThumpableFor
- Specified by:
getThumpableFor
in interfaceThumpable
- Overrides:
getThumpableFor
in classIsoObject
-
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpCondition
in interfaceThumpable
- Overrides:
getThumpCondition
in classIsoObject
-
isRegulator
public boolean isRegulator() -
setRegulator
public void setRegulator(boolean _regulator) -
getRegulatorSpeed
public float getRegulatorSpeed() -
setRegulatorSpeed
public void setRegulatorSpeed(float _regulatorSpeed) -
getCurrentSpeedForRegulator
public float getCurrentSpeedForRegulator() -
setVehicleTowing
-
setVehicleTowedBy
-
getVehicleTowing
-
getVehicleTowedBy
-
attachmentExist
-
getAttachmentLocalPos
-
getAttachmentWorldPos
-
setForceBrake
public void setForceBrake() -
getTowingLocalPos
-
getTowedByLocalPos
-
getTowingWorldPos
-
getTowedByWorldPos
-
getPlayerTrailerLocalPos
public org.joml.Vector3f getPlayerTrailerLocalPos(String string, boolean boolean0, org.joml.Vector3f vector3f2) -
getPlayerTrailerWorldPos
public org.joml.Vector3f getPlayerTrailerWorldPos(String string, boolean boolean0, org.joml.Vector3f vector3f0) -
drawDirectionLine
-
addPointConstraint
public void addPointConstraint(IsoPlayer player, BaseVehicle vehicleB, String attachmentA, String attachmentB) -
addPointConstraint
public void addPointConstraint(IsoPlayer player, BaseVehicle vehicleB, String attachmentA, String attachmentB, Boolean remote) -
authorizationChanged
-
constraintChanged
public void constraintChanged() -
breakConstraint
public void breakConstraint(boolean forgetID, boolean remote) -
canAttachTrailer
-
canAttachTrailer
public boolean canAttachTrailer(BaseVehicle vehicleB, String attachmentA, String attachmentB, boolean reconnect) -
positionTrailer
-
getTowAttachmentSelf
-
getTowAttachmentOther
-
getVehicleEngineRPM
-
getFMODParameters
- Specified by:
getFMODParameters
in interfacefmod.fmod.IFMODParameterUpdater
-
startEvent
- Specified by:
startEvent
in interfacefmod.fmod.IFMODParameterUpdater
-
updateEvent
- Specified by:
updateEvent
in interfacefmod.fmod.IFMODParameterUpdater
-
stopEvent
- Specified by:
stopEvent
in interfacefmod.fmod.IFMODParameterUpdater
-
setSmashed
-
setSmashed
-
isCollided
-
checkCollision
-
updateHitByVehicle
-
hitCharacter
-
getAnimalTrailerSize
public float getAnimalTrailerSize() -
getAnimals
-
addAnimalFromHandsInTrailer
-
addAnimalFromHandsInTrailer
-
addAnimalInTrailer
-
addAnimalInTrailer
-
removeAnimalFromTrailer
-
replaceGrownAnimalInTrailer
-
getCurrentTotalAnimalSize
public float getCurrentTotalAnimalSize() -
setCurrentTotalAnimalSize
public void setCurrentTotalAnimalSize(float float0) -
keyNamerVehicle
-
keyNamerVehicle
-
checkZombieKeyForVehicle
-
checkZombieKeyForVehicle
-
checkForSpecialMatchOne
-
checkForSpecialMatchTwo
-
checkIfGoodVehicleForKey
public boolean checkIfGoodVehicleForKey() -
trySpawnVehicleKeyOnZombie
-
trySpawnVehicleKeyInObject
-
checkSquareForVehicleKeySpot
-
checkSquareForVehicleKeySpot
-
checkSquareForVehicleKeySpotContainer
-
checkSquareForVehicleKeySpotZombie
-
forceVehicleDistribution
-
canLightSmoke
-
getZombieType
-
getRandomZombieType
-
hasZombieType
-
getFirstZombieType
-
notKillCrops
public boolean notKillCrops() -
hasLighter
public boolean hasLighter() -
leftSideFuel
public boolean leftSideFuel() -
rightSideFuel
public boolean rightSideFuel() -
isCreated
public boolean isCreated() -
getTotalContainerItemWeight
public float getTotalContainerItemWeight() -
isSirening
public boolean isSirening() -
getIntersectPoint
-
getNearestVehiclePart
public VehiclePart getNearestVehiclePart(float float0, float float1, float float2, boolean boolean0) -
isInArea
-
processHit
-
canAddAnimalInTrailer
-
canAddAnimalInTrailer
-
isBurnt
public boolean isBurnt() -
isSmashed
public boolean isSmashed() -
isBurntOrSmashed
public boolean isBurntOrSmashed() -
getSpecialKeyRingChance
public float getSpecialKeyRingChance() -
hasLiveBattery
public boolean hasLiveBattery()
-