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

Reply
 
Thread Tools Display Modes
Old 12-07-07, 09:20 PM   #1
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,277
Downloads: 90
Uploads: 0


Default Location?

Where is the location of the textures for the interface in the game....meaning the fun little buttons we press at the bottom of the screen:hmm: I have seen them once but for the life of me can not find them again
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 12-07-07, 09:26 PM   #2
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

data/menu/gui if memory serves me correctly, or somewhere there abouts.
Ducimus is offline   Reply With Quote
Old 12-07-07, 09:28 PM   #3
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,277
Downloads: 90
Uploads: 0


Default

That is it! Thank you sir!
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 12-07-07, 09:33 PM   #4
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,277
Downloads: 90
Uploads: 0


Default

Now, this is what I'm ATTEMPTING to do . With the added buttons on the interface, they lack a little picture of what the button does. I want to create a picture of the function. Say for instance, the button for weather is blank. I want to create a picture for the button indicating it is the weather button. Right now it is nice to have words pop up for what it does but these blank buttons could use a picture in it. How would I associate the buttons with the pictures I create? Is is possible? Do I sniff to much glue?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 12-07-07, 10:20 PM   #5
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default

Quote:
Originally Posted by AVGWarhawk
How would I associate the buttons with the pictures I create? Is is possible? Do I sniff to much glue?
I asked myself the same question when I started playing around adding buttons and did a lot of until I got it figured out. As far as associating the icons with a particular button, there is a basic array of icons on the ...Data\Menu\Gui\Layout\HUD.dds file. They are on the right side of the graphic. The icon section (enlarged for clarity) that I used on my MHSMC looks like this:



In the ....Data\Menu\Cfg\OrdersBar.cfg file, where you define the buttons used on the HUD, you will find a line for each button that looks like this :

Button2IconRowColumn=1,2

This is the icon reference for the crash dive button. As you can see it refers to the first row, second column of the array of icons. There are 9 rows of 21 columns that you can use for icons.

The trick with the icons is that the areas that you want to show up on the button must be part of the alpha channel and the parts where you want the button to show through must be deselected in the alpha channel.

If you are using Photoshop, go to the Select menu bar option and select "Load Selection..", then chose Alpha 1 (which should be the default) and you will see selected all of the parts of the icons that show up on the buttons. Then you can use the add selection tool to add the portions of any new icons that you want to use.
__________________

RSM-GIEP-Killflags-LV Tribute-Playable Elco __Peace be with you, Dave.

Digital_Trucker is offline   Reply With Quote
Old 12-07-07, 10:27 PM   #6
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

You don't have enough button icons man. I think you need a few more!
Ducimus is offline   Reply With Quote
Old 12-08-07, 08:21 AM   #7
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,277
Downloads: 90
Uploads: 0


Default

Quote:
Originally Posted by Digital_Trucker
Quote:
Originally Posted by AVGWarhawk
How would I associate the buttons with the pictures I create? Is is possible? Do I sniff to much glue?
I asked myself the same question when I started playing around adding buttons and did a lot of until I got it figured out. As far as associating the icons with a particular button, there is a basic array of icons on the ...Data\Menu\Gui\Layout\HUD.dds file. They are on the right side of the graphic. The icon section (enlarged for clarity) that I used on my MHSMC looks like this:



In the ....Data\Menu\Cfg\OrdersBar.cfg file, where you define the buttons used on the HUD, you will find a line for each button that looks like this :

Button2IconRowColumn=1,2

This is the icon reference for the crash dive button. As you can see it refers to the first row, second column of the array of icons. There are 9 rows of 21 columns that you can use for icons.

The trick with the icons is that the areas that you want to show up on the button must be part of the alpha channel and the parts where you want the button to show through must be deselected in the alpha channel.

If you are using Photoshop, go to the Select menu bar option and select "Load Selection..", then chose Alpha 1 (which should be the default) and you will see selected all of the parts of the icons that show up on the buttons. Then you can use the add selection tool to add the portions of any new icons that you want to use.

Yep, I have photo shop. I will give this a try. I suspect I can create my button pictures on this .tga and then make the association to the new picture? You stated 9 rows of 21 channels. Perhaps I can not add more channels or rows.?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk 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 10:45 PM.


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.