Package zombie.scripting.objects
Class VehicleScript
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.VehicleScript
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionfinal float[]
int
boolean
final ArrayList<ModelAttachment>
float
float
boolean
Fields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAttachment
(ModelAttachment attach) addAttachmentAt
(int index, ModelAttachment attach) void
copyAreasFrom
(VehicleScript other, String spec) void
copyPartsFrom
(VehicleScript other, String spec) void
copyPassengersFrom
(VehicleScript other, String spec) void
copyWheelsFrom
(VehicleScript other, String spec) getArea
(int index) getAreaById
(String id) int
getAttachment
(int index) int
org.joml.Vector3f
gnu.trove.list.array.TFloatArrayList
float
float
int
int
int
org.joml.Vector3f
org.joml.Vector2f
float
float
float
int
int
boolean
int
int
int
int
float
getMass()
int
getModel()
getModelById
(String id) getModelById
(String id, ArrayList<VehicleScript.Model> models) getModelByIndex
(int index) int
org.joml.Vector3f
float
getName()
float
getPart
(int index) getPartById
(String id) int
getPassenger
(int index) int
int
org.joml.Vector3f
getPhysicsShape
(int index) int
float
int
float
int
getSeats()
org.joml.Vector2f
org.joml.Vector2f
getSkin
(int index) int
float
getSteeringClamp
(float speed) float
int
float
float
float
float
float
getWheel
(int index) getWheelById
(String id) int
float
boolean
void
void
Loaded()
removeAttachment
(int index) removeAttachment
(ModelAttachment attach) void
setEngineRepairLevel
(int engineRepairLevel) void
setEngineRPMType
(String engineRPMType) void
setForcedHue
(float forcedHue) void
setForcedSat
(float forcedSat) void
setForcedVal
(float forcedVal) void
setMechanicType
(int mechanicType) void
setModelScale
(float scale) void
setOffroadEfficiency
(float offroadEfficiency) void
setPlayerDamageProtection
(float playerDamageProtection) void
setSeats
(int seats) void
toBullet()
Methods inherited from class zombie.scripting.objects.BaseScriptObject
getModule, Load
-
Field Details
-
m_attachments
-
maxSpeed
public float maxSpeed -
isSmallVehicle
public boolean isSmallVehicle -
spawnOffsetY
public float spawnOffsetY -
leftSirenCol
-
rightSirenCol
-
gearRatioCount
public int gearRatioCount -
gearRatio
public final float[] gearRatio -
textureMaskEnable
public boolean textureMaskEnable
-
-
Constructor Details
-
VehicleScript
public VehicleScript()
-
-
Method Details
-
Load
-
getFileName
-
Loaded
public void Loaded() -
toBullet
public void toBullet() -
copyAreasFrom
-
copyPartsFrom
-
copyPassengersFrom
-
copyWheelsFrom
-
getName
-
getFullName
-
getModel
-
getModelOffset
public org.joml.Vector3f getModelOffset() -
getModelScale
public float getModelScale() -
setModelScale
public void setModelScale(float scale) -
getModelCount
public int getModelCount() -
getModelByIndex
-
getModelById
-
getModelById
-
getAttachmentCount
public int getAttachmentCount() -
getAttachment
-
getAttachmentById
-
addAttachment
-
removeAttachment
-
addAttachmentAt
-
removeAttachment
-
getLightbar
-
getSounds
-
getHasSiren
public boolean getHasSiren() -
getExtents
public org.joml.Vector3f getExtents() -
getPhysicsChassisShape
public org.joml.Vector3f getPhysicsChassisShape() -
getShadowExtents
public org.joml.Vector2f getShadowExtents() -
getShadowOffset
public org.joml.Vector2f getShadowOffset() -
getExtentsOffset
public org.joml.Vector2f getExtentsOffset() -
getMass
public float getMass() -
getCenterOfMassOffset
public org.joml.Vector3f getCenterOfMassOffset() -
getEngineForce
public float getEngineForce() -
getEngineIdleSpeed
public float getEngineIdleSpeed() -
getEngineQuality
public int getEngineQuality() -
getEngineLoudness
public int getEngineLoudness() -
getRollInfluence
public float getRollInfluence() -
getSteeringIncrement
public float getSteeringIncrement() -
getSteeringClamp
public float getSteeringClamp(float speed) -
getSuspensionStiffness
public float getSuspensionStiffness() -
getSuspensionDamping
public float getSuspensionDamping() -
getSuspensionCompression
public float getSuspensionCompression() -
getSuspensionRestLength
public float getSuspensionRestLength() -
getSuspensionTravel
public float getSuspensionTravel() -
getWheelFriction
public float getWheelFriction() -
getWheelCount
public int getWheelCount() -
getWheel
-
getWheelById
-
getIndexOfWheelById
-
getPassengerCount
public int getPassengerCount() -
getPassenger
-
getPassengerById
-
getPassengerIndex
-
getPhysicsShapeCount
public int getPhysicsShapeCount() -
getPhysicsShape
-
getFrontEndHealth
public int getFrontEndHealth() -
getRearEndHealth
public int getRearEndHealth() -
getStorageCapacity
public int getStorageCapacity() -
getTextures
-
getSkinCount
public int getSkinCount() -
getSkin
-
getAreaCount
public int getAreaCount() -
getArea
-
getAreaById
-
getIndexOfAreaById
-
getPartCount
public int getPartCount() -
getPart
-
getPartById
-
getIndexOfPartById
-
globMatch
-
getGearRatioCount
public int getGearRatioCount() -
getSeats
public int getSeats() -
setSeats
public void setSeats(int seats) -
getMechanicType
public int getMechanicType() -
setMechanicType
public void setMechanicType(int mechanicType) -
getEngineRepairLevel
public int getEngineRepairLevel() -
getHeadlightConfigLevel
public int getHeadlightConfigLevel() -
setEngineRepairLevel
public void setEngineRepairLevel(int engineRepairLevel) -
getPlayerDamageProtection
public float getPlayerDamageProtection() -
setPlayerDamageProtection
public void setPlayerDamageProtection(float playerDamageProtection) -
getForcedHue
public float getForcedHue() -
setForcedHue
public void setForcedHue(float forcedHue) -
getForcedSat
public float getForcedSat() -
setForcedSat
public void setForcedSat(float forcedSat) -
getForcedVal
public float getForcedVal() -
setForcedVal
public void setForcedVal(float forcedVal) -
getEngineRPMType
-
setEngineRPMType
-
getOffroadEfficiency
public float getOffroadEfficiency() -
setOffroadEfficiency
public void setOffroadEfficiency(float offroadEfficiency) -
getCrawlOffsets
public gnu.trove.list.array.TFloatArrayList getCrawlOffsets()
-