Difference between revisions of "User:Moritheil"
(Adding in some notes aspiring mod makers might find useful) |
(→Add-ons for the total beginner) |
||
Line 15: | Line 15: | ||
* Don't forget to write behavior for what happens when you un-upgrade as well! (And if you're writing variable level behavior instead of uniform upgrades, remember to reference the PREVIOUS level it was upgraded to!) | * Don't forget to write behavior for what happens when you un-upgrade as well! (And if you're writing variable level behavior instead of uniform upgrades, remember to reference the PREVIOUS level it was upgraded to!) | ||
* If you want something special to happen when you cap a racial talent, try handling it with more local variables (i.e. mastery = false/true) as this handles upgrades/reverse upgrades more gracefully! | * If you want something special to happen when you cap a racial talent, try handling it with more local variables (i.e. mastery = false/true) as this handles upgrades/reverse upgrades more gracefully! | ||
+ | * Communicate with the user! Display visible game log messages about what happens when you use specials, if procs fire and miss, etc. That way you (and your users) will know with certainty that your talents are working (and interacting with other details) correctly. | ||
{{race | {{race | ||
Line 25: | Line 26: | ||
|magic=+4 | |magic=+4 | ||
}} | }} | ||
− | |||
=Project: Death Knights= | =Project: Death Knights= |
Revision as of 20:56, 28 January 2017
Contents
Add-ons for the total beginner
Callback is a very helpful page.
Basically the theory of writing your own races/classes is that you call variables into local variables and reference those local variables, then order results. This accords generally with good coding practice, but is a good reminder for non-coders. Also remember that if some way to do a thing already exists, try to respect the existing structure for uniformity across the game (and to enable correct behavior with future versions!)
You will usually want to use something like
- local lev = self:getTalentLevelRaw(t)
- local levs = self:getTalentLevel(t)
to call the talent (or raw talent) level of racials when writing races.
List of things that you will want to know:
- self.STAT_CON, self.STAT_STR, etc. are the variables referencing player character's stats.
- Don't forget to write behavior for what happens when you un-upgrade as well! (And if you're writing variable level behavior instead of uniform upgrades, remember to reference the PREVIOUS level it was upgraded to!)
- If you want something special to happen when you cap a racial talent, try handling it with more local variables (i.e. mastery = false/true) as this handles upgrades/reverse upgrades more gracefully!
- Communicate with the user! Display visible game log messages about what happens when you use specials, if procs fire and miss, etc. That way you (and your users) will know with certainty that your talents are working (and interacting with other details) correctly.
Death Knights | |
---|---|
Metarace | Undead |
Locked | No |
Life Rating | 12 |
Exp Penalty | +50% |
Stat Modifiers | |
Strength | 0 |
Dexterity | 0 |
Constitution | +5 |
Magic | +4 |
Willpower | 0 |
Cunning | 0 |
Luck | 0 |
Project: Death Knights
A custom race add-on for TE4, meant to offer users a different playstyle and a different take on the main story.
Description
Perhaps you were mortal once - long, long ago. But that time has passed out of all reckoning. Your service to a higher power was devoted and faithful, and when the veil of mortality parted for you, you were returned from the other side. Powerful and implacable, you traveled the seas of reality at the behest of your patron - She who granted you Eternity. Worlds burned in your wake. However, due to an unforeseen conjunction - or perhaps due to taking the favor of your mistress for granted - you have been stranded in this strange world, stripped of most of your might.
As undead, Death Knights have access to a wide range of immunities:
- Poison immunity
- Bleeding immunity
- Fear immunity
- No need to breathe
The spirit of the death knight has been summoned using the medium of a local corpse, but fundamentally, Death Knights do not belong in Eyal. Their very natures clash with the fabric of reality, making it hard for anything to affect them and making it hard for them to act upon other things.
Note: Undead are unnatural creatures and may not use infusions or be any Wilder classes. They do not gain the Harmony talent tree from eating the Heart of the Sandworm Queen, but they may consume a corrupted heart to gain the Vile Life talent tree.
Racial Talents
Eternity | ||
(no image) | ||
Game Version | - | |
---|---|---|
Category Type | Undead | |
Category | Deathknights | |
Requirements | Level (0,1,2,3,4) | |
Use Mode | Passive | |
Cost | - | |
Range | - | |
Cooldown | - | |
Travel Speed | - | |
Use Speed | - | |
Description | Your very substance and spirit are alien to this world. The laws of physics struggle to deal with your presence. You have trouble affecting this world, and being affected by it.
Increases your physical damage resistance by 5–75cTS:variable%. Decreases your global action speed by 10% per level. |
Touch of the Deathless | ||
(no image) | ||
Game Version | - | |
---|---|---|
Category Type | Undead | |
Category | Deathknights | |
Requirements | Level (4,5,6,7,8) | |
Use Mode | Activated | |
Cost | - | |
Range | Melee/Personal | |
Cooldown | 30 | |
Travel Speed | Instantaneous | |
Use Speed | - | |
Description | Death comes for all beings - and, as a Death Knight, you hasten this process with your mere touch. Your touch executes an already injured enemy and consumes its soul.
Eventually, upon as you master the use of these souls, you may pass for a denizen of this world. |
Sacrifice is the Way | ||
(no image) | ||
Game Version | - | |
---|---|---|
Category Type | Undead | |
Category | Deathknights | |
Requirements | Level (8,9,10,11,12) | |
Use Mode | Passive | |
Cost | - | |
Range | - | |
Cooldown | - | |
Travel Speed | - | |
Use Speed | - | |
Description | Death is power, and none know this better than you. As you kill creatures in this reality you mark them as sacrifices to your patron, slowly reestablishing your solidity.
Increases hit points based on the amount of enemies you have slain. Every (100, 90, 75, 50, 20) victims grants you +1 max hp, to a maximum of 10, 50, 100, 500, 1000 hp. Note: this is meant to reference the number of kills stat trackable under achievements, and thus it will be retroactive. |
Acknowledgements
Mex for his guides, which include his way of thinking (very often the reason why someone says a thing is more valuable than the assessment itself!) astralInferno for inspiring me to mod Rexorcorum for doing the rare and too often thankless work of making icons for the add-on community Ster for his unapologetic, in-your-face style of telling you what he thinks is good or bad darkgod for making TOME and taking a relaxed attitude to others creating add-ons!