transports

Back-to:World

The `transports` table

This table contains all type 15 transports (Boats and Zeppelins). All other transport types have their frame time read from TransportAnimation.dbc.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

guid
unsignedPRINO0

entry

mediumint(8)

unsigned


NO

0



name

text

signed


YES

NULL



phaseUseFlagstinyint(3)signed
NO0
master only
phaseidint(10)signed
NO0
master only
phasegroupint(10)signed
NO0
master only
ScriptNamechar(64)signed
NO""

Description of the fields

guid

Unique identifier for transport. When adding a new one, simply use the max(guid)+1. 

entry

This is entry to be used for this transport from gameobject_template.entry. It must be a type 15 game object.

name

This is an arbitrary name that is only used to describe this transport entry.


Appendix: Static Passengers (npcs)

Transports will load static passengers when:

  1. transport moves from inactive to active grid
  2. the grid that transport is currently in becomes active

It will unload static passengers when:

  1. transport moves from active to inactive grid
  2. the grid that transport is currently in unloads


The loading process will get the map from gameobject_template.data6 (SpawnMap), and then creates all creatures and gameobjects that are in the same map.

Creatures and gameobjects spawn points will be used as relative to the transport.


Note that transports have their own map: https://wow.tools/dbc/?dbc=map&build=9.1.0.38312#page=1&colFilter[1]=Transport