ArmAtec/Sandbox – User
(added loaction) |
(→Config Help: Updated it any help welcomed) |
||
Line 31: | Line 31: | ||
<code> | <code> | ||
class CfgPatches { | class CfgPatches { | ||
class WIZ_GLCMtubes { | class WIZ_GLCMtubes { | ||
Line 37: | Line 38: | ||
requiredVersion = 1.000000; | requiredVersion = 1.000000; | ||
}; | }; | ||
}; | |||
class cfgSkeletons | |||
{ | |||
class WIZ_GLCMtubes_Skeleton | |||
{ | |||
isDiscrete=1; | |||
skeletonInherit=""; | |||
skeletonBones[]= | |||
{ | |||
"levy predni","", | |||
"pravy predni","", | |||
"levy predni1","", | |||
"pravy predni1","", | |||
"levy predni2","", | |||
"pravy predni2","", | |||
"levy predni3","", | |||
"pravy predni3","", | |||
}; | |||
}; | |||
}; | }; | ||
class CfgModels { | class CfgModels { | ||
class | class Truck{}; | ||
class WIZ_GLCMtubes: | class WIZ_GLCMtubes: Truck { | ||
sectionsInherit = ""; | sectionsInherit = ""; | ||
sections[] = {section1,brzdove,svetlo,levy | sections[] = | ||
skeletonName = | { | ||
"section1", | |||
"brzdove", | |||
"svetlo", | |||
"levy predni", "pravy predni", | |||
"pravy zadni1","levy zadni1", | |||
"pravy zadni2","levy zadni2", | |||
"pravy zadni3","levy zadni3", | |||
"L svetlo", "P svetlo", | |||
"clan" | |||
}; | |||
skeletonName = WIZ_GLCMtubes_Skeleton; | |||
class Animations { | class Animations { | ||
class WIZ_GLCMtubesFrontWheelR { | class WIZ_GLCMtubesFrontWheelR { | ||
Line 186: | Line 217: | ||
class LandVehicle: Land {}; | class LandVehicle: Land {}; | ||
class Tank: LandVehicle {}; | class Tank: LandVehicle {}; | ||
class | class Truck: LandVehicle {}; | ||
class WIZ_GLCMtubes: | class WIZ_GLCMtubes: Truck { | ||
class HitEngine { | class HitEngine { | ||
armor = 1.2; | armor = 1.2; | ||
material = 60; | material = 60; | ||
Line 290: | Line 321: | ||
dammageHalf[] = {"\ca\wheeled\data\jepp4x4_glass.paa", "\ca\wheeled\data\jepp4x4_glassB.paa", "\ca\wheeled\data\jeep_kab_sklo1.paa", "\ca\wheeled\data\jeep_kab_sklo1B.paa", "\ca\wheeled\data\jeep_kab_sklo2.paa", "\ca\wheeled\data\jeep_kab_sklo2B.paa", "\ca\wheeled\data\scud_sklo.paa", "\ca\wheeled\data\scud_skloB.paa", "\ca\wheeled\data\scud_sklo2.paa", "\ca\wheeled\data\scud_sklo2B.paa", "\ca\wheeled\data\scud_sklo3.paa", "\ca\wheeled\data\scud_sklo3B.paa", "\ca\wheeled\data\scud_sklo4.paa", "\ca\wheeled\data\scud_sklo4B.paa"}; | dammageHalf[] = {"\ca\wheeled\data\jepp4x4_glass.paa", "\ca\wheeled\data\jepp4x4_glassB.paa", "\ca\wheeled\data\jeep_kab_sklo1.paa", "\ca\wheeled\data\jeep_kab_sklo1B.paa", "\ca\wheeled\data\jeep_kab_sklo2.paa", "\ca\wheeled\data\jeep_kab_sklo2B.paa", "\ca\wheeled\data\scud_sklo.paa", "\ca\wheeled\data\scud_skloB.paa", "\ca\wheeled\data\scud_sklo2.paa", "\ca\wheeled\data\scud_sklo2B.paa", "\ca\wheeled\data\scud_sklo3.paa", "\ca\wheeled\data\scud_sklo3B.paa", "\ca\wheeled\data\scud_sklo4.paa", "\ca\wheeled\data\scud_sklo4B.paa"}; | ||
dammageFull[] = {"\ca\wheeled\data\jepp4x4_glass.paa", "\ca\wheeled\data\jepp4x4_glassB.paa", "\ca\wheeled\data\jeep_kab_sklo1.paa", "\ca\wheeled\data\jeep_kab_sklo1B.paa", "\ca\wheeled\data\jeep_kab_sklo2.paa", "\ca\wheeled\data\jeep_kab_sklo2B.paa", "\ca\wheeled\data\scud_sklo.paa", "\ca\wheeled\data\scud_skloB.paa", "\ca\wheeled\data\scud_sklo2.paa", "\ca\wheeled\data\scud_sklo2B.paa", "\ca\wheeled\data\scud_sklo3.paa", "\ca\wheeled\data\scud_sklo3B.paa", "\ca\wheeled\data\scud_sklo4.paa", "\ca\wheeled\data\scud_sklo4B.paa"}; | dammageFull[] = {"\ca\wheeled\data\jepp4x4_glass.paa", "\ca\wheeled\data\jepp4x4_glassB.paa", "\ca\wheeled\data\jeep_kab_sklo1.paa", "\ca\wheeled\data\jeep_kab_sklo1B.paa", "\ca\wheeled\data\jeep_kab_sklo2.paa", "\ca\wheeled\data\jeep_kab_sklo2B.paa", "\ca\wheeled\data\scud_sklo.paa", "\ca\wheeled\data\scud_skloB.paa", "\ca\wheeled\data\scud_sklo2.paa", "\ca\wheeled\data\scud_sklo2B.paa", "\ca\wheeled\data\scud_sklo3.paa", "\ca\wheeled\data\scud_sklo3B.paa", "\ca\wheeled\data\scud_sklo4.paa", "\ca\wheeled\data\scud_sklo4B.paa"}; | ||
vehicleclass = WIZ_Tomahawk; | |||
side = 1; | side = 1; | ||
model = \WIZ_GLCMtubes\GLCMtubes.p3d; | model = \WIZ_GLCMtubes\GLCMtubes.p3d; |
Revision as of 21:25, 25 January 2007
About Me
Age: 23
Preferred game mode: Serious CTI
Likes: Realism
Dislikes: Tking
Website: Armatechsquad
Sex: Male and yes please
Location: England
Payed for arma: December 06
Handy Hints
JIP problems add this to the init.sq(s/f)
@!isNull player
Config Help
Need help with this guys its a 8 wheeled truck but i keep getting not defined default when i add class default it still dont work correctly any help welcomed would also liek to add a animation to the doors
class CfgPatches {
class WIZ_GLCMtubes {
units[] = {WIZ_GLCMtubes,WIZ_TraRadar,WIZ_TraPod,WIZ_TraComm,WIZ_TraAnten};
weapons[] = {};
requiredVersion = 1.000000;
};
};
class cfgSkeletons
{
class WIZ_GLCMtubes_Skeleton
{
isDiscrete=1;
skeletonInherit="";
skeletonBones[]=
{
"levy predni","",
"pravy predni","",
"levy predni1","",
"pravy predni1","",
"levy predni2","",
"pravy predni2","",
"levy predni3","",
"pravy predni3","",
};
};
};
class CfgModels {
class Truck{};
class WIZ_GLCMtubes: Truck {
sectionsInherit = "";
sections[] =
{
"section1",
"brzdove",
"svetlo",
"levy predni", "pravy predni",
"pravy zadni1","levy zadni1",
"pravy zadni2","levy zadni2",
"pravy zadni3","levy zadni3",
"L svetlo", "P svetlo",
"clan"
};
skeletonName = WIZ_GLCMtubes_Skeleton;
class Animations {
class WIZ_GLCMtubesFrontWheelR {
type = rotationX;
source = wheel;
selection = pravy predni;
axis = "";
memory = true;
sourceAddress = loop;
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = rad -360;
};
class WIZ_GLCMtubesFrontWheelL {
type = rotationX;
source = wheel;
selection = levy predni;
axis = "";
memory = true;
sourceAddress = loop;
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = rad -360;
};
class WIZ_GLCMtubesFrontWheelRTurn {
type = rotationY;
source = drivingWheel;
selection = pravy predni;
axis = "";
memory = true;
sourceAddress = clamp;
minValue = -1;
maxValue = 1;
angle0 = rad 25;
angle1 = rad -25;
};
class WIZ_GLCMtubesFrontWheelLTurn {
type = rotationY;
source = drivingWheel;
selection = levy predni;
axis = "";
memory = true;
sourceAddress = clamp;
minValue = -1;
maxValue = 1;
angle0 = rad 25;
angle1 = rad -25;
};
class WIZ_GLCMtubesRearWheelR {
type = rotationX;
source = wheel;
selection = pravy zadni;
axis = "";
memory = true;
sourceAddress = loop;
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = rad -360;
};
class WIZ_GLCMtubesRearWheelR2 {
type = rotationX;
source = wheel;
selection = pravy zadni2;
axis = "";
memory = true;
sourceAddress = loop;
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = rad -360;
};
class WIZ_GLCMtubesRearWheelR3 {
type = rotationX;
source = wheel;
selection = pravy zadni3;
axis = "";
memory = true;
sourceAddress = loop;
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = rad -360;
};
class WIZ_GLCMtubesRearWheelL {
type = rotationX;
source = wheel;
selection = levy zadni;
axis = "";
memory = true;
sourceAddress = loop;
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = rad -360;
};
class WIZ_GLCMtubesRearWheelL2 {
type = rotationX;
source = wheel;
selection = levy zadni2;
axis = "";
memory = true;
sourceAddress = loop;
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = rad -360;
};
class WIZ_GLCMtubesRearWheelL3 {
type = rotationX;
source = wheel;
selection = levy zadni3;
axis = "";
memory = true;
sourceAddress = loop;
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = rad -360;
};
class WIZ_GLCMtubesDrivingWheel {
type = rotationZ;
source = drivingWheel;
selection = volant;
axis = osavolantkon;
memory = true;
sourceAddress = mirror;
minValue = -1;
maxValue = 1;
angle0 = rad -35;
angle1 = rad 35;
};
};
};
};
class CfgVehicles {
class All {};
class AllVehicles: All {};
class Land: AllVehicles {};
class LandVehicle: Land {};
class Tank: LandVehicle {};
class Truck: LandVehicle {};
class WIZ_GLCMtubes: Truck {
class HitEngine {
armor = 1.2;
material = 60;
name = "motor";
visual = "motor";
passThrough = true;
};
class HitRGlass {
armor = 0.5;
material = -1;
name = "sklo predni P";
passThrough = true;
};
class HitLGlass {
armor = 0.5;
material = -1;
name = "sklo predni L";
passThrough = true;
};
class HitBody {
armor = 0.4;
material = 51;
name = "karoserie";
visual = "karoserie";
passThrough = true;
};
class HitFuel {
armor = 1.4;
material = 51;
name = "palivo";
passThrough = true;
};
class HitLFWheel {
armor = 0.05;
material = -1;
name = "Levy predni tlumic";
visual = "Levy predni";
passThrough = true;
};
class HitRFWheel {
armor = 0.05;
material = -1;
name = "Pravy predni tlumic";
visual = "Pravy predni";
passThrough = true;
};
class HitLF2Wheel {
armor = 0.05;
material = -1;
name = "Levy dalsi tlumic";
visual = "Levy dalsi";
passThrough = true;
};
class HitRF2Wheel {
armor = 0.05;
material = -1;
name = "Pravy dalsi tlumic";
visual = "Pravy dalsi";
passThrough = true;
};
class HitLMWheel {
armor = 0.05;
material = -1;
name = "Levy prostredni tlumic";
visual = "Levy prostredni";
passThrough = true;
};
class HitRMWheel {
armor = 0.05;
material = -1;
name = "Pravy prostredni tlumic";
visual = "Pravy prostredni";
passThrough = true;
};
class HitLBWheel {
armor = 0.05;
material = -1;
name = "Levy zadni tlumic";
visual = "Levy zadni";
passThrough = true;
};
class HitRBWheel {
armor = 0.05;
material = -1;
name = "Pravy zadni tlumic";
visual = "Pravy zadni";
passThrough = true;
};
dammageHalf[] = {"\ca\wheeled\data\jepp4x4_glass.paa", "\ca\wheeled\data\jepp4x4_glassB.paa", "\ca\wheeled\data\jeep_kab_sklo1.paa", "\ca\wheeled\data\jeep_kab_sklo1B.paa", "\ca\wheeled\data\jeep_kab_sklo2.paa", "\ca\wheeled\data\jeep_kab_sklo2B.paa", "\ca\wheeled\data\scud_sklo.paa", "\ca\wheeled\data\scud_skloB.paa", "\ca\wheeled\data\scud_sklo2.paa", "\ca\wheeled\data\scud_sklo2B.paa", "\ca\wheeled\data\scud_sklo3.paa", "\ca\wheeled\data\scud_sklo3B.paa", "\ca\wheeled\data\scud_sklo4.paa", "\ca\wheeled\data\scud_sklo4B.paa"};
dammageFull[] = {"\ca\wheeled\data\jepp4x4_glass.paa", "\ca\wheeled\data\jepp4x4_glassB.paa", "\ca\wheeled\data\jeep_kab_sklo1.paa", "\ca\wheeled\data\jeep_kab_sklo1B.paa", "\ca\wheeled\data\jeep_kab_sklo2.paa", "\ca\wheeled\data\jeep_kab_sklo2B.paa", "\ca\wheeled\data\scud_sklo.paa", "\ca\wheeled\data\scud_skloB.paa", "\ca\wheeled\data\scud_sklo2.paa", "\ca\wheeled\data\scud_sklo2B.paa", "\ca\wheeled\data\scud_sklo3.paa", "\ca\wheeled\data\scud_sklo3B.paa", "\ca\wheeled\data\scud_sklo4.paa", "\ca\wheeled\data\scud_sklo4B.paa"};
vehicleclass = WIZ_Tomahawk;
side = 1;
model = \WIZ_GLCMtubes\GLCMtubes.p3d;
displayName = Tomahawk Ground Launcher Unit;
soundEngine[] = {\ca\Tracked\Data\Sound\M1A1_engine,12.589254,0.850000};
soundEnviron[] = {\ca\Tracked\Data\Sound\M1A1_treads2,10.000000,1};
soundServo[] = {"\ca\wheeled\Data\Sound\servo3", db-40, 1.0};
soundGetOut[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
soundGetIn[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
soundCrash[] = {"\ca\wheeled\Data\Sound\crash2", db-10, 1};
soundGear[] = {"\ca\wheeled\Data\Sound\shifter_v3", db-75, 1};
typicalCargo[] = {"SoldierWB", "SoldierWB", "SoldierWAT", "SoldierWBOfficer"};
driverCastShadow = 1;
supplyRadius = 1.2;
hasGunner = false;
terrainCoef = 0.5;
hascommander = 0;
forcehidedriver = 1;
driverForceOptics = 1;
hideProxyInCombat = 0;
hiddenSelections[] = {};
nameSound = humvee;
scope = 2;
armor = 300;
maxSpeed = 60;
canfloat = true;
fuelCapacity = 180;
driverAction = "HMMWV_Driver";
cargoAction[] = {"HMMWV_Cargo01", "HMMWV_Cargo01", "UAZ_Cargo01"};
canLock = LockNo;
unitInfoType = "UnitInfoSoldier";
cargoIsCoDriver[] = {1};
transportSoldier = 1;
transportAmmo = 0;
crew = SoldierWCrew;
preferRoads = true;
cost = 50000;
castDriverShadow = 1;
weapons[] = {TruckHorn};
magazines[] = {};
threat[] = {1, 0.1, 0.4};
class Exhausts {
class Exhaust1 {
position = vyfuk start;
direction = vyfuk konec;
effect = ExhaustsEffectBig;
};
};
class sections {};
class Animationssources {};
class DestructionEffects {
class Light1 {
simulation = Light;
type = ObjectDestructionLight;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Smoke1 {
simulation = particles;
type = ObjectDestructionSmoke;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Fire1 {
simulation = particles;
type = ObjectDestructionFire;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Sparks1 {
simulation = particles;
type = ObjectDestructionSparks;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class sound {
simulation = sound;
type = "";
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
};
class EventHandlers {
init = "";
IncomingMissile = "";
killed = "";
hit = "";
engine = "";
};
};
class WIZ_TraAnten: Tank {
vehicleclass = WIZ_Tomahawk;
side = 1;
model = \WIZ_GLCMtubes\TraAnten.p3d;
displayName = Ground Launcher Unit Trailer Anteni;
soundEngine[] = {\ca\Tracked\Data\Sound\M1A1_engine,12.589254,0.850000};
soundEnviron[] = {\ca\Tracked\Data\Sound\M1A1_treads2,10.000000,1};
soundGetOut[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
soundGetIn[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
typicalCargo[] = {SoldierWCrew};
driverCastShadow = 1;
hasgunner = 0;
hascommander = 0;
forcehidedriver = 1;
driverForceOptics = 1;
hideProxyInCombat = 0;
hiddenSelections[] = {};
nameSound = Abrams;
scope = 2;
armor = 300;
maxSpeed = 60;
fuelCapacity = 180;
driverAction = Abrams_DriverOut;
driverInAction = Abrams_Driver;
cargoAction[] = {};
cargoIsCoDriver[] = {1};
transportSoldier = 0;
transportAmmo = 0;
crew = SoldierWCrew;
preferRoads = true;
cost = 50000;
castDriverShadow = 1;
weapons[] = {};
magazines[] = {};
soundGear[] = {"",0,4};
class Exhausts {
class Exhaust1 {
position = vyfuk start;
direction = vyfuk konec;
effect = ExhaustsEffectBig;
};
};
class sections {};
class Animationssources {};
class DestructionEffects {
class Light1 {
simulation = Light;
type = ObjectDestructionLight;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Smoke1 {
simulation = particles;
type = ObjectDestructionSmoke;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Fire1 {
simulation = particles;
type = ObjectDestructionFire;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Sparks1 {
simulation = particles;
type = ObjectDestructionSparks;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class sound {
simulation = sound;
type = "";
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
};
class EventHandlers {
init = "";
IncomingMissile = "";
killed = "";
hit = "";
engine = "";
};
};
class WIZ_TraComm: Tank {
vehicleclass = WIZ_Tomahawk;
side = 1;
model = \WIZ_GLCMtubes\TraComm.p3d;
displayName = Ground Launcher Unit Trailer Command;
soundEngine[] = {\ca\Tracked\Data\Sound\M1A1_engine,12.589254,0.850000};
soundEnviron[] = {\ca\Tracked\Data\Sound\M1A1_treads2,10.000000,1};
soundGetOut[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
soundGetIn[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
typicalCargo[] = {SoldierWCrew};
driverCastShadow = 1;
hasgunner = 0;
hascommander = 0;
forcehidedriver = 1;
driverForceOptics = 1;
hideProxyInCombat = 0;
hiddenSelections[] = {};
nameSound = Abrams;
scope = 2;
armor = 300;
maxSpeed = 60;
fuelCapacity = 180;
driverAction = Abrams_DriverOut;
driverInAction = Abrams_Driver;
cargoAction[] = {};
cargoIsCoDriver[] = {1};
transportSoldier = 0;
transportAmmo = 0;
crew = SoldierWCrew;
preferRoads = true;
cost = 50000;
castDriverShadow = 1;
weapons[] = {};
magazines[] = {};
soundGear[] = {"",0,4};
class Exhausts {
class Exhaust1 {
position = vyfuk start;
direction = vyfuk konec;
effect = ExhaustsEffectBig;
};
};
class sections {};
class Animationssources {};
class DestructionEffects {
class Light1 {
simulation = Light;
type = ObjectDestructionLight;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Smoke1 {
simulation = particles;
type = ObjectDestructionSmoke;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Fire1 {
simulation = particles;
type = ObjectDestructionFire;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Sparks1 {
simulation = particles;
type = ObjectDestructionSparks;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class sound {
simulation = sound;
type = "";
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
};
class EventHandlers {
init = "";
IncomingMissile = "";
killed = "";
hit = "";
engine = "";
};
};
class WIZ_TraPod: Tank {
vehicleclass = WIZ_Tomahawk;
side = 1;
model = \WIZ_GLCMtubes\TraPod.p3d;
displayName = Ground Launcher Unit Trailer Pods;
soundEngine[] = {\ca\Tracked\Data\Sound\M1A1_engine,12.589254,0.850000};
soundEnviron[] = {\ca\Tracked\Data\Sound\M1A1_treads2,10.000000,1};
soundGetOut[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
soundGetIn[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
typicalCargo[] = {SoldierWCrew};
driverCastShadow = 1;
hasgunner = 1;
hasdriver = 1;
hascommander = 0;
forcehidedriver = 0;
driverForceOptics = 0;
hideProxyInCombat = 0;
hiddenSelections[] = {};
nameSound = Abrams;
scope = 2;
armor = 300;
maxSpeed = 60;
fuelCapacity = 180;
driverAction = Abrams_DriverOut;
driverInAction = Abrams_Driver;
cargoAction[] = {};
cargoIsCoDriver[] = {1};
transportSoldier = 0;
transportAmmo = 0;
crew = SoldierWCrew;
preferRoads = true;
cost = 50000;
castDriverShadow = 1;
weapons[] = {};
magazines[] = {};
soundGear[] = {"",0,4};
class Exhausts {
class Exhaust1 {
position = vyfuk start;
direction = vyfuk konec;
effect = ExhaustsEffectBig;
};
};
class sections {};
class Animationssources {};
class DestructionEffects {
class Light1 {
simulation = Light;
type = ObjectDestructionLight;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Smoke1 {
simulation = particles;
type = ObjectDestructionSmoke;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Fire1 {
simulation = particles;
type = ObjectDestructionFire;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Sparks1 {
simulation = particles;
type = ObjectDestructionSparks;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class sound {
simulation = sound;
type = "";
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
};
class EventHandlers {
init = "[_this select 0] exec ""\WIZ_GLCMtubes\system.sqs""";
IncomingMissile = "";
killed = "";
hit = "";
engine = "";
};
};
class WIZ_TraRadar: Tank {
vehicleclass = WIZ_Tomahawk;
side = 1;
model = \WIZ_GLCMtubes\TraRadar.p3d;
displayName = Ground Launcher Unit Trailer Radar;
soundEngine[] = {\ca\Tracked\Data\Sound\M1A1_engine,12.589254,0.850000};
soundEnviron[] = {\ca\Tracked\Data\Sound\M1A1_treads2,10.000000,1};
soundGetOut[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
soundGetIn[] = {\ca\Tracked\Data\Sound\tank_door,0.010000,1};
typicalCargo[] = {SoldierWCrew};
driverCastShadow = 0;
hasgunner = 0;
hascommander = 0;
forcehidedriver = 0;
driverForceOptics = 0;
hideProxyInCombat = 0;
hiddenSelections[] = {};
nameSound = Abrams;
scope = 2;
armor = 300;
maxSpeed = 60;
fuelCapacity = 180;
driverAction = Abrams_DriverOut;
driverInAction = Abrams_Driver;
cargoAction[] = {};
cargoIsCoDriver[] = {1};
transportSoldier = 0;
transportAmmo = 0;
crew = SoldierWCrew;
preferRoads = true;
cost = 50000;
castDriverShadow = 1;
weapons[] = {};
magazines[] = {};
soundGear[] = {"",0,4};
class Exhausts {
class Exhaust1 {
position = vyfuk start;
direction = vyfuk konec;
effect = ExhaustsEffectBig;
};
};
class sections {};
class Animationssources {};
class DestructionEffects {
class Light1 {
simulation = Light;
type = ObjectDestructionLight;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Smoke1 {
simulation = particles;
type = ObjectDestructionSmoke;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Fire1 {
simulation = particles;
type = ObjectDestructionFire;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class Sparks1 {
simulation = particles;
type = ObjectDestructionSparks;
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
class sound {
simulation = sound;
type = "";
position = destructionEffect1;
intensity = 1;
interval = 1;
lifeTime = 1;
};
};
class EventHandlers {
init = "";
IncomingMissile = "";
killed = "";
hit = "";
engine = "";
};
};
};
Scripts
Create Discoball effect
_Uposaa = discoheli
_light = "#lightpoint" createVehicleLocal getpos _Uposaa;
_light lightAttachObject [_Uposaa, [0,0,0]]
- redo
_light setLightBrightness random 1.0;
_light setLightAmbient[random 1.0, random 1.0, random 1.0];
_light setLightColor[random 1.0, random 1.0, random 1.0];
~0.01
goto"redo"
Create Smoke effects (Drop commands)
_craft =_this select 0;
_VelAng = compile LoadFile "functions\VelAng.sqf"
- \ca\data\ParticleEffects\BLOOD\BLOOD
- \ca\data\ParticleEffects\CLOUDLETSAND\CLOUDLETSAND
- \ca\data\ParticleEffects\CLOUDLETWATER\CLOUDLETWATER
- \ca\data\ParticleEffects\FireAndSmokeAnim\SmokeAnim
- \ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim
- \ca\data\ParticleEffects\PSTONE\PSTONE
- \ca\data\ParticleEffects\RocketSmoke\RocketSmoke
- \ca\data\ParticleEffects\SPARKSEFFECT\SPARKSEFFECT
- \ca\data\ParticleEffects\WATEREFFECTS\WATEREFFECTS
- top
_dir = getDir _craft
_pos2 = getPosasl _craft
_pitch = [_craft] call _VelAng
_yoff = -3 + cos _pitch
_zoff = -3 + sin _pitch
_ang = 30
_v = 2
_hvel = _v * Cos _ang
_xvel = 0
_yvel = _hvel
_zvel = _hvel * Tan _ang
_shape = ["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim",8,5,8];
_animationame = "";
_type = "billboard";
_timerperiod = .5;
_lifetime = 1;
_pos = [((_pos2 select 1)+(_yoff * sin _dir)) ,((_pos2 select 1)+(_yoff * cos _dir)), ((_pos2 select 2) + _zoff)]
hint format ["%1",_pos]
_movevel = [_xvel , _yvel, _zvel]
_rotationvel = 1;
_weight = 1;
_volume = .5;
_rubbing = 0;
_size = [0.5,6,10];
_col_anim_ranp = [[0.2,0.17,0.124,0.4],[0.5,0.46,0.31,0.1],[1,1,1,0]];
_randirintensity = [0.2];
_ontimer = 1.2;
_beforedestroy = 0.25;
_uknown1 = ""
_uknown2 = ""
_uknown3 = ""
drop [_shape, _animationame, _type, _timerperiod, _lifetime, _pos,_movevel,_rotationvel,_weight,_volume,_rubbing,_size, _col_anim_ranp, _randirintensity, _ontimer, _beforedestroy, _uknown1, _uknown2, _uknown3];
?(WIZ_TOMtest) :goto"exi"
~0.01
goto"top"
- exit
exit