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 | unsigned | PRI | NO | 0 | |||
mediumint(8) | unsigned | NO | 0 | ||||
text | signed | YES | NULL | ||||
phaseUseFlags | tinyint(3) | signed | NO | 0 | master only | ||
phaseid | int(10) | signed | NO | 0 | master only | ||
phasegroup | int(10) | signed | NO | 0 | master only | ||
ScriptName | char(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:
- transport moves from inactive to active grid
- the grid that transport is currently in becomes active
It will unload static passengers when:
- transport moves from active to inactive grid
- the grid that transport is currently in unloads
The loading process will get the map from column Data6
(called SpawnMap) in table gameobject_template
, and then creates all creatures and game_object that have 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