Difference between revisions of "Database:Starting"

m (changed to 255)
Line 12: Line 12:
 
* 4. If no match, then it uses the default (race of 255 and class of 255).
 
* 4. If no match, then it uses the default (race of 255 and class of 255).
  
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.
+
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 255. 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 255.
  
 
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).
 
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).

Revision as of 14:28, 23 September 2009

Setting Start zones

Read LethalEncounters Post

  • Note* As of 23/09/09 - Racial and Class ID of 255 will match all (not 0/0)

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 255 and class of 255).

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 255. 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 255.

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).