How to spawn fire on top of a smoke stack in Arma 3 and other useful tips for mission making.

Spawn fire in air in Arma 3 Put this code in your initPlayerLocal.sqf and this will spawn a fire object on top of a smoke stack. _firePos = [4234.45,18088.8,58.9342]; _fire = "test_EmptyObjectForFireBig" createVehicle _firePos; _fire setPos [_firePos select 0, _firePos select 1, 59];_firePos = [4234.45,18088.8,58.9342]; _fire = "test_EmptyObjectForFireBig" createVehicle _firePos; _fire setPos [_firePos select 0, … Read more

Arma 3 script samples and functions to make a great mission.

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

Arma 3 scripting tricks and samples for making missions.

Detect if a player has the APEX DLC. if (395180 in getDLCs 1) then { (_this select 0) ctrlsettext ‘\a3\Ui_f\Data\Logos\arma3apex_white_ca.paa’; };if (395180 in getDLCs 1) then { (_this select 0) ctrlsettext ‘\a3\Ui_f\Data\Logos\arma3apex_white_ca.paa’; }; Remove all NVG goggles and weapons from enemies. { if (side _x == east) then { _x unassignItem "NVGoggles"; _x removeItem "NVGoggles"; … Read more

Arma 3 code snippets for making mods and missions.

This is a class that create a backpack that will unpack into a IED. It will detonate if shot at. class B_Carryall_EXP : Weapon_Bag_Base { scope = 2; class assembleInfo { assembleTo = "ModuleExplosive_IEDLandBig_F"; base = ""; displayName = "NATO Exp backpack."; dissasembleTo[] = {}; primary = 1; }; displayName = "NATO Exp backpack."; hiddenSelectionsTextures[] … Read more

Very evil and cool Arma 3 script snippets.

Spawn a bomb wherever the player clicks on the map. onMapSingleClick "’Bomb_03_F’ createVehicle _pos,TRUE";onMapSingleClick "’Bomb_03_F’ createVehicle _pos,TRUE"; Attach a KAB-250 bomb to every bullet you fire, this also gives you unlimited ammo. Very destructive script for any malicious Arma 3 player. player addEventHandler ["Fired", { ("Bomb_03_F" createVehicle [0,0,1e9]) attachTo [_this select 6, [0,0,0]]; (_this select … Read more

Code for Arma 3 to spawn you in a random jet with infinite ammo and refilling fuel.

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

Even more very useful Arma 3 script samples.

Some very good Arma 3 scripting samples Put this code into the init of a crate to create an Arsenal crate. this addaction ["Open Virtual Arsenal", { ["Open",true] call BIS_fnc_arsenal; }];this addaction ["Open Virtual Arsenal", { ["Open",true] call BIS_fnc_arsenal; }]; This code in the initPlayerLocal.sqf and onPlayerRespawn.sqf files will remove stamina and weapon sway. player … Read more

More very useful Arma 3 scripting commands.

Some very cool Arma 3 SQF scripting samples Shoot a vehicle or soldier 50,000 feet into the sky. cursorTarget setVelocity [0,0,1000]; hint format["%1 Is flying to space!",name cursorTarget];cursorTarget setVelocity [0,0,1000]; hint format["%1 Is flying to space!",name cursorTarget]; Spawn an AAF support crate in random houses around the HQ. _houseList = getPos _cargo nearObjects ["House",500]; { … Read more

Some more Arma 3 script samples.

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

How to customize your GRUB configuration in a graphical window on Fedora.

The GRUB configuration on Fedora is editable with the VIM text editor, but what if the user wishes to edit it with a graphical program? Well you can. The grub-customizer utility allows a superuser to edit the GRUB file with a GUI window. Install it like this. [root@localhost Documents]# dnf install grub-customizer-5.0.6-1.fc25.x86_64[root@localhost Documents]# dnf install … Read more

Useful Arma 3 code samples to improve your missions.

This code will make your Arma 3 missions run much more smoothly. And provide some nice tricks to make the mission more enjoyable. Put this into the initPlayerLocal.sqf file. This will remove stamina and make weapon sway much more realistic, i.e no Micheal J Fox mode after running. player setCustomAimCoef 0.34; player setUnitRecoilCoefficient 0.50; player … Read more

Rex Animal Health is using genomics to keep livestock healthy

Rex Animal Health gives farmers "weather maps" showing illnesses impacting livestock in their area. A startup called Rex Animal Health wants to protect livestock from illnesses that can quickly turn into epidemics, and help farmers breed animals with the healthiest and most attractive traits. Today at Disrupt SF, Rex unveiled technology to help veterinarians provide clinical support at the point on the farm, and predict the genetic causes of problematic traits in their herds, and in the… Read More