Class VehicleScript

java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.VehicleScript

public final class VehicleScript extends BaseScriptObject
  • Field Details

    • m_attachments

      public final ArrayList<ModelAttachment> m_attachments
    • maxSpeed

      public float maxSpeed
    • isSmallVehicle

      public boolean isSmallVehicle
    • spawnOffsetY

      public float spawnOffsetY
    • leftSirenCol

      public ImmutableColor leftSirenCol
    • rightSirenCol

      public ImmutableColor rightSirenCol
    • gearRatioCount

      public int gearRatioCount
    • gearRatio

      public final float[] gearRatio
    • textureMaskEnable

      public boolean textureMaskEnable
  • Constructor Details

    • VehicleScript

      public VehicleScript()
  • Method Details

    • Load

      public void Load(String name, String totalFile)
    • getFileName

      public String getFileName()
    • Loaded

      public void Loaded()
    • toBullet

      public void toBullet()
    • copyAreasFrom

      public void copyAreasFrom(VehicleScript other, String spec)
    • copyPartsFrom

      public void copyPartsFrom(VehicleScript other, String spec)
    • copyPassengersFrom

      public void copyPassengersFrom(VehicleScript other, String spec)
    • copyWheelsFrom

      public void copyWheelsFrom(VehicleScript other, String spec)
    • getName

      public String getName()
    • getFullName

      public String getFullName()
    • getModel

      public VehicleScript.Model getModel()
    • getModelOffset

      public org.joml.Vector3f getModelOffset()
    • getModelScale

      public float getModelScale()
    • setModelScale

      public void setModelScale(float scale)
    • getModelCount

      public int getModelCount()
    • getModelByIndex

      public VehicleScript.Model getModelByIndex(int index)
    • getModelById

      public VehicleScript.Model getModelById(String id, ArrayList<VehicleScript.Model> models)
    • getModelById

      public VehicleScript.Model getModelById(String id)
    • getAttachmentCount

      public int getAttachmentCount()
    • getAttachment

      public ModelAttachment getAttachment(int index)
    • getAttachmentById

      public ModelAttachment getAttachmentById(String id)
    • addAttachment

      public ModelAttachment addAttachment(ModelAttachment attach)
    • removeAttachment

      public ModelAttachment removeAttachment(ModelAttachment attach)
    • addAttachmentAt

      public ModelAttachment addAttachmentAt(int index, ModelAttachment attach)
    • removeAttachment

      public ModelAttachment removeAttachment(int index)
    • getLightbar

      public VehicleScript.LightBar getLightbar()
    • getSounds

      public VehicleScript.Sounds 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

      public VehicleScript.Wheel getWheel(int index)
    • getWheelById

      public VehicleScript.Wheel getWheelById(String id)
    • getIndexOfWheelById

      public int getIndexOfWheelById(String id)
    • getPassengerCount

      public int getPassengerCount()
    • getPassenger

      public VehicleScript.Passenger getPassenger(int index)
    • getPassengerById

      public VehicleScript.Passenger getPassengerById(String id)
    • getPassengerIndex

      public int getPassengerIndex(String id)
    • getPhysicsShapeCount

      public int getPhysicsShapeCount()
    • getPhysicsShape

      public VehicleScript.PhysicsShape getPhysicsShape(int index)
    • getFrontEndHealth

      public int getFrontEndHealth()
    • getRearEndHealth

      public int getRearEndHealth()
    • getStorageCapacity

      public int getStorageCapacity()
    • getTextures

      public VehicleScript.Skin getTextures()
    • getSkinCount

      public int getSkinCount()
    • getSkin

      public VehicleScript.Skin getSkin(int index)
    • getAreaCount

      public int getAreaCount()
    • getArea

      public VehicleScript.Area getArea(int index)
    • getAreaById

      public VehicleScript.Area getAreaById(String id)
    • getIndexOfAreaById

      public int getIndexOfAreaById(String id)
    • getPartCount

      public int getPartCount()
    • getPart

      public VehicleScript.Part getPart(int index)
    • getPartById

      public VehicleScript.Part getPartById(String id)
    • getIndexOfPartById

      public int getIndexOfPartById(String id)
    • globMatch

      public boolean globMatch(String pattern, String str)
    • 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

      public String getEngineRPMType()
    • setEngineRPMType

      public void setEngineRPMType(String engineRPMType)
    • getOffroadEfficiency

      public float getOffroadEfficiency()
    • setOffroadEfficiency

      public void setOffroadEfficiency(float offroadEfficiency)
    • getCrawlOffsets

      public gnu.trove.list.array.TFloatArrayList getCrawlOffsets()