SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-05-11, 09:02 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Need to know the following:

- a list of all the fonts you want to be available for this (found in \data\Menu\Pages\Menu_1024_768) and whether you want that font to be able to be bolded and what colors you want available for that font (if any)
- a list of all the colors you want to be available for each font (can be ANY color as the color is specified in RGBA format - 0xRRGGBBAA where RR, GG, BB, and AA are values of 0-255. The font, by default, being used is Univ_11

I have added the ability to bold text. There is one slight problem with it though. As the base text color is 0x101010FF (almost dark black) I can't make the bold text be 0xFF (solid black) because it won't stand out. We have to assign bold text a color. What should it be? Red, green, ??

EDIT:

Tried changing the bold to a color and it didn't look right. So I tried something else: increased the font size and made the color solid black:


I think that looks acceptable for bold text no?

You bold text by wrapping it in <b>....</b> tags where .... is the text to be bolded

Now we should be able to imbed images in the text also. Going to try and make that work now.....

EDIT2:

Wouldn't you know it, no documentation on the stylesheets the game uses either I have no way of knowing what properties the stylesheets can use Once again have to rely on code to do my dirty work Although the ScriptManager says you can use <img> tags in the stylesheets, without documentation it's worthless. I'll try coding something to allow images to be specified in the text.

Last edited by TheDarkWraith; 03-05-11 at 10:16 AM.
TheDarkWraith is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.