Mod:Create a character

From Wikipedia 2197
Revision as of 19:34, 21 September 2022 by Anabellebel (talk | contribs)
Jump to navigation Jump to search

This tutorial explains how to create and modify a character in The Sum. [[file:Entity Editor.jpg|thumb|This tutorial uses mainly the Entity Editor.

Required tools

Before you start

Take some time to learn how the Entity Editor works by checking out the "readme" file of the Fallout Tactics Editor.

Alert.png  Characters are referred to as "Actors" in the document. 



Create a new character


Bulb.png  Characters including several characteristics necessary for the game to function properly in general (along with a number of basic items in their bag), it is recommended that you create a character from an existing character taken at random from the characters in the Game/core/entities/Actors/ folder  



Existing character as a base

  1. Open the Game/ folder then FT Improver.EXE
    Alert.png  Using FT Tools.exe instead will result in an error 


    .
  2. Pass the videos by clicking on them.
  3. Click on
    ⦿  MORE 
    .
  4. Click
    ⦿  ENTITY EDITOR 
    .
  5. Navigate to the Template:False Button menu then Template:False Button.
  6. Open the desired file which must end with .ent (stored in Game/core/entities/Actors/).
  7. Go to the menu
     File 
    then
     Save As 
    .
  8. Save this character under a different name in the same folder.
    Bulb.png  The character should be stored in a folder corresponding to the location where it appears. If the filename of this location does not appear in "___HABITANTS", create this folder first with "Windows Explorer" and then save your character in it. 


Editing a character

Open the file (Entity editor)

  1. Open the Game/ folder then FT Improver.EXE
    Alert.png  Use FT Tools.exe instead will result in an error 


    .
  2. Pass the videos by clicking on them.
  3. Click on
    ⦿  MORE 
    .
  4. Click
    ⦿  ENTITY EDITOR 
    .
  5. Navigate to the Template:False Button menu then Template:False Button.
  6. Open the file of your character previously created which must end with .ent.

Name character

Every character has a name, stored in Game/NousAurons/locale/Game/characters.txt (French version) and Game/core/locale/Game/characters.txt (English version).

  1. Open the two files characters.txt and for each of them:
    1. Press
       ctrl 
      +
       f 
      and search for "//PRÉNOMS DES HABITANTS"
    2. Directly below, copy/paste the following code:
      name__character_code_name = {character name}
  2. Open the character file
  3. Expand the
     Name 
    tab.
  4. To the right of Template:Fake Button, add your character's code name.
    Alert.png  This name should not include the word "name_", but rather look like this: "_character_code_name". The "_" bar indicates that this is a unique character 


  5. Go to the
     File 
    menu and then
     Save 
    .

Add a bio (for companions)

If the character you create does not join the player's group as a companion, skip this step. As for the name, the bio of a character is stored in Game/NousAurons/locale/Game/characters.txt (French version) and Game/core/locale/Game/characters.txt (English version).

  1. Open the two files characters.txt and for each of them:
    1. Press
       ctrl 
      +
       f 
      and search for "//RECRUES"
    2. Directly below, copy/paste the following code:
      name__code_name_of_character = {Name of character}
      desc__character_code_name = {<Ck>LOCATION\nPROFESSION\nBiography appearing in the language appropriate to the version of '''characters.txt''}
  • LOCATION: Name of the location where the companion is recruited.
  • PROFESSION: Primary or official profession of the companion. There may be more than one.
    Bulb.png  If the character_code_name has been correctly assigned in the entity editor, the character's name and bio should appear correctly. 


  1. Save the document.

Create a portrait

To create a portrait from an image, see Mod:Create a portrait.

Assign a portrait

Using the code name of your character, it is easy to assign them a portrait.

  1. Open the folder Game/core/gui/char/ then choose a portrait in the list.{{Idea|If you can not see the portraits by double-clicking on them, [[Mod:Programs_recommended#Red.21Viewer|install Red!Viewer]}}
  2. Copy/paste this .zar file in the same folder renaming it "_character_code_name.zar".
    Alert.png  Don't forget to add a "_" bar before the character code name. 


Change characteristics

There are an infinite number of possible variations for the characteristics of the character you create, and they can have a Level of autonomy varying from beginner to very high...

  1. Open the character file
  2. Click on the
     Make 
    button to the right of the top menu.
  3. Customize the character by clicking on the
     Name 
     Age 
     Appearance 
    buttons on top.
  4. Using the
     + 
    and
     - 
    buttons as well as the and buttons, assign any characteristics of your choice to the character and press
    ⦿  OK 
    • Once this step is completed, expand the
       Name 
      tab and delete the name you entered earlier (to the right of Template:Fake Button). To assign a name to the character, follow these steps instead.
  5. To add Levels to the character:
    1. Click the Template:False Button button to the right of the menu at the top.
    2. Press the
       + 
      button to the right of "Autonomy" the number of times you want.
    3. Select a Perk when prompted.
    4. Assign all points earned from the Skills on the right using the
       + 
      and
       - 
      buttons.
      Bulb.png  Holding down the Template:False Button key by clicking on these buttons adds or subtracts 10 points for each click 


    5. Press
      ⦿  OK 
      .
  6. Navigate to the Template:False Button menu and then Template:False Button.

Change the colors

  1. Open the character file
  2. Expand the
     Image 
    tab.
  3. 4 menus allow you to change the character's colors, with two dimmers, the first controlling the saturation and the second the color level.
    Alert.png  Don't change the "Sprite" just above, this data will immediately revert to its default value following a save. To change the character's appearance, change the character's equipment instead. 



Alert.png  Changing the last color will affect the character blood color... 



Équipement (éditeur de niveaux)

  1. Ajouter le personnage dans une carte
    Bulb.png  Son fichier .ent devrait être stocké préalablement dans Actors/___Habitants/nom_de_code_du_lieu_ou_il_sera_ajoute/ 


  2. Cliquez sur l'onglet
     Entity Edit 
    puis cliquez sur le personnage.
  3. Pour ajouter des items portés par le personnage:
    1. Faites défiler les options à gauche jusqu'au champ
       Hand1_ 
      .
      • Les champs
         Hand1_ 
        et
         Hand2_ 
        indiquent les objets dans les deux mains du personnage.
      • Le champ
         Armour_ 
        indique le vêtement ou l'armure porté.e par le personnage, susceptible de changer son apparence.
    2. Cliquez sur le bouton
       ... 
      pour sélectionner un item à ajouter à un de ces champs (les armes se trouvent dans le dossier weapons/, les vêtements se trouvent dans le dossier items/Armor).
    3. Cochez la case sous les champs
       *_override 
      que vous avez rempli avec un item pour indiquer que cet item sera utilisé.
  4. Pour ajouter des items dans le sac du personnage:
    1. Faites défiler les options à gauche jusqu'au grand rectangle noir avec les boutons
       add 
      et
       del 
      au dessus.
    2. Cliquez sur le bouton
       add 
      pour sélectionner un item à ajouter (les items se trouvent dans le dossier items/.
      Alert.png  Ne surchargez pas le personnage d'objets sans bonne raison car il ne pourra plus se déplacer. 


  5. Accédez au menu
     File 
    puis
     Save 
    .

Équipement (éditeur d'entité)


Alert.png  Il n'est pas recommandé d'équiper un personnage dans l'éditeur d'entité, car des bogues peuvent survenir. L'éditeur de niveaux est à privilégier. 



  1. Ouvrez le fichier du personnage
  2. Pour ajouter des items portés par le personnage:
    1. Développez l'onglet
       Equipped 
      .
      • Les champs
         Hand1 
        et
         Hand2 
        indiquent les objets dans les deux mains du personnage.
      • Le champ
         Armour 
        indique le vêtement ou l'armure porté.e par le personnage, susceptible de changer son apparence.
    2. Cliquez sur le bouton
       ... 
      pour sélectionner un item à ajouter à un de ces champs (les armes se trouvent dans le dossier weapons/, les vêtements se trouvent dans le dossier items/Armor).
  3. Pour ajouter des items dans le sac du personnage:
    1. Développez l'onglet
       Inventory 
      .
    2. Cliquez sur le bouton
       add 
      pour sélectionner un item à ajouter (les items se trouvent dans le dossier items/.
      Alert.png  Ne surchargez pas le personnage d'objets sans bonne raison car il ne pourra plus se déplacer. 


  4. Accédez au menu
     File 
    puis
     Save 
    .

Points de vie

Si vous avez ajouté des niveaux d'autonomie à votre personnage, il est important d'ajuster ses points de Vie pour vous assurer qu'il ne soit pas blessé (et par conséquent potentiellement hostile) dès que le joueur le rencontre.

  1. Calculez le nombre de Points de Vie qu'a besoin le personnage grâce au formulaire suivant.
    Bulb.png  Obtenez la Force, Endurance et Niveau d'autonomie du personnage en cliquant sur le bouton
     Level 
    en haut de page dans l'éditeur d'entités.
     


  2. Dans l'éditeur d'entités, développez le tout dernier onglet
     ActorStatus 
    .
  3. À la droite de
     hitPoints 
    , remplacez le chiffre présent par le nombre de Points de Vie calculé.
  4. Accédez au menu
     File 
    puis
     Save 
    .

Placer un personnage dans un lieu

Consultez le tutoriel à cet emplacement (et suivez les étapes)