Help with new char class? not subclass

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
nate
Wyrmic
Posts: 261
Joined: Fri Jan 18, 2013 8:35 am

Help with new char class? not subclass

#1 Post by nate »

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?
Proud father of Fx4fx and Chronometer add-ons; proud mother of Fated add-on

lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

Re: Help with new char class? not subclass

#2 Post by lukep »

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
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

aardvark
Wyrmic
Posts: 200
Joined: Wed Aug 22, 2012 12:16 am

Re: Help with new char class? not subclass

#3 Post by aardvark »

Look at data/birth/worlds.lua.

nate
Wyrmic
Posts: 261
Joined: Fri Jan 18, 2013 8:35 am

Re: Help with new char class? not subclass

#4 Post by nate »

aardvark wrote:Look at data/birth/worlds.lua.
Thanks! Wonder why that didn't pop up in the git search... Maybe I'll have to find a better way to search.
Proud father of Fx4fx and Chronometer add-ons; proud mother of Fated add-on

Post Reply