Sc npc definitionsTable: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| m add to category (Engine documents) | No edit summary | ||
| Line 1: | Line 1: | ||
| This defines NPCs | This defines NPCs | ||
| {|  | {| class="wikitable" | ||
| |+ | |||
| !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   | |||
| |- | |- | ||
| |  | | | ||
| | varchar(30) | |npctype | ||
| |  | |varchar(30) | ||
| | The name  | | | ||
| | | |||
| | | |||
| |The behaviour definition name. These are stored in XML files.  | |||
| |- | |- | ||
| |  | | | ||
| | varchar(30) | |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 | |N | ||
| | | | | ||
| |  | |||
| |} | |} | ||
| [[Category:Engine documents]] | [[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 |