Difference between revisions of "Part 1: creating a new skill"

From Divinity Engine Wiki
Jump to: navigation, search
Line 27: Line 27:
  
 
The only two required fields are the "Name" which serves as a (unique) identifier for the skill, and the SkillType. The SkillType can simply be set to the name of the document (Projectile in our case).
 
The only two required fields are the "Name" which serves as a (unique) identifier for the skill, and the SkillType. The SkillType can simply be set to the name of the document (Projectile in our case).
 +
 +
 +
<br />
 +
== See Also ==
 +
Although adding a row to the stats document is all we need to create a new skill, our skill is far from ready to be used.
 +
 +
To create a complete and useable skill from scratch would require a lot of work. The skill itself needs an icon, casting animations, effects, and a projectile. It is therefor recommended that you [[Creating a skill based on an existing skill|create a skill based on an existing skill]].
 +
 +
If you have already created created a new skill, one way to test is it by [[Creating a skill book|creating a skill book]].
  
 
<br />
 
<br />

Revision as of 19:13, 11 September 2017

Introduction

Creating skills in your mod is easier than ever with our newly introduced tool, the Stats editor.


Creating a skill

Step 1: Opening the Stats Editor

Step1 OpenStatsEditor.png

The Stats Editor button


First, we need to open up the stats editor. To do this, locate the "Stats Editor" button on the menu bar (under "Editors").


Step3 CreateSkillDataStats.png

Creating the Skill_Projectile document


Next, we need to create the Skill_Projectile stats document in our project. If the document already exists, you can skip this step. To open the document, expand the "SkillData" item and double click the "Skill_Projectile" item.


Step 2: Adding a projectile skill entry

Step2 BlankProjectileSkillEntry.png

Creating a blank projectile skill entry


Finally, we create an entry in the Skill_Projectile document. You can add a new entry either by editing the empty row at the bottom or by clicking the [+] button at the top of the document.

The only two required fields are the "Name" which serves as a (unique) identifier for the skill, and the SkillType. The SkillType can simply be set to the name of the document (Projectile in our case).



See Also

Although adding a row to the stats document is all we need to create a new skill, our skill is far from ready to be used.

To create a complete and useable skill from scratch would require a lot of work. The skill itself needs an icon, casting animations, effects, and a projectile. It is therefor recommended that you create a skill based on an existing skill.

If you have already created created a new skill, one way to test is it by creating a skill book.