View Single Post
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