Log in

View Full Version : How to remove campaign layers


Bill.Braskey
06-15-07, 07:34 AM
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
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:
[Section 8]
FileName=data/Campaigns/Campaign/41a_Jap_Convoys.mis
StartDate=19390101
EndDate=19420401
GameModes=SingleMission,SinglePatrol,Career,Multip layer 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
Thanks for going the extra step Tater