View Single Post
Old 05-24-11, 05:34 AM   #32
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 Peabody,

[Flotilla 2.UserPlayerUnitType 1.Objective 2]
ID= Rosneath1Obj1
NameDisplayable= ATLANTIC
AvailabilityInterval=1941-12-03, 1945-12-31
ObjectiveCode= ATLANTIC


[Flotilla 2.UserPlayerUnitType 2.Objective 2]
ID= Rosneath1Obj2
NameDisplayable= ATLANTIC
AvailabilityInterval=1941-12-03, 1945-12-31
ObjectiveCode= ATLANTIC

I hear what you say about different names, so I changed them back to the original 1 and 2, same for Gosport 1 and 2 which although not fully tested is working.

The Rosneath base suffers from " no primary objective found" I really thought I had this one sorted, but has retfurned to give me that sinking feeling, heh.

v2 is posted and upto date as I write this, sid
The IDs are ok but the file listed is the old one the green should be objective1 for the first sub and objective 1 for the second sub.

The IDs are ok but it will be easier to keep track of as you add missions if you keep a pattern
For example use the sub and obj

sub1obj1
sub1obj2
sub1obj3

sub2obj1
sub2obj2
sub2obj3

Now for the "Primary Objective not found" is basically what it says, it can't find the mission objective. Several causes, most common is "AllMatch" and "ObjectiveCode" don't match. Other reasons: the mission isn't written right, the mission isn't in the "PatrolObjectives.cfg" file, the numbering is wrong or dates are wrong.
I will download the new version and take a look.

Now here is your new Flotilla file:

[Flotilla 2.UserPlayerUnitType 1.Objective 1]
ID= AT1Obj1
NameDisplayable= ATLANTIC
AvailabilityInterval=1941-12-03, 1945-12-31
ObjectiveCode= ATLANTIC

[Flotilla 2.UserPlayerUnitType 2.Objective 2]
ID= AT2Obj1
NameDisplayable= ATLANTIC
AvailabilityInterval=1941-12-03, 1945-12-31
ObjectiveCode= ATLANTIC

I fixed the ID but if you notice the first one is Objective1 for sub 1 which is the U Class. Sub 2, the T class does not have an Objective1, it starts with Objective2.

Remember the numbering sequence.

base2 sub1 obj1
base2 sub1 obj2
base2 sub1 obj3

base2 sub2 obj1
base2 sub2 obj2
base2 sub2 obj3

I think you are confusing yourself because you only have one mission for each sub at this point, so you think 1 and then 2. But actually it is Objective1 for sub1 and also objective1 for sub2.

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