D'jinni Wiki

Creation of new characters

1,297pages on
this wiki
Add New Page
Talk0 Share

A new character template Edit

You should start the creation of a new character by creating a blank character template. In order to do that, use the following options in the menu: File -> New -> Template -> Creature. It will create a blank template. A part of the settings will have the default values but most of them are to be filled in with proper values.

Basic information about character Edit

The screenshot below presents a part of the template describing an Alp vampiress. As you can see, most of the fields have been already filled in. Char1

First Name, Last Name: These fields describe the character. The text placed here will be displayed over the character during the game. It is also possible to choose the language version of the entered text.

Tag: Here, the flags describing a given character are to be placed. Its content is used mainly in the scripts.

Comment: The filed for comments. It serves as an information field. Its content is not used during the game.

Appearance: Here, you can determine the looks of the character. Choose one of the available models.

Level: This field determines the experience level of the character. This level is very important when you are assigned experience points after you’ve killed the character. If the level is higher than the one of the player’s, you are given additional experience points. If the level is lower, the number of the experience points is reduced to the minimal level of 1 point.

Race: Determines the race of the character. Choose it from the list.

Gender': Determines the gender of the character. Choose it from the list.

Experience Value, Experience: These fields determine the basic value of experience given to you when you’ve killed the character. The value is modified by the proper coefficient resulting from the level difference between the killed character and the player. The numbers in these two fields should be identical.

Movement Rate: Determines the speed of the character. Choose it from the list.

Perception Range: Determines the perception range of the character. If the player finds himself within the character’s perception range, the character will carry out the actions described in the Profiles field. Choose it from the list.

Profiles: Determines the actions taken by the character. They depend on the circumstances arising in the game and on the player’s actions. The value of this field contains a number of flags chosen from the list. In the next point you will find the description of the most important settings.

Abilities: Defines the character’s statistics. The definition is carried out by selecting appropriate abilities from the dialogue window. You will find the detailed description below. Inventory Contents: Determines the character’s equipment. It uses a separate dialogue window. Combat Styles: Determines the combat styles used by the character. The definition is carried out by setting of the proper values in a separate dialogue window. You will find the detailed description below. Conversation: This field contains the dialogue file name which will be used to interact with the character. Voice Set: The name of the file containing texts delivered by the character when certain circumstances arise in the game.

Runs To Despawn: The flag determines whether the character runs or walks to the place where it is removed from the game. The value TRUE means that the character runs; FALSE means that it walks. Can be pushed: The flag determines whether the character can be pushed aside. The value TRUE enables the character to be pushed; FALSE means that the character cannot be moved from its place. Player Character: The flag determines if it’s possible to play the game using the character. Plot: The flag determines whether the character is important for the plot. If it’s set TRUE, the character cannot be killed. When its hit-points fall to a critical level, the character drops unconscious and is ignored by all the adversaries. When the danger passes, the character gets up but still has the minimal level of hit-points.

Permanent Body: This flag determines whether the body of the character changes into a skeleton after its death or retains its original looks. The flag TRUE forces the body to retain its original looks. Leaves blood stains: The flag determines whether the character leaves the blood stains. Store: This field determines the template of the store available for the player after choosing appropriate dialogue options.

Profiles Edit

The field Profiles in the character’s template contains a number of flags. Their proper setting determines the behavior of the character. The available options can be divided into the following groups:

Attitude: Determines the character’s attitude towards the player. Friendly means that the character will be well-disposed towards the player and you won’t be able to attack it. Neutral means that the character won’t attack the player but can be attacked itself. Hostile means that the character will be ill-disposed towards the player and will attack him as soon as it becomes possible. Affiliation: Determines to which group belongs the character. Characters belonging to the same group will help one another during the fight. They will be also attacked by characters ill-disposed towards this group.

Behaviour: Determines the character’s behavior during the fight. Aggressive means that the character will try to approach its adversary as soon as possible. Defensive means that the character will try to maintain his position and when it becomes impossible it will approach the enemy. Coward means that when attacked, the character starts to escape.

Tactics_DontSurround: Characters of the game try to surround their adversary by default so that at least one of them can attack from behind. The setting of this flag will switch this mechanism off and the attackers will surround their victim in a random manner. Enemy: Determines to which groups a given character is ill-disposed. It works in connection with Affiliation. The character will attack the adversaries who are set with at least one position from the Enemy list in their Affiliation.

Abilities Edit

The definition of the character’s abilities is executed through a special dialogue window.


As you can see in the above picture, there are two separate areas. Character abilities describes the abilities of the character. Available abilities is a list of all abilities available in the game. You are to choose those you think the character ought to have. New abilities should be added in the .lua files located in the Data\Scripts\Definition\Abilities directory.  

Combat styles Edit

The definition of the character’s combat styles is executed through a special dialogue window.


The window is divided into two parts. The upper one is used to define the Styles available for the character. The lower one describes the attacks assigned to the respective styles. In order to define a New Style, click the right mouse button and choose Add Style. A new dialogue window will be displayed.


The Name field requires a name of the combat style. The name must be chosen from the list below:

•WitcherSteelFast – one-handed swords

•ShortWeaponFast – one-handed weapons as axes and clubs

•SwordWithShield – any weapon used together with a shield

•TwoHanded – two-handed weapon

•PolearmHeavy – halbred

•TwoSwordsFast - wielding two weapons (usually two swords)

•DaggerFast – dagger

•Bow – bow

•Crossbow – crossbow

•Commoner – the combat style used by unskilled opponents as bandits or militia

•Monster – the combat styled reserved for monsters

•SpellRanged – magical attacks

Choose the proper type of a weapon from the Weapon Type list. It should agree with the type described in the style name. There are the following exceptions to this rule:

•Name: WitcherSteelFast and Weapon Type: TwoHanded – two-handed swords

•Name: SwordWithShield and Weapon Type: WitcherSteel – sword and shield

•Name: SwordWithShield i Weapon Type: ShortWeapon – one-handed weapon and shield

The Powerup field is not used.

When the style has been defined, add attack sequences to it. In order to do that, highlight a line in the Styles table that corresponds to the modified combat style. Next, click the right mouse button on the Attacks table and choose Add Attack option. Choose appropriate set of attacks from the new dialogue window. This set is defined on the list as one ability. Similarly as in the case of the basic statistics the definition can be found in the respective .lua file located in the Data\Scripts\Definition\Attacks directory.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.