Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

Back-to:World

The `vehicle_seat_addon` table

This table allows to specify special vehicle seat behavior.

The current implementation comes with the following features:

  • A field to override vehicle seat attachment orientations. This allows to change vehicle seat orientations by default to make them look into different directions.

  • Fields to handle passenger exit destination to specify either exit position offsets or entire coordinates.

Structure

...

Field

...

Type

...

Attributes

...

Key

...

Null

...

Default

...

Extra

...

Comment

...

SeatEntry

...

int(4)

...

unsigned

...

PRI

...

NO

...

VehicleSeatEntry.dbc identifier

...

SeatOrientation

...

float

...

YES

...

0

...

Seat Orientation override value

...

ExitParamX

...

float

...

YES

...

0

...

ExitParamY

...

float

...

YES

...

0

...

ExitParamZ

...

float

...

YES

...

0

...

ExitParamO

...

float

...

YES

...

0

...

ExitParamValue

...

tinyint(1)

...

YES

...

0

Description of the fields

SeatEntry

The ID from VehicleSeatEntry.dbc

SeatOrientation

The seat Orientation override value

ExitParamX

The exit PositionX (see ExitParamValue)

ExitParamY

The exit PositionY (see ExitParamValue)

ExitParamZ

The exit PositionZ (see ExitParamValue)

ExitParamO

The exit Orientation (see ExitParamValue)

ExitParamValue

Value of VehicleExitParameters

ID

Comment

0

provided parameters will be ignored

1

provided parameters will be used as offset values

2

provided parameters will be used as absolute destination

You can find it in our new wiki at: https://trinitycore.info/en/database/master/world/vehicle_seat_addon