Page 1 of 2

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 12:55 am
by starshell
I have followed the mission design notes put together by Jackson Clouse to the letter but cannot get Custom (Patrols) to appear in the Patrols menu or even the actual mission name itself. According to and earlier post by Buxton these features would appear in the menus even if the mission script was not completed (as in my case). Does the mission scripting have to be fully completed for these items to appear in the Missions menu ?

In the localisation text file I have..........

//Patrols screen

PATROL_TITLE PATROLS

PATROL_LABEL_MISSIONS Missions

PATROL_LABEL_0_TOGGLE Training

PATROL_LABEL_1_TOGGLE Combat

PATROL_LABEL_2_TOGGLE Tactical

PATROL_LABEL_3_TOGGLE Custom

Within the missions folder in the main Enigma directory I have a folder named CustomPatrols, the index.pkg file and the CustomPatrols.cgn text file

The index.pkg file entry reads...........

N 1 Single Player Package 4 6

P 0 0 TrainingPatrols

P 0 1 CombatPatrols

P 0 2 RandomPatrols

P 0 3 CustomPatrols

The CustomPatrols.cgn file reads..............

P 0 3 CustomPatrols 1

ML 1 Double Jeopardy Double Jeopardy - In the midst of a storm you must sink the crippled enemy submarine before rescue forces arrive.

I am not too sure how I should be naming the .ems file. Should it be Double Jeopardy-1.ems or just mission-1.ems ??

Cheers

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 2:24 am
by East
Did you change the value in the index header that shows how many patrol types you have?

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 3:41 am
by Pioneer
Apologies to East if I'm overstepping here...

Mission1.ems is the file name under the specific custom patrol "folder" that you created.

The M line is only one entry so it would read

M 1 Double Jeopardy In the midst of.......

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 11:35 am
by starshell
Hi East - you mean the header in index.pkg ? yes I changed that from 3 patrol mission sets to 4.

Thanks for the .ems file naming info. Pio

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 1:07 pm
by timetraveller
Starshell,

Be sure you scroll down to the bottom on the drop down list for Patrols/Missions.. Sounds silly, but that was my problem, it was there all the time.

The little window only holds three and your mission will be the forth one.

-timetraveller

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 1:22 pm
by starshell
Thanks - I double checked, but still no show.

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 4:34 pm
by East
post your index.pkg and your custom.cgn

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 7:03 pm
by starshell
East - the critical parts of those files are in the first post above. Bear in mind that copy and pasting them got rid of the Tab spacings so they look slightly different to normal.

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 7:34 pm
by East
sry, didn't look closely enough. The mission file gets saved as whatever name you called it in the custom.cgn

Your CustomCampaign.cgn should read:

P 0 3 Custom Patrol Campaign 1

ML 1 In Double Jeopardy Mission 1 - "Double Jeopardy", In the midst of a storm you must sink the crippled enemy submarine before rescue forces arrive.

(you can copy and paste this into notepad but you will have to add the tabs back in).

file names are always Mission-#.ems (yours would be Mission-1.ems).

The number is the number of the mission as it is listed in the cgn file.

Getting Missions To Appear In Menus

Posted: Tue Jan 04, 2005 9:18 pm
by starshell
East - thanks, but I am slightly, no very, confused. You mention a CustomCampaign.cgn file, but I am making a one-off Patrol mission. I thought I just had to set up a CustomPatrols.cgn file according to the advice in Jackson Clouse's Word documents ?