IRONFRONT FANS FORUM
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,752
Reply with quote  #1 
Download:
Katyusha Rockets Barrage Script

Katyusha Rockets Barrage Script

by Laguerre


//* Script by Laguerre lalaskull@gmail.com youtube--> https://www.youtube.com/user/Armaholico?feature=mhee*//
//*This part goes into an in-editor trigger nul=[] execVM "scripts\click.sqf"; Once active next on map click will execute rocket barrage//
//*In editor plave any Soviet soldier and give name "Katyusha" for global radio chat msg (hq sidechat doesn't seem to work in IF?)//
//*PLace invisible helipad (objects) give name "RocketTarget"//

Katyusha globalChat "Katyusha rocket battery standing by. When your ready send us map co-ordinates, over";
openmap true;
onMapSingleClick "[] execVm 'scripts\120mmRocket.sqf'; RocketTarget setPos _pos; openmap false; onMapSingleClick ''; true;";
end;


//* Script by Laguerre lalaskull@gmail.com youtube-->< https://www.youtube.com/user/Armaholico?feature=mhee>*//
//*This script is executed when player clicks on map, activated by click.sqf//
//*In editor plave any Soviet soldier and give name "Katyusha" for global radio chat msg (hq sidechat doesn't seem to work in IF?)//
//*PLace invisible helipad (objects) give name "RocketTarget"//


Katyusha globalChat "Roger, co-ordinates recieved, Katyusha barrage commencing. Please stand by for splash";

RocketTarget setPosATL [(getPosATL RocketTarget select 0) +3900, (getPosATL RocketTarget select 1), (getPosATL RocketTarget select 2) +1000];
sleep 15;

for [{_i=0}, {_i<16}, {_i=_i+1}] do
{
_rocket= createVehicle ["R_BM13", getPos RocketTarget, [], 0, "none"];
_rocket setPos [(getpos RocketTarget select 0) +(random 50 - random 50), (getpos RocketTarget select 1) +(random 50 - random 50), (getpos RocketTarget select 2)];
_rocket setVelocity [-500, 0 +(random 25 -random 25), -125];
sleep 1;
};
sleep 15;
Katyusha globalChat "Rounds Complete. Reloading, will inform when next rounds ready, over";

__________________
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,752
Reply with quote  #2 
Script is now hosted on the MR, also comes with a readme.
Download on first post.

note: it was tricky to decipher what the names of the scripts were based on the code provided, but i think i got it,
any troubles then either ask in reply, or look at the code.

__________________
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.