You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "Database:Starting"
m (added some start_zones info from le's post) |
|||
| Line 2: | Line 2: | ||
[http://www.eq2emulator.net/phpBB3/viewtopic.php?f=3&t=10&p=772&hilit=starting+zones#p772 Read LethalEncounters Post] | [http://www.eq2emulator.net/phpBB3/viewtopic.php?f=3&t=10&p=772&hilit=starting+zones#p772 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: | 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: | ||
| Line 8: | Line 10: | ||
* 2. If no match, then it tries to match the class of the 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. | * 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 | + | * 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 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). | 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:26, 23 September 2009
Setting Start zones
- 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 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).