RimWorld

RimWorld

[1.4]All Characters Enable to use in Name
10 Comments
FoolishJester 8 Jan, 2024 @ 9:19pm 
sweet finally
Leafield 19 Jul, 2022 @ 1:57am 
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 Oct, 2021 @ 4:41am 
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  [author] 8 Oct, 2021 @ 12:05am 
@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 Oct, 2021 @ 1:21pm 
I just wanted to say thank you again for the examples, I love using this mod for my combat colonist.
Kushiyaki  [author] 2 Oct, 2021 @ 6:21am 
@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 Oct, 2021 @ 2:34am 
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 Jul, 2021 @ 4:33pm 
@Kushiyaki Thank you this helpedd a ton!
Kushiyaki  [author] 24 Jul, 2021 @ 3:28pm 
@ 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 Jul, 2021 @ 2:41pm 
can you add two separate examples for people that are confused/dumb Like me.