Pls help which part of this download do i use to make just the explosoin sqs work.i have played with it and made my own mission and done every thing the same as the example mission. but it wont work. which part makes up the explosion.sqs
;Script by MP - markpalmer@hotmail.com
;Based on script created by David Berka (David.Berka@nmi.at) respect is due
;creates a large explosion at an object location, vehicle, infantry etc..
;can be easily modified to accept coords, but you know that already ;-)
;usage: [objectname] exec "explosion.sqs"
This is the explosion part.
_AmmoType = "Heat120"
_Unit = _this select 0
_Explosion = GetPos _Unit
_cx = _Explosion select 0
_cy = _Explosion select 1
_cz = _Explosion select 2
_tempObj = _AmmoType camCreate[_cx, _cy, _cz]
~0.01
_tempobj = objNull
exit
this is the mission prt
version=11.000000;
class Mission
{
addOns[]={};
randomSeed=2428419.000000;
class Intel
{
briefingName="ExplosionTest";
};
class Groups
{
items=2.000000;
class Item0
{
side="WEST";
class Vehicles
{
items=1.000000;
class Item0
{
position[]={4795.351563,24.660000,11732.665039};
azimut=180.000000;
id=0.000000;
side="WEST";
vehicle="SoldierWB";
player="PLAYER COMMANDER";
leader=1.000000;
skill=0.200000;
markers[]={};
};
};
};
class Item1
{
side="WEST";
class Vehicles
{
items=1.000000;
class Item0
{
position[]={4797.204590,24.660000,11541.226563};
azimut=355.000000;
special="NONE";
id=1.000000;
side="WEST";
vehicle="Truck5tOpen";
leader=1.000000;
skill=0.200000;
text="Truck1";
markers[]={};
};
};
class Waypoints
{
items=1.000000;
class Item0
{
position[]={4795.351563,24.660000,11661.595703};
expActiv="[truck1] exec ""explosion.sqs""";
synchronizations[]={};
class Effects
{
};
showWP="NEVER";
};
};
};
};
};
class Intro
{
addOns[]={};
randomSeed=14477315.000000;
class Intel
{
};
};
class OutroWin
{
addOns[]={};
randomSeed=1754627.000000;
class Intel
{
};
};
class OutroLoose
{
addOns[]={};
randomSeed=12487171.000000;
class Intel
{
};
};