View Full Version : Contact Report Help
Stew U-582
06-15-07, 01:04 AM
I am interested in expanding the amount of contact reports.
Basically my objective is to create ,if possible a set of generic contact reports so you will be able send a contact report on nearly any sighting and get some sort of reply. even if its just an acknowledgement.
My guess is that certain perameters must be met to be able to send a contact report. From memory I think there was about 20 files in the folder. Ive loooked at the files but havnt made much sence of them yet.
Has anybody looked at this yet. Are they scripted into the missions or are they generic. I havnt done any experiments yet but Im hopeing the mission editor may shed some light on this. when i get to working that out.
But I thought id ask you guys first. it may save a lot of time. so if anyone knows how the contact reports work pls post info here.
Stew U-582
06-15-07, 02:27 AM
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
tedhealy
06-15-07, 09:47 AM
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.
Stew U-582
06-15-07, 08:51 PM
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.
tedhealy
06-15-07, 09:22 PM
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.
Stew U-582
06-16-07, 12:43 AM
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
Bill.Braskey
06-16-07, 06:42 AM
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.