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 10-24-22, 12:35 AM   #1
Captain Wreckless
Sonar Guy
 
Captain Wreckless's Avatar
 
Join Date: Jul 2003
Location: Edmond, Oklahoma
Posts: 390
Downloads: 500
Uploads: 0
Default Edit SH4 Nav Map

How would I go about editing the Nav Map? I want attempt to add names to some Islands, Channels, etc. I can't seem to find the Nav map.


Thx
__________________
"Quando omni flunkus moritati"


United States Navy 1979-1982
"AD2" Aviation Machinists Mate 2nd Class
VT-23, HS-1, USS Carl Vinson CVN70 (Plank Owner)
NAS Kingsville, TX; NAS Jacksonville, FL; NOB Norfolk, VA
FAA Air Traffic Control Specialist, Fairbanks, AK 2000-2020 (Ret)
Captain Wreckless is offline   Reply With Quote
Old 10-24-22, 07:57 AM   #2
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,755
Downloads: 440
Uploads: 2


Default

If you open the SH4MissionEditor in the root directory of your SH4 install, and then open the file "Data / Campaigns / Campaign / Campaign_NMS.mis", you'll find all the names used. If you open "Campaign_LOC.mis", you will find all of the "cities" and docks, which is the easiest of the two to edit. Each of the places in the LOC file is a MapLocation. The best thing to do first is to open some of the "assets" already in use in the game, and get a feel for the settings used for what you already see in the game.

To then edit those, use the "Tools" menu, and click on the "Map Location Edit Mode" choice. You will notice that all those assets turn into little boxes on the map. Zoom in to where you want to place a new MapLocation and right-click on the NavMap image. Choose the middle "Add Map Location", and you'll get this dialog:




Do your edits as you see fit. The set-up is rather finicky, as you'll find, and can be quite frustrating to work with to accurately place stuff on the NavMap. Trial and error and do-over are key... lol - The "X" on the image above are fields generally not used for MapLoactions such as docks or names, but they are needed at times. If you are placing something "physical", such as a lighthouse, then the "Height" setting might be needed. Some assets will "automatically" assume the height of the terrain, others do not (such as the lighthouse), and will need that set. If placing a "city" or "Industrial" area, the "Slope" is needed. btw, some assets, such as a few of the docks and the Industrial area do NOT have 2D images, which makes those even more difficult to properly place. For those, you'll need to go into the game to see (or not see) your efforts, and then have to guess again for any corrections. That "Scale..." setting is a percentage, btw, so "1" is 1% size, while "100" is 100%.

The "Sea", "Island" and similar names in the "Campaign_NMS.mis" file also use the MapLocation dialog, but you only use the 2D settings for them. You would still choose a 2D image from the "Data /Terrain /MapLocations" drop-down box, but you need a dds image first to use that. Most of the images are 1024x1024 pixels, and you can use Paint dot Net, or GIMP or PhotoShop or whatever you have available that can save or export to the dds format. Choose an appropriate font for you display text, and place it on a transparent background, and put that image in the "Data /Terrain /MapLocations" folder, then choose it in the SH4MissionEditor MapLocation dialog.

There are other mods similar to this, but this is what I did for an earlier release of FotRSU:
PacificLocationMaps.7z
Notice that if you see a name or location you see in a different copy of one of those two LOC and NMS files, all you have to do is copy the text in the file, paste it into your current file, and renumber the header to match the numbering that your file has. Like all other similar files in SH4, they must be numbered consecutively. Then all you need to do is copy the files used from the Terrain folders into your set-up. It is, as always, best if you build a JSGME compatible mod with copies or the original LOC and NMS files from the game, and add any new images to that. That way, if you do happen to make an egregious error, it's an easy rollback.
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 10-24-22, 04:18 PM   #3
Captain Wreckless
Sonar Guy
 
Captain Wreckless's Avatar
 
Join Date: Jul 2003
Location: Edmond, Oklahoma
Posts: 390
Downloads: 500
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
If you open the SH4MissionEditor in the root directory of your SH4 install, and then open the file "Data / Campaigns / Campaign / Campaign_NMS.mis", you'll find all the names used. If you open "Campaign_LOC.mis", you will find all of the "cities" and docks, which is the easiest of the two to edit. Each of the places in the LOC file is a MapLocation. The best thing to do first is to open some of the "assets" already in use in the game, and get a feel for the settings used for what you already see in the game.

