Sc npc definitionsTable: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with 'This defines NPCs {| border=1 |- ! field ! type ! foreign key ! description |- | char_id | int | N | unique character id |- | name | varchar(30) | N | The name of the NPC |- | n…'
 
Grimston (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This defines NPCs
This defines NPCs


{| border=1
{| class="wikitable"
|+
!UE
!Field
!Type
!Key Type
!Default
!Extra
!Description
|-
|-
! field
|
! type
|char_id
! foreign key
|int(10)
! description
|PRI
|0
|
|unique character id 
|-
|-
| char_id
|
| int
|name
| N
|varchar(30)
| unique character id
|
|
|
|The name of the NPC 
|-
|-
| name
|
| varchar(30)
|npctype
| N
|varchar(30)
| The name of the NPC
|
|
|
|The behaviour definition name. These are stored in XML files.
|-
|-
| npctype
|
| varchar(30)
|region
| N
|varchar(30)
| The behaviour definition name. These are stored in XML files.
|
|
|
|
|-
|-
| region
| varchar(30)
| N
|
|
|move_vel_override
|float(10,2)
|
|0.00
|
|
|-
|-
| move_vel_override
| float(10,2)
| N
|
|
|ang_vel_override
|float(10,2)
|
|0.00
|
|
|-
|-
| angle_vel_override
| float(10,2)
| N
|
|
|char_id_owner
|int(10) unsigned
|
|0
|
|The ID of the owner of this behaviour. 
|-
|-
| char_id_owner
|
| int
|console_debug
| Y
|char(1)
| The ID of the owner of this behaviour.
|
|0
|
|  
|-
|-
| console_debug
| char
| N
|
|
|-
|disabled
| disabled
|char(1)
| char
|
| N
|N
|
|
|
|}
|}
[[Category:Engine documents]]

Latest revision as of 13:03, 11 January 2022

This defines NPCs

UE Field Type Key Type Default Extra Description
char_id int(10) PRI 0 unique character id
name varchar(30) The name of the NPC
npctype varchar(30) The behaviour definition name. These are stored in XML files.
region varchar(30)
move_vel_override float(10,2) 0.00
ang_vel_override float(10,2) 0.00
char_id_owner int(10) unsigned 0 The ID of the owner of this behaviour.
console_debug char(1) 0
disabled char(1) N