NPC Behavior Data Structures: Difference between revisions
Line 1: | Line 1: | ||
== Where the information is located == | == Where the information is located == | ||
===Database=== | ===Database=== |
Revision as of 12:03, 23 December 2011
Where the information is located
Database
NPCs
sc_npc_definitions
This table associates a specific behavior with an NPC, In the npctype column you have the same name you find in the npcbehave.xml
Points on the map
The world will have a number of waypoints each of the waypoints will be connected with paths. The waypoints are used to navigate on a large scale. E.g. when a NPC is going from home to work it will calculate the route of waypoint to travel to do this. It will use local navigation to get to the closes waypoint. Than the npc will travel using the paths connecting the waypoints. Each path connecting waypoints consist of a number of predefined points, called path points.
Locations
waypoints

tribes
- tribe_needs
- tribe_members
- sc_tribe_resources
- sc_tribe_memories
npcdefs.xml (Deprecated)
data/npcdefs.xml : contains definitions for <locations> , <paths> , <waypoints>
This file is deprecated as definition file. All the data has been moved to the DB.