Author: goon
Author Website:

Requirements: No addons required

Version: 1.0

Short description: This is a multiplayer Nuclear Weapon script for Arma 3.

Date: 2015-08-31 05:43


Comments: (0)
Rating:



 

Arma 3 Nuclear Weapon

by
Goon


Description:
This is a multiplayer Nuclear Weapon script for Arma 3.


Installation / Usage:
1. I used an l159 alca (aa) plane for the default deploying aircraft. Any aircraft can be switched out without problem.
Name the plane. In the example mission, the name is set to "f4".
The pilot must be spawned separately for the script to work. spawn him and then put the following in the init field.
this moveindriver f4;

2. Take the nukescript.sqf, nuke.sqf, description.ext, and sound folder and put them into your mission folder.

3. Put the following in the planes init field in the editor:
this setpos  [getpos this select 0,getpos this select 1, 2000];
this addEventHandler ["fired", {_this execvm "nuke.sqf"}];
this addmagazine "2Rnd_Bomb_03_F";
this addweapon "Bomb_03_Plane_CAS_02_F";
this removeweapon "Missile_AA_03_Plane_CAS_02_F";
this removeweapon "Missile_AA_04_Plane_CAS_01_F";
this removeweapon "missiles_ASRAAM";
this removeweapon "missiles_Zephyr";

Explanation of each individual line:
this setpos  [getpos this select 0,getpos this select 1, 2000];
This will set the planes position to 2000 metres above sea level.
this addEventHandler ["fired", {_this execvm "nuke.sqf"}];
this line executes the nuke script on whatever projectile is fired from the vehicle.
this addmagazine "2Rnd_Bomb_03_F";
this addweapon "Bomb_03_Plane_CAS_02_F";
This adds the bombs the nuke script uses. If you would like to use a different bomb, the setting is in nuke.sqf

the rest removes weapons unneccessary for the test.

this removeweapon "Missile_AA_03_Plane_CAS_02_F";
this removeweapon "Missile_AA_04_Plane_CAS_01_F";
this removeweapon "missiles_ASRAAM";
this removeweapon "missiles_Zephyr";


Media:



Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel


Credits & Thanks:
Thanks to all who helped me test this.


Changelog:
v1.0
- first release




Enable javascript to be able to download from Armaholic please!



Tags: Nuclear Weapon,   Nuke