Author: aliascartoons
Author Website:

Requirements: No addons required

Version: 1.04

Short description: This script allows you to place fire effect on objects in your missions.

Date: 2017-06-29 09:19


Comments: (1)
Rating:



 



Fire script

by
aliascartoons


Description:
Fire script showcase on ALTIS, the script allows you to place fire effect on objects in your missions.
Fire can damage players or not via parameters.
Script MP, JIP and SP compatible.
Un-pbo the mission and read the comments or watch the video tutorial.


Installation / Usage:
null = [_object_name,_life_time,_radius,_damage_inflicted_surround,_kill_vehicle_in_fire,_human,_ground] spawn compile preprocessFile "ALfire\fire.sqf";
_object_name - the object name you want to set on fire, you can use "this" if you run the script from init field of the object
_life_time - seconds, fire will be put off after the time you set for life time
_radius - meters, you want to be covered by fire, note that at certain values the fire doesn't look good, so use it wisely
_damage_inflicted_surround - 0..1, amount of damage you to be inflicted upon objects close to fire, use smaller values and test damage is in loop
_kill_vehicle_in_fire - boolean, true if you want the vehicle blowing up when fire is gone, false if you want just to delete the vehicle
_human - boolean, true if the object set on fire is a footmobile, false if is an object (buildings, wrecks, vehicles etc)
_ground - string with 2 pre-defined values, "big" to set on fire a large area defined by _radius, "small" to set in fire objects placed in air or ground, here radius only counts for area where de damage is inflicted

For more info see the update tutorial

For more info see the first tutorial
https://www.youtube.com/watch?v=WKakf7yb2WM


Media:



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


License / Disclaimer:
You can use, adapt and/or modify the script as you see fit.


Changelog:
v1.03
- script syntax changed
- script file structure changed
- now you can set on fire object which are high above the ground
- time of the day is no longer required and is removed from syntax
- for more info see the video update tutorial

v1.01
- Small fix to prevent the script running on headless clients

v1.0
- first release


Forum topic:
- Armaholic forums


Steam Workshop:
- Subscribe




Enable javascript to be able to download from Armaholic please!



Tags: Action,   Effect,   Enhance,   Fire,   Oxygen,   Script,   Water