SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mission Designers' Forum (https://www.subsim.com/radioroom/forumdisplay.php?f=222)
-   -   How to remove campaign layers (https://www.subsim.com/radioroom/showthread.php?t=116804)

Bill.Braskey 06-15-07 07:34 AM

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

ReallyDedPoet 06-15-07 07:36 AM

Good luck with it:up:

RDP

tater 06-15-07 08:11 AM

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

Bill.Braskey 06-15-07 09:36 AM

That is what I was looking for
 
Thanks, That will work, I am close to start working on that part soon.:D

tater 06-15-07 10:06 AM

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


Bill.Braskey 06-15-07 12:30 PM

Great
 
Thanks for going the extra step Tater


All times are GMT -5. The time now is 08:09 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.