OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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
-
I suggest you start by downloading Vektorboson's (http://www.ofpec.com/includes/download2.php?id=32) dialogue tutorial from the Editors Depot.
-
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)
-
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
-
Of course, THAT'S what I was thinking of. :)
-
Thanks for the input guys.
After I asked my question last night, I continued to browse the ED and found that dialog maker.....AWESOME.