To then edit those, use the "Tools" menu, and click on the "Map Location Edit Mode" choice. You will notice that all those assets turn into little boxes on the map. Zoom in to where you want to place a new MapLocation and right-click on the NavMap image. Choose the middle "Add Map Location", and you'll get this dialog:




Do your edits as you see fit. The set-up is rather finicky, as you'll find, and can be quite frustrating to work with to accurately place stuff on the NavMap. Trial and error and do-over are key... lol - The "X" on the image above are fields generally not used for MapLoactions such as docks or names, but they are needed at times. If you are placing something "physical", such as a lighthouse, then the "Height" setting might be needed. Some assets will "automatically" assume the height of the terrain, others do not (such as the lighthouse), and will need that set. If placing a "city" or "Industrial" area, the "Slope" is needed. btw, some assets, such as a few of the docks and the Industrial area do NOT have 2D images, which makes those even more difficult to properly place. For those, you'll need to go into the game to see (or not see) your efforts, and then have to guess again for any corrections. That "Scale..." setting is a percentage, btw, so "1" is 1% size, while "100" is 100%.

The "Sea", "Island" and similar names in the "Campaign_NMS.mis" file also use the MapLocation dialog, but you only use the 2D settings for them. You would still choose a 2D image from the "Data /Terrain /MapLocations" drop-down box, but you need a dds image first to use that. Most of the images are 1024x1024 pixels, and you can use Paint dot Net, or GIMP or PhotoShop or whatever you have available that can save or export to the dds format. Choose an appropriate font for you display text, and place it on a transparent background, and put that image in the "Data /Terrain /MapLocations" folder, then choose it in the SH4MissionEditor MapLocation dialog.

There are other mods similar to this, but this is what I did for an earlier release of FotRSU:
PacificLocationMaps.7z
Notice that if you see a name or location you see in a different copy of one of those two LOC and NMS files, all you have to do is copy the text in the file, paste it into your current file, and renumber the header to match the numbering that your file has. Like all other similar files in SH4, they must be numbered consecutively. Then all you need to do is copy the files used from the Terrain folders into your set-up. It is, as always, best if you build a JSGME compatible mod with copies or the original LOC and NMS files from the game, and add any new images to that. That way, if you do happen to make an egregious error, it's an easy rollback.

Thanks. Looks like I'll have to set aside a day and several hours to play with this.
__________________
"Quando omni flunkus moritati"


United States Navy 1979-1982
"AD2" Aviation Machinists Mate 2nd Class
VT-23, HS-1, USS Carl Vinson CVN70 (Plank Owner)
NAS Kingsville, TX; NAS Jacksonville, FL; NOB Norfolk, VA
FAA Air Traffic Control Specialist, Fairbanks, AK 2000-2020 (Ret)
Captain Wreckless is offline   Reply With Quote
Old 10-25-22, 10:02 PM   #4
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,755
Downloads: 440
Uploads: 2


Default

Oh, be ready to lose more than a day and a few hours on this... Beware of the bite! You will be hooked on modding, and life will never be the same...

__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 10-26-22, 03:01 PM   #5
Captain Wreckless
Sonar Guy
 
Captain Wreckless's Avatar
 
Join Date: Jul 2003
Location: Edmond, Oklahoma
Posts: 390
Downloads: 500
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
Oh, be ready to lose more than a day and a few hours on this... Beware of the bite! You will be hooked on modding, and life will never be the same...


__________________
"Quando omni flunkus moritati"


United States Navy 1979-1982
"AD2" Aviation Machinists Mate 2nd Class
VT-23, HS-1, USS Carl Vinson CVN70 (Plank Owner)
NAS Kingsville, TX; NAS Jacksonville, FL; NOB Norfolk, VA
FAA Air Traffic Control Specialist, Fairbanks, AK 2000-2020 (Ret)
Captain Wreckless is offline   Reply With Quote
Old 10-26-22, 04:46 PM   #6
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Chicago area, which is more dangerous than Omaha Beach.
Posts: 3,922
Downloads: 436
Uploads: 27


Default

Quote:
Originally Posted by propbeanie View Post
Oh, be ready to lose more than a day and a few hours on this... Beware of the bite! You will be hooked on modding, and life will never be the same...
yes, i've felt the bite.
cannot remember how many times i have spent an hour re-doing a mission using the ME, only to click on the Accept button for one of the mission elements and.....CTD.
Objectives, Triggers, Events, RGG's, Units, whatever.
All GWTW.
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is online   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 05:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.