Jump to content

nzdfcrash

Member
  • Content Count

    552
  • Joined

  • Last visited

  • Medals

Posts posted by nzdfcrash


  1. I've tinkered abit with it since yet once i reach 20 + altitude I loose the user option for the Ramp.

    			class OpenDoor
    		{
    			displayName="Open Ramp";
    			position="pilotcontrol";
    			radius=10;
    			condition="this animationPhase ""BackDoor_1"" < 0.4&&(getPos this) select 2 < 10;";
    			statement="this animate [""BackDoor_1"", 1];this animate [""BackDoor_2"", 1]";
    			onlyforplayer = true;
    		};
    		class CloseDoor
    		{
    			displayName="Close Ramp";
    			position="pilotcontrol";
    			radius=10;
    			condition="this animationPhase ""BackDoor_1"" >= 0.40";
    			statement="this animate [""BackDoor_1"", 0];this animate [""BackDoor_2"", 0]";
    			onlyforplayer = true;	


  2. Hi once again...

    I have come across yet another issue with a C-27 I am working on where the Lower/Raise Ramp User Action seems to be linked to roughly 20 altitude and once that altitude has been surpassed the user actions vanish. Have tried using proven code from a working ramp on one of the older hercs i have in my possession to no avail and am hoping someone will have a quick solution to this issue.

    CfgSkeleton if its of any use...

    class CfgSkeletons 
    {
    class Default
    {
    	isDiscrete = 1;
    	skeletonInherit = "";
    	skeletonBones[] = {};
    };
    class Vehicle : Default {};
    class Plane: Vehicle {};
    
    class anzac_fixed_wing_medium_lift_au_c27j: Plane 
    {
    	isDiscrete = 1;
    	skeletonInherit = "";
    	skeletonBones[] = 
    	{
    		//inizio da Plane
    		"alt",
    		"",
    		"alt2",
    		"",
    		"mph",
    		"",
    		"mph2",
    		"",
    		"vert_speed",
    		"",
    		"vert_speed2",
    		"",
    		"nm_alt",
    		"",
    		"hud_alt",
    		"",
    		"hud_speed",
    		"",
    		"rpm",
    		"",
    		"kompas",
    		"",
    		"kompas2",
    		"",
    		"kompas5",
    		"",
    		"kompas6",
    		"",
    		"hodinova",
    		"",
    		"hodinova2",
    		"",
    		"minutova",
    		"",
    		"minutova2",
    		"",
    		"horizont_dive","",
    		"horizont","horizont_dive",
    		"horizont_dive2","",
    		"horizont2","horizont_dive2",
    		"horizont6_dive","",
    		"horizont6","horizont6_dive",
    		"horizont_dive5","",
    		"horizont5","horizont_dive5",
    		"lkh klapka",
    		"",
    		"pkh klapka",
    		"",
    		"lkd klapka",
    		"",
    		"pkd klapka",
    		"",
    		"leva smerovka",
    		"",
    		"leva vejskovka",
    		"",
    		"prava smerovka",
    		"",
    		"prava vejskovka",
    		"",
    		"ls klapka",
    		"",
    		"ps klapka",
    		"",
    		"predni kolo",
    		"",
    		"levy kolo",
    		"",
    		"pravy kolo",
    		"",
    		"vrtule",
    		"",
    
    		//fine da Plane
    		"mdl", 
    		"", 
    		"mdr", 
    		"", 
    		"mdd", 
    		"", 
    		"3dhud", 
    		"", 
    		"gear_lock", 
    		"", 
    		"flaps", 
    		"", 
    		"fuel_L", 
    		"", 
    		"fuel_R", 
    		"", 
    		"rpm_2", 
    		"", 
    		"rpm_1", 
    		"", 
    		"mph_3", 
    		"", 
    		"mph_4", 
    		"", 
    		"vario_1", 
    		"", 
    		"vario_2", 
    		"", 
    		"mala", 
    		"", 
    		"velka", 
    		"", 
    		"alt_1", 
    		"", 
    		"alt_3", 
    		"", 
    		"compass_1", 
    		"", 
    		"compass_2", 
    		"", 
    		"compass_3", 
    		"", 
    		"rotor_1", 
    		"", 
    		"rotor_2", 
    		"", 
    		"flap_1_1", 
    		"", 
    		"flap_1_2", 
    		"", 
    		"flap_2_1", 
    		"", 
    		"flap_2_2", 
    		"", 
    		"elevator_1",
    		"",
    		"elevator_2", 
    		"", 
    		"aileron_1", 
    		"", 
    		"aileron_2", 
    		"", 
    		"rudder", 
    		"", 
    		"airbrake_1", 
    		"", 
    		"airbrake_2", 
    		"",
    		"gear_1_hatch_1_1", 
    		"", 
    		"gear_1_hatch_1_2", 
    		"",
    		"gear_1_hatch_2_1", 
    		"",
    		"gear_1_hatch_2_2", 
    		"",
    		"gear_1", 
    		"", 
    
    		"gear_1_steering",
    		"gear_1", 
    
    		"gear_1_damper",
    		"gear_1_steering",
    
    		"gear_1_stabil_2", 
    		"gear_1_damper",
    
    		"gear_1_stabil_1", 
    		"gear_1_stabil_2", 
    
    		"wheel_1", 
    		"gear_1",
    
    		"gear_2", 
    		"", 
    		"gear_2_stabil", 
    		"gear_2",
    
    		"wheel_2",
    		"gear_2",
    
    		"gear_3", 
    		"", 
    		"gear_3_stabil",
    		"gear_3",
    
    		"wheel_3",
    		"gear_3", 
    
    
    		"ladder",
    		"",
    
    		"pistone",
    		"",
    		"backdoor_1",
    		"",
    		"backdoor_2",
    		"",
    		"display_off", 
    		"", 
    		"eng_LU", 
    		"", 
    		"eng_RU",
    		"",
    		"damageHide",
    		""
    	};
    };
    };

    CfgModels if of any use...

    class CfgModels 
    {
    class Default
    {
    	sectionsInherit="";
    	sections[] = {};
    	skeletonName = "";
    };
    class Vehicle : Default {};
    class Plane: Vehicle {};
    
    class anzac_fixed_wing_medium_lift_au_c27j: Plane 
    {
    	skeletonName = "anzac_fixed_wing_medium_lift_au_c27j";
    	sectionsInherit = "";
    	sections[] = 
    	{
    		"vrtule staticka",
    		"vrtule blur",
    		"trup",
    		"zbytek",
    		"elektronika",
    		"munice",
    		"zbran",
    		"vez",
    		"zbytek",
    		"podsvit pristroju",
    		"Camo_1",
    		"Camo_2",
    		"Camo_3",
    		"Camo_4",
    		"Camo_5",
    		"Camo_6",
    		"clan",
    		"clan_sign",
    		"trup",
    		"motor",
    		"palivo",
    		"sklo predni L",
    		"damage",
    		"damageHide",
    		"L svetlo",
    		"P svetlo"			
    	};
    
    	class Animations
    	{
    		//inizio da Plane
    
    		class WatchHour: Rotation
    		{
    			source="clockHour";
    			selection="hodinova";
    			axis="osa_time";
    			memory="false";
    			angle1="rad -360";
    		};
    		class WatchHour2: WatchHour
    		{
    			selection="hodinova2";
    			axis="osa_time2";
    		};
    		class WatchMinute: Rotation
    		{
    			source="clockMinute";
    			selection="minutova";
    			axis="osa_time";
    			memory="false";
    			angle1="rad -360";
    		};
    		class WatchMinute2: WatchMinute
    		{
    			selection="minutova2";
    			axis="osa_time2";
    		};
    
    		//fine da Plane
    		class Rudder: Rotation
    		{
    			source = "rudder";
    			selection = "rudder";
    			axis = "rudder_axis";
    			minValue = -1;
    			maxValue = 1;
    			angle0 = "rad 22.9";
    			angle1 = "rad -22.9";
    		};
    		class Elevator_1
    		{
    			type="rotation";
    			source = "elevator";
    			selection = "elevator_1";
    			axis = "elevator_1_axis";
    			minValue = -1.0;
    			maxValue = 1.0;
    			angle0 = -0.499164;
    			angle1 = 0.499164;
    		};
    		class Elevator_2: Rotation
    		{
    			type = "rotation";
    			source = "elevator";
    			selection = "elevator_2";
    			axis = "elevator_2_axis";
    			minValue = -1.0;
    			maxValue = 1.0;
    			angle0 = 0.499164;
    			angle1 = -0.499164;
    		};
    		class AileronL: Rotation
    		{
    			source = "aileron";
    			selection = "aileron_1";
    			axis = "aileron_1_axis";
    			minValue = -1.0;
    			maxValue = 1.0;
    			angle0 = -0.436332;
    			angle1 = 0.523599;
    		};
    		class AileronR: AileronL
    		{
    			selection = "aileron_2";
    			axis = "aileron_2_axis";
    			angle0 = 0.523599;
    			angle1 = -0.436332;
    		};
    		class display_on
    		{
    			type="hide";
    			hideValue=0.9;
    			minValue=-0.5;
    			maxValue=0.5;
    			minPhase=-0.5;
    			maxPhase=0.5;
    			source="rpm";
    			sourceAddress=0;
    			selection="display_off";
    		};
    		class airbrake_1: Rotation
    		{
    			type="rotation";
    			source="SpeedBrake";
    			selection="airbrake_1";
    			axis="airbrake_1_axis";
    			memory=1;
    			sourceAddress="clamp";
    			minValue=0.000000;
    			maxValue=1.000000;
    			angle0=-0.000000;
    			angle1=1.134464;
    		};
    		class airbrake_2: airbrake_1
    		{
    			selection="airbrake_2";
    			axis="airbrake_2_axis";
    			angle0=0.000000;
    			angle1=-1.134464;
    		};
    		class Flap_1_1: Rotation
    		{
    			source="flap";
    			selection="Flap_1_1";
    			axis="Flap_1_1_axis";
    			minValue = -1;
    			maxValue = 1;
    			angle0 = "rad +40";
    			angle1 = "rad -40";
                                   memory = 1;
    		};
    		class Flap_1_2: Flap_1_1
    		{
    			selection="Flap_1_2";
    			axis="Flap_1_2_axis";
    			minValue = -1;
    			maxValue = 1;
    			angle0 = "rad +40";
    			angle1 = "rad -40";
    		};
    		class Flap_2_1: Flap_1_1
    		{
    			source="flap";
    			selection="Flap_2_1";
    			axis="Flap_2_1_axis";
    			minValue = -1;
    			maxValue = 1;
    			angle0 = "rad -40";
    			angle1 = "rad +40";
    		};
    		class Flap_2_2: Flap_1_1
    		{
    			selection="Flap_2_2";
    			axis="Flap_2_2_axis";
    			minValue = -1;
    			maxValue = 1;
    			angle0 = "rad +40";
    			angle1 = "rad -40";
    		};
    		class Gear_1
    		{
    			type = "rotation";
    			source = "Gear";
    			selection = "Gear_1";
    			axis = "Gear_1_axis";
    			memory = 1;
    			sourceAddress = "clamp";
    			minValue = 0.0;
    			maxValue = 0.6;
    			angle0 = 0.0;
    			angle1 = -1.7;
    		};
    		class gear_1_Steering
    		{
    			type = "rotation";
    			source = "noseWheelTurn";
    			selection = "gear_1_Steering";
    			axis = "gear_1_damper_axis";
    			memory = 1;
    			sourceAddress = "clamp";
    			minValue = -1.0;
    			maxValue = 1.0;
    			angle0 = -0.349066;
    			angle1 = 0.349066;
    		};
    		class gear_1_hatch_1_1: Gear_1
    		{
    			type = "rotation";
    			animPeriod = 8;
    			selection = "gear_1_hatch_1_1";
    			axis = "gear_1_hatch_1_1_axis";
    			source = "gear";
    			minValue = 0;
    			maxValue = 1;
    			angle0 = -1.65;
    			angle1 = 0;
    		};
    		class gear_1_hatch_1_2: Gear_1
    		{
    			type = "rotation";
    			animPeriod = 8;
    			selection = "gear_1_hatch_1_2";
    			axis = "gear_1_hatch_1_2_axis";
    			source = "gear";
    			minValue = 0;
    			maxValue = 1;
    			angle0 = -1.65;
    			angle1 = 0;
    		};
    		class gear_1_hatch_2_1: Gear_1
    		{
    			type = "rotation";
    			animPeriod = 8;
    			selection = "gear_1_hatch_2_1";
    			axis = "gear_1_hatch_2_1_axis";
    			source = "gear";
    			minValue = 0;
    			maxValue = 1;
    			angle0 = -1.65;
    			angle1 = 0;
    		};
    		class gear_1_hatch_2_2: Gear_1
    		{
    			type = "rotation";
    			animPeriod = 8;
    			selection = "gear_1_hatch_2_2";
    			axis = "gear_1_hatch_2_2_axis";
    			source = "gear";
    			minValue = 0;
    			maxValue = 1;
    			angle0 = 1.65;
    			angle1 = 0;
    		};
    		class gear_1_piston_2: Gear_1
    		{
    			selection = "gear_1_piston_2";
    			axis = "gear_1_piston_2_axis";
    			minValue = 0.0;
    			maxValue = 0.57;
    			angle0 = 0.0;
    			angle1 = 1.05592;
    		};
    		class gear_1_piston_1: Gear_1
    		{
    			selection = "gear_1_piston_1";
    			axis = "gear_1_piston_1_axis";
    			minValue = 0.1;
    			maxValue = 0.6;
    			angle0 = 0.0;
    			angle1 = -0.418879;
    		};
    		class gear_1_damper
    		{
    			type = "translation";
    			source = "altRadar";
    			selection = "gear_1_damper";
    			axis = "gear_1_damper_axis";
    			memory = 1;
    			sourceAddress = "clamp";
    
    			offset0 = 0.0;
    			offset1 = -0.25;
    
    			minValue = 0;
    			maxValue = 0.5;
    			angle0 = 0.0;
    			angle1 = -0.196706;
    		};
    		class gear_1_stabil_1
    		{
    			type = "rotation";
    			source = "altRadar";
    			selection = "gear_1_stabil_1";
    			axis = "gear_1_stabil_1_axis";
    			memory = 1;
    			sourceAddress = "clamp";
    			minValue = 0.0;
    			maxValue = 1.0;
    			angle0 = 0.0;
    			angle1 = 0.261799;
    		};
    		class gear_1_stabil_2: gear_1_stabil_1 
    		{
    			selection = "gear_1_stabil_2";
    			axis = "gear_1_stabil_2_axis";
    			angle0 = 0.0;
    			angle1 = -0.261799;
    		};
    		class Gear_2
    		{
    			type = "rotationX";
    			source = "Gear";
    			selection = "Gear_2";
    			axis = "Gear_2_axis";
    			memory = 1;
    			sourceAddress = "clamp";
    			minValue = 0.0;
    			maxValue = 1.0;
    			angle0 = 0.0;
    			angle1 = -0.5;
    		};
    		class Gear_2_damper
    		{
    			type = "rotationX";
    			source = "altRadar";
    			selection = "Gear_2_stabil";
    			axis = "Gear_2_damper_axis";
    			memory = 1;
    			sourceAddress = "clamp";
    
    			offset0 = 0.15;
    			offset1 = 0;
    
    			minValue = 0;
    			maxValue = 0.5;
    			angle0 = 0.0;
    			angle1 = -0.196706;
    		};
    		class Gear_3 {
    			type = "rotationX";
    			source = "Gear";
    			selection = "Gear_3";
    			axis = "Gear_3_axis";
    			memory = 1;
    			sourceAddress = "clamp";
    			minValue = 0.0;
    			maxValue = 1.0;
    			angle0 = 0.0;
    			angle1 = -0.5;
    		};
    		class Gear_3_damper
    		{
    			type = "rotationX";
    			source = "altRadar";
    			selection = "Gear_3_stabil";
    			axis = "Gear_3_damper_axis";
    			memory = 1;
    			sourceAddress = "clamp";
    
    			offset0 = -0.15;
    			offset1 = 0;
    
    			minValue = 0;
    			maxValue = 0.5;
    			angle0 = 0.0;
    			angle1 = -0.196706;
    		};
    		class Wheel_1
    		{
    			type = "rotationX";
    			source = "wheel";
    			selection = "wheel_1";
    			axis = "";
    			memory = 1;
    			sourceAddress = "loop";
    			minValue = 0.0;
    			maxValue = 1.0;
    			angle0 = 0.0;
    			angle1 = -3.14159;
    		};
    		class Wheel_2: Wheel_1
    		{
    			selection = "wheel_2";
    			axis = "";
    		};
    		class Wheel_3: Wheel_1
    		{
    			selection = "wheel_3";
    			axis = "";
    		};
    		class damageHide
    		{
    			type = "hide";
    			source = "damage";
    			selection = "damageHide";
    		};
    		class HideGear_1: damageHide
    		{
    			selection = "Gear_1";
    		};
    		class HideGear_1_damper: damageHide
    		{
    			selection = "gear_1_damper";
    		};
    		class HideGear_1_hatch_1_1 : damageHide
    		{
    			selection = "gear_1_hatch_1_1";
    		};
    		class HideGear_1_hatch_1_2 : damageHide
    		{
    			selection = "gear_1_hatch_1_2";
    		};
    		class HideGear_1_hatch_2_1 : damageHide
    		{
    			selection = "gear_1_hatch_2_1";
    		};
    		class HideGear_1_hatch_2_2: damageHide
    		{
    			selection = "gear_1_hatch_2_2";
    		};
    		class HideGear_1_stabil_1: damageHide
    		{
    			selection = "gear_1_stabil_1";
    		};
    		class HideGear_1_stabil_2: damageHide
    		{
    			selection = "gear_1_stabil_2";
    		};
    		class HideGear_1_Steering: damageHide
    		{
    			selection = "gear_1_Steering";
    		};
    		class HideGear_2: damageHide
    		{
    			selection = "gear_2";
    		};
    		class HideGear_2_damper: damageHide
    		{
    			selection = "gear_2_stabil";
    		};
    		class HideGear_3: damageHide
    		{
    			selection = "gear_3";
    		};
    		class Hidegear_3_damper: damageHide
    		{
    			selection = "gear_3_stabil";
    		};
    		class Ladder: Rotation
    		{
    			source="cabin";
    			selection="ladder";
    			axis="ladder_axis";
    			angle0="Rad 135";
    			animPeriod = 6;
    			angle1="0";
    			maxValue=1;
    		};
    		class IndicatorAltBaro: Rotation
    		{
    			source = "altBaro";
    			sourceAddress = "loop";
    			selection = "alt";
    			axis = "osa_alt";
    			memory = 0;
    			maxValue = 304;
    			angle1 = "rad -360";
    		};
    		class IndicatorAltBaro2: IndicatorAltBaro
    		{
    			selection = "alt2";
    			axis = "osa_alt2";
    		};
    		class IndicatorAltRadar: Rotation
    		{
    			source = "altRadar";
    			selection = "nm_alt";
    			axis = "osa_nm_alt";
    			memory = "false";
    			maxValue = 61;
    			angle1 = "rad -180";
    		};
    		class IndicatorAltRadar2: IndicatorAltRadar
    		{
    			selection = "nm_alt2";
    			axis = "osa_nm_alt2";
    		};
    		class IndicatorSpeed: Rotation
    		{
    			source = "speed";
    			selection = "mph";
    			axis = "osa_mph";
    			memory = "false";
    			maxValue = 125;
    			angle1 = "rad -320";
    		};
    		class IndicatorSpeed2: IndicatorSpeed
    		{
    			selection = "mph2";
    			axis = "osa_mph2";
    		};
    		class IndicatorSpeed3: IndicatorSpeed
    		{
    			selection = "mph3";
    			axis = "osa_mph3";
    		};
    		class IndicatorSpeed4: IndicatorSpeed
    		{
    			selection = "mph4";
    			axis = "osa_mph4";
    		};
    		class IndicatorVertSpeed: Rotation
    		{
    			source = "vertSpeed";
    			selection = "vert_speed";
    			axis = "osa_vert_speed";
    			minValue = -30;
    			maxValue = 30;
    			angle1 = "rad -300";
    		};
    		class IndicatorVertSpeed2: IndicatorVertSpeed
    		{
    			selection = "vert_speed2";
    			axis = "osa_vert_speed2";
    		};
    		class IndicatorRPM: Rotation
    		{
    			source = "rpm";
    			selection = "rpm";
    			axis = "osa_rpm";
    			memory = "false";
    			maxValue = 12;
    			angle1 = "rad -320";
    		};
    		class IndicatorRPM2: IndicatorRPM
    		{
    			selection = "rpm2";
    			axis = "osa_rpm2";
    		};
    		class IndicatorCompass
    		{
    			type="rotationZ";
    			angle0=0;
    			angle1=6.283185;
    			axis="osa_kompas";
    			memory=0;
    			minValue=-3.141593;
    			maxValue=3.141593;
    			minPhase=-3.141593;
    			maxPhase=3.141593;
    			source="direction";
    			sourceAddress=0;
    			selection="kompas";
    		};
    		class IndicatorCompass2
    		{
    			type="rotationZ";
    			angle0=0;
    			angle1=6.283185;
    			axis="osa_kompas2";
    			memory=0;
    			minValue=-3.141593;
    			maxValue=3.141593;
    			minPhase=-3.141593;
    			maxPhase=3.141593;
    			source="direction";
    			sourceAddress=0;
    			selection="kompas2";
    		};
    		class IndicatorCompass5
    		{
    			type="rotationZ";
    			angle0=0;
    			angle1=6.283185;
    			axis="osa_kompas5";
    			memory=0;
    			minValue=-3.141593;
    			maxValue=3.141593;
    			minPhase=-3.141593;
    			maxPhase=3.141593;
    			source="direction";
    			sourceAddress=0;
    			selection="kompas5";
    		};
    		class IndicatorCompass6
    		{
    			type="rotationZ";
    			angle0=0;
    			angle1=6.283185;
    			axis="osa_kompas6";
    			memory=0;
    			minValue=-3.141593;
    			maxValue=3.141593;
    			minPhase=-3.141593;
    			maxPhase=3.141593;
    			source="direction";
    			sourceAddress=0;
    			selection="kompas6";
    		};
    		class IndicatorCompass3
    		{
    			type="rotationZ";
    			angle0=0;
    			angle1=6.283185;
    			axis="osa_kompas3";
    			memory=0;
    			minValue=-3.141593;
    			maxValue=3.141593;
    			minPhase=-3.141593;
    			maxPhase=3.141593;
    			source="direction";
    			sourceAddress=0;
    			selection="kompas3";
    		};
    		class HorizonBank
    		{
    			type="rotationZ";
    			angle0=-6.283185;
    			angle1=6.283185;
    			axis="osa_horizont";
    			memory=0;
    			minValue=-6.283185;
    			maxValue=6.283185;
    			minPhase=-6.283185;
    			maxPhase=6.283185;
    			source="horizonBank";
    			sourceAddress=0;
    			selection="horizont";
    		};
    		class HorizonDive
    		{
    			type="rotationX";
    			angle0=-0.314159;
    			angle1=0.314159;
    			axis="osa_horizont";
    			memory=0;
    			minValue=-6.28319;
    			maxValue=6.28319;
    			minPhase=-6.28319;
    			maxPhase=6.28319;
    			source="horizonDive";
    			sourceAddress=0;
    			selection="horizont";
    		};
    		class Horizon2Bank
    		{
    			type="rotationZ";
    			angle0=-6.283185;
    			angle1=6.283185;
    			axis="osa_horizont2";
    			memory=0;
    			minValue=-6.283185;
    			maxValue=6.283185;
    			minPhase=-6.283185;
    			maxPhase=6.283185;
    			source="horizonBank";
    			sourceAddress=0;
    			selection="horizont2";
    		};
    		class Horizon6Bank
    		{
    			type="rotationZ";
    			angle0=-6.283185;
    			angle1=6.283185;
    			axis="osa_horizont6";
    			memory=0;
    			minValue=-6.283185;
    			maxValue=6.283185;
    			minPhase=-6.283185;
    			maxPhase=6.283185;
    			source="horizonBank";
    			sourceAddress=0;
    			selection="horizont6";
    		};
    		class Horizon6Dive
    		{
    			type="rotationX";
    			angle0=-0.314159;
    			angle1=0.314159;
    			axis="osa_horizont6";
    			memory=0;
    			minValue=-6.28319;
    			maxValue=6.28319;
    			minPhase=-6.28319;
    			maxPhase=6.28319;
    			source="horizonDive";
    			sourceAddress=0;
    			selection="horizont6";
    		};
    		class Horizon5Bank
    		{
    			type="rotationZ";
    			angle0=-6.283185;
    			angle1=6.283185;
    			axis="osa_horizont5";
    			memory=0;
    			minValue=-6.283185;
    			maxValue=6.283185;
    			minPhase=-6.283185;
    			maxPhase=6.283185;
    			source="horizonBank";
    			sourceAddress=0;
    			selection="horizont5";
    		};
    		class eng_RU
    		{
    			memory = 1;
    			type = "rotation";
    			source = "elevator";
    			selection = "eng_RU";
    			axis = "axis_eng_RU";
    			minValue = -1;
    			maxValue = 1;
    			angle0 = "rad -10";
    			angle1 = "rad +10";
    		};
    		class eng_LU: eng_RU
    		{
    			selection = "eng_LU";
    			axis = "axis_eng_LU";
    		};
    		class Pistone
    		{
    			type="translation";
    			source="Pistone_source";
    			selection="pistone";
    			begin = "pistone_begin";
    			end = "pistone_end";
    			minValue = 0;
    			maxValue = 1;
    			offset0 = 0.0;
    			offset1 = 0.8;
    		};
    		class BackDoor_1
    		{
    			type="rotation";
    			angle0=0.8;
    			angle1=0;
    			axis="backdoor1_axis";
    			memory=1;
    			minValue=0;
    			maxValue=1;
    			minPhase=0;
    			maxPhase=1;
    			source="BackDoor_1_source";
    			sourceAddress=0;
    			selection="backdoor_1";
    		};
    		class BackDoor_2
    		{
    			type="rotation";
    			angle0=0;
    			angle1=0.3;
    			axis="backdoor2_axis";
    			memory=1;
    			minValue=0;
    			maxValue=1;
    			minPhase=0;
    			maxPhase=1;
    			source="BackDoor_2_source";
    			sourceAddress=0;
    			selection="backdoor_2";
    		};
    		class velka_vrtule_damage: damageHide
    		{
    			selection = "velka vrtule";
    		};
    		class rotorShaft_damage: damageHide
    		{
    			selection = "rotorShaft";
    		};
    		class RotorR: Rotation
    		{
    			type="rotation";
    			source="rotor";
    			sourceAddress=0;
    			selection="rotor_1";
    			axis="rotor_1_axis";
    			memory=1;
    			minValue=0;
    			maxValue=1;
    			minPhase=0;
    			maxPhase=1;
    			angle0=0;
    			angle1=6.283185;
    		};
    		class RotorL: Rotation
    		{
    			type="rotation";
    			source="rotor";
    			sourceAddress=0;
    			selection="rotor_2";
    			axis="rotor_2_axis";
    			memory=1;
    			minValue=0;
    			maxValue=1;
    			minPhase=0;
    			maxPhase=1;
    			angle0=0;
    			angle1=-6.283185;
    		};
    	};
    };
    class anzac_fixed_wing_medium_lift_nz_c27j: anzac_fixed_wing_medium_lift_au_c27j {};
    };

    Oh and before i forget the user action :)

    		class AnimationSources {
    
    		class Pistone_source {
    			source = "user";
    			animPeriod = 2.500000;
    		};
    
    		class Pedane_source: Pistone_source {
    		};
    
    		class BackDoor_1_source: Pistone_source {
    		};
    
    		class BackDoor_2_source: Pistone_source {
    		};
    	};
    
    	class UserActions
    	{
    		class OpenDoor
    		{
    			displayName="Open Ramp";
    			position="pilotcontrol";
    			radius=10;
    			condition="this animationPhase ""BackDoor_1"" < 0.4&&(getPos this) select 2 < 10;";
    			statement="this animate [""BackDoor_1"", 1];this animate [""BackDoor_2"", 1]";
    			onlyforplayer = true;
    		};
    		class CloseDoor
    		{
    			displayName="Close Ramp";
    			position="pilotcontrol";
    			radius=10;
    			condition="this animationPhase ""BackDoor_1"" >= 0.40";
    			statement="this animate [""BackDoor_1"", 0];this animate [""BackDoor_2"", 0]";
    			onlyforplayer = true;	
    		};
    	};

    Thanks in advance for looking this through, hopefully its a simple solution to a somewhat irritating issue. Also this may need to be moved depending what the issue actually is not sure if model or config as of this moment.


  3. Hi

    I am getting this report in the RPT on a c27 that i'm working on and cant seem to shake it off. If I add a proxy config class to all the proxies below they disappear so am wondering what I should do to fix or bypass this issue?

    anzac_fixed_wing_medium_lift_au\anzac_fixed_wing_medium_lift_au_c27j_proxy.p3d: vehicle, config class missing
    anzac_fixed_wing_medium_lift_au\anzac_fixed_wing_medium_lift_au_c27j_proxy_2.p3d: vehicle, config class missing
    anzac_fixed_wing_medium_lift_au\anzac_fixed_wing_medium_lift_au_c27j_wreck.p3d: vehicle, config class missing

    Any possible feedback would be greatly appreciated.


  4. It's only going to be a problem for Russia if Assad lost in anyway, with regular supplies of weapons for defensive purposes, I can't see that happening, we haven't seen Generals or anyone else leave the Govt of Syria, best estimates for the Free Syrian army are around 1,000.

    At best at the moment the so called up rising, appears to armed gangs.

    For weeks were were told of mass killings all over Syria, and for the last four weeks reporters have been operating in Syria, I haven't seen one report of mass killings, no pictures nothing, some odd photos of children in hospitals but nothing to convince me that it's all out war.

    The west can't do shite in Syria, this one is a sit back and watch situation, it's nothing like Libya.

    Also the lack of oil = no intervention from the west funnily enough.


  5. option four is already ON. Next thing is private armies, private cops, global implementation of INDECT derived techs and so on. True friendship between countries is no more, there's only big business. Stronger ones are only looking how to entangle smaller players with it's slimy tentacles run by Rockefellers, Rotschilds.

    True that brother.

    I almost forgot about that one! Ok so, Scenario 6 is global nuclear exchange and now Scenario 7 is Zombie Apocalypse. Well I'm going to have to change my guess to Scenario 7 here, it's only a matter of time before some pharmaceutical company or some biological weapons research branch of the military comes up with the "Z strain" and it gets released into civilization. Time to stock up on ammo and MRE's, it looks like we'll be inna woods for a while after this one.:p

    Least you would have an excuse to get rid of that annoying neighbour... they got bitten, they turned..... :)


  6. Iran is not going to be a full out WW3, people are not THAT stupid

    Don't underestimate people's well politician's stupidity. I'm sure Germany thought invading Poland in September 1939 wouldn't spark another seemingly pointless world war.

    Option 4 at our current rate seems to be the most feasible, also where's the Zombie Apocalypse Option??


  7. Fox's AK-47

    foxak47.jpg

    S1K9p4xLq5c

    Requirements

    Arma 2 Combined Ops

    Credits

    BIS - Default AKM/AK47M

    nzdfcrash - Config & Sound

    DazaNZ - Testing

    Download

    http://www.gamefront.com/files/21104969/NCS_AK47_V1_0_7z

    --------------------------------------------------------------------------

    NCS AKM Replacement Config

    Requirements

    -Arma 2 Combined Ops

    -Fox's AK-47

    Credits

    nzdfcrash - Config & Sound

    Download

    http://www.gamefront.com/files/21104970/NCS_AKM_REP_7z


  8. Heres the base

    	class anzac_LaserBombBase: LaserBombCore {
    	hit = 5000;
    	cost = 5000;
    	indirectHit = 1100;
    	indirectHitRange = 12;
    	model = "";
    	proxyShape = "";
    	soundHit[] = {"Ca\sounds\Weapons\explosions\explosion_large1", 28.183832, 1, 1900};
    	trackOversteer = 1;
    	trackLead = 0.950000;
    	maneuvrability = 20;
    	CraterEffects = "BombCrater";
    	explosionEffects = "BombExplosion";
    	explosionTime = 2;
    	fuseDistance = 35;
    	whistleDist = 24;
                   laserLock = true;
    	nvLock = 1;
    	canLock = 1;
    	irLock = 0;
    };

    Hopefully we can come to a solution that fixes the problem :pray:


  9. Hey all again....

    I have tried many things to try solve the bug which is the custom aircraft not being able to lock on lasers. Original theory was that the issue was coming from the weapon code which is...

    	class anzac_GBU12_LGB: anzac_LaserBombBase {
    	hit = 5000;
    	indirectHit = 1100;
    	indirectHitRange = 12;
                   laserLock = true;
    	nvLock = 1;
    	model = "\ca\air\gbu12fly.p3d";
    	proxyShape = "\ca\air\gbu12_proxy.p3d";
    };

    It appears this may not be the case so the next step naturally was to look at the code of the aircraft in question which I did and altered a few variables which now allows for the laser to be seen on the radar but not be able to lock on it in either the pilot or gunner seat.

    	class anzac_adf_f111_hvy : Plane
    {
    	destrType = "DestructWreck";
    	scope = 0;
    	vtol = 0;
    	crew = "anzac_fighter_pilot_classic";
    	typicalCargo[] = {"anzac_fighter_pilot_classic"};
    	model="\anzac_fixed_wing_strike\anzac_adf_f111_hvy.p3d";
    	displayName = "F-111C Ardvark (HMB)(C)(R)";
    	side= 1;
    	soundEngine[]={"\anzac_fixed_wing_strike_s\engine.wav",10,1.0};
    	camouflage = 12;
    	audible = 6;
    	vehicleClass = "ADF_Fix";
    	faction = "ANZAC";
    	accuracy = 0.200000;
           landingSpeed = 250;
    	landingAoa = "rad 10";
    	acceleration = 200;
    	maxSpeed = 1750;
    	armor = 40;
    	armorStructured = 1;
                   laserScanner = true;
    	irTarget = true;
    	irScanRangeMin = 0;
    	irScanRangeMax = 8000; // was 0
    	irScanToEyeFactor = 9;
    	irScanGround = true;
    	memoryPointsGetInDriver = "pos_driver";
    	memoryPointsGetInDriverDir = "pos_driver_dir";
    	aileronSensitivity = 0.8; 		
    	elevatorSensitivity = 0.6;
    	wheelSteeringSensitivity = 2.5;
    	brakeDistance=250; 
    	driverAction = A10_Pilot;
    	hasGunner = 1;
    	radarType = 4;
    	LockDetectionSystem = 8;
    	IncommingMisslieDetectionSystem = 16;
    	weapons[] = {"CMFlareLauncher"};
    	magazines[] = {"120Rnd_CMFlare_Chaff_Magazine"};
    	soundLocked[] = {"\ca\Tracked\Data\Sound\alarm_loop1", 0.000316, 2};
    	soundIncommingMissile[] = {"\ca\Tracked\Data\Sound\alarm_loop1", 0.000316, 4};
    	gunAimDown = 0.045000;
    	flapsFrictionCoef = 0.300000; 
    	envelope[] = {0.000000, 0.400000, 1.900000, 4, 6.800000, 8.300000, 8.500000, 7.800000, 6.200000, 3.600000, 2.200000, 1.600000, 1.100000, 0.700000, 0.400000, 0};
    	minFireTime = 30;
    	gearUpTime = 4.500000;
    	gearDownTime = 3;
    	cost = 20000000;
    	type = "VAir";
    	threat[] = {0.1, 0.4, 1.0};
    	icon="\anzac_fixed_wing_strike_t\tex\misc\f111icon.paa";
    	picture="\anzac_fixed_wing_strike_t\tex\misc\f111pic.paa";
    	mapSize=9;
    	driverIsCommander = 1;
    	hiddenSelections[] = {"camo_1", "camo_2", "camo_3", "camo_4", "camo_5", "camo_6", "camo_7", "camo_8", "camo_9", "camo_10", "camo_11", "camo_12", "target1","target2","target3","target4","map","myplane"};
    	hiddenSelectionsTextures[] = {"\anzac_fixed_wing_strike_t\tex\camo\bottom1.paa", "\anzac_fixed_wing_strike_t\tex\camo\bottom2.paa", "\anzac_fixed_wing_strike_t\tex\camo\bottom3.paa", "\anzac_fixed_wing_strike_t\tex\camo\roundel.paa", "\anzac_fixed_wing_strike_t\tex\camo\side1.paa", "\anzac_fixed_wing_strike_t\tex\camo\tail.paa", "\anzac_fixed_wing_strike_t\tex\camo\tailwing.paa", "\anzac_fixed_wing_strike_t\tex\camo\top1.paa", "\anzac_fixed_wing_strike_t\tex\camo\top2.paa", "\anzac_fixed_wing_strike_t\tex\camo\top3.paa", "\anzac_fixed_wing_strike_t\tex\camo\wingl.paa", "\anzac_fixed_wing_strike_t\tex\camo\wingr.paa", "\anzac_fixed_wing_strike_t\tex\fighter_blue_ca.paa.paa"};			
           soundDammage[] = {"\anzac_fixed_wing_strike_s\alarm", 1, 1};
           soundLandCrash[] = {"\anzac_fixed_wing_strike_s\Tire", 8, 1.2, 1200};
    	soundGetIn[] = {"ca\sounds\Air\AV8\ext\ext-jetair-cabine-close1", db-25, 1};
    	soundGetOut[] = {"ca\sounds\Air\AV8\ext\ext-jetair-cabine-open1", db-25, 1, 40};
    	soundEngineOnInt[] = {"\anzac_fixed_wing_strike_s\F111_start_in", 0.1, 0.7};
    	soundEngineOnExt[] = {"\anzac_fixed_wing_strike_s\F111_start", 0.7, 0.7, 1000};
    	soundEngineOffInt[] = {"\anzac_fixed_wing_strike_s\F111_stop_in", 0.1, 0.7};
    	soundEngineOffExt[] = {"\anzac_fixed_wing_strike_s\F111_stop", 0.7, 0.7, 1000};
    
    	class Damage {
    		tex[] = {};
    		mat[] = {"anzac_fixed_wing_strike\tex\f111_glass.rvmat", "anzac_fixed_wing_strike\tex\f111_glass_damage.rvmat", "anzac_fixed_wing_strike\tex\f111_glass_damage.rvmat", "anzac_fixed_wing_strike\tex\bottom1.rvmat", "anzac_fixed_wing_strike\tex\bottom1_damage.rvmat", "anzac_fixed_wing_strike\tex\bottom1_destruct.rvmat", "anzac_fixed_wing_strike\tex\bottom2.rvmat", "anzac_fixed_wing_strike\tex\bottom2_damage.rvmat", "anzac_fixed_wing_strike\tex\bottom2_destruct.rvmat", "anzac_fixed_wing_strike\tex\bottom3.rvmat", "anzac_fixed_wing_strike\tex\bottom3_damage.rvmat", "anzac_fixed_wing_strike\tex\bottom3_destruct.rvmat", "anzac_fixed_wing_strike\tex\side1.rvmat", "anzac_fixed_wing_strike\tex\side1_damage.rvmat", "anzac_fixed_wing_strike\tex\side1_destruct.rvmat", "anzac_fixed_wing_strike\tex\tail.rvmat", "anzac_fixed_wing_strike\tex\tail_damage.rvmat", "anzac_fixed_wing_strike\tex\tail_destruct.rvmat", "anzac_fixed_wing_strike\tex\tailwing.rvmat", "anzac_fixed_wing_strike\tex\tailwing_damage.rvmat", "anzac_fixed_wing_strike\tex\tailwing_destruct.rvmat", "anzac_fixed_wing_strike\tex\top1.rvmat", "anzac_fixed_wing_strike\tex\top1_damage.rvmat", "anzac_fixed_wing_strike\tex\top1_destruct.rvmat", "anzac_fixed_wing_strike\tex\top2.rvmat", "anzac_fixed_wing_strike\tex\top2_damage.rvmat", "anzac_fixed_wing_strike\tex\top2_destruct.rvmat", "anzac_fixed_wing_strike\tex\top3.rvmat", "anzac_fixed_wing_strike\tex\top3_damage.rvmat", "anzac_fixed_wing_strike\tex\top3_destruct.rvmat", "anzac_fixed_wing_strike\tex\wingl.rvmat", "anzac_fixed_wing_strike\tex\wingl_damage.rvmat", "anzac_fixed_wing_strike\tex\wingl_destruct.rvmat", "anzac_fixed_wing_strike\tex\wingr.rvmat", "anzac_fixed_wing_strike\tex\wingr_damage.rvmat", "anzac_fixed_wing_strike\tex\wingr_destruct.rvmat"};
    	};
    
    	class Sounds {
    		class EngineLowOut {
    			sound[] = {"\anzac_fixed_wing_strike_s\F111_engine", 11, 1.0, 1500};
    			frequency = "1.0 min (rpm + 0.5)";
    			volume = "engineOn*camPos*(thrust factor[1.0, 1.0])";
    		};
    
    		class EngineHighOut {
    			sound[] = {"\anzac_fixed_wing_strike_s\F111_engine_hi", 11, 1.0,1500};
    			frequency = "1";
    			volume = "engineOn*camPos*(thrust factor[0.1, 1.0])";
    		};
    
    		class ForsageOut {
    			sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-forsage1", 35, 1.1, 5000};
    			frequency = "1";
    			volume = "engineOn*camPos*(thrust factor[0.5, 1.0])";
    			cone[] = {3.14, 3.92, 2.0, 0.4};
    		};
    
    		class WindNoiseOut {
    			sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-wind", 5, 1.0, 500};
    			frequency = "(0.1+(1.2*(speed factor[1, 150])))";
    			volume = "camPos*(speed factor[1, 150])";
    		};
    
    		class DistantPlaneOut {
    			sound[] = {"\anzac_fixed_wing_strike_s\distantplane", 35, 0.5};
    			frequency = "1";
    			volume = "engineOn*camPos*(speed factor[1, 100])";
    		};
    
    		class EngineLowIn {
    			sound[] = {"\anzac_fixed_wing_strike_s\F111_engine_in", db2, 1.0};
    			frequency = "1.0 min (rpm + 0.5)";
    			volume = "(1-camPos)*(engineOn*(thrust factor[1.0, 0.4]))";
    		};
    
    		class EngineHighIn {
    			sound[] = {"\anzac_fixed_wing_strike_s\F111_engine_hi_in", db2, 1.0};
    			frequency = "1";
    			volume = "(1-camPos)*(engineOn*(thrust factor[0.1, 1.0]))";
    		};
    
    		class ForsageIn {
    			sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-engine-low2", db3, 1.2};
    			frequency = "1";
    			volume = "(1-camPos)*(engineOn*(thrust factor[0.75, 1.0]))";
    		};
    
    		class WindNoiseIn {
    			sound[] = {"ca\sounds\Air\AV8\int\int-jetair-wind1", db-7, 1.1};
    			frequency = "(0.1+(1.2*(speed factor[1, 150])))";
    			volume = "(1-camPos)*(speed factor[1, 150])";
    		};
    	};
    
    	class Turrets
    	{
    		class MainTurret : NewTurret
    		{
    			body = "";
         				gun = "";
    			commanding = -1;
    			memoryPointsGetInGunner= "pos_gunner";
    			memoryPointsGetInGunnerDir= "pos_gunner_dir";
    	                weapons[] = {"anzac_MK82_Launcher"};
    			magazines[] = {"anzac_24Rnd_MK82"};
    			castGunnerShadow = 1;
    			viewGunnerShadow = 1;
    			gunnerAction = AH1Z_Gunner;
    			memoryPointGunnerOptics= "gunnerview";
    			gunnerOpticsModel=\ca\air\optika_Ka50_rocket.p3d;
    			gunnerForceOptics = 0;
    			minElev=-60; maxElev=+10; initElev=0;
    			minTurn=-70; maxTurn=+70; initTurn=0;
    			gunnerInAction = AH1Z_Gunner;
    		};
    	};
    	class animationsources {
    		class ABSwitch {
    			source = "user";
    			animperiod = 0.1;
    			initphase = 0;
    		};
    		class pavetack {
    			source = "user";
    			animperiod = 0.1;
    			initphase = 0;
    		};
    	};

    Any ideas or suggestions?


  10. I know theres a thread but this just seems like a very odd issue ive never come across before. In essence what happens is that the gunner if human controlled with also a human pilot when firing off bombs seems to fly like missles???

    First i thought it could be a config proxy issue as this has never happened before yet everything in the config proxy looks fine. eg heres a small example

    class CfgNonAIVehicles {
    /*extern*/ class ProxyWeapon;
    
    class Proxyanzac_AIM9M: ProxyWeapon {
    	model = "\anzac_wep\anzac_aim9m.p3d";
    	simulation = "maverickweapon";
    };
    
    class Proxyanzac_AIM120: ProxyWeapon {
    	model = "\anzac_wep\anzac_aim120.p3d";
    	simulation = "maverickweapon";
    };
    
    class Proxyanzac_AIM7: ProxyWeapon {
    	model = "\anzac_wep\anzac_aim7m.p3d.p3d";
    	simulation = "maverickweapon";
    };
    
    class Proxyanzac_f111_fuel_bo: ProxyWeapon {
    	model = "\anzac_wep\anzac_f111_fuel.p3d";
    	simulation = "maverickweapon";
    };
    
    class Proxyanzac_AGM84: ProxyWeapon {
    	model = "\anzac_wep\anzac_agm84.p3d";
    	simulation = "maverickweapon";
    };
    
    class Proxyanzac_AGM154: ProxyWeapon {
    	model = "\anzac_wep\anzac_jsow.p3d";
    	simulation = "maverickweapon";
    };
    
    class Proxyanzac_GBU12: ProxyWeapon {
    	model = "\ca\air\gbu12_proxy.p3d";
    	simulation = "maverickweapon";
    };

    Or perhaps it could actually be an issue with the aircraft gunner code, Or even the weapon code itself?? Any ideas?

×