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 classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic 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) voidcopyAreasFrom(VehicleScript vehicleScript, String string) voidcopyPartsFrom(VehicleScript vehicleScript, String string) voidcopyPassengersFrom(VehicleScript vehicleScript, String string) voidcopyWheelsFrom(VehicleScript vehicleScript, String string) getArea(int int1) getAreaById(String string) intgetAttachment(int int1) getAttachmentById(String string) intgnu.trove.list.array.TFloatArrayListfloatfloatintintintfloatfloatfloatintintbooleanintintgetIndexOfAreaById(String string) intgetIndexOfPartById(String string) intgetIndexOfWheelById(String string) floatgetMass()intgetModel()getModelById(String string) getModelById(String string, ArrayList arrayList) getModelByIndex(int int1) intfloatgetName()floatgetPart(int int1) getPartById(String string) intgetPassenger(int int1) getPassengerById(String string) intintgetPassengerIndex(String string) getPhysicsShape(int int1) intfloatintfloatintgetSeats()getSkin(int int1) intfloatgetSteeringClamp(float float1) floatintfloatfloatfloatfloatfloatgetWheel(int int1) getWheelById(String string) intfloatbooleanvoidvoidLoaded()removeAttachment(int int1) removeAttachment(ModelAttachment modelAttachment) voidsetEngineRepairLevel(int int1) voidsetEngineRPMType(String string) voidsetForcedHue(float float1) voidsetForcedSat(float float1) voidsetForcedVal(float float1) voidsetMechanicType(int int1) voidsetModelScale(float float1) voidsetOffroadEfficiency(float float1) voidsetPlayerDamageProtection(float float1) voidsetSeats(int int1) voidtoBullet()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()
-