Welcome to the Iron Front Fan Forums!
Sign up Latest Topics
 
 
 


Reply
  Author   Comment   Page 2 of 2      Prev   1   2
scottdog

Corporal
Registered:
Posts: 68
Reply with quote  #16 

Done that changed the round to german mortor round "LIB_Sh_81_HE". And made a guy run through all triggers 1 to 2 to 3.

The mortor round whistles in the air but never lands and explodes. 

0
Santa Six

Avatar / Picture

Colonel
Registered:
Posts: 358
Reply with quote  #17 
Have you tried an Arma 3 forum?

@Joe98
Why not add optional values to the command line? That way you can change thing in game. Like so.
_null = [(where),(How many),(How wide)] execVM "arty.sqf";

 
_target = _this select 0;
_rounds = _this select 1;
_radius = _this select 2;
_types = ["ARTY_LIB_Sh_81_HE","ARTY_LIB_Sh_81_HE"]; /// Array of Explosions
 
while {_rounds > 0} do {
_X = getpos _target select 0;
_Y = getpos _target select 1;
_X = _X+((Random _radius)-25);
_Y = _Y+((Random _radius)-25);
sleep 1;
_type = _types select (random 1);
sleep .1;
_Bomb = _type createVehicle [_X,_Y,10];
 
sleep 4;
_rounds = _rounds - 1; /// Decrease rounds for every explosion
};
 
0
Joe98

Avatar / Picture

Captain
Registered:
Posts: 196
Reply with quote  #18 
To Scottdog.

It might be that Arma3 expects different class names for the ammo.  You can check by doing this.

Place a German mortar on the map with yourself as gunner

In the init type: 

this addeventhandler ["fired",{hint format ["Weapon name : %1 Ammo name : %2",_this select 1,_this select 4]}]


Fire the weapon. The name of the weapon and the class name of the ammo will be displayed.

Then compare the name with ARTY_LIB_Sh_81_HE   and see what you get.




0
scottdog

Corporal
Registered:
Posts: 68
Reply with quote  #19 
yeh, i guess. Ill hopefully wait for everyone to start using arma 3
0
santiagojamesaea

Sergeant
Registered:
Posts: 106
Reply with quote  #20 
hi there,
i am a complete idiot with computers,but,tay-uk gave gave me a misión where artillery was falling on an área.I changed it so that it "deleted"when you entered into a trigger zone (so you don't blow yourself up!!!).It Works great and is huge fun.There is also a smoke Shell,so some rounds are he and others smoke.....
As i am a complete idiot with uploading things-i can't even put a screen shot on line-if you trust me send me a pm with your e mail and i'll send you the template misión i use.
You must remember the work is NOT mine...it's Tay uk's!
0
Joe98

Avatar / Picture

Captain
Registered:
Posts: 196
Reply with quote  #21 
PM sent!
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.