Page 1 of 1

Can It Really Be?

Posted: Mon Jan 31, 2005 4:42 am
by Jesper
That everytime one has created a mission then that person has to edit the localization.txt and index.pkg in order for the game to load the new mission(s) ?????

What about a Mini Micro Fix that has a predefined custom missions dir and then the game dynamically loads all the missions that are located in that folder when one starts the game so no constant editing is needed ??

Can It Really Be?

Posted: Mon Jan 31, 2005 4:48 am
by East
That's correct if you are putting your missions under the Custom Missions header. You will still need to put your missions into the CustomPatrols.cgn file...and allow for the other custom missions......

Can It Really Be?

Posted: Mon Jan 31, 2005 1:05 pm
by timetraveller
What I've done is create a \missions\CustomPatrols folder with 10 missions in it, mission-1.ems to mission-10.ems. To start off, they are just any old mission, copied and pasted, all the same internally. Then when I create a mission with the editor, I just save it to the mission # it is, overwriting the original dummy mission that was there.

The CustomPatrols.cgn file I've modified ahead to show 10 missions. If you get to 11 or more missions you have created, update this file and make room for 20 or so.

At least for this method, the localization.txt file only needs to be modified once. Same with index.pkg.

Hope this helps.

-timetraveller

Can It Really Be?

Posted: Mon Jan 31, 2005 3:24 pm
by Jesper
Naah it doesnt really help, the game should load the mission files on the fly on startup if you ask me. :)

I gotta see if it is possible to create a batch file that can push text directly into those 2 files.