Class BaseVehicle
java.lang.Object
zombie.entity.GameEntity
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.vehicles.BaseVehicle
- All Implemented Interfaces:
IFMODParameterUpdater,Serializable,Mover,ILuaIsoObject,IsoRenderable,Thumpable,IPositional
public final class BaseVehicle
extends IsoMovingObject
implements Thumpable, IFMODParameterUpdater, IPositional
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic classstatic final classstatic final classstatic final classstatic final classstatic final classNested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintlongstatic floatfloatfloatfloatfloatfloatfinal BaseVehicle.ServerVehicleState[]intintintlonglongintdoublestatic final intintbooleanbooleanbooleanbooleanbooleanbooleanbooleanfinal Vector3ffloatfinal Transformintbytefinal LightbarLightsModefinal LightbarSirenModestatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intfinal ArrayList<BaseVehicle.ModelInfo> shortintfinal long[]static final bytelongstatic final intstatic final floatstatic floatbooleanstatic final bytebooleanbooleanstatic final floatlonglongstatic final intintstatic booleanfinal Matrix4ffloatfloatfinal Quaternionfbooleanfinal VehiclePolybooleanlongbooleanbooleanbooleanlongintfloatbooleanfloatfloatstatic final ThreadLocal<BaseVehicle.Matrix4fObjectPool> static final ThreadLocal<BaseVehicle.QuaternionfObjectPool> static final ThreadLocal<BaseVehicle.TransformPool> static final ThreadLocal<BaseVehicle.Vector2fObjectPool> static final ThreadLocal<BaseVehicle.Vector3ObjectPool> static final ThreadLocal<BaseVehicle.Vector3fObjectPool> static final ThreadLocal<BaseVehicle.Vector4fObjectPool> final UpdateLimitshortshortstatic Texturefinal Matrix4fbooleanfinal BaseVehicle.WheelInfo[]booleanstatic final booleanFields inherited from class zombie.iso.IsoMovingObject
def, last, MAX_ZOMBIES_EATING, noDamage, reqMovement, treeSoundMgrFields inherited from class zombie.iso.IsoObject
alpha, AttachedAnimSprite, bAlphaForced, bmod, bNeverDoneAlpha, bSatChair, container, Damage, dir, doNotSync, fireColor, gmod, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, ppfBlink, ppfHighlighted, ppfHighlightRenderOnce, renderDepthAdjust, renderSquareOverride, renderSquareOverride2, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, table, tintb, tintg, tintr, wallBloodSplatsFields inherited from class zombie.entity.GameEntity
DEFAULT_ENTITY_DISPLAY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnimalFromHandsInTrailer(IsoAnimal animal, IsoPlayer player) voidaddAnimalFromHandsInTrailer(IsoDeadBody deadBody, IsoPlayer player) voidaddAnimalInTrailer(IsoAnimal animal) voidaddAnimalInTrailer(IsoDeadBody deadBody) voidvoidaddDamageFrontHitAChr(int dmg) When hitting a character (zombie or player) damage aren't the same as hitting a wall.voidaddDamageRearHitAChr(int dmg) When hitting a character (zombie or player) damage aren't the same as hitting a wall.voidaddImpulse(Vector3f impulse, Vector3f rel_pos) voidbooleanbooleanaddKeyToSquare(IsoGridSquare square0, boolean boolean1) booleanaddKeyToSquare2(IsoGridSquare square, int int0) booleanaddKeyToSquare2(IsoGridSquare square0, int int1, boolean boolean1) voidvoidaddKeyToWorld(boolean boolean0) voidaddPointConstraint(IsoPlayer player, BaseVehicle vehicleB, String attachmentA, String attachmentB) voidaddPointConstraint(IsoPlayer player, BaseVehicle vehicleB, String attachmentA, String attachmentB, Boolean remote) voidaddRandomDamageFromCrash(IsoGameCharacter chr, float damage) voidvoidaddToWorld(boolean boolean0) static Matrix4fstatic Quaternionfstatic Transformstatic Vector2static Vector2fstatic Vector3static Vector3fstatic Vector4fvoidApplyImpulse(IsoObject obj, float mul) voidApplyImpulse4Break(IsoObject obj, float mul) voidvoidbooleanareaPositionWorld(VehicleScript.Area area, Vector2 out) booleanattachmentExist(String attachmentName) voidauthorizationChanged(IsoGameCharacter character) voidauthorizationClientCollide(IsoPlayer driver) voidauthorizationServerCollide(short PlayerID, boolean isCollide) voidauthorizationServerOnSeat(IsoPlayer player, boolean enter) booleanblocked(int x, int y, int z) voidbreakConstraint(boolean forgetID, boolean remote) voidintbooleancanAccessContainer(int partIndex, IsoGameCharacter chr) booleancanAddAnimalInTrailer(IsoAnimal animal) booleancanAddAnimalInTrailer(IsoDeadBody deadBody) booleancanAttachTrailer(BaseVehicle vehicleB, String attachmentA, String attachmentB) booleancanAttachTrailer(BaseVehicle vehicleB, String attachmentA, String attachmentB, boolean reconnect) booleancanInstallPart(IsoGameCharacter chr, VehiclePart part) booleancanLightSmoke(IsoGameCharacter character) booleancanLockDoor(VehiclePart part, IsoGameCharacter chr) booleancanOpenDoor(VehiclePart part0, IsoGameCharacter character) booleancanSwitchSeat(int seatFrom, int seatTo) booleancanUninstallPart(IsoGameCharacter chr, VehiclePart part) booleancanUnlockDoor(VehiclePart part, IsoGameCharacter chr) voidchangeTransmission(TransmissionNumber newTransmission) Change transmission, slow down the car if you change shift for a superior onevoidcheatHotwire(boolean _hotwired, boolean broken) checkCollision(IsoGameCharacter target) booleancheckForSpecialMatchOne(String string1, String string2, String string0) booleancheckForSpecialMatchTwo(String string1, String string2, String string0) booleanvoidbooleanbooleancheckSquareForVehicleKeySpot(IsoGridSquare square, boolean boolean1) booleanbooleanbooleancheckZombieKeyForVehicle(IsoZombie zombie0) booleancheckZombieKeyForVehicle(IsoZombie zombie0, String string0) voidchooseBestAttackPosition(IsoGameCharacter target, IsoGameCharacter attacker, Vector3f worldPos) booleancircleIntersects(float x, float y, float z, float radius) booleanclearPassenger(int seat) voidbooleanvoidcrash(float delta, boolean front) voidcreateImpulse(Vector3f var1) voidvoidcreatePhysics(boolean boolean0) voidDamage(float amount) voiddamageObjects(float damage) voiddamagePlayers(float damage) floatdistanceToManhatten(float float0, float float1) voidvoiddoChrHitImpulse(IsoObject chr) voidvoidvoiddrawDirectionLine(Vector2 dir, float length, float r, float g, float b) voidvoidvoidvoidvoidengineDoShuttingDown(String string) voidvoidvoidvoidengineDoStartingFailed(String string) voidvoidbooleanenter(int seat, IsoGameCharacter chr) booleanenter(int seat, IsoGameCharacter chr, Vector3f offset) booleanenterRSync(int seat, IsoGameCharacter chr, BaseVehicle v) booleanexit(IsoGameCharacter chr) booleanvoidfixLightbarModelLighting(IsoLightSource ls, Vector3f lightPos) voidvoidforceVehicleDistribution(String string) getAllSeatParts(ArrayList<VehiclePart> arrayList) floatfloatfloatfloatgetAreaCenter(String areaId) getAreaCenter(String areaId, Vector2 out) floatgetAreaDist(String string, float float0, float float1, float float2) floatgetAreaDist(String areaId, IsoGameCharacter chr) getAreaFacingPosition(String string, Vector2 vector1) getAttachmentLocalPos(String attachmentName, Vector3f v) getAttachmentWorldPos(String attachmentName, Vector3f v) floatfloatintfloatfloatfloatgetCharacter(int seat) floatfloatgetClosestPointOnExtents(float float0, float float1, Vector2f vector2f) floatgetClosestPointOnPoly(float float0, float float1, Vector2f vector2f) floatgetClosestPointOnPoly(BaseVehicle vehicle0, Vector2f vector2f0, Vector2f vector2f1) floatfloatfloatfloatfloatfloatfloatfloatintintintdoublefloatgetEnterSeatDistance(int int0, float float1, float float2) getFacingPosition(IsoGameCharacter character, Vector2 vector) static floatfloatgetForce()getForwardVector(Vector3f out) floatbooleanbooleanshortgetId()floatfloatgetIntersectPoint(Vector3 vector31, Vector3 vector33) intintgetKeyId()booleanintintgetLightByIndex(int index) intgetLocalPos(float worldX, float worldY, float worldZ, Vector3f localPos) getLocalPos(Vector3f worldPos, Vector3f localPos) floatgetMass()intfloatintgetNearestVehiclePart(float float0, float float1, float float2, boolean boolean0) shortintfloatGive 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) getPartByPartId(VehiclePart vehiclePart) intgetPartForSeatContainer(int seat) intgetPartIndex(String string) getPassenger(int seat) getPassengerAnim(int seat, String id) getPassengerArea(int seat) getPassengerDoor(int seat) getPassengerDoor2(int seat) getPassengerLocalPos(int seat, Vector3f v) getPassengerPosition(int seat, String id) getPassengerPositionWorldPos(float x, float y, float z, Vector3f out) getPassengerSwitchSeat(int seat, int index) intgetPassengerSwitchSeatCount(int seat) getPassengerWorldPos(int seat, Vector3f out) getPlayerTrailerLocalPos(String attachmentName, boolean left, Vector3f v) getPlayerTrailerWorldPos(String attachmentName, boolean left, Vector3f v) getPoly()floatfloatfloatgetRust()intgetSeat(IsoGameCharacter chr) doublegetSkin()intintfloatfloatintgetSqlId()getSquareForArea(String string) booleangetSwitchSeatAnimName(int seatFrom, int seatTo) floatgetSwitchSeatAnimRate(int seatFrom, int seatTo) getSwitchSeatSound(int seatFrom, int seatTo) floatfloatgetTowedByLocalPos(String attachmentName, Vector3f v) getTowedByWorldPos(String attachmentName, Vector3f v) getTowingLocalPos(String attachmentName, Vector3f v) getTowingWorldPos(String attachmentName, Vector3f v) intgetUpVector(Vector3f out) floatgetUseablePart(IsoGameCharacter chr, boolean checkDir) <T> PZArrayList<ItemContainer> getVehicleItemContainers(T object, Invokers.Params2.Boolean.ICallback<T, ItemContainer> iCallback) <T> PZArrayList<ItemContainer> getVehicleItemContainers(T object, Invokers.Params2.Boolean.ICallback<T, ItemContainer> iCallback, PZArrayList<ItemContainer> pZArrayList) voidgetWheelForwardVector(int wheelIndex, Vector3f out) booleangetWorldPos(float localX, float localY, float localZ, Vector3f worldPos) getWorldPos(float localX, float localY, float localZ, Vector3f worldPos, VehicleScript _script) getWorldPos(Vector3f localPos, Vector3f worldPos) getWorldPos(Vector3f localPos, Vector3f worldPos, VehicleScript _script) getZone()booleanhasAlarm()booleanhasAuthorization(UdpConnection connection) booleanbooleanbooleanhasHorn()booleanbooleanbooleanbooleanbooleanhasRoof(int seat) booleanhasZombieType(String string) booleanCheck if one of the seat door is unlockedvoidHitByVehicle(BaseVehicle vehicle, float amount) voidhitCharacter(IsoAnimal animal0) voidhitCharacter(IsoGameCharacter character, BaseVehicle.HitVars vars) voidhitCharacter(IsoZombie chr) booleanintersectLineWithExtents(float float0, float float1, float float2, float float3, float float9, Vector2f vector2f) booleanintersectLineWithPoly(float float3, float float4, float float5, float float6, Vector2f vector2f) booleanbooleanbooleanbooleanisAtRest()booleanbooleanbooleanisBurnt()booleanbooleanbooleanisCollided(IsoGameCharacter character) booleanbooleanbooleanbooleanbooleanisDriver(IsoGameCharacter chr) booleanbooleanbooleanbooleanisEnterBlocked(IsoGameCharacter chr, int seat) booleanisEnterBlocked2(IsoGameCharacter chr, int seat) booleanisExitBlocked(int seat) booleanisExitBlocked(IsoGameCharacter chr, int seat) booleanisExitBlocked2(int seat) booleanbooleanbooleanbooleanbooleanisInArea(String areaId, IsoGameCharacter chr) booleanisInBounds(float worldX, float worldY) booleanbooleanisIntersectingSquare(int x, int y, int z) booleanisIntersectingSquare(IsoGridSquare square) booleanisIntersectingSquareWithShadow(int x, int y, int z) booleanbooleanbooleanbooleanisInvalidChunkAround(boolean moveW, boolean moveE, boolean moveN, boolean moveS) booleanbooleanbooleanbooleanbooleanbooleanbooleanisNetPlayerAuthorization(BaseVehicle.Authorization _netPlayerAuthorization) booleanisNetPlayerId(short _netPlayerId) booleanbooleanbooleanisPassengerUseDoor2(IsoGameCharacter chr, int seat) booleanisPointLeftOfCenter(float float0, float float1) booleanisPositionOnLeftOrRight(float x, float y) booleanbooleanbooleanbooleanbooleanisSeatHoldingItems(int int0) booleanbooleanisSeatInstalled(int seat) booleanisSeatOccupied(int seat) booleanbooleanbooleanbooleanbooleanvoidkeyNamerVehicle(InventoryItem item) static voidkeyNamerVehicle(InventoryItem item, BaseVehicle vehicle) booleanvoidload(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) static voidvoidloadChange(String change, ByteBuffer bb) static TextureLoadVehicleTexture(String name) static TextureLoadVehicleTexture(String name, int flags) static voidLoadVehicleTextures(VehicleScript _script) voidlockServerUpdate(long lockTimeMs) booleanvoidnetPlayerFromServerUpdate(BaseVehicle.Authorization authorization, short authorizationPlayer) voidbooleanvoidvoidvoidvoidvoidvoidvoidvoidplayActorAnim(VehiclePart part, String animId, IsoGameCharacter chr) voidplayPartAnim(VehiclePart part, String animId) voidplayPartSound(VehiclePart part, IsoPlayer player, String animId) voidplayPassengerAnim(int seat, String animId) voidplayPassengerAnim(int seat, String animId, IsoGameCharacter chr) voidplayPassengerSound(int seat, String animId) voidlongplaySoundImpl(String file, IsoObject parent) voidplaySwitchSeatAnim(int seatFrom, int seatTo) voidpositionTrailer(BaseVehicle trailer) voidbooleanprocessHit(IsoGameCharacter character, HandWeapon weapon, float float0) voidputKeyInIgnition(InventoryItem item0, int int0) voidvoidputKeyToContainer(ItemContainer container, IsoGridSquare sq, IsoObject obj) voidputKeyToContainerServer(InventoryItem item, IsoGridSquare var2, IsoObject object) voidvoidputKeyToZombie(IsoZombie zombie) voidstatic voidreleaseMatrix4f(Matrix4f matrix4f) static voidreleaseQuaternionf(Quaternionf quaternionf) static voidreleaseTransform(Transform transform) static voidstatic voidreleaseVector2f(Vector2f vector2f) static voidreleaseVector3(Vector3 vector) static voidreleaseVector3f(Vector3f vector3f) static voidreleaseVector4f(Vector4f vector4f) removeAnimalFromTrailer(IsoAnimal animal1) voidvoidvoidvoidrender(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader) voidvoidvoidrepair()voidreplaceGrownAnimalInTrailer(IsoAnimal animal1, IsoAnimal animal0) voidbooleanvoidsave(ByteBuffer output, boolean IS_DEBUG_SAVE) voidsaveChange(String change, KahluaTable tbl, ByteBuffer bb) voidvoidscriptReloaded(boolean boolean0) booleanvoidsetActiveInBullet(boolean active) Used in mechanics UI, we enable the vehicle in Bullet when starting mechanics so physic will be updated.voidsetAddThumpWorldSound(boolean add) voidsetAlarmed(boolean _alarmed) voidsetAngles(float degreesX, float degreesY, float degreesZ) voidsetBaseQuality(float _baseQuality) voidsetBloodIntensity(String id, float intensity) voidsetBraking(boolean _isBraking) voidsetBrakingForce(float _brakingForce) voidsetCharacterPosition(IsoGameCharacter chr, int seat, String positionId) voidsetCharacterPositionToAnim(IsoGameCharacter chr, int seat, String animId) voidsetChosenAlarmSound(String string) voidsetClientForce(float force) voidsetColor(float value, float saturation, float hue) voidsetColorHSV(float hue, float saturation, float value) voidsetCurrentKey(InventoryItem _currentKey) voidsetCurrentSteering(float _currentSteering) voidsetCurrentTotalAnimalSize(float float0) voidsetDebugPhysicsRender(boolean boolean0) voidsetDebugZ(float z) voidsetDoColor(boolean _doColor) voidsetEngineFeature(int quality, int loudness, int engineForce) voidvoidsetGeneralPartCondition(float _baseQuality, float chanceToSpawnDamaged) voidsetGoodCar(boolean _isGoodCar) voidsetHeadlightsOn(boolean on) voidsetHotwired(boolean _hotwired) voidsetHotwiredBroken(boolean _hotwiredBroken) voidsetInitialMass(float _initialMass) voidsetKeyIsOnDoor(boolean _keyIsOnDoor) voidsetKeysInIgnition(boolean keysOnContact) voidsetLightbarLightsMode(int mode) voidsetLightbarSirenMode(int mode) voidsetMass(float _mass) voidsetMaxSpeed(float _maxSpeed) voidsetMechanicalID(int _mechanicalID) voidsetMechanicUIOpen(boolean _mechanicUIOpen) voidsetNeedPartsUpdate(boolean _needPartsUpdate) voidsetNetPlayerAuthorization(BaseVehicle.Authorization _netPlayerAuthorization, int _netPlayerId) booleansetPassenger(int seat, IsoGameCharacter chr, Vector3f offset) voidsetPhysicsActive(boolean active) voidsetPreviouslyEntered(boolean boolean0) voidsetPreviouslyMoved(boolean boolean0) voidsetRegulator(boolean _regulator) voidsetRegulatorSpeed(float _regulatorSpeed) voidsetRust(float _rust) voidvoidvoidsetScriptName(String name) voidsetSirenStartTime(double worldAgeHours) voidsetSkinIndex(int index) setSmashed(String location) setSmashed(String location, boolean flipped) voidsetStoplightsOn(boolean on) voidsetTireInflation(int wheelIndex, float inflation) voidsetTireRemoved(int wheelIndex, boolean removed) voidsetTrunkLocked(boolean locked) voidsetVehicleTowedBy(BaseVehicle vehicleA, String attachmentA, String attachmentB) voidsetVehicleTowing(BaseVehicle vehicleB, String attachmentA, String attachmentB) voidsetVehicleType(String _type) voidsetWindowLightsOn(boolean on) voidsetWorldTransform(Transform __in__) voidbooleanbooleanbooleanbooleanshowPassenger(int seat) booleanvoidshutOff()voidbooleanvoidvoidstartEvent(long eventInstance, GameSoundClip clip, BitSet parameterSet) voidstopEvent(long eventInstance, GameSoundClip clip, BitSet parameterSet) intstopSound(long channel) voidswitchSeat(IsoGameCharacter chr, int seatTo) voidsyncKeyInIgnition(boolean inIgnition, boolean onDoor, InventoryItem key) testCollisionWithCharacter(IsoGameCharacter chr, float circleRadius, Vector2 out) inttestCollisionWithCorpse(IsoDeadBody body, boolean doSound) testCollisionWithObject(IsoObject obj, float circleRadius, Vector2 out) inttestCollisionWithProneCharacter(IsoGameCharacter chr, boolean doSound) inttestCollisionWithProneCharacter(IsoMovingObject chr, float angleX, float angleY, boolean doSound) booleanbooleantestTouchingVehicle(IsoGameCharacter character, RagdollController ragdollController) voidThump(IsoMovingObject thumper) voidtoggleLockedDoor(VehiclePart part, IsoGameCharacter chr, boolean locked) voidvoidtransmitCharacterPosition(int seat, String positionId) voidvoidvoidvoidtransmitPartDoor(VehiclePart part) voidtransmitPartItem(VehiclePart part) voidvoidvoidvoidvoidvoidvoidtryHotwire(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 breakvoidvoidtrySpawnKey(boolean boolean0) booleantrySpawnVehicleKeyInObject(IsoObject object) booleantrySpawnVehicleKeyOnZombie(IsoZombie zombie0) voidvoidtryStartEngine(boolean haveKey) voidupdate()voidvoidvoidupdateEvent(long eventInstance, GameSoundClip clip) voidvoidvoidbooleanupdateHitByVehicle(IsoGameCharacter target) voidvoidvoidUpdate the stats of the part depending on conditionvoidvoidvoidvoidvoidvoidWeaponHit(IsoGameCharacter chr, HandWeapon weapon) intMethods 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, getPosition, getScreenX, getScreenY, getScriptModule, getScriptNextX, getScriptNextY, getScriptnx, getScriptny, getStateEventDelayTimer, getSurroundingThumpers, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, Hit, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollided, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isCollidedWithVehicle, isCrawling, isDestroyed, isEatingOther, isExistInTheWorld, isFirstUpdate, isGettingUp, isOnFloor, isProne, isPushableForSeparate, isPushedByForSeparate, isShootable, isSolid, isSolidForSeparate, isStanding, Move, MoveUnmodded, onMouseRightClick, onMouseRightReleased, preupdate, removeFromSquare, separate, setbAltCollide, setCloseKilled, setCollidable, setCollidedE, setCollidedN, setCollidedObject, setCollidedS, setCollidedThisFrame, setCollidedW, setCollidedWithDoor, setCollideType, setCurrent, setCurrentSquareFromPosition, setCurrentSquareFromPosition, setCurrentSquareFromPosition, 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, shouldIgnoreCollisionWithSquare, spotted, toString, updateAnimationMethods inherited from class zombie.iso.IsoObject
addAttachedAnimSprite, addAttachedAnimSpriteByName, addAttachedAnimSpriteInstance, addChild, addFluid, addItemToObjectSurface, addItemToObjectSurface, addItemToObjectSurface, addSecondaryContainer, addSheetRope, afterRotated, AttachAnim, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, canTransferFluidFrom, canTransferFluidTo, checkAmbientSound, checkHaveElectricity, checkLightSourceActive, checkObjectPowered, cleanWallBlood, clearAttachedAnimSprite, clearOnOverlay, Collision, countAddSheetRope, createContainersFromSpriteProperties, createFluidContainersFromSpriteProperties, customHashCode, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, dumpContentsInSquare, emptyFluid, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, flagForHotSave, getAlpha, getAlpha, getAttachedAnimSprite, getAttachedAnimSpriteCount, getCell, getChildSprites, getChunk, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerClickedOn, getContainerCount, getContainerIndex, getContainers, getCurrentFrameTex, getCustomColor, getDamage, getDir, getDoRender, getEntityNetID, getFacing, getFacingPositionAlt, getFactoryVehicle, getFasciaAttachedSquare, getFluidAmount, getFluidCapacity, getFluidUiName, getForwardIsoDirection, getForwardMovementIsoDirection, getGameEntityType, getHighlightColor, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getLastRendered, getLastRenderedRendered, getLightSource, getMaskClickedY, getMasterObject, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOnOverlay, 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, hasGridPower, hasModData, hasOverlaySprite, hasPropaneTank, hasSpriteGrid, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, invalidateRenderChunkLevel, invalidateVispolyChunkLevel, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isAnimating, isBlink, isBlink, isBush, isCanPath, isConnectedSpriteGridObject, isEntityValid, isFascia, isFireInteractionObject, isFloor, isFluidInputLocked, isGenericCraftingSurface, isGrave, isHighlighted, isHighlighted, isHighlightRenderOnce, isHighlightRenderOnce, isHoppable, isItemAllowedInContainer, isLit, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isObjectNoContainerOrEmpty, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isPropaneBBQ, isRemoveItemAllowedFromContainer, isSatChair, isSceneCulled, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isStump, isTableSurface, isTableTopObject, isTaintedWater, isTallHoppable, isTargetAlphaZero, isTent, isWall, isWallN, isWallW, isZombie, load, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, moveFluidToTemporaryContainer, onAnimationFinished, onMouseLeftClick, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromWorldToMeta, removeRenderEffect, removeSheetRope, renderAnimatedAttachments, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, 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, setDir, setDoRender, setExplored, setForwardIsoDirection, setForwardIsoDirection, setHighlightColor, setHighlightColor, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setHighlighted, setHighlighted, setHighlightRenderOnce, setHighlightRenderOnce, setKeyId, setLastRendered, setLastRenderedRendered, setLightSource, setLit, 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, setSceneCulled, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSpriteModelName, setSquare, setTable, setTargetAlpha, setTargetAlpha, setTile, setType, setUsesExternalWaterSource, shouldShowOnOverlay, spawnItemToObjectSurface, spawnItemToObjectSurface, sync, syncFluidContainerReceive, syncFluidContainerSend, syncIsoObject, syncIsoObjectReceive, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, transferFluidFrom, transferFluidTo, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColorToClients, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, turnOn, UnCollision, unsetOutlineHighlight, useFluid, useItemOn, writeToRemoteBufferMethods inherited from class zombie.entity.GameEntity
attrib, componentSize, containsComponent, getAttributes, getComponent, getComponentAny, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getEntityScript, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponentAny, hasComponents, hasRenderers, isAddedToEngine, isMeta, isOutside, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, onEquip, onEquip, onFluidContainerUpdate, onUnEquip, removeFromWorld, renderlastComponents, requiresEntitySave, saveEntity, sendSyncEntity, setUsingPlayerMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface zombie.iso.ILuaIsoObject
setDirMethods inherited from interface zombie.network.fields.IPositional
getX, getY, getZ, isInRangeMethods inherited from interface zombie.iso.objects.interfaces.Thumpable
isDestroyed
-
Field Details
-
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:
-
PHYSICS_Z_SCALE
public static final float PHYSICS_Z_SCALE- See Also:
-
RADIUS
public static final float RADIUS- See Also:
-
PLUS_RADIUS
public static float PLUS_RADIUS -
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 -
POSITION_ORIENTATION_PACKET_SIZE
public static final byte POSITION_ORIENTATION_PACKET_SIZE- See Also:
-
vehicleShadow
-
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
-
jniTransform
-
jniSpeed
public float jniSpeed -
jniIsCollide
public boolean jniIsCollide -
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
-
updateFlags
public short updateFlags -
addedToWorld
public boolean addedToWorld -
ignitionSwitch
-
keysContainerID
public int keysContainerID -
soundSirenSignal
public long soundSirenSignal -
doorAlarmSound
public long doorAlarmSound -
keySpawned
public byte keySpawned -
vehicleTransform
-
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_vector3_pool
-
TL_vector2f_pool
-
TL_vector3f_pool
-
TL_vector4f_pool
-
TL_matrix4f_pool
-
TL_quaternionf_pool
-
-
Constructor Details
-
BaseVehicle
-
-
Method Details
-
getSqlId
public int getSqlId() -
allocMatrix4f
-
releaseMatrix4f
-
allocQuaternionf
-
releaseQuaternionf
-
allocTransform
-
releaseTransform
-
allocVector2
-
releaseVector2
-
allocVector3
-
releaseVector3
-
allocVector2f
-
releaseVector2f
-
allocVector3f
-
releaseVector4f
-
allocVector4f
-
releaseVector3f
-
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
-
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:
getObjectNamein 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
-
putKeyToWorld
-
addKeyToWorld
public void addKeyToWorld() -
addKeyToWorld
public void addKeyToWorld(boolean boolean0) -
addKeyToGloveBox
public void addKeyToGloveBox() -
addBuildingKeyToGloveBox
-
createVehicleKey
-
addKeyToSquare
-
addKeyToSquare
-
addKeyToSquare2
-
addKeyToSquare2
-
toggleLockedDoor
-
canLockDoor
-
canUnlockDoor
-
canOpenDoor
-
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:
getScriptNamein classIsoObject
-
setScriptName
-
setScript
public void setScript() -
scriptReloaded
public void scriptReloaded() -
scriptReloaded
public void scriptReloaded(boolean boolean0) -
getSkin
-
getMaxPassengers
public int getMaxPassengers() -
setPassenger
-
clearPassenger
public boolean clearPassenger(int seat) -
hasPassenger
public boolean hasPassenger() -
getPassenger
-
getCharacter
-
getSeat
-
isDriver
-
getWorldPos
-
getWorldPos
public Vector3f getWorldPos(float localX, float localY, float localZ, Vector3f worldPos, VehicleScript _script) -
getWorldPos
-
getWorldPos
-
getLocalPos
-
getLocalPos
-
getPassengerLocalPos
-
getPassengerWorldPos
-
getPassengerPositionWorldPos
-
getPassengerPositionWorldPos
-
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) -
isSeatHoldingItems
public boolean isSeatHoldingItems(int int0) -
isSeatHoldingItems
-
getAllSeatParts
-
getAllSeatParts
-
isPointLeftOfCenter
public boolean isPointLeftOfCenter(float float0, float float1) -
getBestSeat
-
getEnterSeatDistance
public float getEnterSeatDistance(int int0, float float1, float float2) -
updateHasExtendOffsetForExit
-
updateHasExtendOffsetForExitEnd
-
updateHasExtendOffset
-
getUseablePart
-
getUseablePart
-
distanceToManhatten
public float distanceToManhatten(float float0, float float1) -
getClosestWindow
-
getFacingPosition
-
enter
-
enter
-
enterRSync
-
exit
-
exitRSync
-
hasRoof
public boolean hasRoof(int seat) -
showPassenger
public boolean showPassenger(int seat) -
showPassenger
-
save
- Overrides:
savein classIsoMovingObject- Throws:
IOException
-
load
- Overrides:
loadin classIsoMovingObject- Throws:
IOException
-
softReset
-
trySpawnKey
public void trySpawnKey() -
trySpawnKey
public void trySpawnKey(boolean boolean0) -
shouldCollideWithCharacters
public boolean shouldCollideWithCharacters() -
shouldCollideWithObjects
public boolean shouldCollideWithObjects() -
breakingObjects
public void breakingObjects() -
damageObjects
public void damageObjects(float damage) -
update
public void update()- Overrides:
updatein 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:
postupdatein classIsoMovingObject
-
saveChange
- Overrides:
saveChangein classIsoObject
-
loadChange
- Overrides:
loadChangein 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
-
getUpVector
-
getUpVectorDot
public float getUpVectorDot() -
isStopped
public boolean isStopped() -
getCurrentSpeedKmHour
public float getCurrentSpeedKmHour() -
getLinearVelocity
-
getSpeed2D
public float getSpeed2D() -
isAtRest
public boolean isAtRest() -
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:
HitByVehiclein 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. -
getClosestPointOnExtents
-
getClosestPointOnPoly
-
getClosestPointOnPoly
-
intersectLineWithExtents
public boolean intersectLineWithExtents(float float0, float float1, float float2, float float3, float float9, Vector2f vector2f) -
intersectLineWithPoly
public boolean intersectLineWithPoly(float float3, float float4, float float5, float float6, Vector2f vector2f) -
isCharacterAdjacentTo
-
testCollisionWithCharacter
-
testCollisionWithProneCharacter
-
testCollisionWithCorpse
-
testCollisionWithProneCharacter
public int testCollisionWithProneCharacter(IsoMovingObject chr, float angleX, float angleY, boolean doSound) -
testCollisionWithObject
-
testCollisionWithVehicle
-
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:
isOnScreenin classIsoObject
-
render
-
renderlast
public void renderlast()- Overrides:
renderlastin 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
-
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:
addToWorldin classIsoObject
-
addToWorld
public void addToWorld(boolean boolean0) -
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorldin 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
-
getPartByPartId
-
getPartById
-
getPartIndex
-
getNumberOfPartsWithContainers
public int getNumberOfPartsWithContainers() -
getTrunkDoorPart
-
getTrunkPart
-
getTrailerTrunkPart
-
getPartForSeatContainer
-
getVehicleItemContainers
public <T> PZArrayList<ItemContainer> getVehicleItemContainers(T object, Invokers.Params2.Boolean.ICallback<T, ItemContainer> iCallback) -
getVehicleItemContainers
public <T> PZArrayList<ItemContainer> getVehicleItemContainers(T object, Invokers.Params2.Boolean.ICallback<T, ItemContainer> iCallback, PZArrayList<ItemContainer> pZArrayList) -
transmitPartCondition
-
transmitPartItem
-
transmitPartModData
-
transmitPartUsedDelta
-
transmitPartDoor
-
transmitPartWindow
-
getLightCount
public int getLightCount() -
getLightByIndex
-
getZone
-
setZone
-
isInArea
-
getAreaDist
-
getAreaDist
-
getAreaCenter
-
getAreaCenter
-
getAreaFacingPosition
-
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 Vector3f chooseBestAttackPosition(IsoGameCharacter target, IsoGameCharacter attacker, Vector3f worldPos) -
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
-
getDriverRegardlessOfTow
-
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() -
setChosenAlarmSound
-
chooseAlarmSound
public void chooseAlarmSound() -
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:
getSquarein 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
-
Thump
-
WeaponHit
-
getThumpableFor
- Specified by:
getThumpableForin interfaceThumpable- Overrides:
getThumpableForin classIsoObject
-
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpConditionin interfaceThumpable- Overrides:
getThumpConditionin 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
-
getPlayerTrailerWorldPos
-
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:
getFMODParametersin interfaceIFMODParameterUpdater
-
startEvent
- Specified by:
startEventin interfaceIFMODParameterUpdater
-
updateEvent
- Specified by:
updateEventin interfaceIFMODParameterUpdater
-
stopEvent
- Specified by:
stopEventin interfaceIFMODParameterUpdater
-
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() -
setDebugPhysicsRender
public void setDebugPhysicsRender(boolean boolean0) -
testTouchingVehicle
-
getDamagedBy
-
getSquareForArea
-