![]() ![]() the class trait is the internal name of the class trait, which is not necessarily the name of the class that will be seen during play. Spells that are accessible to all mages and fighters (cantrips) do not need to be added to the list. If you wanted your class to have access to the Blank Mind spell, however, you would just add SpellOf_BlankMind to the list of learnable spells. Typically, a spell's scroll's defName will be written as SpellOf_TheAbilityNameInCamelCaseWithoutSpaces, but some abilities do not follow that format. You will then add an ability to the list of spells, but you also need to add a scroll to the list of scrolls that can be read by the class. Let's say you want to give your class access to the Meteor master spell. There are two cases: the spells that can be upgraded and first need to be unlocked by scrolls, and the ones that cannot be upgraded. Some classes have access to learnable spells. Trait-based abilities (passive that change the pawn's trait on being leveled, like Ranger Training) will not work unless your custom class uses that class trait. If your ability has a linked ability (like how Sentinel gives access to the Shatter Sentinel ability, or how Shapeshift gives access to the Shapeshift - Dire Wolf spell), you need the main ability, otherwise the linked ability will not work. Note that, if the spell itself can be upgraded (with levels going from 0 to 3, like Spite or Blink), you must specify its four levels (so, to add Spite to the Shadow's spells, I'd have to add TM_Spite, TM_Spite_I, TM_Spite_II, TM_Spite_III). If I wanted to give the Shadow access to the Fireball spell, I'd add, after its existing mage spells, TM_Fireball. To add an ability, just follow the existing format, where you write the ability's defName between tags. Typically, an ability's def name will be written as TM_TheAbilityNameInCamelCaseWithoutSpaces, but some abilities do not follow that format. If you want to give a class an ability, you have to find the ability's defName in the class' abilities file. The most important thing is the abilities. Congratulations: you just added a class to the custom class roster! Unfortunately, it is but a copy of the Shadow right now. ![]() In the Shadow's file, copy everything from the first to the last, and paste that underneath that last. The file is heavily commented with explanations from the mod creator. The Shadow is implemented as a custom class, so you may take inspiration from its file, called TM_CustomClassDef, found in the CustomDefs folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |