Player Character Setup Plugin
Character Race: The Race of the Character Template. The options for this are set in the Option Choices Plugin
Character Class: The class of the character template. Options are defined in the Option Choices Plugin.
Faction: Faction to which character belongs, which determines default stance to other factions. Options are defined in the Factions Plugin.
Instance Name: The instance where a character of the specified Class/Race spawns.
Spawn Location: Where the character will spawn. An object can be dragged from the scene into the GameObject box, or manually specify the x/y/z coordinates.
Orientation: The direction the character should face. Enter the desired angle around the y-axis.
Stats
You can define all attributes for the player character:
attack_speed (Attack Speed): Speed for auto attack (delay between auto attacks in milliseconds)
critic (Critical chance): Chance for a critical attack
crush_resistance (Crash Resistance): Resistance to crash attack
dexterity (Dexterity): Attribute responsible for physical accuracy
endurance (Endurance): One endurance point is equal to 10 health-max points
evasion (Evasion): Attribute responsible to evade a physical attack
health (Health): The base health value for the character. This is not the final health, the health mod stat (by default, endurance) will be added on top of this to give a final health value.
health-max (Health): Maximum health
intelligence (Intelligence): Magical accuracy
magical_critic (Magical Critical Chance): Critical chance for a magical attack
magical_evasion (Magical Evasion): Attribute responsible to evade a magical attack
magical_resistance (Magical Resistance): Resistance to magical attack
mana (Mana): The base mana value for the character. This is not the final mana, the mana mod stat (by default, willpower) will be added on top of this to give a final mana value.
mana-max (Mana): Maximum mana
movement_speed (Movement Speed): Attribute responsible for movement speed
parry (Parry): Parry attribute decreases damage by 40%
physical_crit (Physical Critical Chance): Critical chance for a physical attack
physical_defense (Physical Defense): Attribute which is transferring with ratio 1:1 three parameters: Crash, Pierce and Slash Resistance
potential (Potential): Determines power of a magical attack
slash_resistance (Slash Resistance): Resistance to slash attack
strength (Strength): Determines power of a physical attack
weight (Weight): Actual weight
weight-max (Weight): Maximum weight carried by the player
willpower (Willpower): One willpower point is equal to 10 mana-max points
The starting value of stats and how they increase as a player levels up can be set for each Race/Class template. It follows the format of starting stat value, how much the value changes each level (as a number) and then how much in percentage it changes. The formula is:
(base_value + (increase * (level-1))) * (1 + ( (percentage / 100) * (level - 1)))
As an example:
-
crush_resistance: 5
-
Increases by: 2 and Percent: 3
Means the player starts with 5 for their crush resistance then when they level up to level 2 it will be 7. At level 10 it will be:
(5 + (2 * (10-1))) * (1 + ( (3 / 100) * (10 - 1))) = 29.21 (which will be rounded down to 29).
Skills
After a Race/Class template has been created skills can be added. Skills added to a template are known by the character as soon as they are created, and do not cost the player anything to learn. All of the abilities the skill has at level 0 or 1 are also given to the player. These abilities, if non-passive, will then be put on the players action bar allowing them the use of abilities as soon as they first log in.
Items
The last thing that can be set for starting characters is the items they have. Just like Skills, there is no limit to the number of items that can be given to a starting character (but take care not to fill their bags too much). The amount of an item can be set (count) and whether or not it is equipped on the character.
Most games will have starting characters geared up with a weapon and at least some pants and a chest item equipped.