don2k7 1 Posted September 30, 2012 (edited) hi guys can someone please help me with this config? basically this has moved over from the addon request section as im trying to get the mv22 to work as a separate addon so i can use my new skins for the model ingame to check and test before releasing to my WIP skin pack to the community. http://www.armaholic.com/forums.php?m=posts&q=19136&n=last#bottom here is what ive done so far. please remember im new to scripting/config editing so have been reading through the help guides with no sucess yet //////////////////////////////////////////////////////////////////// //DeRap: Produced from mikero's Dos Tools Dll version 3.92 //http://dev-heaven.net/projects/list_files/mikero-pbodll //////////////////////////////////////////////////////////////////// #define _ARMA_ class CfgPatches { class DON_MV22 { units[] = {"USAF","USMC","USMCD","SPEC","RAAF","MV22_DEFAULT"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"CAAir2","CACharacters2"}; }; }; class CfgMods { class DON_MV22 { dir = "@DON"; name = "DON_MV22"; picture = ""; hidePicture = "true"; hideName = "true"; }; }; class CfgAddons { class DON_MV22 { list[] = {"DON_MV22"}; }; }; class CfgVehicleClasses { class plane; class MV22: plane { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "USAF_DESERT"; vehicleClass = "Air"; model = "\ca\air2\mv22\mv22.p3d"; picture = "\ca\air2\data\UI\picture_MV22_CA.paa"; icon = "\ca\air2\data\UI\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\DON_MV22\USAF\mv22_01_co.paa","\DON_MV22\USAF\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; }; class { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "USMC_GREEN"; vehicleClass = "Air"; model = "\ca\air2\mv22\mv22.p3d"; picture = "\ca\air2\data\UI\picture_MV22_CA.paa"; icon = "\ca\air2\data\UI\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\DON_MV22\USAF\mv22_01_co.paa","\DON_MV22\USAF\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; }; class DON_USMCD { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "USMC_DESERT"; vehicleClass = "Air"; model = "\ca\air2\mv22\mv22.p3d"; picture = "\ca\air2\data\UI\picture_MV22_CA.paa"; icon = "\ca\air2\data\UI\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\DON_MV22\USAF\mv22_01_co.paa","\DON_MV22\USAF\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; } class DON_SPEC { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "USAF_DESERT"; vehicleClass = "Air"; model = "\ca\air2\mv22\mv22.p3d"; picture = "\ca\air2\data\UI\picture_MV22_CA.paa"; icon = "\ca\air2\data\UI\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\DON_MV22\USAF\mv22_01_co.paa","\DON_MV22\USAF\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; }; class DON_RAAF { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "USAF_DESERT"; vehicleClass = "Air"; model = "\ca\air2\mv22\mv22.p3d"; picture = "\ca\air2\data\UI\picture_MV22_CA.paa"; icon = "\ca\air2\data\UI\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\DON_MV22\USAF\mv22_01_co.paa","\DON_MV22\USAF\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; }; class MV22_DEFAULT { destrType = "DestructWreck"; scope = 2; side = 1; faction = "USMC"; displayName = "MV22_DEFAULT"; vehicleClass = "Air"; model = "\ca\air2\mv22\mv22.p3d"; picture = "\ca\air2\data\UI\picture_MV22_CA.paa"; icon = "\ca\air2\data\UI\icon_MV22_CA.paa"; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; class Sounds { class EngineLowOut { sound[] = {"ca\sounds\Air\MV22\ext_engine_low",1.7782794,1,1000}; frequency = "1.0 min (rpm + 0.5)"; volume = "camPos*engineOn*(rpm factor[0.85, 0])"; }; class EngineHighOut { sound[] = {"ca\sounds\Air\MV22\ext_engine_hi",1.7782794,1,1200}; frequency = "1"; volume = "camPos*engineOn*(rpm factor[0.55, 1.0])"; }; class ForsageOut { sound[] = {"ca\sounds\Air\MV22\ext_forsage",1.7782794,1,1800}; frequency = "1"; volume = "camPos*engineOn*(thrust factor[0.5, 1.0])"; }; class WindNoiseOut { sound[] = {"ca\sounds\Air\MV22\int-wind1",0.017782794,0.6,100}; frequency = "(0.1+(1.2*(speed factor[1, 100])))"; volume = "camPos*(speed factor[1, 100])"; }; class EngineLowIn { sound[] = {"ca\sounds\Air\MV22\int_engine_low",1.0,1.0}; frequency = "1.0 min (rpm + 0.5)"; volume = "(1-camPos)*(engineOn*(rpm factor[0.85, 0]))"; }; class EngineHighIn { sound[] = {"ca\sounds\Air\MV22\int_engine_hi",1.0,1.0}; frequency = "1"; volume = "(1-camPos)*(engineOn*(rpm factor[0.55, 1.0]))"; }; class ForsageIn { sound[] = {"ca\sounds\Air\MV22\int_forsage",1.4125376,1.1}; frequency = "1"; volume = "(1-camPos)*(engineOn*(thrust factor[0.5, 1.0]))"; }; class WindNoiseIn { sound[] = {"ca\sounds\Air\MV22\int-wind1",0.0017782794,0.6}; frequency = "(0.1+(1.2*(speed factor[1, 100])))"; volume = "(1-camPos)*(speed factor[1, 100])"; }; }; ejectSpeed[] = {0,-2,0}; cabinOpening = 0; gearRetracting = 1; driverAction = "MV22_Pilot"; cargoIsCoDriver[] = {1,0}; cargoAction[] = {"MV22_Cargo","Mi17_Cargo02"}; driverCompartments = "Compartment1"; cargoCompartments[] = {"Compartment2"}; maxSpeed = 556; transportSoldier = 24; vtol = 3; supplyRadius = 8; armor = 25; damageResistance = 0.00172; weapons[] = {}; magazines[] = {}; selectionRotorStill = "engine_static"; selectionRotorMove = "engine_blur"; class Damage { tex[] = {}; mat[] = {"ca\air2\mv22\data\mv22_sklo.rvmat","ca\air2\mv22\data\mv22_sklo_damage.rvmat","ca\air2\mv22\data\mv22_sklo_damage.rvmat","ca\air2\mv22\data\mv22_sklo_in.rvmat","ca\air2\mv22\data\mv22_sklo_in_damage.rvmat","ca\air2\mv22\data\mv22_sklo_in_damage.rvmat","ca\air2\mv22\data\mv22_01.rvmat","ca\air2\mv22\data\mv22_01_damage.rvmat","ca\air2\mv22\data\mv22_01_destruct.rvmat","ca\air2\mv22\data\mv22_02.rvmat","ca\air2\mv22\data\mv22_02_damage.rvmat","ca\air2\mv22\data\mv22_02_destruct.rvmat"}; }; dammageHalf[] = {}; dammageFull[] = {}; class AnimationSources { class Door_1_1 { source = "user"; animPeriod = 0; }; class Ramp { source = "user"; animPeriod = 0; }; class pack_engine_1 { source = "user"; animPeriod = 0; }; class engine_prop_1_1_turn: pack_engine_1{}; class engine_prop_1_2_turn: pack_engine_1{}; class engine_prop_1_3_turn: pack_engine_1{}; class engine_prop_2_1_turn: pack_engine_1{}; class engine_prop_2_2_turn: pack_engine_1{}; class engine_prop_2_3_turn: pack_engine_1{}; class engine_prop_1_1_close: pack_engine_1{}; class engine_prop_1_3_close: pack_engine_1{}; class engine_prop_2_1_close: pack_engine_1{}; class engine_prop_2_2_close: pack_engine_1{}; class pack_engine_2: pack_engine_1{}; class turn_wing: pack_engine_1{}; }; class UserActions{}; class Reflectors { class Left { color[] = {0.8,0.8,1.0,1.0}; ambient[] = {0.07,0.07,0.07,1.0}; position = "L svetlo"; direction = "konec L svetla"; hitpoint = "L svetlo"; selection = "L svetlo"; size = 1; brightness = 1.0; }; class Right { color[] = {0.8,0.8,1.0,1.0}; ambient[] = {0.07,0.07,0.07,1.0}; position = "P svetlo"; direction = "konec P svetla"; hitpoint = "P svetlo"; selection = "P svetlo"; size = 1; brightness = 1.0; }; }; class Library { libTextDesc = "$STR_LIB_MV22"; }; class MFD { borderLeft = 0.09; borderRight = 0.02; borderTop = 0.02; borderBottom = 0.1; class MFD1 { topLeft = "HUD LH1"; topRight = "HUD PH1"; bottomLeft = "HUD LD1"; borderLeft = 0; borderRight = 0; borderTop = 0; borderBottom = 0; color[] = {0,1,0,0.1}; class Pos10Vector { type = "vector"; pos0[] = {0.5,0.27}; pos10[] = {"0.5+0.9","0.27+0.7"}; }; class Bones{}; class Draw { alpha = 0.9; color[] = {0,1,0}; clipTL[] = {0.0,0.0}; clipBR[] = {1.0,1.0}; condition = "on"; class Altitude { type = "text"; align = "left"; scale = 1; source = "altitudeASL"; sourceScale = 1; pos[] = { { 0.28,0.042 },1}; right[] = { { 0.32,0.042 },1}; down[] = { { 0.28,0.082 },1}; }; class Altitude2 { type = "text"; align = "left"; scale = 1; source = "altitudeAGL"; sourceScale = 1; pos[] = { { 0.45,0.042 },1}; right[] = { { 0.49,0.042 },1}; down[] = { { 0.45,0.082 },1}; }; class RPM { type = "text"; align = "left"; scale = 1; source = "rpm"; sourceScale = 100; pos[] = { { 0.63,0.18 },1}; right[] = { { 0.67,0.18 },1}; down[] = { { 0.63,0.22 },1}; }; class RPM2 { type = "text"; align = "left"; scale = 1; source = "rpm"; sourceScale = 100; pos[] = { { 0.802,0.18 },1}; right[] = { { 0.842,0.18 },1}; down[] = { { 0.802,0.22 },1}; }; class Fuel { type = "text"; align = "left"; scale = 1; source = "fuel"; sourceScale = 100; pos[] = { { 0.63,0.425 },1}; right[] = { { 0.67,0.425 },1}; down[] = { { 0.63,0.465 },1}; }; class Fuel2 { type = "text"; align = "left"; scale = 1; source = "fuel"; sourceScale = 100; pos[] = { { 0.802,0.425 },1}; right[] = { { 0.842,0.425 },1}; down[] = { { 0.802,0.465 },1}; }; class Speed { type = "text"; align = "left"; scale = 1; source = "speed"; sourceScale = 2.23694; pos[] = { { 0.28,0.225 },1}; right[] = { { 0.32,0.225 },1}; down[] = { { 0.28,0.265 },1}; }; }; }; }; }; }; //}; Edited October 1, 2012 by [FRL]Myke code tags added Share this post Link to post Share on other sites
Deadfast 43 Posted September 30, 2012 Please post the code in the [ code ] tag and explain what it actually is you need help with. Does that code give you an error? Does it not do what you want it to do? Share this post Link to post Share on other sites
don2k7 1 Posted September 30, 2012 Please post the code in the [ code ] tag and explain what it actually is you need help with. Does that code give you an error? Does it not do what you want it to do? hi firstly sorry whats the code 'tag'. i need help to get the mv22 to work as a separate addon with my new skins. it did the first few times whilst loading because of missing , and ; etc but once i stopped getting those the games loads fine these just nothing in the editor like the games doesnt see it i guess. no its showing anything now any help anyone can give to get this working with my new skins would be great and although not much will get a mention when mod released Share this post Link to post Share on other sites
Deadfast 43 Posted October 1, 2012 (edited) This is text contained within the code tag. Anything in here won't have its formating mangled. Quote this post to see how I did that. Also, you say textures, yet all the classes have the same textures assigned. Edited October 1, 2012 by Deadfast Share this post Link to post Share on other sites
[aps]gnat 28 Posted October 1, 2012 Or better still, PHP tags because you get colour Share this post Link to post Share on other sites
don2k7 1 Posted October 1, 2012 This is text contained within the code tag. Anything in here won't have its formating mangled. Quote this post to see how I did that. yea please ignore that part thats because im still finishing the other skins but will replace those paths with correct ones once the other skins are finished only did that as a temporary thing.thanks for explaining the code tags //////////////////////////////////////////////////////////////////// //DeRap: Produced from mikero's Dos Tools Dll version 3.92 //http://dev-heaven.net/projects/list_files/mikero-pbodll //////////////////////////////////////////////////////////////////// #define _ARMA_ class CfgPatches { class DON_MV22 { units[] = {"USAF","USMC","USMCD","SPEC","RAAF","MV22_DEFAULT"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"CAAir2","CACharacters2"}; }; }; class CfgVehicleClasses { class MV22; class DON_MV22: MV22 { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "USAF_DESERT"; vehicleClass = "Air"; model = "\don\air\mv22.p3d"; picture = "\don\air\icon\picture_MV22_CA.paa"; icon = "\don\air\icon\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\air\USAF\mv22_01_co.paa","\air\USAF\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; }; class MV22; class USMC_G: MV22 { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "USMC_GREEN"; vehicleClass = "Air"; model = "\don\air\mv22.p3d"; picture = "\don\air\icon\picture_MV22_CA.paa"; icon = "\don\air\icon\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\air\USMC\mv22_01_co.paa","\air\USMC\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; }; class MV22; class USMC_D: MV22 { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "USMC_DESERT"; vehicleClass = "Air"; model = "\don\air\mv22.p3d"; picture = "\don\air\icon\picture_MV22_CA.paa"; icon = "\don\air\icon\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\air\USMCD\mv22_01_co.paa","\air\USMCD\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; } class MV22; class SPEC_OPS: MV22 { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "SPEC_OPS"; vehicleClass = "Air"; model = "\don\air\mv22.p3d"; picture = "\don\air\icon\picture_MV22_CA.paa"; icon = "\don\air\icon\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\air\SPEC\mv22_01_co.paa","\air\SPEC\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; }; class MV22; class RAAF: MV22 { destrType = "DestructWreck"; scope = 2; faction = "USAF"; displayName = "RAAF"; vehicleClass = "Air"; model = "\don\air\mv22.p3d"; picture = "\don\air\icon\picture_MV22_CA.paa"; icon = "\don\air\icon\icon_MV22_CA.paa"; hiddenSelections[] = {"camo1","camo2","camo3","camo4"}; hiddenSelectionsTextures[] = {"\air\RAAF\mv22_01_co.paa","\air\RAAF\mv22_02_co.paa"}; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; }; class MV22; class MV22_DEFAULT: MV22 { destrType = "DestructWreck"; scope = 2; side = 1; faction = "USMC"; displayName = "MV22_DEFAULT"; vehicleClass = "Air"; model = "\don\air\mv22.p3d"; picture = "\don\air\icon\picture_MV22_CA.paa"; icon = "\don\air\icon\icon_MV22_CA.paa"; mapSize = 28; crew = "USMC_Soldier_Pilot"; accuracy = 0.5; soundGetIn[] = {"ca\sounds\Air\MV22\close",0.31622776,1}; soundGetOut[] = {"ca\sounds\Air\MV22\open",0.31622776,1,40}; soundDammage[] = {"ca\sounds\Air\MV22\int-alarm_loop",0.56234133,1}; soundEngineOnInt[] = {"ca\sounds\Air\MV22\int_start",0.56234133,1.0}; soundEngineOnExt[] = {"ca\sounds\Air\MV22\ext_start",0.56234133,1.0,800}; soundEngineOffInt[] = {"ca\sounds\Air\MV22\int_stop",0.56234133,1.0}; soundEngineOffExt[] = {"ca\sounds\Air\MV22\ext_stop",0.56234133,1.0,800}; class Sounds { class EngineLowOut { sound[] = {"ca\sounds\Air\MV22\ext_engine_low",1.7782794,1,1000}; frequency = "1.0 min (rpm + 0.5)"; volume = "camPos*engineOn*(rpm factor[0.85, 0])"; }; class EngineHighOut { sound[] = {"ca\sounds\Air\MV22\ext_engine_hi",1.7782794,1,1200}; frequency = "1"; volume = "camPos*engineOn*(rpm factor[0.55, 1.0])"; }; class ForsageOut { sound[] = {"ca\sounds\Air\MV22\ext_forsage",1.7782794,1,1800}; frequency = "1"; volume = "camPos*engineOn*(thrust factor[0.5, 1.0])"; }; class WindNoiseOut { sound[] = {"ca\sounds\Air\MV22\int-wind1",0.017782794,0.6,100}; frequency = "(0.1+(1.2*(speed factor[1, 100])))"; volume = "camPos*(speed factor[1, 100])"; }; class EngineLowIn { sound[] = {"ca\sounds\Air\MV22\int_engine_low",1.0,1.0}; frequency = "1.0 min (rpm + 0.5)"; volume = "(1-camPos)*(engineOn*(rpm factor[0.85, 0]))"; }; class EngineHighIn { sound[] = {"ca\sounds\Air\MV22\int_engine_hi",1.0,1.0}; frequency = "1"; volume = "(1-camPos)*(engineOn*(rpm factor[0.55, 1.0]))"; }; class ForsageIn { sound[] = {"ca\sounds\Air\MV22\int_forsage",1.4125376,1.1}; frequency = "1"; volume = "(1-camPos)*(engineOn*(thrust factor[0.5, 1.0]))"; }; class WindNoiseIn { sound[] = {"ca\sounds\Air\MV22\int-wind1",0.0017782794,0.6}; frequency = "(0.1+(1.2*(speed factor[1, 100])))"; volume = "(1-camPos)*(speed factor[1, 100])"; }; }; ejectSpeed[] = {0,-2,0}; cabinOpening = 0; gearRetracting = 1; driverAction = "MV22_Pilot"; cargoIsCoDriver[] = {1,0}; cargoAction[] = {"MV22_Cargo","Mi17_Cargo02"}; driverCompartments = "Compartment1"; cargoCompartments[] = {"Compartment2"}; maxSpeed = 556; transportSoldier = 24; vtol = 3; supplyRadius = 8; armor = 25; damageResistance = 0.00172; weapons[] = {}; magazines[] = {}; selectionRotorStill = "engine_static"; selectionRotorMove = "engine_blur"; class Damage { tex[] = {}; mat[] = {"don\air\data\mv22_sklo.rvmat","don\air\data\mv22_sklo_damage.rvmat","don\air\data\mv22_sklo_damage.rvmat","don\air\data\mv22_sklo_in.rvmat","don\air\data\mv22_sklo_in_damage.rvmat","don\air\data\mv22_sklo_in_damage.rvmat","don\air\data\mv22_01.rvmat","don\air\data\mv22_01_damage.rvmat","don\air\data\mv22_01_destruct.rvmat","don\air\data\mv22_02.rvmat","don\air\data\mv22_02_damage.rvmat","don\air\data\mv22_02_destruct.rvmat"}; }; dammageHalf[] = {}; dammageFull[] = {}; class AnimationSources { class Door_1_1 { source = "user"; animPeriod = 0; }; class Ramp { source = "user"; animPeriod = 0; }; class pack_engine_1 { source = "user"; animPeriod = 0; }; class engine_prop_1_1_turn: pack_engine_1{}; class engine_prop_1_2_turn: pack_engine_1{}; class engine_prop_1_3_turn: pack_engine_1{}; class engine_prop_2_1_turn: pack_engine_1{}; class engine_prop_2_2_turn: pack_engine_1{}; class engine_prop_2_3_turn: pack_engine_1{}; class engine_prop_1_1_close: pack_engine_1{}; class engine_prop_1_3_close: pack_engine_1{}; class engine_prop_2_1_close: pack_engine_1{}; class engine_prop_2_2_close: pack_engine_1{}; class pack_engine_2: pack_engine_1{}; class turn_wing: pack_engine_1{}; }; class UserActions{}; class Reflectors { class Left { color[] = {0.8,0.8,1.0,1.0}; ambient[] = {0.07,0.07,0.07,1.0}; position = "L svetlo"; direction = "konec L svetla"; hitpoint = "L svetlo"; selection = "L svetlo"; size = 1; brightness = 1.0; }; class Right { color[] = {0.8,0.8,1.0,1.0}; ambient[] = {0.07,0.07,0.07,1.0}; position = "P svetlo"; direction = "konec P svetla"; hitpoint = "P svetlo"; selection = "P svetlo"; size = 1; brightness = 1.0; }; }; class Library { libTextDesc = "$STR_LIB_MV22"; }; class MFD { borderLeft = 0.09; borderRight = 0.02; borderTop = 0.02; borderBottom = 0.1; class MFD1 { topLeft = "HUD LH1"; topRight = "HUD PH1"; bottomLeft = "HUD LD1"; borderLeft = 0; borderRight = 0; borderTop = 0; borderBottom = 0; color[] = {0,1,0,0.1}; class Pos10Vector { type = "vector"; pos0[] = {0.5,0.27}; pos10[] = {"0.5+0.9","0.27+0.7"}; }; class Bones{}; class Draw { alpha = 0.9; color[] = {0,1,0}; clipTL[] = {0.0,0.0}; clipBR[] = {1.0,1.0}; condition = "on"; class Altitude { type = "text"; align = "left"; scale = 1; source = "altitudeASL"; sourceScale = 1; pos[] = { { 0.28,0.042 },1}; right[] = { { 0.32,0.042 },1}; down[] = { { 0.28,0.082 },1}; }; class Altitude2 { type = "text"; align = "left"; scale = 1; source = "altitudeAGL"; sourceScale = 1; pos[] = { { 0.45,0.042 },1}; right[] = { { 0.49,0.042 },1}; down[] = { { 0.45,0.082 },1}; }; class RPM { type = "text"; align = "left"; scale = 1; source = "rpm"; sourceScale = 100; pos[] = { { 0.63,0.18 },1}; right[] = { { 0.67,0.18 },1}; down[] = { { 0.63,0.22 },1}; }; class RPM2 { type = "text"; align = "left"; scale = 1; source = "rpm"; sourceScale = 100; pos[] = { { 0.802,0.18 },1}; right[] = { { 0.842,0.18 },1}; down[] = { { 0.802,0.22 },1}; }; class Fuel { type = "text"; align = "left"; scale = 1; source = "fuel"; sourceScale = 100; pos[] = { { 0.63,0.425 },1}; right[] = { { 0.67,0.425 },1}; down[] = { { 0.63,0.465 },1}; }; class Fuel2 { type = "text"; align = "left"; scale = 1; source = "fuel"; sourceScale = 100; pos[] = { { 0.802,0.425 },1}; right[] = { { 0.842,0.425 },1}; down[] = { { 0.802,0.465 },1}; }; class Speed { type = "text"; align = "left"; scale = 1; source = "speed"; sourceScale = 2.23694; pos[] = { { 0.28,0.225 },1}; right[] = { { 0.32,0.225 },1}; down[] = { { 0.28,0.265 },1}; }; }; }; }; }; }; //}; ---------- Post added at 16:18 ---------- Previous post was at 16:14 ---------- Gnat;2232972']Or better still' date=' PHP tags because you get colour[/quote']hi are you the Gnat that did this arma1 mv22?. http://www.armaholic.com/page.php?id=3311 again thanks so far and any help to get this working would be great or is what ive done so far completely wrong? Share this post Link to post Share on other sites
[aps]gnat 28 Posted October 2, 2012 hi are you the Gnat that did this arma1 mv22?. Yes, thats me. OK, before you take another step (imagine someone tells you your about to stand on a mine .... ) model = "\don\air\mv22.p3d"; What is this? My guess is youre new to the OFP/ARMA/ARMA2 moding scene, so if this is what I think it is .... take some advice. Stop right there. If you are trying to pull significant content (p3d model) from the game and redistribute you have broken a whole bunch of rules. Same applies to all the other ArmA vehicles youre reskinning. Many vehicles have "hiddenSelectionsTextures" and thats what you use to reskin via scripts. And yes, unfortunately some vehicles, like the MV22, don't have hidden selections. Sad fact, but no reason to break the EULA. Without permissions, same rule applies to user created content. Share this post Link to post Share on other sites
don2k7 1 Posted October 2, 2012 (edited) pm sent gnat. Edited November 16, 2012 by don2k7 Share this post Link to post Share on other sites
don2k7 1 Posted November 16, 2012 I know about not changing other peoples stuff without permission and I dont want to break any rules. so is there a way of doing this with a config on the mv22 so my reskins work ingame? Share this post Link to post Share on other sites
[aps]gnat 28 Posted November 17, 2012 Gnat;2233642']Many vehicles have "hiddenSelectionsTextures" and thats what you use to reskin via scripts.And yes' date=' unfortunately some vehicles, like the MV22, don't have hidden selections.[/quote'] No. If BIS didn't define the "skin" of the p3d model (and model.cfg) as a separate named section, then nothing you do in the config can change the visible texture. Suggest you VOTE for these related bugs so maybe BIS will fix. https://dev-heaven.net/issues/13910 https://dev-heaven.net/issues/27196 https://dev-heaven.net/issues/28880 Share this post Link to post Share on other sites