editor for Traits

Topics related to tools created by the Core Team or 3rd-party community members.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

editor for Traits

Post by Ememjr » Sun Apr 14, 2019 4:47 pm

we will need an editor for the spell_traits table here is how this table works

spell_id -- the ID of the spell
level -- this is only used by the Training tab, or old school traits and specifies at what level you are offering that trianing, ie 14,14,34,44,54 etc
class_req -- this is the class req for this trait only one class per entry is allowed ( class numbers can be seen in the classes.h file 255 is any class
race _req -- this is the race for this trait only 1 race per entry is allowed ( race numbers can be found in the race.h file

only one of the following should be set to 1 the other 3 to 0
isTrait -- this is a hold over from the orginal way EQ2 did traits and is no longer used, even though the info is sent in a packet on Live servers today
isInate -- this will be set to 1 if this is one of the 3-5 innate abilites given to each race they are automatic and you do not have to select them
isFocusEffect --is set to 1 for spells that are on the focus effects page
IsTraining -- this is for spells on the training page with the following option required as well
level -- describe above
tier -- will be set to the highest tier you have for the spell ( is the defualt in live is for GrandMaster later these can be set to Ancient or Celestial if you want and the tier exists

if none of the 4 isXxxxx options apply then all 4 are 0 for traits on first tab, there are 6 groups 0-5
you will be required to set the group number or all traits on first page will show up under the 1st group

Tier -- will generally be set to the highest tier of the spells availalbe

remineder all traits and attributes are essentailly spells so they need spell_data, spell_display_effects, and scripts as well

any questions let me know

Edit:: the old isTraits are still used in Dov,in client

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: editor for Traits

Post by John Adams » Sun Apr 14, 2019 5:13 pm

It's been even longer since I wrote the Spells editor than my last server run :) so correct me if I'm wrong;

Doesn't this editor cover Traits? I think the tab only shows up if the type is "trait". Either way, it'll likely need to be updated for new table structures. Check it out, tell me what you think.
traits.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: editor for Traits

Post by John Adams » Sun Apr 14, 2019 5:32 pm

Oh, nm... I think this answers my question :)

https://eq2emulator.net/wiki/index.php/ ... #Trait_Tab

It's been so long, I forgot I never knew how to build an editor for this. Now, with your help, we do. Ahem, [mention]Cynnar[/mention]? :mrgreen:

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: editor for Traits and AA

Post by Ememjr » Mon Apr 15, 2019 3:13 am

the AA_list Editor on EQ2DB need a slight modification as well

it still has the classification lable and textbox

that needs removed and displayedclassification and requiredclassification fields need to be added in

thanks

--side note for those interested there used to be just one classification filed, but AA's have 2
displayed is the classification of the AA
required is the classification of AA that is required to get this aa- such as Requires 10 points in Strength (Strength would be this ones requiredclassification)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests