Human: Difference between revisions
BTGamepedia>Telyak m (Telyak moved page Characters to Humans: Corrected name.) |
BTGamepedia>Telyak (Update and polish.) |
||
Line 1: | Line 1: | ||
[[File:Characters.png|thumb|220x220px]] | [[File:Characters.png|thumb|220x220px]] | ||
'''Humans''' in ''[[Barotrauma]]'' are unique [[:category:Creatures|Creatures]] that the player can control. They are the player's primary method of interacting with the world. In singleplayer, characters are given a random name, but in multiplayer players can choose their character's name themselves. | |||
==Editing== | |||
The random names are configured in three different files: firstnames.txt, ffirstnames.txt and lastnames.txt, all of which are in the "Content/Characters/Human" folder by default. The first two are for male and female names respectively, and the third is for last names. New names can be added simply by putting them on a separate line in the file. | The random names are configured in three different files: firstnames.txt, ffirstnames.txt and lastnames.txt, all of which are in the "Content/Characters/Human" folder by default. The first two are for male and female names respectively, and the third is for last names. New names can be added simply by putting them on a separate line in the file. | ||
Line 7: | Line 8: | ||
It should be noted that if you are using custom sprites, other players won't see them in the multiplayer mode unless they are using [[Content Packages]] with the same custom sprites. | It should be noted that if you are using custom sprites, other players won't see them in the multiplayer mode unless they are using [[Content Packages]] with the same custom sprites. | ||
{{Universal nav | |||
| show-main=yes | |||
| show-creatures=yes}} | |||
[[Category:Creatures]] |
Revision as of 22:46, 31 May 2017
Humans in Barotrauma are unique Creatures that the player can control. They are the player's primary method of interacting with the world. In singleplayer, characters are given a random name, but in multiplayer players can choose their character's name themselves.
Editing
The random names are configured in three different files: firstnames.txt, ffirstnames.txt and lastnames.txt, all of which are in the "Content/Characters/Human" folder by default. The first two are for male and female names respectively, and the third is for last names. New names can be added simply by putting them on a separate line in the file.
New head sprites can also be added by placing them in the same "Human" folder. Male heads should be named "head[id].png" and female heads "fhead[id].png". To make the sprites appear in the game, "maleheadid" and "femaleheadid" attributes in the human configuration file ("human.xml" by default) must be changed to include the ID of the new sprites. For example, if there are sprites from head1.png up to head10.png in the folder, "maleheadid" should be set to "1,10".
It should be noted that if you are using custom sprites, other players won't see them in the multiplayer mode unless they are using Content Packages with the same custom sprites.