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

Reply
 
Thread Tools Display Modes
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
Old 09-08-07, 06:46 PM   #2
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

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 is offline   Reply With Quote
Old 09-09-07, 12:36 AM   #3
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

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.
tater is offline   Reply With Quote
Old 09-09-07, 02:28 AM   #4
sergbuto
Pacific Aces Dev Team
 
Join Date: Sep 2002
Location: Sweden
Posts: 1,331
Downloads: 15
Uploads: 0


Default

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.
__________________
Serg's SH4 and SH3 pages
sergbuto is offline   Reply With Quote
Old 09-15-07, 01:12 PM   #5
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Punt.

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

tater
tater is offline   Reply With Quote
Reply


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 07:58 PM.


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.