Package zombie.scripting.objects
Class VehicleScript
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.VehicleScript
public class VehicleScript extends BaseScriptObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VehicleScript.Anim
static class
VehicleScript.Area
static class
VehicleScript.Container
static class
VehicleScript.Door
static class
VehicleScript.LightBar
static class
VehicleScript.Model
static class
VehicleScript.Part
static class
VehicleScript.Passenger
static class
VehicleScript.Position
static class
VehicleScript.Skin
static class
VehicleScript.Sounds
static class
VehicleScript.Wheel
static class
VehicleScript.Window
-
Field Summary
Fields Modifier and Type Field Description float[]
gearRatio
int
gearRatioCount
float
maxSpeed
java.lang.String
textureDamage1Overlay
java.lang.String
textureDamage1Shell
java.lang.String
textureDamage2Overlay
java.lang.String
textureDamage2Shell
Texture
textureDataDamage1Overlay
Texture
textureDataDamage1Shell
Texture
textureDataDamage2Overlay
Texture
textureDataDamage2Shell
Texture
textureDataLights
Texture
textureDataMask
Texture
textureDataRust
Texture[]
textureDataSkins
java.lang.String
textureLights
java.lang.String
textureMask
boolean
textureMaskEnable
java.lang.String
textureRust
Fields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
Constructors Constructor Description VehicleScript()
-
Method Summary
Methods inherited from class zombie.scripting.objects.BaseScriptObject
getModule, Load
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
maxSpeed
public float maxSpeed -
gearRatioCount
public int gearRatioCount -
gearRatio
public float[] gearRatio -
textureMaskEnable
public boolean textureMaskEnable -
textureRust
public java.lang.String textureRust -
textureMask
public java.lang.String textureMask -
textureLights
public java.lang.String textureLights -
textureDamage1Overlay
public java.lang.String textureDamage1Overlay -
textureDamage1Shell
public java.lang.String textureDamage1Shell -
textureDamage2Overlay
public java.lang.String textureDamage2Overlay -
textureDamage2Shell
public java.lang.String textureDamage2Shell -
textureDataSkins
-
textureDataRust
-
textureDataMask
-
textureDataLights
-
textureDataDamage1Overlay
-
textureDataDamage1Shell
-
textureDataDamage2Overlay
-
textureDataDamage2Shell
-
-
Constructor Details
-
VehicleScript
public VehicleScript()
-
-
Method Details
-
Load
public void Load(java.lang.String string, java.lang.String string2) -
Loaded
public void Loaded() -
copyAreasFrom
-
copyPartsFrom
-
copyPassengersFrom
-
copyWheelsFrom
-
getName
public java.lang.String getName() -
getFullName
public java.lang.String getFullName() -
getModel
-
getModelScale
public float getModelScale() -
getModelCount
public int getModelCount() -
getModelByIndex
-
getModelById
-
getModelById
-
getLightbar
-
getSounds
-
getHasSiren
public boolean getHasSiren() -
getExtents
-
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
public int getIndexOfWheelById(java.lang.String string) -
getPassengerCount
public int getPassengerCount() -
getPassenger
-
getPassengerById
-
getPassengerIndex
public int getPassengerIndex(java.lang.String string) -
getFrontEndHealth
public int getFrontEndHealth() -
getRearEndHealth
public int getRearEndHealth() -
getStorageCapacity
public int getStorageCapacity() -
getSkinCount
public int getSkinCount() -
getSkin
-
getAreaCount
public int getAreaCount() -
getArea
-
getAreaById
-
getIndexOfAreaById
public int getIndexOfAreaById(java.lang.String string) -
getPartCount
public int getPartCount() -
getPart
-
getPartById
-
getIndexOfPartById
public int getIndexOfPartById(java.lang.String string) -
globMatch
public boolean globMatch(java.lang.String string, java.lang.String string2) -
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
public java.lang.String getEngineRPMType() -
setEngineRPMType
public void setEngineRPMType(java.lang.String string) -
getOffroadEfficiency
public float getOffroadEfficiency() -
setOffroadEfficiency
public void setOffroadEfficiency(float float1)
-