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 06-15-07, 07:34 AM   #1
Bill.Braskey
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default 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
  Reply With Quote
Old 06-15-07, 07:36 AM   #2
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: The one and only East Coast
Posts: 10,773
Downloads: 946
Uploads: 5


Default

Good luck with it

RDP
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 06-15-07, 08:11 AM   #3
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

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
tater is offline   Reply With Quote
Old 06-15-07, 09:36 AM   #4
Bill.Braskey
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default That is what I was looking for

Thanks, That will work, I am close to start working on that part soon.
  Reply With Quote
Old 06-15-07, 10:06 AM   #5
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

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
tater is offline   Reply With Quote
Old 06-15-07, 12:30 PM   #6
Bill.Braskey
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default Great

Thanks for going the extra step Tater
  Reply With Quote
Reply

Thread Tools
Display Modes

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 08:39 AM.


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.