Universal script of Terminal. The idea was taken from Fallout 3. The terminal must be hacked to create event that is associated with this terminal. For example to open some door, turn off light somewhere or launch missile from SCUD. To hack the terminal, you will have to find the password consisting of random letters. You have 4 attempts (like in Fallout 3 too), to hack the terminal. If all attempts left, you can reconnect and try again until you hack the terminal. Words are generated randomly each time. To get the terminal to work - copy all files to your mission from this example-mission.
This terminal I created on russian language and today translated to english.
Creator: JTS
Features: - Sounds
- Icons
- Universal script
Note:1. To get terminals to work, you must load source. In Init.sqs write following: call loadfile "Terminal\Source.sqf". Do not make delay before load the source.
2. To make the terminal 'terminal', write following in his Init: [this,"Easy","Example1.sqs","Get my cakes"] exec "Terminal\TerminalHack.sqs"
I mean:- [object,"Difficulty","your_script.sqs","your_text"] exec "Terminal\TerminalHack.sqs"
- 3 types of difficulty: Easy, Medium, Hard. You have to write it in ""
your_text: Text that must be pressed to perform an action
your_script: Script that will run after you've hacked the terminal and pressed the button (your_text)
3. To change the status of terminal, use function - Reboot.
For example: [lol1, string] call Reboot
There are 4 types of status:
"Lock" - Will lock the terminal
"Unlock" - Will unlock the terminal
"Hacked" - Terminal will be hacked
"Unhacked" - Terminal returns to its original state (Not hacked)
Example:[lol1, "Lock"] call Reboot
lol1 - it's the name of object
4. To change the text entry - go to Source.sqf. You will see here 3 arrays. T_EASY, T_MEDIUM and T_HARD. In these arrays, simply change the letters to which you wish.
For example:T_EASY =
[
"C","o","m","p","u","t","e","r"," ","of"," ","O","b","a","m","a"
];
" " - I think you understand for what it is.
To start the text on a new line, use \n
But keep in mind that the text entry is not counting on a lot of lines
For example:T_EASY =
[
"C","o","m","p","u","t","e","r"," ","of","\n","O","b","a","m","a"
];
You can write vertically too.
For example:T_EASY =
[
"C","o","m","p","u","t","e","r"," ","of",
"\n",
"O","b","a","m","a"
];
orT_EASY =
[
"C",
"o",
"m",
"p",
"u",
"t",
"e",
"r",
" ",
"of",
"\n",
"O",
"b",
"a",
"m",
"a"
];
Video:It's on russian I know. But don't worry. I translated all to english!
http://www.youtube.com/watch?v=Aiq-zfG_IwAGood luck. I hope you will use it in your missions
Download:http://www.megafileupload.com/en/file/395783/JTS-TERMINAL-HACK-EN--Intro-rar.htmlNote: Search words without symbols (like !@#$%^()&*). Words without symbols - maybe 1 of them will be the correct password
Updated: 24.02.2013*Optimized functions