More very useful scripts for Arma 3. Useful for multiplayer missions.
Some very useful scripts for making an Arma 3 mission.
Some very useful scripts for making an Arma 3 mission.
Some more very useful Arma 3 scripting samples.
A very useful script to tweak the Arma 3 AI and make them a little bit more realistic.
How to print text on a billboard in Arma 3. This could be very useful.
More very useful script samples for creating a very nice Arma 3 mission.
Very useful scripts for Arma 3. A good pilot check script to block non-pilots from helis.
How to have craters easily in the Arma 3 EDEN editor, and some other very useful scripts.
This script will spawn a cloud of mines around the player, this is a lot of fun to deal with. _source = eyepos player; _distance = 35; for "_i" from 1 to 1000 do { _veh = createVehicle ["APERSMineDispenser_Mine_Ammo_Scripted", _source, [], 0, "CAN_COLLIDE"]; _pos = _source vectorAdd (vectorNormalized [(random 2)-1,(random 2)-1,(random 2)-1] vectorMultiply _distance); … Read more
This is a very useful code sample to put in the init of an object. This is to activate a function. This is how to have an addaction only show up when you are close to an item. _id = this addAction ["Teleport to FOB", {[player, [5309.6,10749.3,0]] call KER_fnc_teleport;}, "", 0, true, true, "", ""]; … Read more
Blocking scripts in uBlock origin is very easy, if you know the path to an annoying script, it may be easily blocked. Open the dashboard in uBlock origin and use the code below to block the script. ! 2021-05-25 https://boards.4channel.org ||bid.glass/lib/bg.js$script,domain=boards.4channel.org! 2021-05-25 https://boards.4channel.org ||bid.glass/lib/bg.js$script,domain=boards.4channel.org This is another example, blocking the end screen and annotations in … Read more
This script will check for updates on an Arch Linux machine. This could be run as a daemon with CRON. #!/bin/bash export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DISPLAY=:0 tmpdb=/tmp/checkup-db dbpath=/var/lib/pacman mkdir /tmp/checkup-db && ln -s "${dbpath}/local" "${tmpdb}" fakeroot — yay -Syyb "${tmpdb}" –logfile /dev/null updates="$(yay -Qub "${tmpdb}" 2>/dev/null)" [[ -n "$updates" ]] && notify-send -t 299000 ‘New updates available’ … Read more
A collection of nice Linux scripts I have found on the Internet. Nice pipes terminal screensaver, this is a nice addition to your Linux terminal emulator. https://github.com/pipeseroni/pipes.sh. A collection of very useful MPV user scripts. https://github.com/mpv-player/mpv/wiki/User-Scripts. use Byzanz to capture your Linux desktop to a file for a certain duration. https://github.com/ryanoasis/public-bash-scripts/blob/master/screen-capturing/byzanz-screencapture-monitor1.sh. A nice packet capture … Read more
To play music while players enjoy your mission, use this simple but effective function. 6 fademusic 0.1; [] call BIS_fnc_jukebox;6 fademusic 0.1; [] call BIS_fnc_jukebox; This plays ambient music, randomly selecting tracks to play. Put this in the initPlayerLocal.sqf file. Put this code in the init of a vehicle at the base to have … Read more
Use DrawLine3D in Arma 3. This code will draw a line in 3d that players can see. Set up four small poles, name them pole1 to pole4 in a square and then place this code in initPlayerLocal.sqf. You can set the properties of the poles to they are not visible in-game. Untick “show model” in … Read more
This code will spawn you in a jet flying over the AO, this will pick a random jet and spawn you a long way up, so you will not crash before orienting yourself. Put this script in initPlayerLocal.sqf. private "_jet"; _jet = createVehicle [selectRandom ["O_Plane_Fighter_02_Stealth_F", "I_Plane_Fighter_04_F", "B_Plane_Fighter_01_Stealth_F", "O_Plane_CAS_02_dynamicLoadout_F"], getArray (configFile >> "CfgWorlds" >> worldName >> … Read more
Very useful Arma 3 scripting samples This scripting sample will remove the solar panels and doors from the Orange DLC tents and make them look like a good old fashioned MASH tent. med1 animateSource ["MedSign_Hide",1,true]; med1 animateSource ["Door_Hide",1,true]; med1 setObjectTextureGlobal [0,"\A3\Structures_F_Orange\Humanitarian\Camps\Data\MedicalTent_01_tropic_F_CO.paa"];med1 animateSource ["MedSign_Hide",1,true]; med1 animateSource ["Door_Hide",1,true]; med1 setObjectTextureGlobal [0,"\A3\Structures_F_Orange\Humanitarian\Camps\Data\MedicalTent_01_tropic_F_CO.paa"]; Add this code to your initServer.sqf … Read more
Very useful Arma 3 code samples to make better missions.
This function will allow your computer to speak. function shellspeak() { mplayer "http://translate.google.com/translate_tts?tl=en&q=$(echo $@ | sed ‘s/\s/+/’)" > /dev/null 2>&1; }function shellspeak() { mplayer "http://translate.google.com/translate_tts?tl=en&q=$(echo $@ | sed ‘s/\s/+/’)" > /dev/null 2>&1; } A script that will change all files in a directory to lowercase filenames. function lowercase() # move filenames to lowercase. { for … Read more
This is a shell script that will only run if the user executes it as the root user. I got this tip here: http://www.cyberciti.biz/tips/shell-root-user-check-script.html. #!/bin/bash CMDROOT="yum update" if [[ $EUID -ne 0 ]]; then echo echo "You must be a root user to run this command." 2>&1 exit 1 else echo echo … Read more