Author: nomisum
Author Website:

Requirements: No addons required

Version: 1.1

Short description: This script shoots rockets in the air.

Date: 2017-09-20 09:28


Comments: (6)
Rating:



 



GRAD Fireworks

by
nomisum


Description:
I am pleased to announce my first script release.
What it does, Shoots rockets in the air.

Takes input:
Position
Color (Random, Red, Green, Blue, White)
Type (Random, Fizzer, Normal, Rain)
Rain is always white.

How it works
Uses Flares, Lightpoints and some sounds to achieve the effect. Therefore totally vanilla compatible. Computation is done on the server which then sends precalculated stuff to the clients. Those display the effects locally, but it should look the same on every computer.


Installation / Usage:
Sample Call (you can call from any client or server):
[[getPos objectname, 'normal','red'],"callFireworks",true,true] spawn BIS_fnc_MP;

Copy GRAD_fireworks to your mission directory
Copy class CfgSounds from description.ext to your description.ext
Put code below in init.sqf
Call the script via trigger, radio, script, whatever. Sample call above:
callFireworks = compile preprocessFileLineNumbers "GRAD_fireworks\callFireworks.sqf";
_nul = [] execVM "GRAD_fireworks\fireworks.sqf";


Media:



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


Notes:
Feedback welcome
If you have any suggestions codewise or effectwise, let me know.


Changelog:
v1.1
* added params
* added remoteexec
* added cfgFunctions/cfgSounds for easy include
* code cleanups/restructuring
* made sounds to be heard from far away (up to 1000m for blasts)
* upped sound volume, which was the most obvious bug

v1.0
- first release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Script,   Environment,   Modern,   Fireworks