View Single Post
Old 03-24-17, 11:45 AM   #9
aanker
Pacific Thunder
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,896
Downloads: 236
Uploads: 14


Default

Quote:
Originally Posted by mikesn9 View Post
........

As for this thread, should deck gun change be made before pristine and on a related subject: what about Gato sonar , and 'cntrl W' for weather, 'shift g' for range.?
In the Downloads section you can download the Sonar fix.

All changes should be made after pristine on the copy of SH4 you are planning to play & mod. Keep pristine clean and un-modified.

***** Commands.cfg changes

If you open \Data\Cfg\Commands.cfg in notepad and find;

[Cmd313]
Name=Fire_torpedo
Ctxt=1
Key0=0x0D,,"Enter"

Change that to

[Cmd313]
Name=Fire_torpedo
Ctxt=1
Key0=0x0D,c,"Enter"

The lowercase c that is added changes the fire torpedo command from ENTER to CTRL+ENTER so the fish won't fire from accidentally hitting the ENTER key, since you have to hold down the CTRL key and hit ENTER to fire after making the change.

=================================
There are quite a few unused commands in SH4 that you can edit in to be useful. One is, "Maximum range at current speed" and another is the "Weather Report".
Quote:
----------------------------------------------------------------------
To get, "Maximum range at current speed" to work in Stock SH4 v1.5:
In this walk-through I used "Shift+G" like TMO does.

----------------------------------------------------------------------
Data\Menu\menu.txt
In menu.txt, here it is waiting to be used:

2847=Maximum range at current speed

----------------------------------------------------------------------
So, in: \Data\Cfg\Commands.cfg
Commands.cfg (open with a text editor like Notepad)

[Cmd257] <------------------ Step #1: Find "[Cmd257]"
Name=Report_time_to_turn
Ctxt=1
MnID=0x3F250002
Key0=0x47,s,"Shift+G" <--------- Step #2: Add this string

----------------------------------------------------------------------
If you also want the 'Weather Report' "Ctrl+W" make this [Cmd261] edit:

[Cmd261]
Name=Report_weather
Ctxt=1
MnID=0x3F250006
Key0=0x57,c,"Ctrl+W" <--------- Step #3: Add this string

----------------------------------------------------------------------
To remember "Shift+G" and "Ctrl+W" add them to your in-Game F1 Help file:
In: Data\Menu\Help\Help.cfg
Help.cfg (open with a text editor like Notepad, and find the 'OTHER CONTROLS' section:

[Chapter1.Phrase6]
Phrase=<b>OTHER CONTROLS</b>| NumPad - Decrease Time Compression| NumPad + Increase Time Compression| Backspace Pause|

------------------------------- Step #4: and add Ctrl+W & Shift+G:

[Chapter1.Phrase6]
Phrase=<b>OTHER CONTROLS</b>| Ctrl+W Weather Report| Shift+G Maximum range at current speed| NumPad - Decrease Time Compression| NumPad + Increase Time Compression| Backspace Pause|

----------------------------------------------------------------------
As always back up any files you edit in case you make a mistake.
Happy Hunting!
__________________
" Bless those who serve beneath the deep,
Through lonely hours their vigil keep.
May peace their mission ever be,
Protect each one we ask of thee.
Bless those at home who wait and pray,
For their return by night and day."


Last edited by aanker; 03-24-17 at 03:28 PM.
aanker is offline   Reply With Quote