I've been running into a lot of trouble trying to create a new category of character subclasses. The problem is that whenever I create a new one, it doesn't show up on birth.
For instance, open up data/birth/classes/rogue.lua and edit the name of the main birth descriptor (not the subclass) to "rogue2". Now, the class won't show up in the character creation screen.
I've been trying to hunt down why this is, but I don't see any references to the name of the main class outside of this one. For instance, looking at this git search, I don't see anywhere that the "rogue" string is being checked in reference to the name of the birthdescriptor. Searching through engine, mod, and data, I don't see any filenames containing "rogue" other than this one. (And no, renaming the file to "rogue2" doesn't help, even if I edit data/birth/descriptors.lua to load the right filename.)
Any ideas?
Help with new char class? not subclass
Moderator: Moderator
Re: Help with new char class? not subclass
I can't remember how I did it, but my magebow class has its own category.
http://forums.te4.org/viewtopic.php?f=50&t=33130
http://forums.te4.org/viewtopic.php?f=50&t=33130
Re: Help with new char class? not subclass
Look at data/birth/worlds.lua.
Re: Help with new char class? not subclass
Thanks! Wonder why that didn't pop up in the git search... Maybe I'll have to find a better way to search.aardvark wrote:Look at data/birth/worlds.lua.