Class/Object

net.psforever.packet.game

ServerVehicleOverrideMsg

Related Docs: object ServerVehicleOverrideMsg | package game

Permalink

final case class ServerVehicleOverrideMsg(lock_accelerator: Boolean, lock_wheel: Boolean, reverse: Boolean, unk4: Boolean, lock_vthrust: Int, lock_strafe: Int, movement_speed: Int, unk8: Option[Long]) extends PlanetSideGamePacket with Product with Serializable

Dispatched by server to assert control of a player's vehicle, usually temporarily, and to relinquish that control.

The "vehicle" counts as any mobile platform where the user's character is currently sitting. If the player is not sitting in what the game considers a "vehicle," the packet is wasted. Either of the first two parameters - lock_accelerator or lock_wheel - constitutes any vehicle being overrode. Either of the latter two parameters - lock_thrust or lock_strafe - constitutes a flight vehicle being overrode. No message is displayed if the vehicle is placed under any form of server control. During server control, this is an acceleration value (?); during cancellable auto-drive, a constant velocity value. Vertical thrust control for aircraft is either on or off; the amount of that thrust can not be controlled.

After being controlled, when the vehicle is no longer under control, it will transition into a state of constant speed auto-drive. The message regarding the vehicle being back in the driver's control will display, unless one of the aforementioned lock_* parameters is still set to true. When dismounting a bailable vehicle while it is under the server's control, the player will behave like they are bailing from it. (The vehicle actually has to be "bailable" first, of course.)

"Something like speed:"
For ground vehicles, for n, the calculated in-game speed for the value in this packet will be at least 3.45 x n. For flight vehicles, for n, the forward air speed for the value in this packet will be at least 1.18 * n. This approximation is not always going to be accurate but serves as a good rule of thumb.

lock_accelerator

driver has no control over vehicle acceleration

lock_wheel

driver has no control over vehicle turning

reverse

move in reverse 0 = forward 1 = reverse

unk4

na; something to do with vehicle bailable speed

lock_vthrust

pilot has no control over vertical thrust; asserts a constant positive vertical thrust; the only valid setting appears to be 1

lock_strafe

pilot has no control over strafing thrust; 0 = not locked 1 = no strafing 2 = strafe left automatically 3 = strafe right automatically

movement_speed

"something like speed"

unk8

na; set lock_wheel to true to expose this value

Source
ServerVehicleOverrideMsg.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerVehicleOverrideMsg
  2. Product
  3. Equals
  4. PlanetSideGamePacket
  5. PlanetSidePacket
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerVehicleOverrideMsg(lock_accelerator: Boolean, lock_wheel: Boolean, reverse: Boolean, unk4: Boolean, lock_vthrust: Int, lock_strafe: Int, movement_speed: Int, unk8: Option[Long])

    Permalink

    lock_accelerator

    driver has no control over vehicle acceleration

    lock_wheel

    driver has no control over vehicle turning

    reverse

    move in reverse 0 = forward 1 = reverse

    unk4

    na; something to do with vehicle bailable speed

    lock_vthrust

    pilot has no control over vertical thrust; asserts a constant positive vertical thrust; the only valid setting appears to be 1

    lock_strafe

    pilot has no control over strafing thrust; 0 = not locked 1 = no strafing 2 = strafe left automatically 3 = strafe right automatically

    movement_speed

    "something like speed"

    unk8

    na; set lock_wheel to true to expose this value

Type Members

  1. type Packet = ServerVehicleOverrideMsg

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ServerVehicleOverrideMsg to any2stringadd[ServerVehicleOverrideMsg] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ServerVehicleOverrideMsg, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ServerVehicleOverrideMsg to ArrowAssoc[ServerVehicleOverrideMsg] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def encode: Attempt[BitVector]

    Permalink
  9. def ensuring(cond: (ServerVehicleOverrideMsg) ⇒ Boolean, msg: ⇒ Any): ServerVehicleOverrideMsg

    Permalink
    Implicit information
    This member is added by an implicit conversion from ServerVehicleOverrideMsg to Ensuring[ServerVehicleOverrideMsg] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ServerVehicleOverrideMsg) ⇒ Boolean): ServerVehicleOverrideMsg

    Permalink
    Implicit information
    This member is added by an implicit conversion from ServerVehicleOverrideMsg to Ensuring[ServerVehicleOverrideMsg] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): ServerVehicleOverrideMsg

    Permalink
    Implicit information
    This member is added by an implicit conversion from ServerVehicleOverrideMsg to Ensuring[ServerVehicleOverrideMsg] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ServerVehicleOverrideMsg

    Permalink
    Implicit information
    This member is added by an implicit conversion from ServerVehicleOverrideMsg to Ensuring[ServerVehicleOverrideMsg] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ServerVehicleOverrideMsg to StringFormat[ServerVehicleOverrideMsg] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  18. val lock_accelerator: Boolean

    Permalink

    driver has no control over vehicle acceleration

  19. val lock_strafe: Int

    Permalink

    pilot has no control over strafing thrust; 0 = not locked 1 = no strafing 2 = strafe left automatically 3 = strafe right automatically

  20. val lock_vthrust: Int

    Permalink

    pilot has no control over vertical thrust; asserts a constant positive vertical thrust; the only valid setting appears to be 1

  21. val lock_wheel: Boolean

    Permalink

    driver has no control over vehicle turning

  22. val movement_speed: Int

    Permalink

    "something like speed"

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def opcode: GamePacketOpcode.Value

    Permalink
  27. val reverse: Boolean

    Permalink

    move in reverse 0 = forward 1 = reverse

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. val unk4: Boolean

    Permalink

    na; something to do with vehicle bailable speed

  30. val unk8: Option[Long]

    Permalink

    na; set lock_wheel to true to expose this value

  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (ServerVehicleOverrideMsg, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ServerVehicleOverrideMsg to ArrowAssoc[ServerVehicleOverrideMsg] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Product

Inherited from Equals

Inherited from PlanetSideGamePacket

Inherited from PlanetSidePacket

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ServerVehicleOverrideMsg to any2stringadd[ServerVehicleOverrideMsg]

Inherited by implicit conversion StringFormat from ServerVehicleOverrideMsg to StringFormat[ServerVehicleOverrideMsg]

Inherited by implicit conversion Ensuring from ServerVehicleOverrideMsg to Ensuring[ServerVehicleOverrideMsg]

Inherited by implicit conversion ArrowAssoc from ServerVehicleOverrideMsg to ArrowAssoc[ServerVehicleOverrideMsg]

Ungrouped