Jump to content
Sign in to follow this  
stephsen

Random artillery impacts over a certain range

Recommended Posts

Hi Community,

my question is gived a mod or a script for random artillery impacts over a certain range,im remember that was a modul in ww1 mod for ofp1 ...you set this modul target in the editor on the map and in this certain range comes random artillery impacts on the ground,so in a 5sec tact i think.That was wonderful for the battlefield atmosphere.Is that possible as script or mod in Arma2.That would be really great:o

Stephsen

Share this post


Link to post
Share on other sites
Hi Community,

my question is gived a mod or a script for random artillery impacts over a certain range,im remember that was a modul in ww1 mod for ofp1 ...you set this modul target in the editor on the map and in this certain range comes random artillery impacts on the ground,so in a 5sec tact i think.That was wonderful for the battlefield atmosphere.Is that possible as script or mod in Arma2.That would be really great:o

Stephsen

can be done with a script, here's a very simple script:

if (mortar1) then
{
iniposX = (mortar1Pos select 0) - 50;
iniposY = (mortar1Pos select 1) - 50;
dropPosX = iniposX + (random 100);
dropPosY = iniposY + (random 100);
shell = "Sh_85_HE" createVehicle [dropPosX, dropPosY, 150];
sleep 3;

iniposX = (mortar1Pos select 0) - 50;
iniposY = (mortar1Pos select 1) - 50;
dropPosX = iniposX + (random 100);
dropPosY = iniposY + (random 100);
shell = "Sh_85_HE" createVehicle [dropPosX, dropPosY, 150];
sleep 3;

iniposX = (mortar1Pos select 0) - 50;
iniposY = (mortar1Pos select 1) - 50;
dropPosX = iniposX + (random 100);
dropPosY = iniposY + (random 100);
shell = "Sh_85_HE" createVehicle [dropPosX, dropPosY, 150];
sleep 3;

iniposX = (mortar1Pos select 0) - 50;
iniposY = (mortar1Pos select 1) - 50;
dropPosX = iniposX + (random 100);
dropPosY = iniposY + (random 100);
shell = "Sh_85_HE" createVehicle [dropPosX, dropPosY, 150];
sleep 3;

iniposX = (mortar1Pos select 0) - 50;
iniposY = (mortar1Pos select 1) - 50;
dropPosX = iniposX + (random 100);
dropPosY = iniposY + (random 100);
shell = "Sh_85_HE" createVehicle [dropPosX, dropPosY, 150];
sleep 3;

mortar1 = false;
};

Share this post


Link to post
Share on other sites

OhThanx @JW,

But how does it work ? i set a trigger on the map with this text or i must this convert in a sqf file ??

Share this post


Link to post
Share on other sites

I did some random arty on my map just by creating a marker.

Have a look at SbSMAC script. (search in multiplayer forum section)

Share this post


Link to post
Share on other sites
Guest

I have his scripts RoME, but how do i create the actual artillery? I put the Artillery script in my mission, and created a marker called artillery.

Nothing happens though.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×