Arma 3 – How to Make Exploding Fuel Tank Guide – Code

Arma 3 – How to Make Exploding Fuel Tank Guide – Code 2 - steamlists.com
Arma 3 – How to Make Exploding Fuel Tank Guide – Code 2 - steamlists.com
Make an exploding fuel tank.

 

The code

 

_fuelTank = (_this select 0);
waitUntil {(damage _fuelTank != 0)};

sleep 0.5;
bomb = "DemoCharge_Remote_Ammo_Scripted" createVehicle (_fuelTank modelToWorld [0,0,-0.5]); //SMALL: DemoCharge_Remote_Ammo_Scripted || HUGE: Bo_GBU12_LGB
bomb setDamage 1;
deleteVehicle _fuelTank;
"Land_HistoricalPlaneDebris_03_F" createVehicle (_fuelTank modelToWorld [0,0,0]);
"Land_HistoricalPlaneDebris_03_F" createVehicle (_fuelTank modelToWorld [0,0,0]);
"Land_HistoricalPlaneDebris_03_F" createVehicle (_fuelTank modelToWorld [0,0,0]);


private _posATL = _fuelTank modelToWorld [0,0,-0.5];

// Fire
private _ps0 = "#particlesource" createVehicleLocal _posATL;
_ps0 setParticleParams [
["\A3\Data_F\ParticleEffects\Universal\Universal", 16, 10, 32], "", "Billboard",
0, 1, [0, 0, 0.25], [0, 0, 0.5], 1, 1, 0.9, 0.3, [1.5],
[[1,1,1, 0.0], [1,1,1, 0.3], [1,1,1, 0.0]],
[0.75], 0, 0, "", "", _ps0, rad -45];
_ps0 setParticleRandom [0.2, [1, 1, 0], [0.5, 0.5, 0], 0, 0.5, [0, 0, 0, 0], 0, 0];
_ps0 setDropInterval 0.03;

// Smoke part 1
private _ps1 = "#particlesource" createVehicleLocal _posATL;
_ps1 setParticleParams [
["\A3\Data_F\ParticleEffects\Universal\Universal", 16, 7, 1], "", "Billboard",
1, 10, [0, 0, 0.5], [0, 0, 2.9], 1, 1.275, 1, 0.066, [4, 5, 10, 10],
[[0.3, 0.3, 0.3, 0.33], [0.4, 0.4, 0.4, 0.33], [0.2, 0.2, 0, 0]],
[0, 1], 1, 0, "", "", _ps1];
_ps1 setParticleRandom [0, [0, 0, 0], [0.33, 0.33, 0], 0, 0.25, [0.05, 0.05, 0.05, 0.05], 0, 0];
_ps1 setDropInterval 0.5;

// Smoke part 2
private _ps2 = "#particlesource" createVehicleLocal _posATL;
_ps2 setParticleParams [
["\A3\Data_F\ParticleEffects\Universal\Universal", 16, 9, 1], "", "Billboard",
1, 15, [0, 0, 0.5], [0, 0, 2.9], 1, 1.275, 1, 0.066, [4, 5, 10, 10],
[[0.1, 0.1, 0.1, 0.75], [0.4, 0.4, 0.4, 0.5], [1, 1, 1, 0.2]],
[0], 1, 0, "", "", _ps2];
_ps2 setParticleRandom [0, [0, 0, 0], [0.5, 0.5, 0], 0, 0.25, [0.05, 0.05, 0.05, 0.05], 0, 0];
_ps2 setDropInterval 0.25;

 

Adding the code.

Copy the code from above and paste it into a text file in your project directory.
(Scenario > Open Scenario folder)

Rename the text file to “explosiveTank.sqf”; Make sure the .sqf replaces the .txt extension!

Executing the code.

Find the object you want to splodify, a fuel tank in this case and paste the code:

[this] execVM "explodingTank.sqf";

In the code you can make the explosion big by swapping “DemoCharge_Remote_Ammo_Scripted”
for “Bo_GBU12_LGB”; Beware this modified explosion is very large and can injure units that are behind hard cover!

Now once you play the scenario shooting the object will cause it to explode and throw debris into the air.

Cheers.

By Shillelagh

This is all about Arma 3 – How to Make Exploding Fuel Tank Guide – Code; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!


Best Gaming Deals
Amazon
$19.78
View
Amazon
$779.99
View
Amazon
$39.99
View
Amazon
$949.99
View
Amazon
$478.00
View
Amazon
$2,486.97
View

Be the first to comment

Leave a Reply

Your email address will not be published.


*