Nexus Modding > Mod Development / Released Mods

PRT file editing

<< < (2/2)

Arparso:
Yeah, I noticed that two weeks ago myself, actually. I tried to change the font and/or make it appear white, but noticed the game kept crashing on me no matter the texture.

It appears, these font textures don't just contain the actual image data, but also some additional data as well. You can see that in the Nexus model viewer when opening one of the font .tex files: in the upper left it says "Aux Data Size: x bytes". I think it's some kind of lookup table for the game to know where to find each letter in the texture. If that's the case, then we're out of luck here, because the Nexus texture converter simply doesn't generate this auxiliary data for us. :(

/edit:
Just had a look at the data and yeah, it's a lookup table for all the characters in the font texture storing the letters' coordinates and size information. Should be possible to write a quick converter to import our own font textures using custom fonts, but that won't help with the color problem. The letters themselves are stored in the texture's alpha channel, which doesn't really carry any color information. Simply inverting the texture's colors would only change the red, green and blue channels, but wouldn't have any effect on the font color. The black font on the ship's hull is - like way too many things in Nexus - hardcoded, I fear. It just takes the font texture to determine the shape of the letters, not the color.

jstubbles:
Damn, that's REAL unfortunate, hah. Guess that just means a lot more model data we'll have to use. :(

Thanks a lot Arparso! :)

Arparso:
You'll probably need to make a separate model and shipclass for each named ship you want to get in the game... at least for the ones you absolutely need to have their names visible, anyway. Keep in mind, that Nexus doesn't allow for an unlimited number of different shipclasses though... I believe the limit is somewhere around 300 including fighters, missiles and asteroids, of course. There is A LOT of hardcoded stuff in Nexus... :(

Navigation

[0] Message Index

[*] Previous page

Go to full version