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
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 12:20 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.