Page 1 of 1

Help for writing new character classes...

Posted: Sun Sep 21, 2014 6:00 am
by Omega Blue
Is there a guide and/or samples that can be of help for character class developer wannabes? Thanks much!

Re: Help for writing new character classes...

Posted: Sun Sep 21, 2014 6:01 am
by StarKeep
If you have prior knowledge in coding, or are simply a fast learner, you can simply pop open any addon file with a zip program (such as 7-zip) and explore.

Most addon authors will have no issue with you browsing their code. (I've yet to meet any, at all, actually, but the 1% is just so I can never be wrong. :twisted: )

Re: Help for writing new character classes...

Posted: Tue Sep 23, 2014 6:20 pm
by Sradac
If you want you can start off of my Predator Class or my Dread Knight Class as a jumping off point or base template.

They're fairly minimal in terms of "custom" code, It's mostly combinations of other things although the Predator probably has more custom work than the Dread Knight does.

Predator has a re-written Flare to Daze and do Mind damage, and has some superloading. I'm pretty sure I don't do any superloading in Dread Knight its all just data

edit ---
There's also this: http://te4.org/wiki/Addons

I briefly glanced over it and it seems like a good resource but cant say for sure as I learned by picking apart the old Barbarian addon back in the day

The number one thing to keep in mind is, if its at all possible, DONT overload files. That has a chance to break compatibility with any other addon and if you weren't careful, will just give yourself way more headaches debugging because you broke the game by accident. Start with just data / hooks. Then move on to superloading when you are more comfortable.

Re: Help for writing new character classes...

Posted: Sat Sep 27, 2014 2:52 pm
by Omega Blue
Thanks heaps! :mrgreen: