SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
06-15-07, 07:34 AM | #1 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
How to remove campaign layers
I am making a lot of progress on a Campaign creator that will use dynamic single missions. My time has been dedicated to creating scripts that will generate vehical inventories and shipping routes. I want to create all traffic in environment. What is the best way to not have the campaign layers load in a single mission?
Thanks |
06-15-07, 07:36 AM | #2 |
Canadian Wolf
|
Good luck with it
RDP |
06-15-07, 08:11 AM | #3 |
Navy Seal
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
|
look at the campaign.cfg file. There is an entry that tells what types of missions load which layers (single missions, single patrols, careers, etc).
You can make such a cfg as a mod, turn it on, run yer program, turn it off. tater |
06-15-07, 09:36 AM | #4 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
That is what I was looking for
Thanks, That will work, I am close to start working on that part soon.
|
06-15-07, 10:06 AM | #5 |
Navy Seal
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
|
Here is the code:
Code:
[Section 8] FileName=data/Campaigns/Campaign/41a_Jap_Convoys.mis StartDate=19390101 EndDate=19420401 GameModes=SingleMission,SinglePatrol,Career,Multiplayer Cooperative InclusionProbability=100 MinimumDifficultyRating=0 MinimumPlayerRating=-3 EntryFocalPointLong=0 EntryFocalPointLat=0 MaximumDistanceFromStartPoint=90000 ExclusiveLayer=No ExclusiveLayerID=0 |
06-15-07, 12:30 PM | #6 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Great
Thanks for going the extra step Tater
|
|
|