Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello, I've made this tutorial to show you how to add custom scripts to the menu.
- ----------------------------------------------------------------------------------
- 1.\ Go to your scripts directory, It should be similar to this. C:\Program Files (x86)\Steam\SteamApps\common\Arma 2\LoganNZL\LoganNZL@scripts
- 2.\ Get a text editor, notepad should word fine but I would recommend notepad++. Get it at http://download.tuxfamily.org/notepadplus/6.5.3/npp.6.5.3.Installer.exe
- 3.\ Open the LoganNZL@screen.sqf file and you will see a long list of scripts, you should see categories at the top of each list.
- 4.\ As an example if I was adding a script called "GiveFood.sqf", I would place in in
- C:\Program Files (x86)\Steam\SteamApps\common\Arma 2\LoganNZL\LoganNZL@scripts
- 5.\ Once the sqf file you want is in the scripts folder you will need to edit the screen.sqf file.
- First you need to find the category that you want, I'm just going to use a default one.
- 6.\ Once you find the category that you want go to the bottom of the scripts list and make a new line like this.
- Lpic = Lpic + [""]; Lhacks = Lhacks + ["Break Legs","LoganNZL\LoganNZL@scripts\Lmain.sqf","SQF"];
- ^^^ Change this to the title of the script.
- 7.\ Edit the file path to the name of your script that you placed in
- C:\Program Files (x86)\Steam\SteamApps\common\Arma 2\LoganNZL\LoganNZL@scripts.
- 8.\ If you had a sqf file called addfood.sqf, you would change it to this
- Lpic = Lpic + [""]; Lhacks = Lhacks + ["Add Food","LoganNZL\LoganNZL@scripts\addfood.sqf","SQF"];
- -----------------------------------------------------------------------------------------------------
- That is about it, if I missed anything please send me a PM.
- _____ _ _ __ _____ __
- / ___(_) | |/ || _ |/ |
- \ `--. _ __ _ _ __ __ _| |`| || |/' |`| |
- `--. \ |/ _` | '_ \ / _` | | | || /| | | |
- /\__/ / | (_| | | | | (_| | |_| |\ |_/ /_| |_
- \____/|_|\__, |_| |_|\__,_|_|\___/\___/ \___/
- __/ |
- |___/
- -------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement