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_template_accessory` table

Records in this table can be overwritten by vehicle_accessory table

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

entry

mediumint(8)

unsigned

PRI

NO

0

 

 

accessory_entry

mediumint(8)

unsigned

 

NO

0

 

 

seat_id

tinyint(1)

signed

PRI

NO

0

 

 

minion

tinyint(1)

unsigned

 

NO

0

 

 

description

text

signed

 

NO

 

 

 

summontype

tinyint(3)

unsigned

 

NO

6

 

see enum TempSummonType

summontimer

int(10)

unsigned

 

NO

30000

 

timer, only relevant for certain summontypes

Description of the fields

entry

Entry of creature to be used as Vehicle. Entry from creature_template.

accessory_entry

Entry from creature_template to be used as the rider/turret/addon to the main vehicle. ID from creature_template.

seat_id

Vehicle seat in witch the accessory should be spawned. See VehicleSeat.dbc.

minion

If value is 0 accessory will not die when vehicle dies.
If value is 1 accessory will die when the vehicle dies.

description

Comment

summontype

Flag

Name

Comments

1

TEMPSUMMON_TIMED_OR_DEAD_DESPAWN

Despawns after a specified time OR when the creature disappears

2

TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN

Despawns after a specified time OR when the creature dies

3

TEMPSUMMON_TIMED_DESPAWN

Despawns after a specified time

4

TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT

Despawns after a specified time after the creature is out of combat

5

TEMPSUMMON_CORPSE_DESPAWN

Despawns instantly after death

6

TEMPSUMMON_CORPSE_TIMED_DESPAWN

Despawns after a specified time after death

7

TEMPSUMMON_DEAD_DESPAWN

Despawns when the creature disappears

8

TEMPSUMMON_MANUAL_DESPAWN

Despawns when UnSummon() is called

summontimer

...

Info
titleThis article has been moved

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