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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-18-07, 04:12 AM   #1
Venatore
Admiral
 
Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
Font colour question ?

Hello,

I'm currently in the process of a mod. I got the idea off a member called "Sober". I'm changing the colour font of certain things, but I've hit a snag. The path way for the changing of the font colour is SH3/data/Menu/Fonts. Thats the easy part, the drama of got; is the changing of the seclected area of the game, what I mean is, at the moment if you select a mission/character etc its orange. In the obve mention path way there are fourteen font file and none of them are related to the selection part, I know this to be correct; because of got the mod 99.99% complete, I just need to find where you change what you have selected in the game?

any takers?
Venatore is offline   Reply With Quote
Old 01-18-07, 04:24 AM   #2
FIREWALL
Eternal Patrol
 
Join Date: Mar 2006
Location: CATALINA IS. SO . CAL USA
Posts: 10,108
Downloads: 511
Uploads: 0
Default

Quote:
Originally Posted by Venatore
Hello,

I'm currently in the process of a mod. I got the idea off a member called "Sober". I'm changing the colour font of certain things, but I've hit a snag. The path way for the changing of the font colour is SH3/data/Menu/Fonts. Thats the easy part, the drama of got; is the changing of the seclected area of the game, what I mean is, at the moment if you select a mission/character etc its orange. In the obve mention path way there are fourteen font file and none of them are related to the selection part, I know this to be correct; because of got the mod 99.99% complete, I just need to find where you change what you have selected in the game?

any takers?

I know this sounds dumb. But what is a font? And what doe's it do ?
__________________
RIP FIREWALL

I Play GWX. Silent Hunter Who ???
FIREWALL is offline   Reply With Quote
Old 01-18-07, 04:27 AM   #3
Venatore
Admiral
 
Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
Default

The Font is the writing size for example New Times Roman Font 8, currently in the game the writing is white, I''m changing it so
A. its not as harsh on the eyes at night,
B. it looks better
Venatore is offline   Reply With Quote
Old 01-18-07, 04:29 AM   #4
Albrecht Von Hesse
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by FIREWALL
I know this sounds dumb. But what is a font? And what doe's it do ?
Doesn't sound dumb at all.

Font is basically text style/shape/design.

This is Verdana font,

while this is Times New Roman,

and this is Arial.

You can select different ones for your post; at the top, just under where it says 'Message:' you'll see a drop-down box that should have Verdana selected. There is where you can change the font for your messages if you wish.

There are tons of fonts in the world. Including different ones in game for messages, etc.
  Reply With Quote
Old 01-18-07, 04:30 AM   #5
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

This thread might help.

http://www.subsim.com/radioroom/show...highlight=font

although it's not about colour. I'll keep looking.
__________________
danlisa is offline   Reply With Quote
Old 01-18-07, 04:35 AM   #6
Venatore
Admiral
 
Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
Default

Thanks Danlisa, as soon as I get the answer the mod will be up, like I said its all good to go except I want to change the selection colour from orange to......ah you will have to wait
Venatore is offline   Reply With Quote
Old 01-18-07, 04:44 AM   #7
Albrecht Von Hesse
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Don't quote me on this, but this might be where you need to look:

menu_1024_768.ini


[G58 I6]
Name=Mission List
Type=1037;List box
ItemID=0x58000007
ParentID=0x58000000
Pos=645,515,300,353
Color=0xFFFFFFFF
Materials=12
Display=4;All directions
Mat 8=DATA/Menu/Data/vtarrow0.tga
Mat 9=DATA/Menu/Data/vtarrow1.tga
Mat 10=DATA/Menu/Data/vtarrow2.tga
Mat 11=DATA/Menu/Data/vtarrow3.tga
MatFlags=0x1
TexFmt=0x9
Font=5
TextFlags=0x4
MaxNumItems=128
VisibleItems=10
NumItems=0
AllocationType=1
AllocationParameter=64
StatesColors=0x505050FF, 0xFFFFFFFF, 0xFFA000FF, 0xFF0000FF

[G58 I7]
Name=Mission List
Type=1029;Static text
ItemID=0x5800000B
ParentID=0x58000000
Pos=641,551,180,32
Color=0xFFFFFFFF
Font=5
Text=3071
TextFlags=0x4
[G58 I8]
Name=Mission Description
Type=1040;Scroll text
ItemID=0x58000006
ParentID=0x58000000
Pos=66,538,551,260
Color=0xCDB59EFE
Materials=8
Display=4;All directions
Mat 0=DATA/Menu/Data/scrollt.tga
Mat 1=DATA/Menu/Data/scrollt.tga
Mat 2=DATA/Menu/Data/scrollt.tga
Mat 3=DATA/Menu/Data/scrollt.tga
Mat 4=DATA/Menu/Data/scarr0.tga
Mat 5=DATA/Menu/Data/scarr1.tga
Mat 6=DATA/Menu/Data/scarr2.tga
Mat 7=DATA/Menu/Data/scarr3.tga
MatFlags=0x1
TexFmt=0x9
Font=5
Text=0
TextFlags=0x10
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G58 I9]
Name=Mission Description
Type=1029;Static text
ItemID=0x58000002
ParentID=0x58000000
Pos=78,571,367,32
Color=0xE26522FF
Font=0
Text=3070
TextFlags=0x4
  Reply With Quote
Old 01-18-07, 04:46 AM   #8
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Color=0xFFFFFFFF & StatesColors=0x505050FF, 0xFFFFFFFF, 0xFFA000FF, 0xFF0000FF

:hmm: That makes as much sense to me as "kdih gkrughiu erva;k jsdfg;liha esdfg":rotfl:

