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 03-18-08, 01:02 AM   #1
Scottb8411
Seaman
 
Join Date: Jul 2007
Location: Hillsboro, OR
Posts: 36
Downloads: 124
Uploads: 0
Default

That is very interesting!

Since I wanted the Raise/Lower SD Antenna (toggle_snorkel) button to behave like the periscope button, I tried to edit commands used by the periscope:
"Button4CommandToCheckIfIsChecked=Is_ObservationPeriscope_risen_at_all" was edited to "Button6CommandToCheckIfIsChecked=Is_snorkel_risen_at_all" in OrdersBar.cfg.

I tried all the lock commands from the cfg file: Is_snorkel_risen_at_all, Is_snorkel_moving, Is_snorkel_active, Is_snorkel_on...

Apparently, one cannot simply edit the ordersbar.cg to create a new set of conditions to check.

skwasjer where did you locate that list of commands?1?
Are the commands editable?

All I'm trying to do is have the menu button switch from inactive to active when the antenna is raised. It seemed like a good idea at the time...
__________________
Scottb8411 is offline   Reply With Quote
Old 03-18-08, 04:46 AM   #2
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 385
Downloads: 115
Uploads: 19


Default

Scott,

with the Menumaker you get an menumaker.ini file. There you will see all the commands, listed in categories, i've found for the Sh4.

Here you cann checked with skwasjer list and add new commands to get them available in your Sh4Menumaker.
jimimadrid is offline   Reply With Quote
Old 03-18-08, 07:41 AM   #3
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

Quote:
Originally Posted by Scottb8411
skwasjer where did you locate that list of commands?1?
Are the commands editable?

All I'm trying to do is have the menu button switch from inactive to active when the antenna is raised. It seemed like a good idea at the time...
As far as I know these are ALL commands that can be used (from cfg's, dat files, etc) but don't hold it against me. I've taken them from the game it's executable a couple of weeks ago to make a new 'setkey' like tool for integration in SH4HQ. There may be more commands hiding somewhere I am unaware of, but I honestly don't think so as the list consists of 473 commands.

No, the list is not editable. Each command internally maps to an id, and is basically linked to a fixed function. Adding textual command strings won't do anything because the game has no mapping to an existing function (if there even is a function defined for that purpose). Very unfortunate, I can think of more commands that would be useful.

[edit] This list can also be used together with S3D. Some controllers have fields where commands must be entered. I'll make sure to integrate this list in S3D as well...

[edit2] Oh and jimi, feel free to integrate the full list into MenuMaker as well...
skwasjer is offline   Reply With Quote
Old 03-18-08, 04:21 PM   #4
Scottb8411
Seaman
 
Join Date: Jul 2007
Location: Hillsboro, OR
Posts: 36
Downloads: 124
Uploads: 0
Default

Thanks for the explanation.

Also, thanks for the time and effort that you guys put into making this game better than ever.

Now I have no excuse, It's time to start a new career!
__________________
Scottb8411 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 06:36 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.