peabody
01-03-12, 10:35 PM
Thanks I'm also having some problems with the missions I modified the stock missions by moving the mission icon to the US west coast but now all it will give me is recon Fremantle when I start the games.
I do not know what you mean by "moving the mission icon to the US". The missions are assigned by using the entries in the Flotilla files, using the Objectivecode= line. Example:
[Flotilla 2.UserPlayerUnitType 1.Objective 7]
ID= MB21OBj7
NameDisplayable= NULL
AvailabilityInterval=1943-06-15, 1944-02-25
ObjectiveCode=Australia-West
and matching that with a line in "PatrolObjectives.cfg" called "AllMatch="
Example:
[Section 1]
ID=ID1
FileName=data/Campaigns/CampaignGE/PatrolObjectives/Photo-Freemantle-01/Photo-Freemantle-01.mis
StartDate=19420201
EndDate=19450901
GameModes=Career
InclusionProbability=200
MinimumDifficultyRating=0
MinimumPlayerRating=2
ExclusiveLayer=No
ExclusiveLayerID=1
EvaluationReason=FirstObjective
AllMatch=Australia-West
ObjectiveType=4
BriefingMapName=NULL
BriefingMapIcon=NULL
BriefingMapIconPosX=0
BriefingMapIconPosY=0
Then assigns the mission listed at filename=. In this case it is
data/Campaigns/CampaignGE/PatrolObjectives/Photo-Freemantle-01/Photo-Freemantle-01.mis
Now it does not have to pick that mission in can pick any one where the Objectivecode matches the AllMatch line. That is how it gets a random mission. This one also matches.
[Section 5]
ID=ID5
FileName=data/Campaigns/CampaignGE/PatrolObjectives/Spy-Freemantle-01/Spy-Freemantle-01.mis
StartDate=19420201
EndDate=19450901
GameModes=Career
InclusionProbability=150
MinimumDifficultyRating=0
MinimumPlayerRating=2
ExclusiveLayer=No
ExclusiveLayerID=1
EvaluationReason=FirstObjective
AllMatch=Australia-West
ObjectiveType=2
BriefingMapName=NULL
BriefingMapIcon=NULL
BriefingMapIconPosX=0
BriefingMapIconPosY=0
So it can pick any one that matches the Objectivecode that it selects first.
And since you said you moved your base from Penang to Tokyo, Penang does not have any missions to Freemantle, so you mixed something up.
In the mission editor the mission is usually a Zone. So if you moved the zone, then the icon will show on the US West coast, but the text does not change by itself. You also have to assign new 'briefing text" to the mission. The game does not know what you want by just moving a zone.
You will have to be much more specific as to what you did. You said "I modified the stock missions by moving the mission icon to the US west coast", there are 135 missions. You changed them all? :hmmm:
Peabody
I do not know what you mean by "moving the mission icon to the US". The missions are assigned by using the entries in the Flotilla files, using the Objectivecode= line. Example:
[Flotilla 2.UserPlayerUnitType 1.Objective 7]
ID= MB21OBj7
NameDisplayable= NULL
AvailabilityInterval=1943-06-15, 1944-02-25
ObjectiveCode=Australia-West
and matching that with a line in "PatrolObjectives.cfg" called "AllMatch="
Example:
[Section 1]
ID=ID1
FileName=data/Campaigns/CampaignGE/PatrolObjectives/Photo-Freemantle-01/Photo-Freemantle-01.mis
StartDate=19420201
EndDate=19450901
GameModes=Career
InclusionProbability=200
MinimumDifficultyRating=0
MinimumPlayerRating=2
ExclusiveLayer=No
ExclusiveLayerID=1
EvaluationReason=FirstObjective
AllMatch=Australia-West
ObjectiveType=4
BriefingMapName=NULL
BriefingMapIcon=NULL
BriefingMapIconPosX=0
BriefingMapIconPosY=0
Then assigns the mission listed at filename=. In this case it is
data/Campaigns/CampaignGE/PatrolObjectives/Photo-Freemantle-01/Photo-Freemantle-01.mis
Now it does not have to pick that mission in can pick any one where the Objectivecode matches the AllMatch line. That is how it gets a random mission. This one also matches.
[Section 5]
ID=ID5
FileName=data/Campaigns/CampaignGE/PatrolObjectives/Spy-Freemantle-01/Spy-Freemantle-01.mis
StartDate=19420201
EndDate=19450901
GameModes=Career
InclusionProbability=150
MinimumDifficultyRating=0
MinimumPlayerRating=2
ExclusiveLayer=No
ExclusiveLayerID=1
EvaluationReason=FirstObjective
AllMatch=Australia-West
ObjectiveType=2
BriefingMapName=NULL
BriefingMapIcon=NULL
BriefingMapIconPosX=0
BriefingMapIconPosY=0
So it can pick any one that matches the Objectivecode that it selects first.
And since you said you moved your base from Penang to Tokyo, Penang does not have any missions to Freemantle, so you mixed something up.
In the mission editor the mission is usually a Zone. So if you moved the zone, then the icon will show on the US West coast, but the text does not change by itself. You also have to assign new 'briefing text" to the mission. The game does not know what you want by just moving a zone.
You will have to be much more specific as to what you did. You said "I modified the stock missions by moving the mission icon to the US west coast", there are 135 missions. You changed them all? :hmmm:
Peabody