Object

net.psforever.objects.serverobject.pad.process

AutoDriveControls

Related Doc: package process

Permalink

object AutoDriveControls

Instructions to be processed by VehicleSpawnControlGuided. These instructions coordinate basic vehicle manipulations such as driving, turning, and stopping. If defined, they will operate on a newly formed vehicle after it is released from its spawn pad lifting platform and after it has been issued at least one ServerVehicleOverrideMsg packet.

Source
AutoDriveControls.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AutoDriveControls
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class AutoDrive(speed: Int) extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  2. final case class AutoDriveCancelEarly(test: (Vehicle) ⇒ Boolean) extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  3. final case class AutoDriveClimb(altitude: Float) extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  4. final case class AutoDriveDistance(start: Vector3, sqDistance: Float) extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  5. final case class AutoDriveDistanceFromHere(sqDistance: Float) extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  6. final case class AutoDriveFirstGear() extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  7. final case class AutoDriveForTime(length: Long) extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  8. final case class AutoDriveSecondGear() extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  9. final case class AutoDriveStop() extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  10. final case class AutoDriveTurnBy(angle: Float, direction: Int) extends Setting with Product with Serializable

    Permalink
    Attributes
    protected
  11. final case class CancelEarly(test: (Vehicle) ⇒ Boolean) extends Configuration with Product with Serializable

    Permalink

    Use a validation test to determine if the remainder of the instructions should be processed.

    Use a validation test to determine if the remainder of the instructions should be processed.

    test

    the custom valid conditions of the vehicle for continuing

  12. final case class Climb(altitude: Float) extends Configuration with Product with Serializable

    Permalink

    Gain altitude with a flying vehicle.

    Gain altitude with a flying vehicle. The climb speed is fixed.

    altitude

    the vertical distance to ascend

  13. sealed trait Configuration extends AnyRef

    Permalink

    A container that translates to a new Setting instruction.

    A container that translates to a new Setting instruction. Instructions are maintained in this form until they will be used due to the nature of the Setting object. The least that this object needs to do is accept parameters that matches the specific Setting that it outputs.

  14. final case class Distance(start: Vector3, distance: Float) extends Configuration with Product with Serializable

    Permalink

    Drive a certain distance from somewhere.

    Drive a certain distance from somewhere.

    start

    the fixed coordinates of the origin point

    distance

    how far from the origin point the vehicle should travel

  15. final case class DistanceFromHere(distance: Float) extends Configuration with Product with Serializable

    Permalink

    Drive a certain distance from where the vehicle is at the time that the instruction is called.

    Drive a certain distance from where the vehicle is at the time that the instruction is called. The starting position is the current position of the vehicle.

    distance

    how far from the origin point the vehicle should travel

  16. final case class Drive(speed: Int) extends Configuration with Product with Serializable

    Permalink

    Basic drive forward instruction.

    Basic drive forward instruction.

    speed

    the speed that the vehicle accelerates to; scaled in a curious way

    See also

    ServerVehicleOverrideMsg.forward_speed

  17. final case class FirstGear() extends Configuration with Product with Serializable

    Permalink

    Special drive forward instruction.

    Special drive forward instruction.

    See also

    VehicleDefinition.AutoPilotSpeed1

    ServerVehicleOverrideMsg.forward_speed

  18. final case class ForTime(time: Long) extends Configuration with Product with Serializable

    Permalink

    Drive or idle for a certain duration.

    Drive or idle for a certain duration. The starting position is the current position of the vehicle.

    time

    how long to contiue driving under the current conditions

  19. final case class SecondGear() extends Configuration with Product with Serializable

    Permalink

    Special drive forward instruction.

    Special drive forward instruction.

    See also

    VehicleDefinition.AutoPilotSpeed2

    ServerVehicleOverrideMsg.forward_speed

  20. sealed trait Setting extends AnyRef

    Permalink

    An instruction to be consumed by the cyclic operation of VehicleSpawnControlGuided and are created by a Configuration object.

    An instruction to be consumed by the cyclic operation of VehicleSpawnControlGuided and are created by a Configuration object. They are considered semi-immutable case class objects. Externally, they are immutable by proper Scala standards. Internally, they will be permitted private fields that can be modified the first time the object is used.

  21. final case class Stop() extends Configuration with Product with Serializable

    Permalink

    Stop driving (but do not cancel the server override state).

  22. final case class TurnBy(angle: Float, direction: Int) extends Configuration with Product with Serializable

    Permalink

    Cause the vehicle to turn a certain amount.

    Cause the vehicle to turn a certain amount.

    angle

    the angle by which to turn the vehicle

    direction

    the wheel direction of the vehicle

    See also

    VehicleMessage.wheel_direction

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object State extends Enumeration

    Permalink

    The nature of the action being performed.

    The nature of the action being performed. Different actions can be divided into types.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped