Having a race/class problem.

Posted by Velouras on Fri 24 May 2002 07:04 AM — 3 posts, 12,884 views.

#0
I created a new race, allowed specific classes, and then added the saved file to races.lst. However, whenever I create a new character and choose a class that is allowed by this new race, the new race isn't available as a choice.
What am I leaving out?
Australia Forum Administrator #1
There is some pretty bizarre code in SMAUG about the race list. I think you need to do something weird like adding two new races, and then one will appear. Either that, or fix the source. :)
#2
I found the problem. In the race files, the race value must be relative to the order in the race.lst file. For example, if this was the race.lst file:

Elf.race
Human.race
Dwarf.race

In the elf file, its race value would need to be 0, the human's 1, and the dwarf's 2.