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 02-14-11, 01:06 PM   #1
sidslotm
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default WDAD by Campaign

Hi all,
I had a go at some missions and although not the best on record I did enjoy making them and would like have a go at a campaign.

The WDAD by Lurker is the most exciting campaign for because of the T and U Class boats that are now available. Also Lurker has completed so much of the work it really is a shame to let it just sit there unfinished. I know I will never match the masters work, but I would like to make some sort of effort, and who knows. At the moment I need to sort the menu out and there are two main issues causing problems
.
1/ the (DepartureDescription1 and DepartureDescriptionOut1) where can I find this information please.

2/ I still can't work out the data lines below and how to create and save a mission, the ones with the little arrows.

[Flotilla 1]
ID= HMS Talbot
NameDisplayable= HMS Talbot, Valette
AvailabilityInterval=NULL, NULL

[Flotilla 1.Base 1]
ID= Valetta
NameDisplayable= Valetta
Info= Valetta
ExternalBaseName=Valetta
AvailabilityInterval= NULL, 1940-01-01
DepartureDescription1= 9750190, 1021415, 045 <---
DepartureDescriptionOut1= 9750190, 1021415, 045 <---

[Flotilla 1.UserPlayerUnitType 1]
ID= F1TClass
NameDisplayable= T class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Triton
UnitTypeCommonality= 4
IDFlotillaLinkTransferTo= NULL

[Flotilla 1.UserPlayerUnitType 2]
ID= F1TUClass
NameDisplayable= U class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Upholder
UnitTypeCommonality= 2
IDFlotillaLinkTransferTo= NULL

[Flotilla 1.UserPlayerUnitType 1.Objective 1] <----------
ID= EF1Obj1 <----------
NameDisplayable=WEST <----------
AvailabilityInterval=1941-12-06, 1944-10-15 <----------
ObjectiveCode=WEST <----------

any help appreciated sid
  Reply With Quote
Old 02-14-11, 02:54 PM   #2
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by sidslotm View Post
Hi all,
I had a go at some missions and although not the best on record I did enjoy making them and would like have a go at a campaign.

The WDAD by Lurker is the most exciting campaign for because of the T and U Class boats that are now available. Also Lurker has completed so much of the work it really is a shame to let it just sit there unfinished. I know I will never match the masters work, but I would like to make some sort of effort, and who knows. At the moment I need to sort the menu out and there are two main issues causing problems
.
1/ the (DepartureDescription1 and DepartureDescriptionOut1) where can I find this information please.

2/ I still can't work out the data lines below and how to create and save a mission, the ones with the little arrows.

[Flotilla 1]
ID= HMS Talbot
NameDisplayable= HMS Talbot, Valette
AvailabilityInterval=NULL, NULL

[Flotilla 1.Base 1]
ID= Valetta
NameDisplayable= Valetta
Info= Valetta
ExternalBaseName=Valetta
AvailabilityInterval= NULL, 1940-01-01
DepartureDescription1= 9750190, 1021415, 045 <---
DepartureDescriptionOut1= 9750190, 1021415, 045 <---

[Flotilla 1.UserPlayerUnitType 1]
ID= F1TClass
NameDisplayable= T class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Triton
UnitTypeCommonality= 4
IDFlotillaLinkTransferTo= NULL

[Flotilla 1.UserPlayerUnitType 2]
ID= F1TUClass
NameDisplayable= U class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Upholder
UnitTypeCommonality= 2
IDFlotillaLinkTransferTo= NULL

[Flotilla 1.UserPlayerUnitType 1.Objective 1] <----------
ID= EF1Obj1 <----------
NameDisplayable=WEST <----------
AvailabilityInterval=1941-12-06, 1944-10-15 <----------
ObjectiveCode=WEST <----------

