Regarding (url="http://"http://www.AmbrosiaSW.com/webboard/Forum9/HTML/001140.html")http://www.AmbrosiaS...TML/001140.html(/url), I've been playing around with some things and found out a little more about how the EVO engine works:
1.) EVO doesn't play well with other children. By that, I mean it doesn't listen to AppleEvents (as far as I can tell) and uses a lot of processor power. I'm assuming this is to give the game usable speed. Example: launch EVO, go to the Finder and try to shut down. Won't happen.
2.) It is possible for an AppleScript aplt to run in the background and watch the pilot file for desired changes, but the aplt can only check when the player is at the screen where they can open pilot files, set prefs, etc. All other times the script is suspended.
3.) I have found NO WAY to get external apps to do anything when the player is flying around in their ship, or on a spob surface.
All that having been said, I've a rough example of something that might work. I'm calling it Grigori. It sits in the EV-Plugins folder, along with another file "Grigori Data". You edit Grigori Data to define what it is you want to watch for, and what you want it to do if true.
There are several different ways to watch a variable. Let's say you want Grigori to watch a misnBit. You can say do something if misnBit=1,*1,<1,>1, 1 u list (1 within a list), 1 n list (1 not within list). Right now the math operators work well. U and N aren't totally working now, and would only be useful to see if the user had a certain weapon, outfit, etc.
In the example I've worked on, Grigori watches to see if misnBit 100 is set. This is the misnBit which is set by the first "U.E. Delivery Recruitment" string of missions. Once you complete the misn and hit "esc" to go to the intro control screen, Grigori will be able to launch the targeted OpenDoc file, in this case the OpenDoc file included with EVO (also stored in the Plug-ins Folder.
This is kind of kludgy, but with some modifications, could be made believable. Example: Alter the intro screen so it has more to do with the game. Change what the buttons are called and make the screen look like a computer interface where one can receive messages. Next, make a pers that appears only when misnBit 100 is set. This pers is a satelite a la Frozen Heart that has to deliver a certified message. It could hail with the message "Certified message in que. Please press 'esc' to transmit ID verification and receive data."
Of course, when you go to the intro screen Grigori can evaluate the pilot file and then launch the OpenDoc file.
Is this the kind of thing you were interested in?
I can post what I have done so you can look at it. I've been trying to set up an example mission string that would work as I've described, but have been unable to make a pers appear 100% of the time after a misn is done. I could do it with visBits, but what a pain :frown:.
There are many more things that need to be done, like adding the ability to watch for multiple things, and give the ability to alter the pilot file. Unfortunately, the player will have to manually reload a modifed pilot file as EVO can't be told to do it (EVO is ROWM: Read Once, Write Many). Also, Grigori has no memory of what it has checked and acted on; it will keep opening the target file for a long as misnBit 100 is set. I need to script something that will allow it to know when it has already acted on a true evaluation.
-STH
(This message has been edited by seant (edited 12-12-2000).)