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 08-17-08, 06:40 AM   #1
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default Question about locations.cfg and harbors in SHIV

To get an overview whats possible with the SHIV framework, I am currently doing some experiments with Operation Monsun (which should come with all files I need), I don't want to install SHIV just to get a single file.

What I want to do is read the harbors from SHIV installation. In SHIII this could be done from:

data\Terrain\locations.cfg

In OM I don't find it and I doubt it's worth installing SHIV for this file (?)

My question is: Which file contains ports / locations in SHIV and could someone maybe mail me this file?

Thanks.

I also need to know the effective range of aircraft. Even an educated guess from experienced SHIV players would help me because I hardly ever play

Problem: My map generator can read airbases w/o problem but I need to know how far the airplanes operate, otherwise the information is not very good.

If you're interested in the progress you can download test data here (everything you need to view the map is included):

http://www.christian-wendt.org/SH4/SH420080820.7z
__________________


Last edited by GlobalExplorer; 08-20-08 at 08:06 AM.
GlobalExplorer is offline   Reply With Quote
Old 08-17-08, 06:54 AM   #2
Carotio
Mr. Bad Wolf
 
Carotio's Avatar
 
Join Date: Aug 2005
Location: Aabenraa, Denmark
Posts: 1,488
Downloads: 47
Uploads: 0


Default

SH4 handles locations of harbours and cities completely different from SH3, so you cannot just port SH4 locations to SH3, if you want to.
But anyway, the locations in SH4 is located in Campaigns_LOC.mis
__________________

Download my mods from SHMF
Follow my photography here
taler dansk, speak English, spreche Deutsch, parle fraais, forstår svenska/norsk, comprendo castellano
Carotio is offline   Reply With Quote
Old 08-17-08, 07:51 AM   #3
Dutchie-one
Officer
 
Join Date: Jan 2007
Location: the Netherlands
Posts: 249
Downloads: 255
Uploads: 0
Default

Quote:
Originally Posted by Carotio
SH4 handles locations of harbours and cities completely different from SH3, so you cannot just port SH4 locations to SH3, if you want to.
But anyway, the locations in SH4 is located in Campaigns_LOC.mis
So you can add Harbours and City`s in that File or you have to do that on a different way ?

Thanks, Dutchie-one
__________________
Old in Age but young of Heart





Dutchie-one is offline   Reply With Quote
Old 08-17-08, 08:28 AM   #4
Carotio
Mr. Bad Wolf
 
Carotio's Avatar
 
Join Date: Aug 2005
Location: Aabenraa, Denmark
Posts: 1,488
Downloads: 47
Uploads: 0


Default

Quote:
Originally Posted by Dutchie-one
Quote:
Originally Posted by Carotio
SH4 handles locations of harbours and cities completely different from SH3, so you cannot just port SH4 locations to SH3, if you want to.
But anyway, the locations in SH4 is located in Campaigns_LOC.mis
So you can add Harbours and City`s in that File or you have to do that on a different way ?

Thanks, Dutchie-one
Well, yeah. You do it by opening Mission Editor, open that file and under Tools you choose the map location edit mode. Now you see all the ports and cities in the world. I'm sure you'll figure out how to add new locations. It's ten times easier to add new locations with ME than the old fashion way of SH3.
Of course, you can open the mis file in notepad, since the info is pure text. But the lines are different in SH4 vs. SH3, so direct copy one way or the other can't be done...
__________________

Download my mods from SHMF
Follow my photography here
taler dansk, speak English, spreche Deutsch, parle fraais, forstår svenska/norsk, comprendo castellano
Carotio is offline   Reply With Quote
Old 08-17-08, 10:37 AM   #5
Dutchie-one
Officer
 
Join Date: Jan 2007
Location: the Netherlands
Posts: 249
Downloads: 255
Uploads: 0
Default

