Goal! Version 1.0 Released: 1998-10-06 Requires Jed version 0.85+ By André Di Geronimo a.k.a. dr0id dr0id´s Stuff General Goal! is a plugin for Jed that will help you make and setup goals (a.k.a. objectives) for Single Player levels. You create your goals using Goal! then you simply hit a key and Goal! will do all the "hard work" (and time consuming work) like writing the cog, writing the cogstrings and install the cog in Jed, when Goal! has finished it´s work your are ready to gob and test your level. When you start Goal! you will se a listbox to the left and a tabbed control to the right, the listbox will list all goals in the level and in the tabbed control you will be able to set various "goal settings". The tabbed control has two tabs the first one has all "basic" settings, all these are required, and the second tab has all "on complete" settings, things that should happened when the end user completes a goal, none of these are required. However, I think that you should let the end user know that he/she has completed a goal :). You can save/open your goals with the File|Open/Save as command. When your are done with your goals you can preview the cog with the Goals|Preview Cog, and then create your goals using the Goals|Build command. Here is a list on all available goals settings: Basic settings (first tab): Level # in Episode: This isen´t a goal settings but a "goals" setting, it is the same for all goals. It it the number of the level in the Episode. Starting from 1.. Goal Text: This is the text that will be showed in the objective screen. Message: When this message is sent by the engine the goal will be completed if the specified symbol caused it. Sender Symbol: This is the symbol that will send the message (above). Remember that you have to have symbols and messages that works together. For example a surface can´t send the message killed. Value: This is the symbol value. can be set by the button next to the text field. Select the object in Jed and hit this button. (default: blank). Visible at Startup: If this is checked the goal will be visible to the end user at startup. (default: checked) On Complete settings (second tab): Print Text: If this checked then JK will print text to the screen when the goal is completed. You can choose between the default text (check Print Def) or set your own text in the text field below. (uncheck Print Def first). Play Sound: If this is checked JK will play the sound specified in the text field below when the goal is completed. You can use the button next to the text field to select a wav from Jed´s Sound Picker. Show Goal #: If this is checked JK will show the Goal specified in the text fieldbelow. Goals Starting from 0. (so if you want to show the second goal you type in 1) End level: If this is checked JK will end the level after specified seconds. Should only be used on the last goal. Build you Goals When you use the Goals|Build command Goal! will make a simple check so no required fields are left blank, if it founds any errors it will alert you and display a errors list. To close this list simply right click it and choose Hide from it´s popup. If it passes the error check it will generate the goals cog and save it to: (project dir)\cog\levelname_goals.cog. Then it will install the cog in Jed and after that it will write all the cogstrings to (projectdir)\misc\cogstrings.uni. If a cogstrings.uni is found in the root of your project dir it will use that one (same if it founds a cogstrings in the misc dir). Any suggestions/comments/qustions are more than welcome. Bugs should be reported at dr0id´s Stuff. Use at your own risk. Thanks to... UGG_BOOT, for beta testing. Mark Jones, for cog quality check. Antony Espindola, who´s "Objectives Tutorial" gave me the idea to write this plugin. And of course: Alexei Novikov, for Jed and it´s OLE Interface. Goal! is copyright (c) 1998, André Di Geronimo. Jed is copyright (c) 1997-1998, by The Code Alliance. Jed Home: www.darkjedi.com |