Are these Hex codes?

I wish you luck my friend.
__________________
danlisa is offline   Reply With Quote
Old 01-18-07, 04:49 AM   #9
Venatore
Admiral
 
Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
Default

oh well the orange stays I'm not going to mess with the ini file I've done that before and well lets just very bad things happened.
Venatore is offline   Reply With Quote
Old 01-18-07, 04:50 AM   #10
Albrecht Von Hesse
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by danlisa
Color=0xFFFFFFFF & StatesColors=0x505050FF, 0xFFFFFFFF, 0xFFA000FF, 0xFF0000FF

:hmm: That makes as much sense to me as "kdih gkrughiu erva;k jsdfg;liha esdfg":rotfl:

Are these Hex codes?

I wish you luck my friend.
Well, and a fhdh bwrtylk mlt btk zxyklk! back! :p
  Reply With Quote
Old 01-18-07, 04:59 AM   #11
FIREWALL
Eternal Patrol
 
Join Date: Mar 2006
Location: CATALINA IS. SO . CAL USA
Posts: 10,108
Downloads: 511
Uploads: 0
Default

Thx Guys, I learned something new today.
__________________
RIP FIREWALL

I Play GWX. Silent Hunter Who ???
FIREWALL is offline   Reply With Quote
Old 01-18-07, 06:13 AM   #12
geralt
Loader
 
Join Date: Feb 2006
Location: Czech rep.
Posts: 90
Downloads: 24
Uploads: 0
Default

Quote:
Originally Posted by Venatore
Hello,

I'm currently in the process of a mod. I got the idea off a member called "Sober". I'm changing the colour font of certain things, but I've hit a snag. The path way for the changing of the font colour is SH3/data/Menu/Fonts. Thats the easy part, the drama of got; is the changing of the seclected area of the game, what I mean is, at the moment if you select a mission/character etc its orange. In the obve mention path way there are fourteen font file and none of them are related to the selection part, I know this to be correct; because of got the mod 99.99% complete, I just need to find where you change what you have selected in the game?

any takers?
I've tried sometrhing similar using Sober's rig for red mod idea.
I wanted to change color of the main concole text.

Bad news: I haven't found any way to change 'highlighted' text color from orange...I've looked through the menu_1024_768.ini file... nope... maybe it's hardcoded


Good news: you don't need it I found these things
- you can change color of font*.tga
- you can change the color of frames when select an officer and - other ingame texts in the menu*.ini file

small example what I've learnd:
I wanted the main console text not to be white/ornge
I use the the font 'FPHunt15.tga' so I took this file and change the color for red in any photo/graphical editing software and saved as 'FPHunt16.tga' then I added new font to menu.ini and change the font udes in the main concole

Code:
[Fonts]
Fonts=19
Font0=DATA/Menu/Fonts/FPHunt26.tga
Font1=DATA/Menu/Fonts/FPCond14.tga
Font3=DATA/Menu/Fonts/FPHunt38.tga
Font4=DATA/Menu/Fonts/FPHunt12.tga
Font5=DATA/Menu/Fonts/FPHunt15.tga
Font6=DATA/Menu/Fonts/FPSmall.tga
Font7=DATA/Menu/Fonts/FPPencil12.tga
;Font10=DATA/Menu/Fonts/FPArhi24.tga
Font10=DATA/Menu/Fonts/FPHunt15.tga
Font11=DATA/Menu/Fonts/ShellsNr.tga
Font13=DATA/Menu/Fonts/FPCond18.tga
Font14=DATA/Menu/Fonts/FPCond12.tga
Font15=DATA/Menu/Fonts/FPCond9.tga
Font16=DATA/Menu/Fonts/FPBro20.tga
Font17=DATA/Menu/Fonts/FPBro100.tga
Font18=DATA/Menu/Fonts/FPHunt16.tga  ;new red font

[G3F I152]
Name=Messages; FLB Sale`s 6 Anzeigen 
Type=1029;Static text
ItemID=0x3F040002
ParentID=0x3F040000
;Color=0xFF00FFBB
Color=0xFFFFFFBA
Pos=20,-23,700,70; Original Pos=20,-23,385,107
;Font=5; Original Font=13
Font=18 ;new red font
Text=0
TextFlags=0x10
changing color of frames when selecting officers
as you know the color is in hex so it's RRGGBBxx I use orange
(D26400AA) and dark red (CC0000AA), the xx also in hex value means (I hope) the opacity of the color
Code:
[G3F I2]
Name=Highlight
Type=1030;Static bmp
ItemID=0x3F000002
ParentID=0x3F000000
Pos=0,198,40,40
;Color=0xD26400FF
Color=0xD26400AA
Materials=1
Display=4;All directions
Mat 0=data/menu/gui/layout/high.tga
MatFlags=0x1
TexFmt=0x9

[G3F I3]
Name=Selection
Type=1030;Static bmp
ItemID=0x3F000003
ParentID=0x3F000000
Pos=0,246,40,40
;Color=0xD2AA00FF
Color=0xCC0000AA
Materials=1
Display=4;All directions
Mat 0=data/menu/gui/layout/sel.tga
MatFlags=0x1
TexFmt=0x9
and back again to the main console... I found that the orange 'highlighted' color it's not always orange
It depends on the basic color in font*.tga file
when the default text is e.g. blue then the highlighted is dark grey/black I guess it's the defalt (blue) + highlight (orange) = dark grey

hope this will help I'll add some screens later
sorry for my english

edit screens:
ingame


main screen

Last edited by geralt; 01-18-07 at 06:28 AM.
geralt is offline   Reply With Quote
Reply


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 05:47 AM.


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