Kuzuri
Member-
Content Count
27 -
Joined
-
Last visited
-
Medals
Everything posted by Kuzuri
-
Hello all, so I've got a ported Cobra with a hellfire missile on its rails, i fire the missile and it fires just fine. Problem is the proxy doesn t disappear, it stays on the rail, and i cant for the life of me figure out how to make it disappear. Any ideas? I'm pretty sure its a config issue... or a model.cfg one. Id be happy to post either once somebody gives me a solid idea. thanks
-
Missile won't fly of rail.
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Well then I can't think of a reason why it doesnt work, the above solution didnt. -
Missile won't fly of rail.
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Done but still not working, only problem i can see is the "selection="missile_2""" and "selection="missile_1""" part in cfgModels. My missiles are mounted as proxies, maybe that's why they dont work?? -
Missile won't fly of rail.
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Arma 2 -
RPT log is throwing up a bunch of errors like this on a Chopper model: vertex: 1046, sum of weights is 200, should be 100. I've checked the weights and they all seem to add up to 100. Ordinarily I would ignore the error but the stutter on loading the model when the game writes to the log is very long. What am I missing??
-
As title suggests, bone overlap gives some serious weighting issues. Is there a shortcut in objecting builder to prevent bone overlap or does it HAVE to be done by hand?
-
Just went through blender... it's as imprecise as Object builder, still getting weight issues on the infinitesimal parts where there's overlap. But thanks for your help.
-
Suggestions? Blender? Any quick tutorial on weighting in blender?
-
I've run into a strange problem with a pair of custom night vision goggles: the Shadow LODs are there, properly closed and triangulated with zero degenerations. Shadows show up fine in 3rd person but if I change to first person view, the shadow of the NVG disappears. I do have a shadowvolume-view pilot set, as well as a view - pilot LOD. Its occurring with two separate pair of unrelated nvgs. Everything else I've modelled so far: backpacks, vest etc work fine in first person. Thoughts?
-
And Bohemia hasn't found a workaround? I'lI just leave it as is then till they figure it out. Thanks.
-
Alright, for example, theres a vest with 3 selection, spine1, spine2 and spine3. Each selection overlaps over a few vertices with selections above and/or below it, and no matter what I do with weights they are never exactly 100. The RPT log is littered with errors. So, the workaround is to get rid of the overlap, a tedious process, near impossible if the model is detailed. So, the question is, is there a way, a shortcut, in object builder where i can automatically get rid of overlapped vertices? If not, how do i fix the weight issue?
-
Okay, what I've discovered so far is this is a vanilla issue. All vanilla NVGs are missing their shadows in first person...
-
Hidden Selection for flag on BLUFOR Uniform?
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
So the Insignia hidden selection makes the flag appear where the green arrow is pointing in my image below. While the vanilla flag appears where the red arrow is pointing. If I use Camo hidden selection and add the flag there it appears below the flag selection with flag part of the model appearing above, shiny and transparent. Thoughts? http://imgur.com/a/AYJgV -
Hidden Selection for flag on BLUFOR Uniform?
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I'm sorry, I think I wasn't clear, the insignia selection is for the patch below the flag on the left arm. Im talking about the flag itself, which is on both arms, above the insignia on the left arm and above the unit insignia on the right arm. It is defaulted to the US flag in vanilla. Am I making sense? -
Error: no entry 'bin\config.bin/CfgVehicles/CfgNonAIVehicles.scope'
Kuzuri posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Messing around with a AH1z mod, keep getting this error: Error: no entry 'bin\config.bin/CfgVehicles/CfgNonAIVehicles.scope'can't seem to figure it out. I thought .scope errors meant there was a mismatch between { and }. Any help would be appreciated. class CfgPatches { class Pak_Rot_Wng { units[] ={"Pak_Ah1_Ard","Pak_Ah1_Dst"}; weapons[] = {}; requiredVersion = 0.01; requiredAddons[] = {"A3_Air_F","A3_Weapons_F"}; }; }; class CfgVehicles { class AllVehicles; class thingX; class Air: AllVehicles { class NewTurret; class ViewPilot; }; class Helicopter: Air { class Turrets { class MainTurret; }; class NewTurret; class AnimationSources; class HitPoints; }; class Helicopter_Base_F: Helicopter { class HitPoints: HitPoints { class HitHull; class HitHRotor; class HitGlass1; class HitGlass2; class HitGlass3; class HitGlass4; }; class Turrets: Turrets { class MainTurret; }; class AnimationSources; class Eventhandlers; class ViewOptics; }; class PlaneWreck; class HelicopterWreck; class Pak_Ah1_Bas:Helicopter { author = "Kuzuri, Zayden"; dlc = "Dawn"; class SpeechVariants { class Default { speechSingular[] = {"veh_air_gunship_s"}; speechPlural[] = {"veh_air_gunship_p"}; }; }; scope=0; side=2; faction = "Pak_Fac"; vehicleClass = "Pak_Air_Arm"; accuracy=0.5; availableForSupportTypes[] = {"CAS_Heli"}; displayName="AH-1Z Viper"; hiddenSelections[] ={"Camo1","Camo2"}; driverCanEject = 0; altFullForce = 4000; altNoForce = 6000; fuelCapacity = 2500; fuelConsumptionRate = 0.138; LockDetectionSystem = "2 + 8 + 4"; incomingMissileDetectionSystem = 16; bodyFrictionCoef = 0.9; supplyRadius = -1; maxFordingDepth = 0.75; mainBladeRadius = 8.5; mainRotorSpeed = 1.5; backRotorSpeed = 4.0; liftForceCoef = 1.3; cyclicAsideForceCoef = 1.0; cyclicForwardForceCoef = 1.0; class MFD { class AirplaneHUD { class Pos10Vector { type = "vector"; pos0[] = {0.502,0.49}; pos10[] = {1.112,1.03}; }; topLeft = "HUD LH"; topRight = "HUD PH"; bottomLeft = "HUD LD"; borderLeft = 0; borderRight = 0; borderTop = 0; borderBottom = 0; color[] = {0,1,0,0.1}; class Bones { class PlaneW { type = "fixed"; pos[] = {0.502,0.49}; }; class WeaponAim: Pos10Vector { source = "weapon"; }; class GunnerAim: Pos10Vector { source = "weapon"; pos0[] = {0,-0.0025}; pos10[] = {0.01,0.0025}; }; class Target: Pos10Vector { source = "target"; }; class Velocity: Pos10Vector { type = "vector"; source = "velocity"; pos0[] = {0.5,0.49}; pos10[] = {1.11,1.03}; }; class ILS_H { type = "ils"; pos0[] = {0.5,0.49}; pos3[] = {0.683,0.49}; }; class ILS_W: ILS_H { pos3[] = {0.5,0.652}; }; class Level0: Pos10Vector { pos0[] = {0.5,0.49}; pos10[] = {1.11,1.03}; type = "horizon"; angle = 0; }; class LevelP10: Level0 { angle = 10; }; class LevelM10: Level0 { angle = -10; }; class LevelP20: Level0 { angle = 20; }; class LevelM20: Level0 { angle = -20; }; class LevelP30: Level0 { angle = 30; }; class LevelM30: Level0 { angle = -30; }; class LevelP40: Level0 { angle = 40; }; class LevelM40: Level0 { angle = -40; }; class LevelP50: Level0 { angle = 50; }; class LevelM50: Level0 { angle = -50; }; }; class Draw { alpha = 0.6; color[] = {0.0,1.0,0.0}; condition = "on"; class PlaneW { clipTL[] = {0.0,1.0}; clipBR[] = {1.0,0.0}; type = "line"; width = 4.0; points[] = { { "PlaneW", { 0,-0.0177049 },1 }, { "PlaneW", { 0.014,-0.0123934 },1 }, { "PlaneW", { 0.02,0 },1 }, { "PlaneW", { 0.014,0.0123934 },1 }, { "PlaneW", { 0,0.0177049 },1 }, { "PlaneW", { -0.014,0.0123934 },1 }, { "PlaneW", { -0.02,0 },1 }, { "PlaneW", { -0.014,-0.0123934 },1 }, { "PlaneW", { 0,-0.0177049 },1 }, { }}; }; class PlaneHeading { clipTL[] = {0.0,1.0}; clipBR[] = {1.0,0.0}; type = "line"; width = 4.0; points[] = { { "Velocity", { 0,-0.0177049 },1 }, { "Velocity", { 0.014,-0.0123934 },1 }, { "Velocity", { 0.02,0 },1 }, { "Velocity", { 0.014,0.0123934 },1 }, { "Velocity", { 0,0.0177049 },1 }, { "Velocity", { -0.014,0.0123934 },1 }, { "Velocity", { -0.02,0 },1 }, { "Velocity", { -0.014,-0.0123934 },1 }, { "Velocity", { 0,-0.0177049 },1 }, { }, { "Velocity", { 0.04,0 },1 }, { "Velocity", { 0.02,0 },1 }, { }, { "Velocity", { -0.04,0 },1 }, { "Velocity", { -0.02,0 },1 }, { }, { "Velocity", { 0,-0.0354098 },1 }, { "Velocity", { 0,-0.0177049 },1 }, { }}; }; class Static { clipTL[] = {0.0,0.1}; clipBR[] = {1.0,0.0}; type = "line"; width = 4.0; points[] = { { { 0.79,0.52 },1 }, { { 0.81,0.5 },1 }, { { 0.79,0.48 },1 }, { }, { { 0.52,"0.08+0.06" },1 }, { { 0.5,"0.06+0.06" },1 }, { { 0.48,"0.08+0.06" },1 }, { }, { { "0.5-0.1","0.9-0.04" },1 }, { { "0.5-0.1","0.9+0.04" },1 }, { { "0.5+0.1","0.9+0.04" },1 }, { { "0.5+0.1","0.9-0.04" },1 }, { { "0.5-0.1","0.9-0.04" },1 }, { }, { { "0.5-0.1",0.9 },1 }, { { "0.5-0.092",0.9 },1 }, { }, { { "0.5+0.1",0.9 },1 }, { { "0.5+0.092",0.9 },1 }, { }, { { 0.5,"0.9-0.04" },1 }, { { 0.5,"0.9-0.032" },1 }, { }, { { 0.5,"0.9+0.04" },1 }, { { 0.5,"0.9+0.032" },1 }, { }}; }; class Gunner { type = "line"; width = 4.0; points[] = { { "GunnerAim", { "0.5-0.015","0.9-0.008" },1 }, { "GunnerAim", { "0.5-0.015","0.9+0.008" },1 }, { "GunnerAim", { "0.5+0.015","0.9+0.008" },1 }, { "GunnerAim", { "0.5+0.015","0.9-0.008" },1 }, { "GunnerAim", { "0.5-0.015","0.9-0.008" },1 }}; }; class MGun { condition = "mgun"; class Circle { type = "line"; width = 4.0; points[] = { { "WeaponAim", { 0.05,0 },1 }, { "WeaponAim", { 0.015,0 },1 }, { }, { "WeaponAim", { 0,0.0442623 },1 }, { "WeaponAim", { 0,0.0132787 },1 }, { }, { "WeaponAim", { -0.05,0 },1 }, { "WeaponAim", { -0.015,0 },1 }, { }, { "WeaponAim", { 0,-0.0442623 },1 }, { "WeaponAim", { 0,-0.0132787 },1 }, { }}; }; }; class Bomb { condition = "bomb"; class Circle { type = "line"; width = 4.0; points[] = { { "WeaponAim", { 0,-0.0885246 },1 }, { "WeaponAim", { 0.05,-0.0770164 },1 }, { "WeaponAim", { 0.087,-0.0442623 },1 }, { "WeaponAim", { 0.1,0 },1 }, { "WeaponAim", { 0.087,0.0442623 },1 }, { "WeaponAim", { 0.05,0.0770164 },1 }, { "WeaponAim", { 0,0.0885246 },1 }, { "WeaponAim", { -0.05,0.0770164 },1 }, { "WeaponAim", { -0.087,0.0442623 },1 }, { "WeaponAim", { -0.1,0 },1 }, { "WeaponAim", { -0.087,-0.0442623 },1 }, { "WeaponAim", { -0.05,-0.0770164 },1 }, { "WeaponAim", { 0,-0.0885246 },1 }, { }, { "Velocity",0.001,"WeaponAim", { 0.0,0.0 },1 }, { "Velocity", { 0.0,0.0 },1 }, { }, { "Target", { 0,-0.0619672 },1 }, { "Target", { 0.07,0 },1 }, { "Target", { 0,0.0619672 },1 }, { "Target", { -0.07,0 },1 }, { "Target", { 0,-0.0619672 },1 }}; }; }; class AAMissile { condition = "AAmissile"; class Circle { type = "line"; width = 4.0; points[] = { { "WeaponAim", { 0,-0.221311 },1 }, { "WeaponAim", { 0.125,-0.192541 },1 }, { "WeaponAim", { 0.2175,-0.110656 },1 }, { "WeaponAim", { 0.25,0 },1 }, { "WeaponAim", { 0.2175,0.110656 },1 }, { "WeaponAim", { 0.125,0.192541 },1 }, { "WeaponAim", { 0,0.221311 },1 }, { "WeaponAim", { -0.125,0.192541 },1 }, { "WeaponAim", { -0.2175,0.110656 },1 }, { "WeaponAim", { -0.25,0 },1 }, { "WeaponAim", { -0.2175,-0.110656 },1 }, { "WeaponAim", { -0.125,-0.192541 },1 }, { "WeaponAim", { 0,-0.221311 },1 }, { }, { "Target", { 0,-0.0619672 },1 }, { "Target", { 0.07,0 },1 }, { "Target", { 0,0.0619672 },1 }, { "Target", { -0.07,0 },1 }, { "Target", { 0,-0.0619672 },1 }}; }; }; class ATMissile { condition = "ATmissile"; class Circle { type = "line"; width = 4.0; points[] = { { "WeaponAim", { -0.15,-0.15 },1 }, { "WeaponAim", { -0.15,"-0.15+0.02" },1 }, { }, { "WeaponAim", { -0.15,0.15 },1 }, { "WeaponAim", { -0.15,"+0.15-0.02" },1 }, { }, { "WeaponAim", { 0.15,-0.15 },1 }, { "WeaponAim", { 0.15,"-0.15+0.02" },1 }, { }, { "WeaponAim", { 0.15,0.15 },1 }, { "WeaponAim", { 0.15,"+0.15-0.02" },1 }, { }, { "WeaponAim", { -0.15,-0.15 },1 }, { "WeaponAim", { "-0.15+0.02",-0.15 },1 }, { }, { "WeaponAim", { -0.15,0.15 },1 }, { "WeaponAim", { "-0.15+0.02",0.15 },1 }, { }, { "WeaponAim", { 0.15,-0.15 },1 }, { "WeaponAim", { "0.15-0.02",-0.15 },1 }, { }, { "WeaponAim", { 0.15,0.15 },1 }, { "WeaponAim", { "0.15-0.02",0.15 },1 }, { }}; }; }; class Rockets { condition = "Rocket"; class Circle { type = "line"; width = 4.0; points[] = { { "WeaponAim", { -0.25,-0.25 },1 }, { "WeaponAim", { -0.25,"-0.25+0.05" },1 }, { }, { "WeaponAim", { -0.25,0.25 },1 }, { "WeaponAim", { -0.25,"+0.25-0.05" },1 }, { }, { "WeaponAim", { 0.25,-0.25 },1 }, { "WeaponAim", { 0.25,"-0.25+0.05" },1 }, { }, { "WeaponAim", { 0.25,0.25 },1 }, { "WeaponAim", { 0.25,"+0.25-0.05" },1 }, { }, { "WeaponAim", { -0.25,-0.25 },1 }, { "WeaponAim", { "-0.25+0.05",-0.25 },1 }, { }, { "WeaponAim", { -0.25,0.25 },1 }, { "WeaponAim", { "-0.25+0.05",0.25 },1 }, { }, { "WeaponAim", { 0.25,-0.25 },1 }, { "WeaponAim", { "0.25-0.05",-0.25 },1 }, { }, { "WeaponAim", { 0.25,0.25 },1 }, { "WeaponAim", { "0.25-0.05",0.25 },1 }, { }}; }; }; class SpeedNumber { type = "text"; align = "right"; scale = 1; source = "speed"; sourceScale = 3.6; pos[] = { { 0.06,0.47 },1}; right[] = { { "0.14-0.02",0.47 },1}; down[] = { { 0.06,0.52 },1}; }; class AltNumber: SpeedNumber { source = "altitudeAGL"; sourceScale = 1; pos[] = { { "0.86-0.15",0.47 },1}; right[] = { { "0.94-0.15-0.02",0.47 },1}; down[] = { { "0.86-0.15",0.52 },1}; }; class AltScale { type = "scale"; scale = 1; source = "altitudeAGL"; sourceScale = 1; align = "right"; width = 4.0; pos[] = {0.86,0.82}; right[] = {"0.94-0.02",0.82}; down[] = {0.86,0.87}; lineXleft = 0.825; lineYright = 0.835; lineXleftMajor = 0.825; lineYrightMajor = 0.845; bottom = 0.2; top = 0.85; center = 0.5; step = 20; StepSize = "(0.85- 0.2)/20"; horizontal = 0; min = "none"; max = "none"; numberEach = 5; majorLineEach = 5; }; class weapons { type = "text"; source = "weapon"; align = "right"; scale = 0.5; sourceScale = 1; pos[] = { { 0.1,0.88 },1}; right[] = { { "0.16-0.02",0.88 },1}; down[] = { { 0.1,0.92 },1}; }; class ammo { type = "text"; source = "ammo"; align = "right"; scale = 0.5; sourceScale = 1; pos[] = { { 0.1,0.93 },1}; right[] = { { "0.16-0.02",0.93 },1}; down[] = { { 0.1,0.97 },1}; }; class HeadingScale { type = "scale"; scale = 1; source = "Heading"; sourceScale = 1; align = "center"; width = 4.0; pos[] = {"0.32-0.01","0.0+0.05"}; right[] = {"0.38-0.01","0.0+0.05"}; down[] = {"0.32-0.01","0.04+0.05"}; lineXleft = "0.06+0.05"; lineYright = "0.05+0.05"; lineXleftMajor = "0.07+0.05"; lineYrightMajor = "0.04+0.05"; bottom = 0.7; center = 0.5; top = 0.3; step = 10; StepSize = "(0.70- 0.3)/15"; horizontal = 1; min = "none"; max = "none"; numberEach = 3; majorLineEach = 3; }; class HorizontalLine { clipTL[] = {0.2,0.12}; clipBR[] = {0.8,0.96}; class HorizontalLineDraw { type = "line"; source = "Level0"; points[] = { { "Level0", { "-6*0.075/2",0.02 },1 }, { "Level0", { "-5*0.075/2",0.02 },1 }, { }, { "Level0", { "-4*0.075/2",0.02 },1 }, { "Level0", { "-3*0.075/2",0.02 },1 }, { }, { "Level0", { "-2*0.075/2",0.02 },1 }, { "Level0", { "-1*0.075/2",0.02 },1 }, { }, { "Level0", { "1*0.075/2",0.02 },1 }, { "Level0", { "2*0.075/2",0.02 },1 }, { }, { "Level0", { "3*0.075/2",0.02 },1 }, { "Level0", { "4*0.075/2",0.02 },1 }, { }, { "Level0", { "5*0.075/2",0.02 },1 }, { "Level0", { "6*0.075/2",0.02 },1 }}; }; }; }; helmetMountedDisplay = 1; helmetPosition[] = {-0.025,0.025,0.1}; helmetRight[] = {0.055,0.0,0.0}; helmetDown[] = {-0.0,-0.05,0.0}; }; }; }; class Pak_Ah1_Dst: Pak_Ah1_Bas { selectionHRotorStill = "mainRotorStatic"; selectionHRotorMove = "mainRotorBlurred"; selectionVRotorStill = "tailRotorStatic"; selectionVRotorMove = "tailRotorBlurred"; memoryPointLMissile = "Missile_1"; //zkusim otocit memoryPointRMissile = "Missile_2"; //zkusim otocit memoryPointLRocket = "Rocket_1"; memoryPointRRocket = "Rocket_2"; selectionFireAnim = "muzzleflash"; availableForSupportTypes[] = {"CAS_Heli"}; memoryPointCM[] = {"flare_launcher1","flare_launcher2"}; memoryPointCMDir[] = {"flare_launcher1_dir","flare_launcher2_dir"}; radarType = 4; LockDetectionSystem = "2 + 8 + 4"; incomingMissileDetectionSystem = 16; hiddenSelectionsTextures[] = {"Rotary_Wing\Data\Textures\ah1z_body_co.paa","Rotary_Wing\Data\Textures\ah1z_engines_co.paa"}; crew = "Pak_Fac_Hlpf"; scope=2; side=2; faction = "Pak_Fac"; displayName="AH-1Z Viper (Desert)"; vehicleClass = "Pak_Air_Arm"; accuracy=1000; crewVulnerable = 1; driverAction = "AH1Z_Pilot"; memoryPointsGetInDriver= "pos_driver"; memoryPointsGetInDriverDir= "pos_driver_dir"; getInAction = "GetInHigh"; getOutAction = "GetOutHigh"; maxSpeed = 280; typicalCargo[]={"Pak_Fac_Hlpf", "Pak_Fac_Hlpf"}; driverCompartments = "Compartment1"; attenuationEffectType = "HeliAttenuation"; soundGetIn[] = {"Rotary_Wing\Data\Sounds\heli_door_01",0.31622776,1}; soundGetOut[] = {"Rotary_Wing\Data\Sounds\heli_door_01",0.31622776,1,50}; soundEnviron[] = {"",0.031622775,1.0}; soundDammage[] = {"Rotary_Wing\Data\Sounds\alarm_loop1",0.001,1}; soundEngineOnInt[] = {"Rotary_Wing\Data\Sounds\Sounds\int-start-final",0.031622775,1.0}; soundEngineOnExt[] = {"Rotary_Wing\Data\Sounds\Sounds\ext-motor-start",1.7782794,1.0,700}; soundEngineOffInt[] = {"Rotary_Wing\Data\Sounds\int-stop-final",0.031622775,1.0}; soundEngineOffExt[] = {"Rotary_Wing\Data\Sounds\ext-motor-stop",1.7782794,1.0,700}; soundLocked[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_1",0.1,1}; soundIncommingMissile[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_2",0.1,1}; class Sounds { class Engine { sound[] = {"Rotary_Wing\Data\Sounds\ext-ah1z-engine-01",3.1622777,1.0,800}; frequency = "rotorSpeed"; volume = "camPos*((rotorSpeed-0.72)*4)"; }; class RotorLowOut { sound[] = {"Rotary_Wing\Data\Sounds\int\int-rotor-single5b",3.1622777,1.0,1500}; frequency = "rotorSpeed"; volume = "camPos*(0 max (rotorSpeed-0.1))"; cone[] = {1.8,3.14,2.0,0.9}; }; class RotorHighOut { sound[] = {"Rotary_Wing\Data\Sounds\int\int-rotor-single5a",3.1622777,1.0,1800}; frequency = "rotorSpeed"; volume = "camPos*10*(0 max (rotorThrust-0.95))"; cone[] = {1.8,3.14,2.0,0.9}; }; class EngineIn { sound[] = {"Rotary_Wing\Data\Sounds\int-fly-mode7",1.7782794,1.0}; frequency = "rotorSpeed"; volume = "(1-camPos)*((rotorSpeed-0.75)*4)"; }; class RotorLowIn { sound[] = {"Rotary_Wing\Data\Sounds\int-rotor-single5b",1.7782794,1.0}; frequency = "rotorSpeed"; volume = "2*(1-camPos)*((rotorSpeed factor[0.3, 1.1]) min (rotorSpeed factor[1.1, 0.3]))"; }; class RotorHighIn { sound[] = {"Rotary_Wing\Data\Sounds\int-rotor-single5a",1.7782794,1.0}; frequency = "rotorSpeed"; volume = "(1-camPos)*3*(rotorThrust-0.9)"; }; }; class Exhausts { class Exhaust1 { position = "exhaust1"; direction = "exhaust1_dir"; effect = "ExhaustsEffectHeliCom"; }; class Exhaust2 { position = "exhaust2"; direction = "exhaust2_dir"; effect = "ExhaustsEffectHeliCom"; }; }; class MarkerLights { class WhiteStill { name = "bily pozicni"; color[] = {1.0, 1.0, 1.0}; ambient[] = {0.1, 0.1, 0.1}; blinking = 1; intensity = 75; blinkingPattern[] = {0.1, 0.9}; blinkingPatternGuarantee = 0; drawLightSize = 0.2; drawLightCenterSize = 0.04; }; class RedStill { name = "cerveny pozicni"; color[] = {0.8, 0.0, 0.0}; ambient[] = {0.08, 0.0, 0.0}; intensity = 75; drawLight = 1; drawLightSize = 0.15; drawLightCenterSize = 0.04; activeLight = 0; blinking = 0; dayLight = 0; useFlare = 0; }; class GreenStill { name = "zeleny pozicni"; color[] = {0.0, 0.8, 0.0}; ambient[] = {0.0, 0.08, 0.0}; intensity = 75; drawLight = 1; drawLightSize = 0.15; drawLightCenterSize = 0.04; activeLight = 0; blinking = 0; dayLight = 0; useFlare = 0; }; class RedBlinking { name = "bily pozicni blik"; color[] = {0.9, 0.15, 0.1}; ambient[] = {0.09, 0.015, 0.01}; intensity = 75; blinking = 1; blinkingPattern[] = {0.1, 0.9}; blinkingPatternGuarantee = 0; drawLightSize = 0.2; drawLightCenterSize = 0.04; }; class WhiteBlinking { name = "cerveny pozicni blik"; color[] = {0.9, 0.15, 0.1}; intensity = 75; ambient[] = {0.09, 0.015, 0.01}; blinking = 1; blinkingPattern[] = {0.2, 1.3}; blinkingPatternGuarantee = 0; drawLightSize = 0.25; drawLightCenterSize = 0.08; }; }; class Reflectors { class Middle { color[] = {7000,7500,10000,1}; ambient[] = {100,100,100,0}; position = "L svetlo"; direction = "konec L svetla"; hitpoint = "L svetlo"; selection = "L svetlo"; size = 1; innerAngle = 20; outerAngle = 60; coneFadeCoef = 10; intensity = 50; useFlare = 1; dayLight = 0; FlareSize = 6; class Attenuation { start = 1; constant = 0; linear = 0; quadratic = 4; }; }; }; class HitPoints:HitPoints { //class HitGlass2 {armor=0.5;}; //class HitGlass3 {armor=0.5;}; //class HitGlass4 {armor=0.5;}; //class HitGlass5 {armor=0.5;}; }; armor=40; damageResistance = 0.00593; cost=10000000; model="\Rotary_Wing\Data\Models\ah1z"; picture = "\Rotary_Wing\Data\ui\ah1z_CA.paa"; mapSize = 15.5; Icon="\Rotary_Wing\Data\ui\icomap_ah1z_CA.paa"; weapons[]={"FFARLauncher","CMFlareLauncher"}; magazines[]={"38Rnd_FFAR","168Rnd_CMFlare_Chaff_Magazine"}; enableManualFire = 1; class Turrets: Turrets { class MainTurret: MainTurret { isCopilot = 0; gunnerAction = "AH1Z_Gunner"; gunnerInAction = "AH1Z_Gunner"; gunnerCompartments = "Compartment2"; // cannot switch to pilot weapons[]={"M197","HellfireLauncher","SidewinderLaucher_AH1Z"}; magazines[]={"750Rnd_M197_AH1","8Rnd_Hellfire","2Rnd_Sidewinder_AH1Z"}; memoryPointsGetInGunner= "pos_gunner"; memoryPointsGetInGunnerDir= "pos_gunner_dir"; gunnerGetInAction = "GetInHigh"; gunnerGetOutAction = "GetOutHigh"; memoryPointGun = "machinegun"; minElev=-60; maxElev=+10; initElev=0; minTurn=-70; maxTurn=+70; initTurn=0; gunnerOpticsModel = "\Rotary_Wing\Data\Models\optika_AH1Z"; turretInfoType = "RscOptics_Heli_Attack_01_gunner"; discreteDistance[] = {100,200,300,400,500,600,700,800,1000,1200,1500,1800,2100}; discreteDistanceInitIndex = 2; class OpticsIn { class Wide //1x { opticsDisplayName = "W"; initAngleX=0; minAngleX=-30; maxAngleX=+30; initAngleY=0; minAngleY=-100; maxAngleY=+100; initFov=0.466; minFov=0.466; maxFov=0.466; visionMode[] = {"Normal","NVG","Ti"}; thermalMode[] = {0,1}; gunnerOpticsModel = "\Rotary_Wing\Data\Models\optika_AH1Z"; }; class Medium : Wide //5x { opticsDisplayName = "M"; initFov=0.093; minFov=0.093; maxFov=0.093; gunnerOpticsModel = "\Rotary_Wing\Data\Models\optika_AH1Z"; }; class Narrow : Wide //16x { opticsDisplayName = "N"; gunnerOpticsModel = "\Rotary_Wing\Data\Models\optika_AH1Z"; initFov=0.029; minFov=0.029; maxFov=0.029; }; }; class OpticsOut { class Monocular // 1x-3.5x { initAngleX=0; minAngleX=-30; maxAngleX=+30; initAngleY=0; minAngleY=-100; maxAngleY=+100; initFov=1.1; minFov=0.133; maxFov=1.1; visionMode[] = {"Normal","NVG"}; gunnerOpticsModel = ""; gunnerOpticsEffect[] = {}; }; }; /*class ViewOptics { initAngleX=0; minAngleX=-30; maxAngleX=+30; initAngleY=0; minAngleY=-100; maxAngleY=+100; initFov=0.155; minFov=0.047; maxFov=0.155; visionMode[] = {"Normal","NVG","Ti"}; thermalMode[] = {0,1}; };*/ }; }; threat[] = {0.8,1,0.6}; class AnimationSources: AnimationSources { class 20mmBarrels { source = "revolving"; weapon = "M197"; }; class mainRotor_folded { source = "user"; animPeriod = 0.001; initPhase = 1; }; class mainRotor_unfolded:mainRotor_folded { initPhase = 0; }; class rotorShaft_unfolded:mainRotor_unfolded{}; }; laserScanner = 1; class Library { libTextDesc = "AH1Z"; }; dammageHalf[]= { "\Rotary_Wing\Data\Textures\ah1z_monitor_glass_ca.paa", "\Rotary_Wing\Data\Textures\ah1z_monitor_glass_destr_co.paa" }; dammageFull[]= { "\Rotary_Wing\Data\Textures\ah1z_monitor_glass_ca.paa", "\Rotary_Wing\Data\Textures\ah1z_monitor_glass_destr_co.paa" }; class Damage { tex[]={}; mat[]={ "Rotary_Wing\Data\Textures\ah1z_body.rvmat", "Rotary_Wing\Data\Textures\ah1z_body_damage.rvmat", "Rotary_Wing\Data\Textures\ah1z_body_destruct.rvmat", "Rotary_Wing\Data\Textures\ah1z_glass.rvmat", "Rotary_Wing\Data\Textures\ah1z_glass_damage.rvmat", "Rotary_Wing\Data\Textures\ah1z_glass_damage.rvmat", "Rotary_Wing\Data\Textures\ah1z_glass_in.rvmat", "Rotary_Wing\Data\Textures\ah1z_glass_in_damage.rvmat", "Rotary_Wing\Data\Textures\ah1z_glass_in_damage.rvmat", "Rotary_Wing\Data\Textures\ah1z_cockpit.rvmat", "Rotary_Wing\Data\Textures\ah1z_cockpit.rvmat", "Rotary_Wing\Data\Textures\ah1z_cockpit_destruct.rvmat", "Rotary_Wing\Data\Textures\ah1z_engines.rvmat", "Rotary_Wing\Data\Textures\ah1z_engines_damage.rvmat", "Rotary_Wing\Data\Textures\ah1z_engines_destruct.rvmat", "Rotary_Wing\Data\Textures\ah1z_monitors.rvmat", "Rotary_Wing\Data\Textures\ah1z_monitors.rvmat", "Rotary_Wing\Data\Textures\ah1z_monitors_destruct.rvmat" }; }; destrType="DestructWreck"; }; class Pak_Ah1_Ard: Pak_Ah1_Dst { hiddenSelectionsTextures[] = {"Rotary_Wing\Data\Textures\ah1z_body_co.paa","Rotary_Wing\Data\Textures\ah1z_engines_co.paa"}; crew = "Pak_Fac_Hlpf"; scope=2; side=2; faction = "Pak_Fac"; displayName="AH-1Z Viper (Arid)"; }; class Pak_Ah1_Wrk: HelicopterWreck { scope = 1; class Armory {disabled = 1;} model = "\Rotary_Wing\Data\Models\AH1ZWreck.p3d"; typicalCargo[]={}; irTarget = false; transportAmmo = 0; transportRepair = 0; transportFuel = 0; transportSoldier = 2; class Eventhandlers{}; }; class CfgNonAIVehicles { class ProxyDriver; class ProxyWeapon; class ProxyAGM114Hellfire: ProxyWeapon { model = "\Rotary_Wing\Data\Models\AGM114Hellfire"; simulation = "maverickweapon"; }; class ProxyAIM9XSidewinder: ProxyWeapon { model = "\Rotary_Wing\Data\Models\AIM9XSidewinder"; simulation = "maverickweapon"; }; }; class CfgAmmo { class Default; class RocketCore; class RocketBase; class BulletBase; class MissileCore; class MissileBase; class B_762x51_Ball; class B_30mm_HE; class B_20mm; class B_30x113mm_M789_HEDP: B_30mm_HE { hit=67;indirectHit=15;indirectHitRange=1; // AP/HE mix model="\A3\Weapons_f\Data\bullettracer\tracer_red"; tracerScale=2; tracerStartTime = 0.1; // seconds tracerEndTime = 2.3; // seconds explosive = 0.3; //To get explosive particle effects caliber = 2.5; airFriction = -0.00078; }; class B_20mm_AP: B_20mm { hit = 45; indirectHit = 10; indirectHitRange = 2; visibleFire = 28; audibleFire = 28; visibleFireTime = 3; cost = 25; airLock = 1; explosive = 0.3; model = "\A3\Weapons_f\Data\bullettracer\tracer_red"; tracerScale = 1.8; tracerStartTime = 0.1; tracerEndTime = 2; airFriction = -0.00077; caliber = 2.33; }; class M_Sidewinder_AA: MissileBase { model = "\Rotary_Wing\Data\Models\sidewinder_fly"; proxyShape = "\Rotary_Wing\Data\Models\sidewinder_proxy"; hit = 350; indirectHit = 85; indirectHitRange = 10; maneuvrability = 27; simulationStep = 0.002; airLock = 1; irLock = 1; cost = 15000; maxSpeed = 728; timeToLive = 35; sideAirFriction = 0.2; trackOversteer = 1.0; trackLead = 1; initTime = 0.0; thrustTime = 5.0; thrust = 2900; fuseDistance = 500; CraterEffects = "AAMissileCrater"; explosionEffects = "AAMissileExplosion"; effectsMissile = "missile3"; weaponLockSystem = "2 + 16"; whistleDist = 20; }; class M_Hellfire_AT: MissileBase { model = "\Rotary_Wing\Data\Models\AGM114Hellfire"; proxyShape = "\Rotary_Wing\Data\Models\AGM114Hellfire_proxy"; hit = 1100; indirectHit = 20; indirectHitRange = 2; cost = 10000; maxSpeed = 425; irLock = 1; laserLock = 1; airLock = 0; maxControlRange = 8000; trackOversteer = 1; trackLead = 1; maneuvrability = 9; timeToLive = 20; simulationStep = 0.01; sideAirFriction = 0.2; initTime = 0.0; thrustTime = 3.25; thrust = 130; fuseDistance = 5; effectsMissileInit = "MissileDAR1"; effectsMissile = "missile2"; weaponLockSystem = "2 + 16"; whistleDist = 4; }; class R_Hydra_HE: RocketBase { model = "\Rotary_Wing\Data\Models\70mmRocket"; hit = 250; indirectHit = 50; indirectHitRange = 15; cost = 200; maxSpeed = 740; thrustTime = 1.1; thrust = 570; sideAirFriction = 0.2; timeToLive = 20; fuseDistance = 40; whistleDist = 24; }; }; class CfgMagazines { class VehicleMagazine; class 2Rnd_Sidewinder_AH1Z: VehicleMagazine { scope = 2; displayName = "SIDEWINDER"; ammo = "M_Sidewinder_AA"; count = 2; initSpeed = 0; maxLeadSpeed = 450; sound[] = {"A3\Sounds_F\weapons\Rockets\missile_1",1.1220185,1.3,1100}; reloadSound[] = {"A3\sounds_f\dummysound",0.000316228,1,20}; nameSound = "missiles"; }; class 750Rnd_M197_AH1: VehicleMagazine { scope = 2; displayName = "M197"; ammo = "B_20mm_AP"; count = 750; initSpeed = 1036; maxLeadSpeed = 200; tracersEvery = 2; nameSound = "cannon"; }; class 100Rnd_762x51_M240: VehicleMagazine { scope = 1; displayName = "100rnd_M240"; count=100; ammo = "B_762x51_Ball"; initSpeed = 900; tracersEvery = 4; lastRoundsTracer = 4; nameSound="mgun"; descriptionShort = "100RND_M240"; }; class 1200Rnd_30x113mm_M789_HEDP: VehicleMagazine { scope = 1; displayName = "1200Rnd 30x113mm M789 HEDP"; ammo="B_30x113mm_M789_HEDP"; count=1200; initSpeed = 805; tracersEvery = 1; maxLeadSpeed=500; nameSound="cannon"; airLock=1; }; class 8Rnd_Hellfire: VehicleMagazine { scope = 2; displayName = "HELLFIRE"; count = 8; ammo = "M_Hellfire_AT"; initSpeed = 0; maxLeadSpeed = 200; sound[] = {"\Rotary_Wing\Data\Sounds\TOW_2",3.1622777,1}; //sound[] = {"A3\Sounds_F\weapons\Rockets\missile_1",1.1220185,1.3,1100}; soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1",1.0,1.1,700}; lockingTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_1",0.31622776,1}; lockedTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_3",0.31622776,2.5}; reloadSound[] = {"A3\sounds_f\dummysound",0.00031622776,1}; nameSound = "missiles"; }; class 14Rnd_FFAR: VehicleMagazine { scope = 2; displayName = "FFAR"; ammo = "R_Hydra_HE"; count = 14; initSpeed = 44; maxLeadSpeed = 200; nameSound = "rockets"; sound[] = {"\Rotary_Wing\Data\Sounds\rocketLauncher_Shot21",3.1622777,1}; reloadSound[] = {"A3\sounds_f\dummysound",0.00031622776,1}; }; class 28Rnd_FFAR: 14Rnd_FFAR { count = 28; }; class 38Rnd_FFAR: 14Rnd_FFAR { count = 38; }; }; class Mode_SemiAuto; class Mode_Burst; class CfgWeapons { class Default; class M134_minigun; class LauncherCore; class RocketPods; class CannonCore; class MissileLauncher; class MGun; class M134_minigun_2: M134_minigun {}; class SidewinderLaucher_AH1Z: MissileLauncher { scope = 2; displayName = "AIM-9X Sidewinder"; displayNameMagazine = "AIM-9X Sidewinder"; shortNameMagazine = "AIM-9X"; minRange = 300; minRangeProbab = 0.025; midRange = 2500; midRangeProbab = 0.09; maxRange = 9000; maxRangeProbab = 0.01; sound[] = {"A3\Sounds_F\weapons\Rockets\missile_2",1.1220185,1.3,1000}; soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_2",1.0,1.5,700}; lockingTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_1",0.316228,1}; lockedTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_3",0.316228,2.5}; weaponSoundEffect = "DefaultRifle"; reloadTime = 0.1; magazineReloadTime = 30; magazines[] = {"2Rnd_Sidewinder_AH1Z"}; cursor = "EmptyCursor"; cursorAim = "missile"; cursorSize = 1; aiRateOfFire = 1; aiRateOfFireDistance = 4000; weaponLockDelay = 3.0; }; class M197: CannonCore { scope = 1; cursor = "EmptyCursor"; cursorAim= "mg"; cursorSize = 1; displayName = "M197"; ballisticsComputer = 1; autoFire = 1; nameSound = "cannon"; magazines[] = {"750Rnd_M197_AH1"}; canLock = 2; modes[] = {"manual","close","short","medium","far"}; class manual: CannonCore { displayName = "M197"; autoFire = 1; sound[]={"\Rotary_Wing\Data\sounds\a10vulcanVII",db10,1,1100}; reloadTime = 0.06; dispersion = 0.00025; showToPlayer = 1; burst = 1; aiRateOfFire = 0.5; aiRateOfFireDistance = 50; minRange = 1; minRangeProbab = 0.01; midRange = 2; midRangeProbab = 0.01; maxRange = 3; maxRangeProbab = 0.01; }; class close: manual { showToPlayer = 0; soundBurst = 0; burst = 10; aiRateOfFire = 0.5; aiRateOfFireDistance = 50; minRange = 0; minRangeProbab = 0.05; midRange = 200; midRangeProbab = 0.58; maxRange = 500; maxRangeProbab = 0.04; }; class short: close { burst = 8; aiRateOfFire = 2; aiRateOfFireDistance = 300; minRange = 300; minRangeProbab = 0.05; midRange = 600; midRangeProbab = 0.58; maxRange = 800; maxRangeProbab = 0.04; }; class medium: close { burst = 4; aiRateOfFire = 3; aiRateOfFireDistance = 600; minRange = 700; minRangeProbab = 0.05; midRange = 900; midRangeProbab = 0.58; maxRange = 1000; maxRangeProbab = 0.04; }; class far: close { burst = 5; aiRateOfFire = 5; aiRateOfFireDistance = 1000; minRange = 1000; minRangeProbab = 0.05; midRange = 1200; midRangeProbab = 0.4; maxRange = 1400; maxRangeProbab = 0.01; }; }; class M240_veh: MGun { scope = 1; displayName = "M240"; soundContinuous = false; aiDispersionCoefY=21; // 7 aiDispersionCoefX=21; magazines[] = {"100Rnd_762x51_M240"}; magazineReloadTime=3; canLock = 0; modes[] = {"manual","close","short","medium","far"}; class manual: MGun { displayName = "M240"; autoFire = 1; reloadTime = 0.075; dispersion=0.0012; showToPlayer = true; burst = 1; aiRateOfFire = 0.5; aiRateOfFireDistance = 50; minRange=1;minRangeProbab=0.01; midRange=2;midRangeProbab=0.01; maxRange=3;maxRangeProbab=0.01; } class close: manual { showToPlayer = false; soundBurst = false; burst = 10; //Rg 6; aiRateOfFire = 0.5; aiRateOfFireDistance = 50; minRange=0;minRangeProbab=0.05; midRange=100;midRangeProbab=0.58; maxRange=200;maxRangeProbab=0.04; }; class short: close { burst = 8; //Rg 6; aiRateOfFire = 2; aiRateOfFireDistance = 300; //Rg 200; minRange=50;minRangeProbab=0.05; midRange=200;midRangeProbab=0.58; //Rg 100; maxRange=400;maxRangeProbab=0.04; //Rg 200; }; class medium: close { burst = 4; //Rg 8; aiRateOfFire = 3; //Rg 4; aiRateOfFireDistance = 600; //Rg 400; minRange=300;minRangeProbab=0.05; midRange=400;midRangeProbab=0.58; //Rg 300; maxRange=600;maxRangeProbab=0.04; //Rg 400; }; class far: close { burst = 5; //Rg 7; aiRateOfFire = 5; //Rg 7; aiRateOfFireDistance = 1000; //Rg 600; minRange=500;minRangeProbab=0.05; midRange=600;midRangeProbab=0.4; //Rg 500; maxRange=800;maxRangeProbab=0.01; //Rg 600; }; }; class M240_veh_2:M240_veh {}; class FFARLauncher: RocketPods { magazines[] = {"38Rnd_FFAR","28Rnd_FFAR"}; displayName = "HYDRA"; modes[] = {"Far_AI","Burst"}; cursor = "EmptyCursor"; cursorAim = "rocket"; class Far_AI: RocketPods { minRange = 50; minRangeProbab = 0.041; midRange = 600; midRangeProbab = 0.21; maxRange = 2500; maxRangeProbab = 0.11; displayName = "HYDRA-SINGLE"; sound[] = {"\Rotary_Wing\Data\Sounds\RocketLauncher_Shot21",3.1622777,1,1100}; soundFly[] = {"\Rotary_Wing\Data\Sounds\rocket_fly1",5.623413,1.2,700}; burst = 1; reloadTime = 0.08; autoFire = 0; showToPlayer = 0; }; class Burst: RocketPods { minRange = 1; minRangeProbab = 0.001; midRange = 2; midRangeProbab = 0.001; maxRange = 3; maxRangeProbab = 0.001; displayName = "HYDRA-PAIR"; burst = 1; reloadTime = 0.08; soundContinuous = 1; autoFire = 1; sound[] = {"\Rotary_Wing\Data\Sounds\RocketLauncher_Shot21",3.1622777,1,1100}; soundFly[] = {"\Rotary_Wing\Data\Sounds\rocket_fly1",5.623413,1.2,700}; }; }; class FFARLauncher_14: FFARLauncher { magazines[] = {"14Rnd_FFAR"}; }; class HellfireLauncher: MissileLauncher { scope = 2; autoFire = 0; displayName = "HELLFIRE"; minRange = 50; minRangeProbab = 0.6; midRange = 2000; midRangeProbab = 0.9; maxRange = 4000; maxRangeProbab = 0.1; nameSound = "MissileLauncher"; sound[] = {"\Rotary_Wing\Data\Sounds\RocketLauncher_Shot05",1.922776,1,1100}; soundFly[] = {"\Rotary_Wing\Data\Sounds\rocket_fly1",100.0,0.8,800}; lockingTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_1",0.31622776,1}; lockedTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_3",0.31622776,2.5}; reloadTime = 1; magazines[] = {"8Rnd_Hellfire"}; weaponLockDelay = 3.0; aiRateOfFire = 5.0; aiRateOfFireDistance = 4000; cursorAim = "bomb"; cursor = "EmptyCursor"; cursorSize = 1; textureType = "fullAuto"; }; class M230: CannonCore { scope = 1; displayName = "M230"; nameSound="cannon"; autoFire = 1; magazines[] = {"1200Rnd_30x113mm_M789_HEDP"}; canLock = 2; flash = "gunfire"; flashSize = 0.1; recoil = "Empty"; ballisticsComputer = 1; aiDispersionCoefX = 6; // 2 ffMagnitude = 0.5; ffFrequency = 11; ffCount = 6; cursor= "EmptyCursor"; cursorAim= "mg"; cursorSize = 1; modes[] = {"manual","close","short","medium","far"}; class manual: CannonCore { displayName = "M230"; autoFire = 1; sound[]={"\Rotary_Wing\Data\sounds\a10vulcanVII",db10,1,1100}; reloadTime = 0.096; dispersion=0.002; soundContinuous = 0; initspeed = 820; showToPlayer = true; burst = 1; multiplier = 1; aiRateOfFire = 0.5; aiRateOfFireDistance = 50; minRange=1;minRangeProbab=0.001; midRange=2;midRangeProbab=0.001; maxRange=3;maxRangeProbab=0.001; ffMagnitude = 0.5; ffFrequency = 11; ffCount = 6; } class close: manual { showToPlayer = false; soundBurst = false; burst = 15; //Rg 6; aiRateOfFire = 0.5; aiRateOfFireDistance = 400; minRange=0;minRangeProbab=0.04; midRange=200;midRangeProbab=0.2; maxRange=400;maxRangeProbab=0.1; }; class short: close { burst = 10; //Rg 6; aiRateOfFire = 1; aiRateOfFireDistance = 600; //Rg 200; minRange=200;minRangeProbab=0.1; midRange=500;midRangeProbab=0.2; //Rg 100; maxRange=800;maxRangeProbab=0.1; //Rg 200; }; class medium: close { burst = 7; //Rg 8; aiRateOfFire = 2; //Rg 4; aiRateOfFireDistance = 800; //Rg 400; minRange=600;minRangeProbab=0.1; midRange=800;midRangeProbab=0.2; //Rg 300; maxRange=1000;maxRangeProbab=0.1; //Rg 400; }; class far: close { burst = 4; //Rg 7; aiRateOfFire = 3; //Rg 7; aiRateOfFireDistance = 1000; //Rg 600; minRange=800;minRangeProbab=0.1; midRange=1000;midRangeProbab=0.2; //Rg 500; maxRange=1500;maxRangeProbab=0.4; //Rg 400; }; }; }; class CfgMovesBasic { class DefaultDie; class ManActions { AH1Z_Pilot = "AH1Z_Pilot"; AH1Z_Gunner = "AH1Z_Gunner"; }; }; class CfgMovesMaleSdr: CfgMovesBasic { class States { class Crew; class AH1Z_Dead: DefaultDie { actions = "DeadActions"; file = "\Rotary_Wing\Data\Animations\AH1Z_Dead.rtm"; speed = 0.5; looped = 0; terminal = 1; soundEnabled = 0; connectTo[] = {"Unconscious",0.1}; }; class KIA_AH1Z_Pilot: DefaultDie { actions = "DeadActions"; speed = 0.5; looped = 0; terminal = 1; file = "\Rotary_Wing\Data\Animations\KIA_AH1Z_Pilot.rtm"; connectTo[] = {"Unconscious",0.1}; }; class AH1Z_Pilot: Crew { file = "\Rotary_Wing\Data\Animations\AH1Z_Pilot.rtm"; interpolateTo[] = {"KIA_AH1Z_Pilot",1}; }; class KIA_AH1Z_Gunner: DefaultDie { actions = "DeadActions"; speed = 0.5; looped = 0; terminal = 1; file = "\Rotary_Wing\Data\Animations\KIA_AH1Z_Gunner.rtm"; connectTo[] = {"Unconscious",0.1}; }; class AH1Z_Gunner: Crew { file = "\Rotary_Wing\Data\Animations\AH1Z_Gunner.rtm"; interpolateTo[] = {"KIA_AH1Z_Gunner",1}; }; }; }; }; -
Error: no entry 'bin\config.bin/CfgVehicles/CfgNonAIVehicles.scope'
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Dumb dumb dumb, figured it out, ignore please. -
Hidden Selection Textures issue Custom Helmet
Kuzuri posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi, I have a problem getting hidden selection textures to show for a custom helmet mod: Heré's what I've done to make it work: 1) I've made the selection in Object Builder using the whole model and called it "Camo". 2) Added it in CfgModels to sections. 3) This is the CfgWeapons: class cfgWeapons { class ItemCore; class HeadgearItem; class Pak_Vch_Blk : ItemCore { author = "Kuzuri, Zayden"; dlc = "Dawn"; scope = 2; weaponPoolAvailable = 1; displayName = "Vehicle Crew Helmet (Black)"; model = "\Vehicle_Crew_Helmet\Data\Models\Veh_Crw_Hlm"; hiddenSelections[] = {"Camo"}; class ItemInfo : HeadgearItem { mass = 40; uniformModel = "\Vehicle_Crew_Helmet\Data\Models\Veh_Crw_Hlm"; modelSides[] = {3, 1}; class HitpointsProtectionInfo { class Head { hitpointName = "HitHead" Armor = 8; passThrough = 0.5; }; }; }; }; class Pak_Vch_Wht : Pak_Vch_Blk { author = "Kuzuri, Zayden"; displayName = "Vehicle Crew Helmet (White)"; hiddenSelectionsTextures[] = {"\Vehicle_Crew_Helmet\Data\Textures\Pak_Hpg_Wht_co.paa"}; }; class Pak_Vch_Khk : Pak_Vch_Blk { author = "Kuzuri, Zayden"; displayName = "Vehicle Crew Helmet (Khaki)"; hiddenSelectionsTextures[] = {"\Vehicle_Crew_Helmet\Data\Textures\Pak_Hpg_Khk_co.paa"}; }; class Pak_Vch_Grn : Pak_Vch_Blk { author = "Kuzuri, Zayden"; displayName = "Vehicle Crew Helmet (Green)"; hiddenSelectionsTextures[] = {"\Vehicle_Crew_Helmet\Data\Textures\Pak_Hpg_Grn_co.paa"}; }; }; -
Hidden Selection Textures issue Custom Helmet
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Alright, figured it out, courtesy my co-author... You have to have hiddenSelections[] = {"Camo"}; added in the base class, in this case "class Pak_Vch_Blk", If you don't the model will disappear when you add it to "class ItemInfo" (which is need to make hiddenselections work in the first place.) The code I used to make it work is below, leaving it here to help anyone who needs it. HiddenSelectionsTextures does not have to be added in ItemInfo, you can just add it to the Child classes. Thanks Jackal326! class cfgWeapons { class ItemCore; class HeadgearItem; class Pak_Vch_Blk : ItemCore { author = "Kuzuri, Zayden"; dlc = "Dawn"; scope = 2; weaponPoolAvailable = 1; displayName = "Vehicle Crew Helmet (Black)"; model = "\Vehicle_Crew_Helmet\Data\Models\Veh_Crw_Hlm"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\Vehicle_Crew_Helmet\Data\Textures\Pak_Hpg_Blk_co.paa"}; class ItemInfo : HeadgearItem { mass = 40; uniformModel = "\Vehicle_Crew_Helmet\Data\Models\Veh_Crw_Hlm"; modelSides[] = {3, 1}; hiddenSelections[] = {"Camo"}; class HitpointsProtectionInfo { class Head { hitpointName = "HitHead" Armor = 8; passThrough = 0.5; }; }; }; }; class Pak_Vch_Wht : Pak_Vch_Blk { author = "Kuzuri, Zayden"; displayName = "Vehicle Crew Helmet (White)"; hiddenSelectionsTextures[] = {"\Vehicle_Crew_Helmet\Data\Textures\Pak_Hpg_Wht_co.paa"}; }; class Pak_Vch_Khk : Pak_Vch_Blk { author = "Kuzuri, Zayden"; displayName = "Vehicle Crew Helmet (Khaki)"; hiddenSelectionsTextures[] = {"\Vehicle_Crew_Helmet\Data\Textures\Pak_Hpg_Khk_co.paa"}; }; class Pak_Vch_Grn : Pak_Vch_Blk { author = "Kuzuri, Zayden"; displayName = "Vehicle Crew Helmet (Green)"; hiddenSelectionsTextures[] = {"\Vehicle_Crew_Helmet\Data\Textures\Pak_Hpg_Grn_co.paa"}; }; }; -
Hidden Selection Textures issue Custom Helmet
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Okay, uhhh how do i do that? Put it in a code box that is. -
Hidden Selection Textures issue Custom Helmet
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Just to clarify what the code looks like with the hiddenSelectionsTextures under class ItemInfo: The issue with specifying it under ItemInfo is the child class no longer inherits anything from the parent class: So in game the helmet has disappeared completely and it's protection stats are no longer inherited either. so then I transfer properties from the parent class to the child class and it looks like this: However, that brings me back to square one with the model having the original .p3d texture, and not the hiddenSelectionsTextures I specified. Thoughts? Has Bohemia changed the way hidden selections are handled? -
Hidden Selection Textures issue Custom Helmet
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Sorry about that in the post, it's definitely upper-case in everything, no mistakes there. -
Hidden Selection Textures issue Custom Helmet
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Yes, no errors. -
Hidden Selection Textures issue Custom Helmet
Kuzuri replied to Kuzuri's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Thanks for the quick reply. No, I've already tried defining it under Class ItemInfo, it doesn't work. The net result is the same, I have the base texture which I attached to the .p3d on all variants. Any other ideas?