Jump to content
Sign in to follow this  
f2f_bho

Mk19 Smoke rounds

Recommended Posts

Hello community, A fellow member of my squad wants add smoke rounds for the Mk19 Grenade launcher, as i have not finished any weapons(ammo) as of yet i am alittle behind on what needs to happen to define a new Ammo class for this weapon, any and all serious replies will be taken into consideration...thanks

Share this post


Link to post
Share on other sites

get eliteness or any other pbo extraction+cpp_encode app and unpack the original weapons pbo. look into the config and you'll fnd everything you need.

Share this post


Link to post
Share on other sites
get eliteness or any other pbo extraction+cpp_encode app and unpack the original weapons pbo. look into the config and you'll fnd everything you need.

thanks for the response Bad Benson, i think he wants to stagger the

rounds like tracers, having a smoke round every 10th round spotting target area ... is this a plausible and possible mod/script?

Share this post


Link to post
Share on other sites

switching the ammo type while emptying a magazine doesn't work with just a config i think. and using a "fired" eventhandler to switch the projectiles seems an overkill since you would have to apply velocity, direction and angle to the new projectile manually i think.

the best way would be to emit particles from the projectile. it's pretty easy needs some effort to make it visible for everyone in MP though. i actually have an example mission to show how it works. will upload it later today. it's not working in MP though (means not visible for all) so that would need to be taken care of.

that's all i can think of right now. i might be missing a better solution. maybe someone else has more ideas. if it's just an effect for the shooter to help aiming and is not needed as a global effect than it should be easy.

Share this post


Link to post
Share on other sites

If you create a new magazine type and give it the 40mm smoke shells, you could add that magazine to the mk19. Then use the 'switch mag' key (default "F") to switch between standard HE and new smoke mags.

Share this post


Link to post
Share on other sites
If you create a new magazine type and give it the 40mm smoke shells, you could add that magazine to the mk19. Then use the 'switch mag' key (default "F") to switch between standard HE and new smoke mags.

Again thanks for the replies, we will look into that , looking forward to the mission upload....

Share this post


Link to post
Share on other sites

i was kinda busy and also realised i didn't have the mission in question anymore. anyways i recreated it. there's really not much too it.

http://www.sendspace.com/file/0fs1sa <------link updated

in the following links you can find all you need to understand how it works. you can tweak the actual effect yourself pretty easily.

the "every 10 rounds" part isn't included but that's fairly easy to do so i'll trust you on that.

reference:

http://community.bistudio.com/wiki/ArmA_2:_Event_Handlers#Fired

http://community.bistudio.com/wiki/ParticleArray

as i explained before the triggering of the actual effect takes place in the event handler. so for the syntax check the init field of the unit in the example mission.

EDIT: link updated. had to remove addon dependancy

Edited by Bad Benson

Share this post


Link to post
Share on other sites

for anyone intrested. i updated the link. the mission had an addon dependancy...

Share this post


Link to post
Share on other sites

i've been working on this too for the dingo to fire gas, flares and smoke as well as HE

here's the config entries i developed so far - this is still unreleased WIP but you can pick out the smoke stuff easily enough

it uses BD's gas grenades.

HOWEVER, on testing the HE and gas worked perfectly BUT the smoke and flares wouldn't fire - still debugging at the moment.

also the dingo has a broken inheritance im still trying to trace.

i'm planningto add this to the KA60 chopper too.

hope it helps - feel free to borrow anything you need

#define _ARMA_


//Class config.bin{
class CfgPatches
{
class Gasmod
{
 requiredVersion = 1.59;
 requiredAddons[] = {"CA_E","CA_ACR","CAWheeled","CAWheeled_E","CAWeapons","CAWeapons_E","CAWeapons_E_GrenadeLauncher","CAWeapons2","CAWheeled_ACR","CAWheeled_ACR_Dingo","CAWeapons_E_AmmoBoxes","CAWEAPONS_ACR","GLmod"};

 weapons[] = {};
 units[] = {};
 version = "1.0";
 fileName = "Gasmod.pbo";
 author = "Eggbeast source credits: Big Dawg KS and Xeno";
};
};
class CfgAddons
{
class PreloadAddons
{
 class Gasmod
 {
  list[] = {"Gasmod"};
 };
};
};

