Special characters

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2831
Joined: Mon Aug 17, 2009 4:27 am

I'm running into problems where I can't make item names for bushido because characters with accents on them are parsed badly by the engine. How well are special characters (Eg "Ō") supported, and if they're possible to use, what format is required? The only system I've seen in the game for unicode characters requires spaces after the character in question, which makes it ugly at best, so I'm hopeful there's another way that lets me have actual words.....
Mischievous local moderator. She/Her pronouns.
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1215
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 I tried making that Ō character with the Unicode — Ō — for Shrike as a test, and wound up with a capital L instead.
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

You need to use &#x<hex number from 00-ff>; Look at helium fuel rods or AutoSentinel.

I do not know the characters by memory. It was how I displayed some fractions for some of my items, though.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2831
Joined: Mon Aug 17, 2009 4:27 am

PM wrote:You need to use &#x<hex number from 00-ff>; Look at helium fuel rods or AutoSentinel.

I do not know the characters by memory. It was how I displayed some fractions for some of my items, though.
From memory though, this requires a space after it or it parses the rest of the word.
Mischievous local moderator. She/Her pronouns.
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2831
Joined: Mon Aug 17, 2009 4:27 am

I am still unable to get this functioning. Decimal value (&#332;) and hexadecimal (&#x14c;) both fail, and give a capital 'L' instead of an 'Ō'. I don't know if I've hit a bug in the game, or something annoying and undocumented.
Mischievous local moderator. She/Her pronouns.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

I've been able to just use the characters for european accented characters. If the game supports unicode fonts it probably parses xml as unicode and you can just put the character in your string with Windows' character map utility. If it doesn't support unicode you're just not going to get anything not in the ascii set.
Literally is the new Figuratively
Post Reply