RimWorld

RimWorld

[1.4]All Characters Enable to use in Name
11 kommentarer
Toilet 26. aug. kl. 5:35 
god this was a must use for me ngl
o7
FoolishJester 8. jan. 2024 kl. 21:19 
sweet finally
Leafield 19. juli 2022 kl. 1:57 
Great to look back and see a mod author with this kind of activity in the comments. Not that I expect it from anyone, but I'll call it heartwarming.
jtgibson 8. okt. 2021 kl. 4:41 
Very cool! Thanks for looking into this. I do love being able to type spaces and periods at the very least -- that was what made me find this mod in the first place, especially with some of the vanilla back stories having characters that can't be entered yourself. I was just worried that it might break if I ended up unknowingly sticking in an XML invalid character. (I had a lot of annoyances when porting Signs and Memorials, which would break XML loading... I ended up using a ridiculous Base64 conversion, heh.)
Kushiyaki  [ophavsmand] 8. okt. 2021 kl. 0:05 
@NylonWorms
Thanks.

@jtgibson
I checked it in v1.3, but it seems that vanilla has an escape process in the save process (<> is converted to &lt;&gt;). Therefore, even if you put <> in the name, save data will not be corrupted.
However, in the case of a title, an error will occur immediately if you enter <>, so i'll add a process to forcibly convert it.
NylonWorms 2. okt. 2021 kl. 13:21 
I just wanted to say thank you again for the examples, I love using this mod for my combat colonist.
Kushiyaki  [ophavsmand] 2. okt. 2021 kl. 6:21 
@jtgibson
Thank you for contacting.
<> will be recognized as a tag, so the name will probably not be displayed properly.
If you include a tag (a string containing <~>), you will get an XML error if you do not close (a string containing </~>) the corresponding tag.
If you want to use <>, use another symbol as an alternative. (e.g. <>)
≪≫ is used in the preview image.
I don't know if it will be displayed in all language environments.

It ’s dangerous for people who do not know this, I will consider avoidance when saving function in a future fix.
Unfortunately, there is probably no way to properly display <> in-game. (Because there is no escape specification in Unity rich text)
jtgibson 1. okt. 2021 kl. 2:34 
Does this save and load properly? RimWorld saved games are saved as XML files and XML files tend to explode if invalid characters appear in the document. For instance, an ampersand "&" might actually break the saved game, or using something like "<nick>" might actually save as "<first><nick></first><nick><nick></nIck><last>Lastname</Last>" and cause the entire saved game to fail to load because of several unclosed XML tags.
NylonWorms 24. juli 2021 kl. 16:33 
@Kushiyaki Thank you this helpedd a ton!
Kushiyaki  [ophavsmand] 24. juli 2021 kl. 15:28 
@ NylonWorms
What about?


If you want an example of a tag, it looks like this:

・ When you want to make it bold
<b>Name</b>

"Name" is displayed in bold

・ When making italics
<i>Name</i>

"Name" is displayed in italics

・ When nesting
<b><color=red>O</color>Name</b>
"Name" is displayed in bold and "O" is displayed in bold red.

* In machine translation, there may be a space after the "/", but there is no space.

For more information, check out Unity's Rich Text.


By the way, when I tried to use many tags, the number of characters was not enough, so I updated it.
NylonWorms 24. juli 2021 kl. 14:41 
can you add two separate examples for people that are confused/dumb Like me.