class cfgAmmo
{
class Default;
class BulletCore;
class BulletBase;
class GrenadeCore;
class GrenadeBase;

class G_40mm_HE: GrenadeBase
{
 soundHit[] = {"Ca\sounds\Weapons\explosions\GP25_explosion",3.16228,1,1300};
 simulation = "shotShell";
 model = "\ca\Weapons\granat";
 hit = 15;
 indirectHit = 11;
 indirectHitRange = 6;
 visibleFire = 16;
 audibleFire = 18;
 visibleFireTime = 3;
 explosive = 1;
 cost = 10;
 deflecting = 5;
 airFriction = -0.001064;
 fuseDistance = 15;
 whistleDist = 5;
};
};
class CfgMagazines
{
class Default;
class CA_Magazine;
class VehicleMagazine;

class 48Rnd_40mm_MK19: VehicleMagazine
{
 scope = 2;
 displayName = "$STR_DN_MK19";
 ammo = "G_40mm_HE";
 count = 48;
 initSpeed = 240;
 maxLeadSpeed = 100;
 nameSound = "grenadelauncher";
};
class EB_48Rnd_40mm_Chem_MK19: 48Rnd_40mm_MK19
{
 displayName = "48Rnd. 40mm Gas Grenades";
 ammo = "BD_G_40mm_Chem";
 descriptionShort = "48Rnd. 40mm Lethal Chemical Grenades for Mk19 GMG";
 count = 48;
};
class EB_48Rnd_40mm_SmokeRed_MK19: 48Rnd_40mm_MK19
{
 displayName = "48Rnd. 40mm Red Smoke";
 descriptionShort = "48Rnd. 40mm Red Smoke Grenades for Mk19 GMG";
 ammo = "G_40mm_SmokeRed";
 count = 48;
};
class EB_48Rnd_40mm_SmokeGreen_MK19: 48Rnd_40mm_MK19
{
 displayName = "48Rnd. 40mm Green Smoke";
 descriptionShort = "48Rnd. 40mm Red Green Grenades for Mk19 GMG";
 ammo = "G_40mm_SmokeGreen";
 count = 48;
};
class EB_48Rnd_40mm_FlareGreen_MK19: 48Rnd_40mm_MK19
{
 displayName = "48Rnd. 40mm Green Flare";
 ammo = "F_40mm_Green";
 descriptionShort = "48Rnd. 40mm Green Flare Grenades for Mk19 GMG";
 count = 48;
};
class EB_48Rnd_40mm_FlareWhite_MK19: 48Rnd_40mm_MK19
{
 displayName = "48Rnd. 40mm White Flare";
 descriptionShort = "48Rnd. 40mm White Flare Grenades for Mk19 GMG";
 ammo = "F_40mm_White";
 count = 48;
};
};

class cfgWeapons
{
class Default;
class MGunCore;
class MGun;
class MK19: MGun
{
 magazines[] = {"48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","EB_48Rnd_40mm_Chem_MK19","EB_48Rnd_40mm_Chem_MK19","EB_48Rnd_40mm_SmokeRed_MK19","EB_48Rnd_40mm_SmokeGreen_MK19","EB_48Rnd_40mm_FlareGreen_MK19","EB_48Rnd_40mm_FlareWhite_MK19"};
};
class GMG_veh_ACR: MK19
{
 magazines[] = {"48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","EB_48Rnd_40mm_Chem_MK19","EB_48Rnd_40mm_Chem_MK19","EB_48Rnd_40mm_SmokeRed_MK19","EB_48Rnd_40mm_SmokeGreen_MK19","EB_48Rnd_40mm_FlareGreen_MK19","EB_48Rnd_40mm_FlareWhite_MK19"};
};
};

