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 > SH4 Mission Designers' Forum
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-07-07, 11:32 PM   #1
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default [TEC] Anyone understand DynamicMiss.cfg?

The DynamicMiss.cfg file has 2 entry types.

First, the ExclusiveLayer=No types:

Code:
[Section 20]
FileName=data/Campaigns/Campaign/DynamicMiss/ContactReport 50/ContactReport 50.mis
StartDate=19380101
EndDate=19451231
GameModes=SinglePatrol,Career
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3
EntryFocalPointLong=16095615.000000
EntryFocalPointLat=1730000.000000
MaximumDistanceFromStartPoint=40000
ExclusiveLayer=No
ExclusiveLayerID=0
EvaluationReason=ContactReport
AllMatch=Convoy
PartialMatch=
PartialMatchingMinimumPercentage=
MinimumFuelPercentage=10
MinimumAmmoPercentage=0
These point at the missions inside the DynamicMiss directory inside the Campaign.

The next type are the more numerous ExclusiveLayer=Yes type:

Code:
[Section 21]
FileName=data/Campaigns/Campaign/PatrolObjectives/Guard Gilberts Islands 01/Guard Gilberts Islands 01.mis
StartDate=19431020
EndDate=19431123
GameModes=Career
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3
EntryFocalPointLong=20709130.000000
EntryFocalPointLat=173945.000000
MaximumDistanceFromStartPoint=1500
ExclusiveLayer=Yes
ExclusiveLayerID=101
EvaluationReason=StatusReport
AllMatch=PrimaryObjCompleted
PartialMatch=
PartialMatchingMinimumPercentage=
MinimumFuelPercentage=35
MinimumAmmoPercentage=25
They ahve a few features I understand---proximity to the primary mission, etc, but the ExclusiveLayerID part makes no sense. The ID is 101 in the above example. The PatrolObjective missions don't have an ID, and in PatrolObjectives.cfg (in UPCData), they have an ID, but the ID is different than the one pointed to (marked in green above). They also don't go high enough (they go to 238 or so, and the IDs in the format above go to 300+.

Seems like you could add more by following the pattern, I'd just like to understand what the idea is.

tater
tater is offline   Reply With Quote
 


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 02:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.