-
Notifications
You must be signed in to change notification settings - Fork 1
Character Editor
The character editor is a tool that allows defining the various characters present in the game.
The interface features 3 buttons for efficient creation and management of your characters.
- Character: Create a new character.
- Folder: Create a new folder.
- Compilation: Compile the characters and generate a new file.
The character editor allows defining various fields that can be accessed during gameplay, including:
- Name: the character's name
- Surname: the character's surname
- Biography: the character's biography
- Background: the character's background
Additionally, there are 3 checkboxes to determine if the character should provide a shop, loot, or a specific starting inventory.
- Has Inventory: the character has their own inventory
- Has Loot: when defeated, the character has the possibility of dropping one or more specific items
- Has Shop: the character has a shop where players can buy and sell items.
The Inventory Tab allows providing the player with the character's initial items. By clicking on the designated button, a new object template is generated, displaying the general information to be set.
In this version, the inventory allows setting only the quantity
of a specific type of object, with a maximum limit of 99.
Clicking again on the newly generated template opens a new window that allows choosing which object to assign to the template.
If everything is done correctly, you will see the template take on the icon and name of the selected object.
The shop functions similarly to the Inventory tab, with the only difference being that the information displayed pertains to the price
and quantity
of items.
The price cannot be set by the user in this section; however, it can be defined in the game's item editor.
The loot section is used to define which items can be obtained upon the death/defeat of a character. For example, in a classic RPG, when you defeat an enemy, you can loot their body to obtain X resources. This section is responsible for specifying what these resources are.
Like all other sections, this section also follows the same functionality, allowing for the modification of values such as:
- Quantity: the amount of the item that can be received.
-
Percentage: indicates the percentage chance of obtaining this item. By adjusting the slider, you can set it anywhere
from 0% up to a maximum of 100%
.
Once a character is ready, in order to use it, you need to click on the compilation button (the third one from the left).
Once you've done that, reload the project to create a new QuestieCharacter
.