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 06-15-07, 02:27 AM   #1
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 240
Uploads: 0
Default

There are 2 files per contact report,

from the mission editor ive worked some things out
but still need help.

exapmles below

ContactReport06.mis

[Mission]
MissionType=0
MissionDataType=1
MultiMissionType=0
Year=1940
Month=1
Day=1
Hour=0
Minute=0
Fog=0
FogRand=0
Clouds=0
CloudsRand=0
Precip=0
PrecipRand=0
WindHeading=0
WindSpeed=5.000000
WindRand=0
WeatherRndInterval=5
SeaType=0


This section above seems to be the same in all con reps

[Objective 1]
ObjName=ContactReport 06_Objective1
Obj=2

I think 1=primary 2=secondary 3=hidden primary 4=hidden secondary
ObjType=0

maybe 0=destroy unit class 1=reach zone 2=sink tonnage
3=generic 4=base stop 5=photo recon 6=lifeguard duty
7=patrol area 8=special opps
RenownAwarded=200
Tonnage=1000
TonnageType=4

0=any 1=merchant 2=warship 3=merchant replenish 4=tanker
5=cargo 6=troop transport 7=escort 8=xcapital ship
[Trigger 1]
TrigName=ContactReport 06_Trigger1
Type=1
Time=0

[Event 1]
EventName=ContactReport 06_Event1
Type=0
TriggersNo=1
Trigger1=ContactReport 06_Trigger1
RepeatedUntilReceived=false
Critical=true

The past 11 lines seem generic in all con reps
[EditorParams]
InitLongOff=-40262000.000000
InitLatOff=10346500.000000
ZoomIndex=0
Prefix=ContactReport 06

the yellow lines are where im stuck
I know its got something to do with location
can anyone help on this.
it changes with each report


ContactReport06.tsr

[Text]
ContactReport 06_Objective1=Sink enemy tanker
MissionBriefing=mission briefing
MissionTitle=mission title
ContactReport 06_Event1=ENGAGE ENEMY TASK FORCE X PRIORITY TANKERS X

this file contains the response sent to your sub after sending a con rep


All this is guess work if you think you have a better explination pls post here
__________________
Captain Stu from Down Under , Down Under


Last edited by Stew U-582; 06-15-07 at 08:53 PM.
Stew U-582 is offline   Reply With Quote
Old 06-15-07, 09:47 AM   #2
tedhealy
Grey Wolf
 
Join Date: Mar 2005
Location: St. Louis, MO, USA
Posts: 772
Downloads: 13
Uploads: 0
Default

InitLongoff and InitLatoff appear to be longitude and latitude coordinates...but either reversed or something else because

-40 longitude and 103 latitude does not make sense

-40 latitude and 103 longitude would be somewhere southwest of Fremantle if I"m not mistaken. That probably isn't much better because I doubt you were sending contact reports from there.

I'd suggest noting exactly where you are on the map when you send the contact report to see how it matches up to these numbers.
tedhealy is offline   Reply With Quote
Old 06-15-07, 08:51 PM   #3
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 240
Uploads: 0
Default

is it possible these cordinates are a starting point and you must be at a point with a greater value to transmit or receive this as a response?

eg it may be a way to have mutiple responses for the same situation depending on location.
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-15-07, 09:22 PM   #4
tedhealy
Grey Wolf
 
Join Date: Mar 2005
Location: St. Louis, MO, USA
Posts: 772
Downloads: 13
Uploads: 0
Default

I don't konw. Does the game really care from where you send your contact reports?

Initial longitude Off....off what? Or is off shortened for something else?

Could be the game records latitude and longitude differently so that what I'm assuming is -40 and 103 is actually something very different. In the radio.ini, latitude and longitude are in a more readable format.

About the only thing I can come up with is to send a contact report from a couple different specific latitudes and longitudes to see how these values change compared to the known location.
tedhealy is offline   Reply With Quote
Old 06-16-07, 12:43 AM   #5
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 240
Uploads: 0
Default

Tomoro ill try making up some additional contact report files. I think ive got enough info to give it a go.
Ill try using the cordinates from other files and see what happens ,but it would be good to know what that section does.
Ill post my results
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-16-07, 06:42 AM   #6
Bill.Braskey
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I thought that those are just settings for the editor and did not affect the mission.

[EditorParams]
InitLongOff=-40262000.000000
InitLatOff=10346500.000000
ZoomIndex=0
Prefix=ContactReport 06



The x,y cord are where the editor when opened would be centered, the zoomindex would be how far it would be zoomed in or out. The only one that seems to make a difference is the prefix, it will apend that value to the name of the unit that you add to a mission using the mission editor.

When saving the mission file, both InetLongOff and InetLatOff will be updated in the *.mis file based on where you are centered in the map, but they should not affect anthing with the mission.
  Reply With Quote
Reply

Thread Tools
Display Modes

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 04:03 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.