SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   Question about locations.cfg and harbors in SHIV (https://www.subsim.com/radioroom/showthread.php?t=140884)

GlobalExplorer 08-17-08 06:40 AM

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

Carotio 08-17-08 06:54 AM

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

Dutchie-one 08-17-08 07:51 AM

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

Carotio 08-17-08 08:28 AM

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...

Dutchie-one 08-17-08 10:37 AM

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 :up:

GlobalExplorer 08-18-08 01:22 PM

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:

http://www.christian-wendt.org/SH4/sh4gen_1.jpg
[IMG]file:///C:/Dokumente%20und%20Einstellungen/Standard/Desktop/sh4gen_1.jpg[/IMG]

DeepIron 08-18-08 01:25 PM

Wicked! :up::cool:

Sailor Steve 08-18-08 01:36 PM

Quote:

Originally Posted by DeepIron
Wicked! :up::cool:

:yep: :yep: :yep:

Orion2012 08-18-08 01:38 PM

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.

Carotio 08-18-08 02:21 PM

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... :lol:

peabody 08-18-08 04:18 PM

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

GlobalExplorer 08-18-08 04:36 PM

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... :lol:

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.

Orion2012 08-18-08 04:42 PM

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??

GlobalExplorer 08-19-08 07:01 AM

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?

http://www.christian-wendt.org/SH4/sh4gen_4.jpg

http://www.christian-wendt.org/SH4/sh4gen_2.jpg

http://www.christian-wendt.org/SH4/sh4gen_3.jpg

GlobalExplorer 08-19-08 07:04 AM

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.


All times are GMT -5. The time now is 07:10 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.