SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REQ]Integrated Command Menu Mods (https://www.subsim.com/radioroom/showthread.php?t=114903)

NefariousKoel 05-18-07 05:46 PM

[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.

CaptainCox 05-19-07 01:44 AM

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.


All times are GMT -5. The time now is 02:39 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.