Help for writing new character classes...
Moderator: Moderator
-
- Thalore
- Posts: 190
- Joined: Sun Oct 31, 2010 2:50 pm
Help for writing new character classes...
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...
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.
)
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.

<mex> have you heard the good word about archmage?
<mex> I'm here to tell you about your lord and savior shalore archmage
<mex> have you repented your bulwark sins yet?
<mex> cornac shall inherit the Eyal
<mex> I'm here to tell you about your lord and savior shalore archmage
<mex> have you repented your bulwark sins yet?
<mex> cornac shall inherit the Eyal
Re: Help for writing new character classes...
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.
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.
-
- Thalore
- Posts: 190
- Joined: Sun Oct 31, 2010 2:50 pm
Re: Help for writing new character classes...
Thanks heaps! 
