PDA

View Full Version : [TEC] Anyone understand DynamicMiss.cfg?


tater
09-07-07, 11:32 PM
The DynamicMiss.cfg file has 2 entry types.

First, the ExclusiveLayer=No types:

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

[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
09-08-07, 06:46 PM
I tried to copy the formula and add one. I added a contact report type, but I made it a status report instead---no dice. I'm missing something.

tater
09-09-07, 12:36 AM
I have the feeling this would be powerful if I understood it, LOL.

At least I can just use all the idiotic photo and agent missions and just replace the content, lol.

My problem is I wanted a certain mission to only ever come as a dynamic redirect.

sergbuto
09-09-07, 02:28 AM
Yes, it would be nice if elenaiba could give info about the entries in files related to campaign/scenarios. Some entries are not easy to figure out, some entries may not be used at all (just void), etc. Unfortunately, I have not been deep in modifying/decoding campaign files and therefore am unable to provide usefull info.

tater
09-15-07, 01:12 PM
Punt.

( I can only hope elanaiba stops by and sees this, lol)

tater