You are viewing an old version of this page. Return to the latest version.
Version of 17:41, 22 September 2009 by Bolly
No categories assigned
Database:Starting
Setting Start zones
You will need to update the starting_zones table to do what you are trying to do. All the starting tables allow you to set defaults for class_id and race_id. Here is how it works:
- 1. Starts off trying to match the exact class_id and race_id of a character.
- 2. If no match, then it tries to match the class of the character.
- 3. If no match, then it tries to match the race of the character.
- 4. If no match, then it uses the default (race of 0 and class of 0).
If you want everyone to start in antonica, then you would set the zone_id to 12 (antonica's zone id) and race_id and class_id to 0. If you want only Fae to start in gfaydark you would set the zone_id to 114 and the race_id to 16 and leave class_id as 0.
This is similar to the other starting tables except all starting tables except starting_zones are inclusive (more than one condition can match like both class/race specific starting items and default starting items given to all characters).