Jump to content
Narrnika

Character clothes are not saved

Recommended Posts

When you use saving in the "Customise Character" screen, the DisplayNames of clothes are written to the file Zomboid/Lua/saved_outfits.txt (taking into account the included translation).

This creates two errors:
1. If the translation is not Unicode (Russian, Chinese, Japanese, etc.), then instead of the names, question marks are written to the file, which are then not read; that is, a set of clothes is not actually saved;
2. If you configure and save the character in one language, and then switch to another translation, the saved set of clothes does not load correctly (because the names are different in different languages).

Perhaps it makes sense to use not the DisplayName, but the code name of the item (for example, "Tshirt_Profession_RangerGreen" instead of "Green Ranger T-Shirt").

Share this post


Link to post
Share on other sites

Using the item name would also make it so you could put more things on the list that have the same name, since right now there are several items that are distinct yet share the same display name.

 

Getting around this restriction for the purposes of modding is pretty awkward.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...