Package zombie.scripting.objects
Class VehicleScript
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.VehicleScript
-
Nested Class Summary
Nested ClassesModifier 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
FieldsFields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttachment
(ModelAttachment modelAttachment) addAttachmentAt
(int int1, ModelAttachment modelAttachment) void
copyAreasFrom
(VehicleScript vehicleScript, String string) void
copyPartsFrom
(VehicleScript vehicleScript, String string) void
copyPassengersFrom
(VehicleScript vehicleScript, String string) void
copyWheelsFrom
(VehicleScript vehicleScript, String string) getArea
(int int1) getAreaById
(String string) int
getAttachment
(int int1) getAttachmentById
(String string) int
gnu.trove.list.array.TFloatArrayList
float
float
int
int
int
float
float
float
int
int
boolean
int
int
getIndexOfAreaById
(String string) int
getIndexOfPartById
(String string) int
getIndexOfWheelById
(String string) float
getMass()
int
getModel()
getModelById
(String string) getModelById
(String string, ArrayList arrayList) getModelByIndex
(int int1) int
float
getName()
float
getPart
(int int1) getPartById
(String string) int
getPassenger
(int int1) getPassengerById
(String string) int
int
getPassengerIndex
(String string) getPhysicsShape
(int int1) int
float
int
float
int
getSeats()
getSkin
(int int1) int
float
getSteeringClamp
(float float1) float
int
float
float
float
float
float
getWheel
(int int1) getWheelById
(String string) int
float
boolean
void
void
Loaded()
removeAttachment
(int int1) removeAttachment
(ModelAttachment modelAttachment) void
setEngineRepairLevel
(int int1) void
setEngineRPMType
(String string) void
setForcedHue
(float float1) void
setForcedSat
(float float1) void
setForcedVal
(float float1) void
setMechanicType
(int int1) void
setModelScale
(float float1) void
setOffroadEfficiency
(float float1) void
setPlayerDamageProtection
(float float1) void
setSeats
(int int1) 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
-
getModelScale
public float getModelScale() -
setModelScale
public void setModelScale(float float1) -
getModelCount
public int getModelCount() -
getModelByIndex
-
getModelById
-
getModelById
-
getAttachmentCount
public int getAttachmentCount() -
getAttachment
-
getAttachmentById
-
addAttachment
-
removeAttachment
-
addAttachmentAt
-
removeAttachment
-
getLightbar
-
getSounds
-
getHasSiren
public boolean getHasSiren() -
getExtents
-
getPhysicsChassisShape
-
getShadowExtents
-
getShadowOffset
-
getExtentsOffset
-
getMass
public float getMass() -
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 float1) -
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 int1) -
getMechanicType
public int getMechanicType() -
setMechanicType
public void setMechanicType(int int1) -
getEngineRepairLevel
public int getEngineRepairLevel() -
getHeadlightConfigLevel
public int getHeadlightConfigLevel() -
setEngineRepairLevel
public void setEngineRepairLevel(int int1) -
getPlayerDamageProtection
public float getPlayerDamageProtection() -
setPlayerDamageProtection
public void setPlayerDamageProtection(float float1) -
getForcedHue
public float getForcedHue() -
setForcedHue
public void setForcedHue(float float1) -
getForcedSat
public float getForcedSat() -
setForcedSat
public void setForcedSat(float float1) -
getForcedVal
public float getForcedVal() -
setForcedVal
public void setForcedVal(float float1) -
getEngineRPMType
-
setEngineRPMType
-
getOffroadEfficiency
public float getOffroadEfficiency() -
setOffroadEfficiency
public void setOffroadEfficiency(float float1) -
getCrawlOffsets
public gnu.trove.list.array.TFloatArrayList getCrawlOffsets()
-