Chain Posted September 23, 2014 Share Posted September 23, 2014 Hi guys, I am creating Finnish cockpit textures for MiG-21 Bis and was wondering if it is possible display custom cockpit textures when user selects a Finnish Mig-21 livery from the options. My cockpit textures with Finnish labels work when russian cockpit language is selected from the options and people who fly online can't switch from russia to english if they switch from MiG-21 to for example A-10C. There is no option to do this while flying online. I would like to make my cockpit mod independent from the cockpit language options since there is no option for Finnish. Any ideas? Thanks! Chain System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :) Link to comment Share on other sites More sharing options...
Chain Posted September 24, 2014 Author Share Posted September 24, 2014 I tried to edit the description.lua in the \DCS World OpenBeta\CoreMods\aircraft\MiG-21BIS\Liveries\MiG-21Bis\HavLLv 31 - Finland -folder but no luck. Chain System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :) Link to comment Share on other sites More sharing options...
uboats Posted September 24, 2014 Share Posted September 24, 2014 What about copying cockpit texture dds to corresponding livery folder and merge the two lua files to make the cockpit determined by skin? Don't know whether this would work. [sIGPIC][/sIGPIC] My DCS Mods, Skins, Utilities and Scripts | Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD | | TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn | Link to comment Share on other sites More sharing options...
Chain Posted September 24, 2014 Author Share Posted September 24, 2014 What about copying cockpit texture dds to corresponding livery folder and merge the two lua files to make the cockpit determined by skin? Don't know whether this would work. I tried it but it didn't seem to work. Chain System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :) Link to comment Share on other sites More sharing options...
Chain Posted September 24, 2014 Author Share Posted September 24, 2014 This is how my description.lua in the \DCS World OpenBeta\CoreMods\aircraft\MiG-21BIS\Liveries\MiG-21Bis\HavLLv 31 - Finland -folder looks like. My custom textures are unzipped in the folder mentioned above. All cockpit textures are displayed orange and I can't see my custom textures :( Anyone? Chain livery = { {"MIG21BIS_FUSE_F", 0 ,"MiG21Bis_Fuse_F_Dif",false}, {"MIG21BIS_FUSE_M", 0 ,"MiG21Bis_Fuse_M_Dif",false}, {"MIG21BIS_FUSE_R", 0 ,"MiG21Bis_Fuse_R_Dif",false}, {"MIG21BIS_FUSE-TAIL", 0 ,"MiG21Bis_Fuse-T_Dif",false}, {"MIG21BIS_WING_L", 0 ,"MiG21Bis_Wing_L_Dif",false}, {"MIG21BIS_WING_R", 0 ,"MiG21Bis_Wing_R_Dif",false}, {"MIG21BIS_GEAR02", 0 ,"MiG-21_Gearbays_Fin",false}, --Finnish cockpit textures {"mfd0",0,"mfd0",true}, {"mirrors", 0 ,"mirrors",true}, {"MiG-21_CP_001", 0 ,"Mig-21-cockpit_001.tga",false}, {"MiG-21_CP_001_NOSHADOW", 0 ,"Mig-21-cockpit_001.tga",false}, --Ni 001 Texture without shadowcasting for certain items. {"MiG-21_CP_001_2", 0 ,"Mig-21-cockpit_001.tga",false}, {"MiG-21_CP_002", 0 ,"Mig-21-cockpit_002.bmp",false}, {"MiG-21_CP_003", 0 ,"Mig-21-cockpit_003.bmp",false}, {"MiG-21_CP_003_2", 0 ,"Mig-21-cockpit_003.bmp",false}, {"MiG-21_CP_004", 0 ,"Mig-21-cockpit_004.tga",false}, {"MiG-21_CP_004_Radar_Glass_Fix", 0 ,"Mig-21-cockpit_004.tga",false}, {"MiG-21_CP_004_SI", 0 ,"Mig-21-cockpit_004.tga",false}, {"MiG-21_CP_005", 0 ,"Mig-21-cockpit_005.bmp",false}, {"MiG-21_CP_005_NOSHADOW", 0 ,"Mig-21-cockpit_005.bmp",false}, --Ni 005 Texture SHADOWCASTER ONLY.(GLARESHIELD) {"MiG-21_CP_006", 0 ,"Mig-21-cockpit_006.tga",false}, {"MiG-21_CP_006", 8 ,"Mig-21-cockpit_006.tga",false}, {"MiG-21_CP_006_SI", 0 ,"Mig-21-cockpit_006.tga",false}, {"MiG-21_CP_007", 0 ,"Mig-21-cockpit_007.bmp",false}, {"MiG-21_CP_008", 0 ,"Mig-21-cockpit_008.tga",false}, {"MiG-21_CP_009", 0 ,"Mig-21-cockpit_009.bmp",false}, {"MiG-21_CP_010", 0 ,"Mig-21-cockpit_010.tga",false}, {"MiG-21_CP_011", 0 ,"Mig-21-cockpit_011.bmp",false}, {"MiG-21_CP_011_2", 0 ,"Mig-21-cockpit_011.bmp",false}, {"MiG-21_CP_012", 0 ,"Mig-21-cockpit_012.bmp",false}, {"MiG-21_CP_013", 0 ,"Mig-21-cockpit_013.bmp",false}, {"MiG-21_CP_014", 0 ,"Mig-21-cockpit_014.tga",false}, {"MiG-21_CP_015", 0 ,"Mig-21-cockpit_015.tga",false}, {"MiG-21_CP_016", 0 ,"Mig-21-cockpit_016.tga",false}, {"MiG-21_CP_017", 0 ,"Mig-21-cockpit_017.bmp",false}, {"MiG-21_CP_018", 0 ,"Mig-21-cockpit_018.tga",false}, {"MiG-21_CP_018", 8 ,"Mig-21-cockpit_018.tga",false}, {"MiG-21_CP_019", 0 ,"Mig-21-cockpit_019.tga",false}, {"MiG-21_CP_019_Night", 0 ,"Mig-21-cockpit_019_N.tga",false}, {"MiG-21_CP_020", 0 ,"Mig-21-cockpit_020.tga",false}, {"MiG-21_CP_021", 0 ,"Mig-21-cockpit_021.tga",false}, {"MiG-21_CP_021_Radar", 0 ,"Mig-21-cockpit_021.tga",false}, {"MiG-21_CP_021_Night", 0 ,"Mig-21-cockpit_021_N.tga",false}, {"MiG-21_CP_022", 0 ,"Mig-21-cockpit_022.bmp",false}, {"MiG-21_CP_023", 0 ,"Mig-21-cockpit_023.tga",false}, {"MiG-21_CP_024", 0 ,"Mig-21-cockpit_024.tga",false}, {"MiG-21_CP_025", 0 ,"Mig-21-cockpit_025.bmp",false}, {"MiG-21_CP_026", 0 ,"Mig-21-cockpit_026.bmp",false}, {"MiG-21_CP_027", 0 ,"Mig-21-cockpit_027.tga",false}, {"MiG-21_CP_027_L", 0 ,"Mig-21-cockpit_027.tga",false}, {"MiG-21_CP_028", 0 ,"Mig-21-cockpit_028.bmp",false}, --{"MiG-21_CP_028", 9 ,"aotest.bmp",false}, {"MiG-21_CP_029", 0 ,"Mig-21-cockpit_029.bmp",false}, {"MiG-21_CP_030", 0 ,"Mig-21-cockpit_030.bmp",false}, {"MiG-21_CP_031", 0 ,"Mig-21-cockpit_031.tga",false}, {"Rear_Parts", 0 ,"RearParts.bmp",false}, {"New_Switches", 0 ,"New_Switches.bmp",false}, {"Radar_Glass", 0 ,"Radar_Glass.tga",false}, {"CanopyGlass_New", 0 ,"CanopyGlass2.tga",false}, {"scratched_glass", 0 ,"scratched_glass.tga",false}, {"Transparent_Cables", 0 ,"Transp_Cables.tga", false}, {"Wire", 0 ,"Wire.bmp", false}, {"IAB", 0 ,"IAB.bmp", false}, -------------------------------------------------- {"MiG-21_Cockpit_visor", 0 ,"VISOR-GLASS-MIG21_2.tga",false}, {"MiG-21_HUD", 0 ,"Mig-21-cockpit_hud.tga",false}, {"MiG-21_HUD_N", 0 ,"Mig-21-cockpit_hud.tga",false}, {"MiG-21_Cockpit_Canopyglass", 0 ,"Mig-21-cockpit_glass.tga",false}, {"MiG-21_Cockpit_Canopyglass_dirt", 0 ,"Mig-21-cockpit_glass_dirt.tga",false}, {"MiG-21_Cockpit_Canopyglass_frozen", 0 ,"Mig-21-cockpit_frozen.tga",false}, {"MiG-21_Cockpit_gauge_glass", 0 ,"Mig-21-cockpit_gauges_glass.tga",false}, {"MiG-21_Cockpit_T1", 0 ,"Mig-21-cockpit-T_1.tga",false}, {"MiG-21_Cockpit_T1", 8 ,"Mig-21-cockpit-T_1.tga",false}, {"MiG-21_Cockpit_T2", 0 ,"Mig-21-cockpit-T_2.tga",false}, {"MiG-21_Cockpit_T2", 8 ,"Mig-21-cockpit-T_2.tga",false}, {"MiG-21_Cockpit_T3", 0 ,"Mig-21-cockpit-T_3.tga",false}, {"MiG-21_Cockpit_T3", 8 ,"Mig-21-cockpit-T_3.tga",false}, {"MiG-21_Cockpit_T4", 0 ,"Mig-21-cockpit-T_4.tga",false}, {"MiG-21_Cockpit_T4", 8 ,"Mig-21-cockpit-T_4.tga",false}, {"MiG-21_Cockpit_T5", 0 ,"Mig-21-cockpit-T_5.tga",false}, {"MiG-21_Cockpit_T5", 8 ,"Mig-21-cockpit-T_5.tga",false}, {"MiG-21_Cockpit_T1_N", 0 ,"Mig-21-cockpit-T_1_N.tga",false}, {"MiG-21_Cockpit_T3_N", 0 ,"Mig-21-cockpit-T_3_N.tga",false}, {"MiG-21_Cockpit_T4_N", 0 ,"Mig-21-cockpit-T_4_N.tga",false}, {"MiG-21_Cockpit_T5_N", 0 ,"Mig-21-cockpit-T_5_N.tga",false}, --Tactical Numbering / Bort Decals: {"MIG21BIS_SER_01", 0 ,"empty_ser",true}, {"MIG21BIS_SER_01", 1 ,"empty_ser",true}, {"MIG21BIS_SER_01", 2 ,"empty_ser",true}, {"MIG21BIS_SER_01", DECAL ,"empty_ser",true}, {"MIG21BIS_SER_10", 0 ,"empty_ser",true}, {"MIG21BIS_SER_10", 1 ,"empty_ser",true}, {"MIG21BIS_SER_10", 2 ,"empty_ser",true}, {"MIG21BIS_SER_10", DECAL ,"empty_ser",true}, {"MIG21BIS_SER_100", 0 ,"empty_ser",true}, {"MIG21BIS_SER_100", 1 ,"empty_ser",true}, {"MIG21BIS_SER_100", 2 ,"empty_ser",true}, {"MIG21BIS_SER_100", DECAL ,"empty_ser",true}, {"MIG21BIS_SER_1000", 0 ,"empty_ser",true}, {"MIG21BIS_SER_1000", 1 ,"empty_ser",true}, {"MIG21BIS_SER_1000", 2 ,"empty_ser",true}, {"MIG21BIS_SER_1000", DECAL ,"empty_ser",true}, {"MIG21BIS_SER_FIN", 0 ,"MiG21Bis_Fuse_M_Dif",false}; {"MIG21BIS_SER_FIN", 1 ,"MiG21Bis_Fuse_M_NMp",true}; {"MIG21BIS_SER_FIN", 2 ,"MiG21Bis_Fuse_M_Spec",true}; {"MIG21BIS_SER_FIN", DECAL ,"MiG21Bis_SerNum_Finnish_Black",true}; {"MIG21BIS_SER_TAIL", 0 ,"MiG21Bis_Fuse-T_Dif",false}; {"MIG21BIS_SER_TAIL", 1 ,"MiG21Bis_Fuse-T_NMp",true}; {"MIG21BIS_SER_TAIL", 2 ,"MiG21Bis_Fuse-T_Spec",true}; {"MIG21BIS_SER_TAIL", DECAL ,"empty_ser",true}; } id=0 name = "02 - Finland - HavLLv 31" --countries = {"USA", "RUS", "FRA", "UKR", "SPN", "NETH", "TUR", "BEL", "GER", "NOR", "CAN", "DEN", "UK", "GRG", "ISR", "ABH", "RSO"} --countries = {"USA", "RUS"} System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :) Link to comment Share on other sites More sharing options...
Cobra847 Posted September 24, 2014 Share Posted September 24, 2014 I honestly thought that would work; but perhaps the livery system only cares about external defined materials. Nicholas Dackard Founder & Lead Artist Heatblur Simulations https://www.facebook.com/heatblur/ Link to comment Share on other sites More sharing options...
Chain Posted September 24, 2014 Author Share Posted September 24, 2014 I honestly thought that would work; but perhaps the livery system only cares about external defined materials. I wonder how the Sabre is different. Some people managed to do this with F-86: http://forums.eagle.ru/showthread.php?p=2187260 Chain System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :) Link to comment Share on other sites More sharing options...
Cobra847 Posted September 24, 2014 Share Posted September 24, 2014 I wonder how the Sabre is different. Some people managed to do this with F-86: http://forums.eagle.ru/showthread.php?p=2187260 Chain I think it may have something to do with the loadorder. Try putting the Finland livery into Mods/aircraft/MiG-21/Liveries instead. I believe Mods is loaded after CoreMods. Thus, the cockpit livery list is loaded AFTER the external livery. Nicholas Dackard Founder & Lead Artist Heatblur Simulations https://www.facebook.com/heatblur/ Link to comment Share on other sites More sharing options...
Chain Posted September 24, 2014 Author Share Posted September 24, 2014 I think it may have something to do with the loadorder. Try putting the Finland livery into Mods/aircraft/MiG-21/Liveries instead. I believe Mods is loaded after CoreMods. Thus, the cockpit livery list is loaded AFTER the external livery. I removed my modifications from the coremods directory and copied the Finnish livery folder to Mods/aircraft/MiG-21/Liveries. Still no luck. Hmm. I wonder if some of the description.lua files in the liveries folder override my file. Chain System: Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR + High fidelity F/A-18C simpit :) Link to comment Share on other sites More sharing options...
Recommended Posts