any help appreciated sid
Quote:
DepartureDescription1= 9750190, 1021415, 045 <---
DepartureDescriptionOut1= 9750190, 1021415, 045 <---
DepartDescription1 is for starting from port. Out1 is for starting outside of the port.
To find these numbers, use the mission editor. Open the file containing the port. (you don't need to save it, you are only using it to find the proper numbers). Add a sub inside the port where you want to place the sub and then look at the status bar at the bottom of the mission editor window. On my monitor, I have to move the windows task bar out of the way to see them.
Once the sub is properly placed, use the first two numbers in the status bar.
Coords Ing
XXXXXXXXX [m], xxxxxxxxxxx [m] ...........
The third number (045) is the heading of the sub. Using these numbers and the proper heading you can place the sub accurately at a dock.

If you are doing this in WDAD or any campaign that is already written, you will need to check that there are no other ships placed at the same location during the campaign.


Quote:
[Flotilla 1.UserPlayerUnitType 1.Objective 1] <----------
ID= EF1Obj1 <----------
NameDisplayable=WEST <----------
AvailabilityInterval=1941-12-06, 1944-10-15 <----------
ObjectiveCode=WEST <----------
Again using the mission editor you will see you can add an objective. For most you will first need to add a zone by right clicking on the map and 'add map zone'. Then refer to this zone for your objective.
1. The Name displayable is the name you give to the objective. Don't just leave them "Objective 1', 'Objective 2' etc, it will get confusing later.

2.The dates are when this Objective (mission) is available to assign to your sub. Using the 'stock game' as an example ( I have not used WDAD). In the stock game it would not make sense to assign an Objective to Guam in 1945. there are no enemy ships in that area. So the Available interval would be the historical time when subs are actually assigned missions in the area defined by the zone/objective combination.

3.Objective code is using is combination with Data/UPCData/UPCCampaignData/PatrolObjectives.cfg. The PartolObjectives.cfg contains all the Objectives created and you must add any you create to this fils. Then the game uses the "ObjectiveCode" to match with a line in the PatrolObjectives.cfg called "All Match="

For example here is a mission from WDAD:

Quote:
[Section 2]
ID=ID2
FileName=Data\Campaigns\Campaign\PatrolObjectives\ Andaman Sea 2\Andaman Sea 2.mis
StartDate=19411201
EndDate=19450901
GameModes=Career
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3
ExclusiveLayer=No
ExclusiveLayerID=1
EvaluationReason=FirstObjective
AllMatch=WEST <---------------------
ObjectiveType=0
BriefingMapName=NULL
BriefingMapIcon=NULL
BriefingMapIconPosX=0
BriefingMapIconPosY=0
Notice the line "All Match=WEST". That means it is one mission that could be assigned to your sub. It will pick one of several where the "ObjectiveCode" and "Allmatch" are the same and the date falls within the time frame of the Objective/mission.
By using this method you can assign several missions to your sub using only one entry in the Flotilla.upc file and the game will pick one for you to go on. In the version of WDAD I have downloaded there are only two entries in the Flotillas.upc; EAST and WEST, but there are 23 missions in the PatrolObjectives.cfg. The game uses the ObjectiveCode/AllMatch combination to pick one for you.
If you look at the Flotillas.upc the WEST is 41-44, the EAST is 44-45.

I hope that makes sense.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 02-15-11, 02:43 AM   #3
sidslotm
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Thanks Peabody,

the map co-ordinances are now in place.

The building of the menu works in part, in as much as the Malta button is working and I enter the office, I can even load in a previous game which is encourageing.

But right now I feel this will only truly be understood when its applied and working. So if I can get the first campaign mission to work correctly, I can move on, I'll keep you informed, thanks very much.

sid
  Reply With Quote
Old 03-30-11, 10:53 AM   #4
sidslotm
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default New question

Hi

I have been messing round with WDAD NORTHSEA campaign for a while now. Although I have had some success, it does crash from time to time. One thing I have not been able to understand (among many) is this little beaut from Lurkers WDAD files. How are they arrived at and what do they mean please

[Flotilla 1.UserPlayerUnitType 1.Objective 1]
ID= EF1Obj1 <-------------------------------------------
NameDisplayable=WEST
AvailabilityInterval=1941-12-06, 1944-10-15
ObjectiveCode=WEST

[Flotilla 1.UserPlayerUnitType 1.Objective 2]
ID= EF1Obj2 <-------------------------------------------
NameDisplayable= EAST
AvailabilityInterval=1944-10-16, 1945-10-15
ObjectiveCode=EAST

thanks sid
  Reply With Quote
Old 03-30-11, 01:03 PM   #5
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by sidslotm View Post
Hi

I have been messing round with WDAD NORTHSEA campaign for a while now. Although I have had some success, it does crash from time to time. One thing I have not been able to understand (among many) is this little beaut from Lurkers WDAD files. How are they arrived at and what do they mean please

[Flotilla 1.UserPlayerUnitType 1.Objective 1]
ID= EF1Obj1 <-------------------------------------------
NameDisplayable=WEST
AvailabilityInterval=1941-12-06, 1944-10-15
ObjectiveCode=WEST

[Flotilla 1.UserPlayerUnitType 1.Objective 2]
ID= EF1Obj2 <-------------------------------------------
NameDisplayable= EAST
AvailabilityInterval=1944-10-16, 1945-10-15
ObjectiveCode=EAST

thanks sid
Hi Sid,

This lets you assign different objectives during the campaign as you see necessary. In WDAD you have a set of objectives when you are assigned to the base in Trincomalee (WEST=Andaman islands, Malacca Straits) and a different set when you move to Fremantle (EAST=Java Sea, South China Sea).

After you set these objectives in the flotillas.upc file, each patrol zone or special mission you add to PatrolObjectives.cfg has a field called AllMatch that tells the game which patrol zones belongs to each objective. In WDAD, all objectives set to WEST correspond to Trincomalee-based operations (up to 10/15/1944) and the ones labeled EAST are for Fremantle submarines.

My apologies if it's not very well explained.
  Reply With Quote
Old 03-31-11, 03:21 PM   #6
sidslotm
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Hi JL,

greetings to Spain from England.

As you know I have dabbled with the WDAD campaign for some time know and I actually took your Med campaign and managed to get a class U boat to spawn at portsmouth. But the moment I put an Objective in the game map at Heligoland Bight the game crashed.

Im wondering if it's got anything to do with ( ID= EF1Obj2 and D= EF1Obj1 ) I just can't find out how and why these names are derived at, where they might be saved to prevent the game crashing. I see in your Med campaign you put Malta1Obj!.

Quote:
In WDAD, all objectives set to WEST correspond to Trincomalee-based operations (up to 10/15/1944) and the ones labeled EAST are for Fremantle submarines
.

Quote:
[Section 1]
ID=ID1
FileName=data/Campaigns/Campaign/PatrolObjectives/Patrol South China Sea 01/Patrol South China Sea 01.mis
StartDate=19420201
EndDate=19450901
GameModes=Career
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3
ExclusiveLayer=No
ExclusiveLayerID=1
EvaluationReason=FirstObjective
AllMatch=South China Sea <-------------------------------- yes
ObjectiveType=0
BriefingMapName=NULL
BriefingMapIcon=NULL
BriefingMapIconPosX=0
BriefingMapIconPosY=0
sid, " I used to be uncertain, but now I'm not so sure "
  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 10:37 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.