Barotrauma

Barotrauma

View Stats:
ixella Dec 1, 2019 @ 6:08am
Console command "head"
How to write a command to pass additional arguments (hair, beard, etc)? I wrote this command in different ways, but only the first argument (face) was used
Last edited by ixella; Dec 1, 2019 @ 6:50am
< >
Showing 1-3 of 3 comments
Dynamoon  [developer] Dec 2, 2019 @ 3:49am 
Hi! The optional arguments are separated with a space, for example "head 0 1 2 1 0".

However, this command is intended for testing, and can lead to all sorts of issues if you try to use it as a way to permanently modify your character. It also doesn't work in multiplayer, but I think singleplayer customisation is what you need this for :) SP character customisation is something we'll hopefully look into, too, at some point, as it's been brought up by a few different people just recently.
ixella Dec 2, 2019 @ 5:23am 
Originally posted by 1dynamoon:
Hi! The optional arguments are separated with a space, for example "head 0 1 2 1 0".

However, this command is intended for testing, and can lead to all sorts of issues if you try to use it as a way to permanently modify your character. It also doesn't work in multiplayer, but I think singleplayer customisation is what you need this for :) SP character customisation is something we'll hopefully look into, too, at some point, as it's been brought up by a few different people just recently.
I entered this command this way, but I did not quite understand how the numbers in the additional arguments correspond to the id of hairstyles/beards/etc - when i change some parameters nothing happens (Thank you for coming to the aid of the players! I like your game!)
Last edited by ixella; Dec 2, 2019 @ 5:27am
Regalis  [developer] Dec 3, 2019 @ 3:25am 
The arguments are index numbers of the hairs/beards: so basically 0 is the first variant, 1 is the second and so on. If there's no hair/beard/accessory with a matching index number, the command won't work. You can check which values you can use by taking a look at the available hairs etc for a given face in the server lobby screen.

This is admittedly not very user-friendly, but as pointed out by 1dynamoon, this command is only intended for testing and should generally not be used unless you're doing stuff like modding in custom hairs or beards.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Dec 1, 2019 @ 6:08am
Posts: 3