Difference between revisions of "My first: Character creation origin"

From Divinity Engine Wiki
Jump to: navigation, search
(Preset breakdown)
(Getting started)
Line 2: Line 2:
 
The Divinity Engine uses XML style file presets in order to load in the available classes during character creation. <br />
 
The Divinity Engine uses XML style file presets in order to load in the available classes during character creation. <br />
 
This data driven approach allows us to define custom presets in character creation in the blink of an eye.<br />
 
This data driven approach allows us to define custom presets in character creation in the blink of an eye.<br />
The first thing you need to know when creating your first character creation class is the location of the preset files. <br />
+
The first thing you need to know when creating your first character creation origin is the location of the preset files. <br />
 
You can find those located inside : ''YourMod/CharacterCreation/OriginPresets'' (If the directory doesn't exist, you can just create it yourself). <br />
 
You can find those located inside : ''YourMod/CharacterCreation/OriginPresets'' (If the directory doesn't exist, you can just create it yourself). <br />
 
Once you find or create the directory inside of your mod. <br />
 
Once you find or create the directory inside of your mod. <br />
 
Here's an already made template file so you can try it out for yourself: [[File:OriginTemplate.lsx|none]]<br />
 
Here's an already made template file so you can try it out for yourself: [[File:OriginTemplate.lsx|none]]<br />
Once you put the provided template file in the folder, load up character creation now and cycle through the presets, <br />
+
Once you put the provided template file in the folder, load up character creation now and cycle through the origins, <br />
 
you should be able to see something like the following:
 
you should be able to see something like the following:
 
[[File:CustomOrigin.png|none|600px]]
 
[[File:CustomOrigin.png|none|600px]]

Revision as of 09:53, 13 September 2017

Getting started

The Divinity Engine uses XML style file presets in order to load in the available classes during character creation.
This data driven approach allows us to define custom presets in character creation in the blink of an eye.
The first thing you need to know when creating your first character creation origin is the location of the preset files.
You can find those located inside : YourMod/CharacterCreation/OriginPresets (If the directory doesn't exist, you can just create it yourself).
Once you find or create the directory inside of your mod.

Here's an already made template file so you can try it out for yourself:

Once you put the provided template file in the folder, load up character creation now and cycle through the origins,
you should be able to see something like the following:

CustomOrigin.png

Preset breakdown

Now that we've loaded our origin preset let's take a look at the most important properties.
Open up the template file in any text editor. If you're not familiar with XML I suggest you read up on that first.