Skip to content

Character Editor

Lone/coder edited this page May 31, 2023 · 1 revision

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.

Character Creation

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.

Character Inventory

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.

Character Shop

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.

Character Loot

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%.

Character Compilation

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.