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 05-18-07, 05:46 PM   #1
NefariousKoel
Ace of the Deep
 
Join Date: Nov 2002
Location: No-good Missouri scum
Posts: 1,223
Downloads: 43
Uploads: 0
Default [REQ]Integrated Command Menu Mods

I'm wondering if it's possible using the green lamp/silent running&battles stations at all stations along with such additions as range to course end and all the others that are included in Trigger Maru?

Maybe I should be asking Ducimus this but thought I'd shoot it out here.
__________________
"When Gary told me he had found Jesus, I thought, Yahoo! We're rich! But it turned out to be something different." - Jack Handey
NefariousKoel is offline   Reply With Quote
Old 05-19-07, 01:44 AM   #2
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

You mean to add more buttons right? That's very easy. Simply add the lines of code for the button you want to the station you would like to see it.

if you already have the "Green Lamp" mod adding buttons will be green automatically as there is only one "green" layer for all.

What you do is:

Open "OrdersBar.cfg" in C:\Program Files\Ubisoft\Silent Hunter 4 Wolves of the Pacific\Data\Menu\cfg

You will see all the stations there, like Station1, station2 etc.

So if you want to add the "range to course end" to station 6 it would look like this

Unmodified:
Quote:
[Station6]
Name=5660
Tooltip=5660
CommandWhenActivated=A01gun_camera;Cycle_flak_cam
IconIndex=6
Button1Type=Checkbox
Button1CommandWhenClicked=A01gun_camera
Button1CommandToCheckIfIsEnabled=Is_A01_Available
Button1CommandToCheckIfIsChecked=Is_A01_camera_sta tion_Active
Button1IconRowColumn=6,2
Button1Tooltip=5663
Button2Type=Checkbox
Button2CommandWhenClicked=A02gun_camera
Button2CommandToCheckIfIsEnabled=Is_A02_Available
Button2CommandToCheckIfIsChecked=Is_A02_camera_sta tion_Active
Button2IconRowColumn=6,3
Button2Tooltip=5662
Button3Type=Checkbox
Button3CommandWhenClicked=Toggle_activate_aa_gun_t eam
Button3CommandToCheckIfIsEnabled=!Is_Underwater
Button3CommandToCheckIfIsChecked=Is_AAgun_Team_Act ive
Button3IconRowColumn=6,4
Button3Tooltip=5664
Button4Type=Checkbox
Button4CommandWhenClicked=Toggle_AAGuns_Fire_at_wi ll;AAGuns_Fire_at_will
Button4CommandToCheckIfIsChecked=Is_AAGuns_Firing_ at_will
Button4IconRowColumn=6,5
Button4Tooltip=5665
Button5Type=Checkbox
Button5CommandWhenClicked=Toggle_AAGuns_range;AAGu ns_Short_range
Button5CommandToCheckIfIsChecked=Is_AAGuns_Short_r ange_Active
Button5IconRowColumn=6,6
Button5Tooltip=5666
Button6Type=Checkbox
Button6CommandWhenClicked=Toggle_AAGuns_Closing_ta rgets;AAGuns_Closing_targets
Button6CommandToCheckIfIsChecked=Is_AAGuns_Closing _targets
Button6IconRowColumn=6,8
Button6Tooltip=5667
Adding the "Time to course end"
Quote:
[Station6]
Name=5660
Tooltip=5660
CommandWhenActivated=A01gun_camera;Cycle_flak_cam
IconIndex=6
Button1Type=Checkbox
Button1CommandWhenClicked=A01gun_camera
Button1CommandToCheckIfIsEnabled=Is_A01_Available
Button1CommandToCheckIfIsChecked=Is_A01_camera_sta tion_Active
Button1IconRowColumn=6,2
Button1Tooltip=5663
Button2Type=Checkbox
Button2CommandWhenClicked=A02gun_camera
Button2CommandToCheckIfIsEnabled=Is_A02_Available
Button2CommandToCheckIfIsChecked=Is_A02_camera_sta tion_Active
Button2IconRowColumn=6,3
Button2Tooltip=5662
Button3Type=Checkbox
Button3CommandWhenClicked=Toggle_activate_aa_gun_t eam
Button3CommandToCheckIfIsEnabled=!Is_Underwater
Button3CommandToCheckIfIsChecked=Is_AAgun_Team_Act ive
Button3IconRowColumn=6,4
Button3Tooltip=5664
Button4Type=Checkbox
Button4CommandWhenClicked=Toggle_AAGuns_Fire_at_wi ll;AAGuns_Fire_at_will
Button4CommandToCheckIfIsChecked=Is_AAGuns_Firing_ at_will
Button4IconRowColumn=6,5
Button4Tooltip=5665
Button5Type=Checkbox
Button5CommandWhenClicked=Toggle_AAGuns_range;AAGu ns_Short_range
Button5CommandToCheckIfIsChecked=Is_AAGuns_Short_r ange_Active
Button5IconRowColumn=6,6
Button5Tooltip=5666
Button6Type=Checkbox
Button6CommandWhenClicked=Toggle_AAGuns_Closing_ta rgets;AAGuns_Closing_targets
Button6CommandToCheckIfIsChecked=Is_AAGuns_Closing _targets
Button6IconRowColumn=6,8
Button6Tooltip=5667
Button7Command=Report_time_to_course_end
Button7IconRowColumn=2,6
Button7Tooltip=5617
Remember to change the number "Button7Command=Report_time_to_course_end" so it is sequential with the rest. You will find all the buttons in this .cfg file so if you want to add more etc, just look through and copy paste.

I hope this is what you asked for otherwise this might help someone else. I think this was explained some time ago, but was to lazy to search for it.
__________________
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 03:10 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.