OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Swatdog on 31 Aug 2005, 09:05:56

Title: Computer Interface
Post by: Swatdog on 31 Aug 2005, 09:05:56
Hey,

In my mission, you are part of a US Marine MFR unit, and you have to disable an occupied town's radar and radio to knock out any communication with a reinforcement force, for a small Marine outfit so they can go in the city, accomplish the objectives, and then get out without being swarmed by reinforcements.

The thing is, is that the only way how to disable the radio/radar is by a computer in a nearby building. At first I thought I would just add a "Disable Computer" option in the action menu, but then I started thinking about how cool it would be if there was an entire User Interface where a randomly generated password is needed in order to disable the computer.

I know this is possible with dialog scripting, but I have no clue where to start. Anyone willing to help me out?

Much appreciated,
Swatdog
Title: Re:Computer Interface
Post by: nominesine on 31 Aug 2005, 10:53:45
I suggest you start by downloading Vektorboson's (http://www.ofpec.com/includes/download2.php?id=32) dialogue tutorial from the Editors Depot.
Title: Re:Computer Interface
Post by: macguba on 31 Aug 2005, 11:02:01
There is also a dialogue generator thing somewhere in the Ed Depot.   But you need to read the tute first.

And I have a feeling somebody did something with a password.   Have a check through the scripts section and see if you can find anything useful.

What you propose is certainly possible.   And it would be very cool.  8)
Title: Re:Computer Interface
Post by: Blanco on 31 Aug 2005, 14:20:06
LCD did something with a password and I used it in my codepad script.

http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=19435
Title: Re:Computer Interface
Post by: macguba on 31 Aug 2005, 16:05:45
Of course, THAT'S what I was thinking of.    :)
Title: Re:Computer Interface
Post by: Swatdog on 01 Sep 2005, 09:32:48
Thanks for the input guys.

After I asked my question last night, I continued to browse the ED and found that dialog maker.....AWESOME.