Quote:
Originally Posted by Carotio
Quote:
Originally Posted by Dutchie-one
Quote:
Originally Posted by Carotio
SH4 handles locations of harbours and cities completely different from SH3, so you cannot just port SH4 locations to SH3, if you want to.
But anyway, the locations in SH4 is located in Campaigns_LOC.mis
So you can add Harbours and City`s in that File or you have to do that on a different way ?

Thanks, Dutchie-one
Well, yeah. You do it by opening Mission Editor, open that file and under Tools you choose the map location edit mode. Now you see all the ports and cities in the world. I'm sure you'll figure out how to add new locations. It's ten times easier to add new locations with ME than the old fashion way of SH3.
Of course, you can open the mis file in notepad, since the info is pure text. But the lines are different in SH4 vs. SH3, so direct copy one way or the other can't be done...
Thanks for youre anser.

Dutchie-one
__________________
Old in Age but young of Heart





Dutchie-one is offline   Reply With Quote
Old 08-18-08, 01:22 PM   #6
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default

Carotio: thanks with your tip I was able to extract a lot of information from Campaign_LOC.mis as well as Campaign_NMS.mis

But I still don't know where I can find information about the faction / side that controls a location? Anybody knows which file defines this? Or do I have to derive this from other information in the campaign data?

For thoise who are interested, I have taken up work on map generation for SHIV, here is a small preview:


[IMG]file:///C:/Dokumente%20und%20Einstellungen/Standard/Desktop/sh4gen_1.jpg[/IMG]
__________________

GlobalExplorer is offline   Reply With Quote
Old 08-18-08, 01:25 PM   #7
DeepIron
Sea Lord
 
Join Date: Aug 2007
Location: Too far from the Pacific right now...
Posts: 1,634
Downloads: 0
Uploads: 0
Default

Wicked!
__________________
RFB / RSRDC Beta Tester
RFB / RSRDC Modding Forum: http://forum.kickinbak.com/index.php
RFB Top Post link: http://www.subsim.com/radioroom/showthread.php?t=125529
RFB Loadout: RFB_V1.52_102408: RFB_V1.52_Patch_111608: RSRDC_RFBv15_V396
DeepIron is offline   Reply With Quote
Old 08-18-08, 01:36 PM   #8
Sailor Steve
Eternal Patrol
 
Sailor Steve's Avatar
 
Join Date: Nov 2002
Location: High in the mountains of Utah
Posts: 50,369
Downloads: 745
Uploads: 249


Default

Quote:
Originally Posted by DeepIron
Wicked!
__________________
“Never do anything you can't take back.”
—Rocky Russo
Sailor Steve is offline   Reply With Quote
Old 08-18-08, 01:38 PM   #9
Orion2012
Commodore
 
Join Date: Jul 2008
Posts: 611
Downloads: 0
Uploads: 0
Default

Thats great news!!

I just recently (2 days) found the Sh3gen and have been playing with it, but if I could have the same for IV that would be even better.

If you can find a way to edit the3 information into the patrol log that would be handy information, as it's always frustrated me I can't edit it myself, to add a little personal flavor.
Orion2012 is offline   Reply With Quote
Old 08-18-08, 02:21 PM   #10
Carotio
Mr. Bad Wolf
 
Carotio's Avatar
 
Join Date: Aug 2005
Location: Aabenraa, Denmark
Posts: 1,488
Downloads: 47
Uploads: 0


Default

Quote:
Originally Posted by GlobalExplorer
Carotio: thanks with your tip I was able to extract a lot of information from Campaign_LOC.mis as well as Campaign_NMS.mis

But I still don't know where I can find information about the faction / side that controls a location? Anybody knows which file defines this? Or do I have to derive this from other information in the campaign data?

For thoise who are interested, I have taken up work on map generation for SHIV,
For US: US_NavalBases.mis
For Axis: Axis_NavalBases.mis

Say again: what are you trying to do?
Map generation, don't know what you're trying to do, please explain! To satisfy my curiosity, of course...
__________________

Download my mods from SHMF
Follow my photography here
taler dansk, speak English, spreche Deutsch, parle fraais, forstår svenska/norsk, comprendo castellano
Carotio is offline   Reply With Quote
Old 08-18-08, 04:18 PM   #11
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Carotio
Quote:
Originally Posted by GlobalExplorer
Carotio: thanks with your tip I was able to extract a lot of information from Campaign_LOC.mis as well as Campaign_NMS.mis

But I still don't know where I can find information about the faction / side that controls a location? Anybody knows which file defines this? Or do I have to derive this from other information in the campaign data?

For thoise who are interested, I have taken up work on map generation for SHIV,
For US: US_NavalBases.mis
For Axis: Axis_NavalBases.mis
Just some additional info, if you select and then right click the Naval base and check properties, it will tell you the dates it is Allied or Axis, some of course change during the war.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 08-18-08, 04:36 PM   #12
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default

Quote:
Originally Posted by Orion2012
Thats great news!!

I just recently (2 days) found the Sh3gen and have been playing with it, but if I could have the same for IV that would be even better.
Sh3Gen was a bit too complex, and I am aiming for something much simpler. Easier to use, too. Currently I'm thinking of a map generator like Sh3Gen Tracking Room that gives the player better directions than the game. It's even possible that I don't release the generator and will upload only the maps, ready for the viewer, that way it should be really easy for everyone to get everything running.

That is the plan

Quote:
Originally Posted by Carotio
For US: US_NavalBases.mis
For Axis: Axis_NavalBases.mis
This helps somewhat, but it's still not 1:1 with Campaign_LOC, so it looks like I will have the problem of matching locations and bases again?

Quote:
Originally Posted by Carotio
Say again: what are you trying to do?
Map generation, don't know what you're trying to do, please explain! To satisfy my curiosity, of course...
I am working on a tool that extracts information from SHIV data and generates maps. They can be used with a freeware viewer like the stuff I made for SHIII.
__________________

GlobalExplorer is offline   Reply With Quote
Old 08-18-08, 04:42 PM   #13
Orion2012
Commodore
 
Join Date: Jul 2008
Posts: 611
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by GlobalExplorer
Quote:
Originally Posted by Orion2012
Thats great news!!

I just recently (2 days) found the Sh3gen and have been playing with it, but if I could have the same for IV that would be even better.
Sh3Gen was a bit too complex, and I am aiming for something much simpler. Easier to use, too. Currently I'm thinking of a map generator like Sh3Gen Tracking Room that gives the player better directions than the game. It's even possible that I don't release the generator and will upload only the maps, ready for the viewer, that way it should be really easy for everyone to get everything running.
I'll admit, it did take me a few tries to get everything up and running. Mainly me not reading directions....

Not sure if this is possible, but I do enjoy it being actually placed on the Map.

Also, would there be any way to show the japanese or allied aircover on the generated map, not even in the game but the one you open with tatakGIS??
Orion2012 is offline   Reply With Quote
Old 08-19-08, 07:01 AM   #14
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default

Quote:
Originally Posted by Orion2012
Also, would there be any way to show the japanese or allied aircover on the generated map, not even in the game but the one you open with tatakGIS??
Aircover is definitely in (Sh3Gen had it already). The only thing I don't know is the exact range of airplanes, anybody got information on that??

Currently I am working on ordnance, experimenting what can be done with polygonal buffers. Here is a preview, do you see an improvement over Sh3Gen?





__________________

GlobalExplorer is offline   Reply With Quote
Old 08-19-08, 07:04 AM   #15
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default

Does anybody here have information about how to read SHIV weather? Not that I expect it can be done, but if I could incorporate weather forecast wouldn't that be cool?

I'd also appreciate any tips about what can be read from which part of SHIV data, especially the dynamic missions are an enigma to me.
__________________

GlobalExplorer 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 01:19 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.