Log in

View Full Version : [TEC] editor_locations.mis: Terrain Harbour flags v1.2.1 & Harbour Addition MOD V0.1


gap
03-27-11, 05:43 AM
Hi guys,

yesterday I've read in 'Harbour Addition MOD' thread that the this mod should be compatible with 'Terrain Harbour flags MOD', af far as it is enabled on top of the latter (by the way: many thanks to Stoianm and Pascal, who provided this information!).

Nevertheless, being a curious guy I wanted to have a closer look to these two mods and their conflicting files. By doing so I "discovered" that shared files from 'Harbour Addition MOD' are mostly based -or very similar- to the equivalent ones from 'Terrain Harbour flags MOD', sharing most of the parameters and adding some changes or new parameters compared with stock files.

This is consistent with the suggestion by Stoianm and Pascal, about the correct mod order. Though, there's an exception: editor_locations.mis files, located in campaign folders look very different;

this is the file structure for Harbour Addition Mod:
[Mission]
IsVisible=true
MissionType=0
MissionDataType=0
MultiMissionType=0
IsTutorial=false
Year=1940
Month=1
Day=1
Hour=12
Minute=0
CurrentYear=1940
CurrentMonth=1
CurrentDay=1
CurrentHour=12
CurrentMinute=0
GroupMissionStartDelay=0
IconIndex=0
Fog=0
FogRand=0
Clouds=0
CloudsRand=0
Precip=0
PrecipRand=0
WindHeading=0
WindSpeed=5.000000
WindRand=0
WeatherRndInterval=5
SeaType=0
ActivationAchievements=

[EditorParams]
InitLongOff=0.000000
InitLatOff=0.000000
ZoomIndex=0
Prefix=


and this is a shortened example of the same files in Terrain Harbour flags Mod:
[MapLocation 1]
Type=1
Priority=0
Category=-1
LayerOperation=0
Heading=340.000000
OnLand=true
ShowOnMap=true
FirstRenderStep=false
FileName2D=navrik.dds
MinObjTerrainHeight=0
MaxObjSlope=0.000000
GameEntryDate=19380101
GameEntryTime=0
GameExitDate=19451231
GameExitTime=0
Font=FPCond14
FontColor=37119
UseDetColor=false
ZoomStart=20
ZoomEnd=1
ScaleOnZoom=true
Scale1024=8.259820
ScaleX=1.000000
ScaleY=1.000000
IsVisibleOnTAI=true
Long=2088690.000000
Lat=8212588.000000
Height=0.522682
IsFromSingleMis=false

[MapLocation 2]
Type=1
Priority=0
Category=-1
LayerOperation=0
Heading=259.000000
OnLand=true
ShowOnMap=true
FirstRenderStep=false
FileName2D=Valletta.dds
MinObjTerrainHeight=0
MaxObjSlope=0.000000
GameEntryDate=19380101
GameEntryTime=0
GameExitDate=19451231
GameExitTime=0
Font=FPCond14
FontColor=37119
UseDetColor=false
ZoomStart=20
ZoomEnd=1
ScaleOnZoom=true
Scale1024=4.338781
ScaleX=1.000000
ScaleY=1.000000
IsVisibleOnTAI=true
Long=4861784.000000
Lat=7750612.000000
Height=0.482620
IsFromSingleMis=false

[MapLocation 3]
...

[MapLocation 411]
Type=1
Priority=0
Category=-1
LayerOperation=0
Heading=354.000000
OnLand=true
ShowOnMap=true
FirstRenderStep=false
FileName2D=BA_Port_I.dds
MinObjTerrainHeight=0
MaxObjSlope=0.000000
GameEntryDate=19380101
GameEntryTime=0
GameExitDate=19451231
GameExitTime=0
Font=FPCond14
FontColor=37119
UseDetColor=false
ZoomStart=20
ZoomEnd=1
ScaleOnZoom=true
Scale1024=5.201213
ScaleX=1.000000
ScaleY=1.000000
IsVisibleOnTAI=true
Long=-7003754.000000
Lat=-4152337.000000
Height=0.000000
IsFromSingleMis=false

And now my questions for the merciful modders wanting to help this poor noob :doh::

1) What editor_locations.mis files do exactly?
2) If I leave JGSME overwriting the editor_locations.mis files from Terrain Harbour etc. with the ones from Harbour Add etc, won't the former mod loose some features?
3) If the answer to the latter question is yes, would it be possible to merge the conflicting files by simply copying/pasting the rows from the two of them in the same file?
4) again, if yes, should I put these rows in a specific order, or it doesn't matter?

Well, I hope I made myself clear... Thank you in advance for your answers! :DL

HanSolo78
03-27-11, 06:39 AM
Hi gab!

the "editor locations" file can be loaded via Me to display the ports in the Me. This helps to place docked ships...

greetings
Han

gap
03-27-11, 07:55 AM
Thank you for the fast reply Han!

So, in other words these files are not used by SH5? Their use is only with ME?

HanSolo78
03-27-11, 09:18 AM
Thank you for the fast reply Han!

So, in other words these files are not used by SH5? Their use is only with ME?

Yes, only used by ME.
At least to my understandings...

Pintea
03-28-11, 05:27 AM
Yes, only used by ME.
At least to my understandings...

You are correct, they are only used by the ME.

The actual harbor buildings have to be placed with the in-game harbor editor.