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 06-01-07, 08:09 AM   #1
Julius Caesar
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default [REQ] Button: All crew to battle stations - RED colour?

jimimadrid made a great mod where he changed the color of the pressed Hud buttons to green:
http://www.subsim.com/radioroom/showthread.php?t=108359
iceberg made a great mod where you have Battle stations and Silent running visible in all menus:
http://www.subsim.com/radioroom/showthread.php?t=109493


Now, with so may green buttons, I sometimes miss that I have turned on "all crew to battle station".
Do you think it would be possible to change only that button to, lets say, red (when it's turned on)?

Last edited by Julius Caesar; 06-01-07 at 09:34 AM.
  Reply With Quote
Old 06-01-07, 09:27 AM   #2
Canonicus
XO
 
Join Date: Mar 2007
Location: In your baffles...
Posts: 434
Downloads: 624
Uploads: 7
Default

Nice thinking! ......I like this idea!

You certainly wouldn't forget you still had your crew at battle stations....long after the battle was over...(like me on several occations )
Canonicus is offline   Reply With Quote
Old 06-01-07, 09:39 AM   #3
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Great idea, was thinking some days ago how it could be properly highlighted that your crew is still under "Battlestations" condition without checking the crew management screen (Trigger Maru makes this even more difficult as it has two planesmen in normal situation instead of one in teh stock game, so when you got to Battlestations you can't notice it in the extra planesman). Nice! Hope someone can solve it
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 06-01-07, 10:24 AM   #4
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 240
Uploads: 0
Default

Im currently working on an "orders bar button" mod

Ive so far added quite a few buttons from the command list.

Ive done the tool tips but Im still working on the Icons. at the moment
the new commands ive added share icons that have allready been used so i think it would be a bit confusing to release just yet , but keep an eye out for a [rel] called 'more buttons orders bar'

Ill try to include the red button idea and maybe another colour for silent running as ive enabled these two buttons on all stations.

The only problem I can see is that the button is only replicated in one set in the HUD.dds file "where the icon info is" and its shared and replicated for each location.
so you can see it would be easy to make them all red but just doing one could be tricky , or beond my capabilities.
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-01-07, 10:27 AM   #5
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Well you have to make a new "color" overlay "somewhere" and tell the game to use that instead, like what we did with the "Observation periscope". Basically pointing to that new dds/tga in the "menu_1024_768.ini" You also might have to specify the size and stuff in the code etc.

Another way would be to add the new color overlay on the existing dds/tga (there is room for it), but then you really have to start calculating and checking that the new button draws the texture from EXACTLY that spot!

I could give it a go...
__________________
CaptainCox is offline   Reply With Quote
Old 06-01-07, 10:51 AM   #6
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Might have shouted to early
It seems there is NO specific code for each button, however there is something that might lead to something...
In the OrdersBar.cfg you have all the buttons for each station

Looks like this (example)
Quote:
Button10Command=Crash_dive
Button10IconRowColumn=1,2
Button10Tooltip=5602
Ok, look at
Quote:
Button10IconRowColumn=1,2
That tells the game to look for that particular icon in
Row 1 Icon 2

This is the cropped area of the HUD.dds/tga that has all the icons


As you see it points to Row1 Icon/Column 2

Ok nothing to do with colors but...

I think, and i am speculating here, but it looks like the Color overlay is only one! and then the game draws whatever icons specified in to that "Colored" button based on this script. To do a 2nd color might need some serious re scripting of the "menu_1024_768.ini"

At least looks like that at a first glance.
__________________

Last edited by CaptainCox; 06-01-07 at 12:13 PM.
CaptainCox 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 07:44 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.