User:Moritheil

From Tales of Maj'Eyal
Revision as of 21:16, 28 January 2017 by Moritheil (Talk | contribs) (format)

Jump to: navigation, search

Add-ons for the total beginner

There is something you should take care of before we talk about how to make things work: Have an idea.

All things exist first as visions. Everything in the world around you - a chair, a knife, a fork - first existed as an idea in someone's head. Then they imprinted that vision onto reality, possibly adjusted for feedback. So the process is idea -> acquire skills -> implementation.

Making things just because you can or because they are easy to make, if you are new to making things, is not exactly a guarantee of quality. Work on committing the vision to paper (or notepad) before you open up an editor and start writing code. That way it should be clearer if you simply lack the ability to implement your idea (frustrating, but common to all creative types - writers, painters, poets included!) or if you actually lack clarity with the very concept you are trying to implement (in which case, other people in the coding forum cannot help you!)

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!)
  • Callback is a very helpful page.

Good design practices

  • 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.
  • Format your log messages with color!

Color

A color page already exists; however, it does not list what those colors are natively used for in TOME. Colors include:

  • #1133F3# cold
  • #STEEL_BLUE# ice
  • #LIGHT_STEEL_BLUE#
  • #GREY# darkness
  • #PURPLE# arcane
  • #YELLOW# mind
  • #LIGHT_GREEN# slow status
  • #aaaaaa#0 physical
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

Deathknights (category)

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 100
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!