class cfgVehicles
{
class Land;
class LandVehicle: Land
{
 class NewTurret;
 class Sounds;
};
class Car: LandVehicle
{
 class Turrets
 {
  class MainTurret: NewTurret
  {
   class ViewOptics;
  };
 };
 class AnimationSources;
 class HitPoints
 {
  class HitLFWheel;
  class HitLBWheel;
  class HitRFWheel;
  class HitRBWheel;
  class HitGlass1;
  class HitGlass2;
  class HitGlass3;
  class HitGlass4;
 };
 class Sounds: Sounds
 {
  class Engine;
  class Movement;
 };
};
class Dingo_Base_ACR: Car
{
 expansion = 3;
 scope = 0;
 side = 1;
 accuracy = 0.3;
 faction = "USMC";
 wheelCircumference = 3.5168;
 model = "\CA\Wheeled_ACR\Dingo\AMT_Dingo2a2_MG";
 Picture = "\Ca\Wheeled_ACR\Data\UI\Picture_Dingo2MG_CA.paa";
 Icon = "\Ca\Wheeled_ACR\Data\UI\Icon_Dingo2_CA.paa";
 mapSize = 5;
 displayName = "$STR_ACR_DN_DINGO_MG";
 crew = "CZ_Soldier_805_Wdl_ACR";
 typicalCargo[] = {"CZ_Soldier_805_Wdl_ACR","CZ_Soldier_805_Wdl_ACR","CZ_Soldier_805_Wdl_ACR"};
 damperSize = 0.2;
 damperForce = 1;
 damperDamping = 1;
 htMin = 60;
 htMax = 1800;
 afMax = 200;
 mfMax = 100;
 mFact = 1;
 tBody = 200;
 armor = 40;
 armorGlass = 0.05;
 armorWheels = 0.1;
 damageResistance = 0.00562;
 turnCoef = 4;
 steerAheadPlan = 0.2;
 steerAheadSimul = 0.4;
 predictTurnPlan = 0.9;
 predictTurnSimul = 0.5;
 brakeDistance = 8.5;
 terrainCoef = 2;
 enableGPS = 1;
 type = 1;
 cost = 100000;
 soundServo[] = {"\Ca\sounds\Vehicles\Servos\turret-1",0.01,1,10};
 soundEnviron[] = {"",0.562341,1};
 transportSoldier = 4;
 transportMaxBackpacks = 6;
 class Library
 {
  libTextDesc = "$STR_ACR_LIB_DINGO";
 };
 driverAction = "HMMWV_Driver_EP1";
 cargoAction[] = {"HMMWV_Cargo_EP1","HMMWV_Cargo02_EP1"};
 cargoIsCoDriver[] = {1,0};
 castDriverShadow = 0;
 radarType = 4;
 unitInfoType = "UnitInfoShip";
 threat[] = {1,0.1,0.4};
 class Turrets: Turrets
 {
  class MainTurret: MainTurret
  {
   gun = "mainGun";
   body = "mainTurret";
   hasGunner = 1;
   weapons[] = {"MG3A1_veh_ACR"};
   magazines[] = {"100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240"};
   minElev = -25;
   maxElev = 60;
   gunnerAction = "HMMWV_Gunner04_EP1";
   viewGunnerInExternal = 0;
   castGunnerShadow = 1;
   stabilizedInAxes = "StabilizedInAxesBoth";
   turretInfoType = "RscWeaponRangeZeroing";
   discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
   discreteDistanceInitIndex = 5;
   gunnerOpticsModel = "\ca\Weapons\2Dscope_RWS";
   gunnerForceOptics = 1;
   class ViewOptics
   {
    initAngleX = 0;
    minAngleX = -30;
    maxAngleX = 60;
    initAngleY = 0;
    minAngleY = -100;
    maxAngleY = 100;
    initFov = 0.3;
    minFov = 0.015;
    maxFov = 0.3;
    visionMode[] = {"Normal","NVG","Ti"};
    thermalMode[] = {0,1};
   };
   soundServo[] = {"\Ca\sounds\Vehicles\Servos\turret-1",0.01,1,10};
  };
 };
 class AnimationSources: AnimationSources
 {
  class HitGlass1;
  class HitGlass5: HitGlass1
  {
   hitpoint = "HitGlass5";
  };
 };
 class HitPoints: HitPoints
 {
  class HitEngine
  {
   armor = 0.5;
   material = -1;
   name = "engine";
   visual = "";
   passThrough = 1;
  };
  class HitGlass1: HitGlass1
  {
   armor = 1;
  };
  class HitGlass2: HitGlass2
  {
   armor = 1;
  };
  class HitGlass3: HitGlass3
  {
   armor = 1;
  };
  class HitGlass4: HitGlass4
  {
   armor = 1;
  };
  class HitGlass5: HitGlass4
  {
   name = "glass5";
   visual = "glass5";
  };
  class HitLFWheel: HitLFWheel
  {
   armor = 0.15;
  };
  class HitLBWheel: HitLBWheel
  {
   armor = 0.15;
  };
  class HitRFWheel: HitRFWheel
  {
   armor = 0.15;
  };
  class HitRBWheel: HitRBWheel
  {
   armor = 0.15;
  };
  class HitFuel
  {
   armor = 0.14;
   material = -1;
   name = "fueltank";
   visual = "";
   passThrough = 1;
  };
 };
 class Damage
 {
  tex[] = {};
  mat[] = {"CA\Wheeled_ACR\Dingo\Data\karrosse.rvmat","CA\Wheeled_ACR\Dingo\Data\karrosse_dam.rvmat","CA\Wheeled_ACR\Dingo\Data\karrosse_des.rvmat","CA\Wheeled_ACR\Dingo\Data\karrosse_innen.rvmat","CA\Wheeled_ACR\Dingo\Data\karrosse_innen.rvmat","CA\Wheeled_ACR\Dingo\Data\karrosse_innen_des.rvmat","CA\Wheeled_ACR\Dingo\Data\teile.rvmat","CA\Wheeled_ACR\Dingo\Data\teile_dam.rvmat","CA\Wheeled_ACR\Dingo\Data\teile_des.rvmat","CA\Wheeled_ACR\Dingo\Data\teile_innen.rvmat","CA\Wheeled_ACR\Dingo\Data\teile_innen.rvmat","CA\Wheeled_ACR\Dingo\Data\teile_innen_des.rvmat","CA\Wheeled_ACR\Dingo\Data\FLW200.rvmat","CA\Wheeled_ACR\Dingo\Data\FLW200_dam.rvmat","CA\Wheeled_ACR\Dingo\Data\FLW200_des.rvmat","CA\Wheeled_ACR\Dingo\Data\plane.rvmat","CA\Wheeled_ACR\Dingo\Data\plane_dam.rvmat","CA\Wheeled_ACR\Dingo\Data\FLW200_des.rvmat","CA\Wheeled_ACR\Dingo\Data\alpha_glass.rvmat","CA\Wheeled_ACR\Dingo\Data\alpha_glass_dam.rvmat","CA\Wheeled_ACR\Dingo\Data\alpha_glass_des.rvmat"};
 };
 HiddenSelections[] = {"camo1","camo2","camo5","camo6"};
 HiddenSelectionsTextures[] = {"\ca\wheeled_acr\dingo\data\acr_karosse_wdl_co","\ca\wheeled_acr\dingo\data\a_teile_co","\ca\wheeled_acr\dingo\data\FLW100_co","\ca\wheeled_acr\dingo\data\FLW200_co"};
 soundGear[] = {"",0.000177828,1};
 insideSoundCoef = 0.8;
 SoundGetIn[] = {"ca\Sounds_ACR\wheeled\Dingo\door",0.562341,1};
 SoundGetOut[] = {"ca\Sounds_ACR\wheeled\Dingo\door",0.562341,1,40};
 soundEngineOnInt[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_int_start",0.562341,1};
 soundEngineOnExt[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_ext_start",0.562341,1,250};
 soundEngineOffInt[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_int_stop",0.562341,1};
 soundEngineOffExt[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_ext_stop",0.562341,1,250};
 buildCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_building_01",0.707946,1,200};
 buildCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_building_02",0.707946,1,200};
 buildCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_building_03",0.707946,1,200};
 buildCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_building_04",0.707946,1,200};
 soundBuildingCrash[] = {"buildCrash0",0.25,"buildCrash1",0.25,"buildCrash2",0.25,"buildCrash3",0.25};
 WoodCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_01",0.707946,1,200};
 WoodCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_02",0.707946,1,200};
 WoodCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_03",0.707946,1,200};
 WoodCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_04",0.707946,1,200};
 WoodCrash4[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_05",0.707946,1,200};
 WoodCrash5[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_06",0.707946,1,200};
 soundWoodCrash[] = {"woodCrash0",0.166,"woodCrash1",0.166,"woodCrash2",0.166,"woodCrash3",0.166,"woodCrash4",0.166,"woodCrash5",0.166};
 ArmorCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_01",0.707946,1,200};
 ArmorCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_02",0.707946,1,200};
 ArmorCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_03",0.707946,1,200};
 ArmorCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_04",0.707946,1,200};
 soundArmorCrash[] = {"ArmorCrash0",0.25,"ArmorCrash1",0.25,"ArmorCrash2",0.25,"ArmorCrash3",0.25};
 class SoundEvents
 {
  class AccelerationIn
  {
   sound[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_int_acce",0.1,1};
   limit = "0.15";
   expression = "engineOn*(1-camPos)*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
  };
  class AccelerationOut
  {
   sound[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_ext_acce",0.1,1,200};
   limit = "0.15";
   expression = "engineOn*camPos*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
  };
 };
 class Sounds
 {
  class Engine
  {
   sound[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_ext_mid",1,1.5,200};
   frequency = "(1.0+rpm)*0.3";
   volume = "engineOn*camPos*((rpm factor[0.2, 0.4])+ (rpm factor[0.8, 0.5]))";
  };
  class EngineHighOut
  {
   sound[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_ext_high",1,1.5,250};
   frequency = "(1.0+rpm)*0.3";
   volume = "engineOn*camPos*(rpm factor[0.3, 0.9])";
  };
  class IdleOut
  {
   sound[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_ext_idle",1,1,200};
   frequency = "1";
   volume = "engineOn*camPos*(rpm factor[0.6, 0.05])";
  };
  class TiresRockOut
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2",0.316228,1,30};
   frequency = "1";
   volume = "camPos*rock*(speed factor[2, 20])";
  };
  class TiresSandOut
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2",0.316228,1,30};
   frequency = "1";
   volume = "camPos*sand*(speed factor[2, 20])";
  };
  class TiresGrassOut
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass2",0.316228,1,30};
   frequency = "1";
   volume = "camPos*grass*(speed factor[2, 20])";
  };
  class TiresMudOut
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2",0.316228,1,30};
   frequency = "1";
   volume = "camPos*mud*(speed factor[2, 20])";
  };
  class TiresGravelOut
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2",0.316228,1,30};
   frequency = "1";
   volume = "camPos*gravel*(speed factor[2, 20])";
  };
  class TiresAsphaltOut
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3",0.316228,1,30};
   frequency = "1";
   volume = "camPos*asphalt*(speed factor[2, 20])";
  };
  class NoiseOut
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Noises\ext\noise2",0.0562341,1,30};
   frequency = "1";
   volume = "camPos*(damper0 max 0.03)*(speed factor[0, 8])";
  };
  class EngineLowIn
  {
   sound[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_int_mid",1,1,200};
   frequency = "(1.0+rpm)*0.3";
   volume = "engineOn*(1-camPos)*((rpm factor[0.4, 0.2])+ (rpm factor[0.8, 0.5]))";
  };
  class EngineHighIn
  {
   sound[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_int_high",1,1,250};
   frequency = "(1.0+rpm)*0.3";
   volume = "engineOn*(1-camPos)*(rpm factor[0.3, 0.9])";
  };
  class IdleIn
  {
   sound[] = {"ca\Sounds_ACR\wheeled\Dingo\Dingo_int_idle",1,1,200};
   frequency = "1";
   volume = "engineOn*(1-camPos)*(rpm factor[0.3, 0.05])";
  };
  class TiresRockIn
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-rock2",1,1};
   frequency = "1";
   volume = "(1-camPos)*rock*(speed factor[2, 20])";
  };
  class TiresSandIn
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-sand2",1,1};
   frequency = "1";
   volume = "(1-camPos)*sand*(speed factor[2, 20])";
  };
  class TiresGrassIn
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-grass2",1,1};
   frequency = "1";
   volume = "(1-camPos)*grass*(speed factor[2, 20])";
  };
  class TiresMudIn
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-mud2",1,1};
   frequency = "1";
   volume = "(1-camPos)*mud*(speed factor[2, 20])";
  };
  class TiresGravelIn
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-gravel2",1,1};
   frequency = "1";
   volume = "(1-camPos)*gravel*(speed factor[2, 20])";
  };
  class TiresAsphaltIn
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-asphalt3",1,1};
   frequency = "1";
   volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
  };
  class NoiseIn
  {
   sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Noises\int\noise2",0.00562341,1};
   frequency = "1";
   volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
  };
  class Movement
  {
   sound = "soundEnviron";
   frequency = "1";
   volume = "0";
  };
 };
};
class Dingo_WDL_ACR;
class Dingo_DST_ACR;
class Dingo_GL_Wdl_ACR: Dingo_Base_ACR
{
 scope = 2;
 side = 1;
 faction = "BIS_CZ";
 vehicleClass = "ArmouredW";
 displayname = "$STR_ACR_DN_DINGO_GL";
 model = "\CA\Wheeled_ACR\Dingo\AMT_Dingo2a2";
 Picture = "\Ca\Wheeled_ACR\Data\UI\Picture_Dingo2_CA.paa";
 class TransportMagazines{};
 class TransportWeapons{};
 class Turrets: Turrets
 {
  class MainTurret: MainTurret
  {
   gun = "mainGun";
   body = "mainTurret";
   hasGunner = 1;
   weapons[] = {"GMG_veh_ACR"};
 magazines[] = {"48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","EB_48Rnd_40mm_Chem_MK19","EB_48Rnd_40mm_Chem_MK19","EB_48Rnd_40mm_SmokeRed_MK19","EB_48Rnd_40mm_SmokeGreen_MK19","EB_48Rnd_40mm_FlareGreen_MK19","EB_48Rnd_40mm_FlareWhite_MK19"};
   minElev = -25;
   maxElev = 60;
   gunnerAction = "HMMWV_Gunner04_EP1";
   viewGunnerInExternal = 0;
   castGunnerShadow = 1;
   stabilizedInAxes = "StabilizedInAxesBoth";
   turretInfoType = "RscWeaponRangeZeroing";
   discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
   discreteDistanceInitIndex = 5;
   gunnerOpticsModel = "\ca\Weapons\2Dscope_RWS";
   gunnerForceOptics = 1;
   class ViewOptics
   {
    initAngleX = 0;
    minAngleX = -30;
    maxAngleX = 60;
    initAngleY = 0;
    minAngleY = -100;
    maxAngleY = 100;
    initFov = 0.3;
    minFov = 0.015;
    maxFov = 0.3;
    visionMode[] = {"Normal","NVG","Ti"};
    thermalMode[] = {0,1,6};
   };
   soundServo[] = {"\Ca\sounds\Vehicles\Servos\turret-1",0.01,1,10};
  };
 };
 class AnimationSources: AnimationSources
 {
  class ReloadAnim
  {
   source = "reload";
   weapon = "GMG_veh_ACR";
  };
  class ReloadMagazine
  {
   source = "reloadmagazine";
   weapon = "GMG_veh_ACR";
  };
  class Revolving
  {
   source = "revolving";
   weapon = "GMG_veh_ACR";
  };
 };
};
class Dingo_GL_DST_ACR: Dingo_GL_Wdl_ACR
{
 vehicleClass = "Armored";
 HiddenSelectionsTextures[] = {"\ca\wheeled_acr\dingo\data\ACR_karosse_des_co","\ca\wheeled_acr\dingo\data\ACR_DES_a_teile_co","\ca\wheeled_acr\dingo\data\FLW100_DES_co","\ca\wheeled_acr\dingo\data\FLW200_DES_co"};
 crew = "CZ_Soldier805_DES_ACR";
 typicalCargo[] = {"CZ_Soldier805_DES_ACR","CZ_Soldier805_DES_ACR","CZ_Soldier805_DES_ACR"};
 class Turrets: Turrets
 {
  class MainTurret: MainTurret
  {
   weapons[] = {"GMG_veh_ACR"};
 magazines[] = {"48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","48Rnd_40mm_MK19","EB_48Rnd_40mm_Chem_MK19","EB_48Rnd_40mm_Chem_MK19","EB_48Rnd_40mm_SmokeRed_MK19","EB_48Rnd_40mm_SmokeGreen_MK19","EB_48Rnd_40mm_FlareGreen_MK19","EB_48Rnd_40mm_FlareWhite_MK19"};
   class ViewOptics
   {
    visionMode[] = {"Normal","NVG","Ti"};
    thermalMode[] = {0,1,6};
   };
  };
 };
};
};

updated my own thread here - in case it helps

http://forums.bistudio.com/showthread.php?143517-firing-smoke-from-a-mk19-stuck

Edited by eggbeast

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  

×