gameobject_template - Spikeone/WaS_Server GitHub Wiki

The `gameobject_template` table

This table contains all gameobject_template.

Structure

Field Type Can be null Default
entry int(8) NO
type int(8) NO
displayID int(4) NO 1
name varchar(64) NO
scale float(0) NO 1
data0 int(8) YES 0
data1 int(8) YES 0
data2 int(8) YES 0
data3 int(8) YES 0
data4 int(8) YES 0
data5 int(8) YES 0
data6 int(8) YES 0
data7 int(8)) YES 0
scriptName varchar(64) YES
comment varchar(128) YES

Description of fields

entry

This is the unique entry of the gameobject_template.

type

Gameobject type. Dependant on the type the data fields have different meanings.

type name fields
0 generic object no field used

displayID

The graphic ID which is used to display the gameobject.

name

Name of the gameobject_template which is displayed (dependant on type).

scale

Scale of the gameobject_template. It is only possible to scale the whole gameobject_template.

data

Dependant on the type those fields have different meanings. See type

scriptName

Name of the ccript that runs for any gameobject that is instantiated.

comment

Field for internal comments.

⚠️ **GitHub.com Fallback** ⚠️