Morpheus Posted August 17, 2017 Posted August 17, 2017 Hi guys, I am making a mod with textures for the cockpit of the L-39C for my team. This mod will go in ...\Liveries\Cockpit_L-39C and it works at 90%. Only one texture doesn't work. Normaly this texture is in "L-39C-CPT-TEXTURES.zip", I paste it in my mod, add line in description.lua and ...no result. Another texture wich go in same zip works fine but line were present in the original description.lua (english). This texture is for the front panel of rear cockpit, its name is L-39-CPT-PANEL-04 and the line I add is : {"L39-CPT-PANEL-04", 0 ,"L39-CPT-PANEL-04",false}; I paste it (red mark) in the mod ....L-39C\Liveries\Cockpit_L-39C\Cockpit JTS I paste the other .dds (green mark) in same place but this one was already present in description.lua 'english), I just pass it "false" vs "true" (two lines for front and rear cokpit) and it work for it ____________ What is wrong please? ++Morph'
gospadin Posted August 17, 2017 Posted August 17, 2017 .zip files are just containers similar to directories, defined by the entry.lua for the given cockpit mod. Your description.lua needs to point to the named texture files inside it, not the .zip file itself. My liveries, mods, and missions for DCS:World M-2000C English Cockpit | Extra Beacons Mod | Nav Kneeboard | Community A-4E
Morpheus Posted August 17, 2017 Author Posted August 17, 2017 As you see in the screenshot, I extract the "L39-CPT-PANEL-04.dds" from the .zip and paste it in my mod, and I add the line in the description.lua ==> {"L39-CPT-PANEL-04", 0 ,"L39-CPT-PANEL-04",false}; See my description.luadescription.lua
Vladislav2Gimloo Posted August 28, 2017 Posted August 28, 2017 Cockpit_L-39C script -- rename it to description.lua livery = { --[[ uncomment lines for customized dds/tga/bmp files --]] --{"L39-CPT-PANEL-02", 0, "l39-cpt-panel-02", true}; --{"L39-CPT-PANEL-02", 2, "l39-cpt-panel_spec-02", true}; --{"L39-CPT-PANEL-01", 0, "l39-cpt-panel-01", true}; --{"L39-CPT-PANEL-01", 2, "l39-cpt-panel_spec-01", true}; --{"L39-CPT-FONAR-03", 0, "l39-cpt-fonar-03", true}; --{"L39-CPT-FONAR-03", 2, "l39-cpt-fonar_spec-03", true}; --{"L39-CPT-FLOOR", 0, "l39-cpt-floor", true}; --{"L39-CPT-FLOOR", 2, "l39-cpt-floor_spec", true}; --{"L39-CPT-TUMB", 0, "l39-cpt-tumb", true}; --{"L39-CPT-TUMB", 2, "l39-cpt-tumb_spec", true}; --{"L39-CPT-PANEL-03", 0, "l39-cpt-panel-03", true}; --{"L39-CPT-PANEL-03", 2, "l39-cpt-panel_spec-03", true}; --{"L39-INSTR-01", 0, "l39-cpt-instr-01", true}; --{"L39-INSTR-02", 0, "l39-cpt-instr-02", true}; --{"L39-CPT-FONAR-01", 0, "l39-cpt-fonar-01", true}; --{"L39-CPT-FONAR-01", 2, "l39-cpt-fonar_spec-01", true}; --{"L39-CPT-GLASS", 0, "l39-cpt-glass", true}; --{"L39-CPT-GLASS", 2, "l39-cpt-glass_spec", true}; --{"L39-CPT-FONAR-02", 0, "l39-cpt-fonar-02", true}; --{"L39-CPT-FONAR-02", 2, "l39-cpt-fonar_spec-02", true}; --{"L39-CPT-PANEL-01_2", 0, "l39-cpt-panel-01_2", true}; --{"L39-CPT-PANEL-01_2", 2, "l39-cpt-panel_spec-01_2", true}; --{"L39-LAMP", 0, "l39-cpt-cl", true}; --{"L39-CPT-PANEL-02_CPT2", 0, "l39-cpt-panel-04", true}; --{"L39-CPT-PANEL-02_CPT2", 2, "l39-cpt-panel_spec-04", true}; --{"L39-INSTR-01_NO_LIGHTS", 0, "l39-cpt-instr-01", true}; --{"L39-INSTR-01_NO_LIGHTS", 2, "l39-cpt-instr-01", true}; --{"LIGHTS_WHITE_COMPAS", 0, "l39-cpt-instr-02", true}; --{"L39-CPT-PANEL-01_1_RKL_LIGHT", 0, "l39-cpt-panel-01_1", true}; --{"L39-CPT-PANEL-01_1_RKL_LIGHT", 2, "l39-cpt-panel_spec-01_1", true}; --{"RKL_LIGHTS_INNER_BEACON", 0, "l39-cpt-panel-01_1", true}; --{"RKL_LIGHTS_INNER_BEACON", 2, "l39-cpt-panel_spec-01_1", true}; --{"RKL_LIGHTS_OUTER_BEACON", 0, "l39-cpt-panel-01_1", true}; --{"RKL_LIGHTS_OUTER_BEACON", 2, "l39-cpt-panel_spec-01_1", true}; --{"L39-CPT-PANEL-01_1", 0, "l39-cpt-panel-01_1", true}; --{"L39-CPT-PANEL-01_1", 2, "l39-cpt-panel_spec-01_1", true}; --{"L39-LAMP_CPT2", 0, "l39-cpt-cl", true}; --{"L39-INSTR-02_CPT2", 0, "l39-cpt-instr-02", true}; --{"L39-INSTR-KPP_CPT2", 0, "l39-cpt-instr-kpp", true}; --{"L39-INSTR-01_CPT2", 0, "l39-cpt-instr-01", true}; --{"L39-INSTR-KPP", 0, "l39-cpt-instr-kpp", true}; --{"L39-CPT-PANEL-01_2_RADIO_LIGHT", 0, "l39-cpt-panel-01_2", true}; --{"L39-CPT-PANEL-01_2_RADIO_LIGHT_CPT2", 0, "l39-cpt-panel-01_2", true}; --{"l39_cpt_dev_glass", 0, "l39-cpt-glass-prib", true}; --{"l39_cpt_dev_glass", 2, "l39-cpt-glass-prib-spec", true}; --{"L39-CPT-PANEL-01_1_RKL_LIGHT_CPT2", 0, "l39-cpt-panel-01_1", true}; --{"L39-CPT-PANEL-01_1_RKL_LIGHT_CPT2", 2, "l39-cpt-panel_spec-01_1", true}; --{"RKL_LIGHTS_INNER_BEACON_CPT2", 0, "l39-cpt-panel-01_1", true}; --{"RKL_LIGHTS_INNER_BEACON_CPT2", 2, "l39-cpt-panel_spec-01_1", true}; --{"RKL_LIGHTS_OUTER_BEACON_CPT2", 0, "l39-cpt-panel-01_1", true}; --{"RKL_LIGHTS_OUTER_BEACON_CPT2", 2, "l39-cpt-panel_spec-01_1", true}; --{"L39-INSTR-03", 0, "l39-cpt-instr-03", true}; --{"L39-CPT-SEAT", 0, "l39-cpt-seat", true}; --{"L39-CPT-SEAT", 2, "l39-cpt-seat_spec", true}; --{"L39-CPT-SHTORKA", 0, "l39-cpt-shtorka", true}; --{"mirror_L39", 0, "mirror_l39", true}; --{"MIRROR", 0, "l39-cpt-fonar-01", true}; --{"MIRROR", 2, "l39-cpt-fonar_spec-01", true}; --{"L39-lamp", 0, "l39-cpt-cl", true}; --{"OUTER_BEACON", 0, "l39-cpt-panel-01_2", true}; --{"INNER_BEACON_CPT2", 0, "l39-cpt-panel-01_2", true}; --{"INNER_BEACON", 0, "l39-cpt-panel-01_2", true}; --{"OUTER_BEACON_CPT2", 0, "l39-cpt-panel-01_2", true}; --{"L39-CPT-SIGHT", 0, "l39-cpt-sight", true}; --{"L39-CPT-SIGHT", 2, "l39-cpt-sight_spec", true}; --{"L39-CPT-PANEL-01_2_RSBN_LIGHT", 0, "l39-cpt-panel-01_2", true}; --{"L39-CPT-PANEL-01_2_RSBN_LIGHT", 2, "l39-cpt-panel_spec-01_2", true}; --{"pilot_L39_FP2", 0, "pilot_l39_fp2", true}; --{"pilot_L39_FP2", 2, "pilot_l39_fp2_spec", true}; --{"pilot_L39_kneebord", 0, "pilot_l39_fp_kneeboard", true}; --{"pilot_L39_kneebord", 2, "pilot_l39_fp_kneeboard_spec", true}; --{"pilot_L39_helmet", 0, "pilot_l39_helmet", true}; --{"pilot_L39_head", 0, "pilot_l39_head", true}; --{"pilot_L39_FP1", 0, "pilot_l39_fp1", true}; --{"pilot_L39_FP1", 2, "pilot_l39_fp1_spec", true}; --{"L39-CPT-STICK", 0, "l39-cpt-stick", true}; --{"L39-CPT-STICK", 2, "l39-cpt-stick_spec", true}; --{"L39-INSTR_IMPERIAL_FRONT_COCKPIT", 0, "l39-cpt-instr_eng-02", true}; --{"L39-INSTR_IMPERIAL_REAR_COCKPIT", 0, "l39-cpt-instr_eng-02", true}; } ----== below part is not required for cockpit livery ==---- --[[ name your own skin in default language (en) meanwhile, you can also name the skin in more than one languages, replace xx by [ru, cn, cs, de, es, fr, or it] ]] name = "" --name_xx = "" --[[ assign the countries if you want no country limitation, then comment out below line]] countries = {""} Cockpit_L-39ZA -- rename it to description.lua livery = { --[[ uncomment lines for customized dds/tga/bmp files --]] --{"L39-CPT-PANEL-02", 0, "l39-cpt-panel-02", true}; --{"L39-CPT-PANEL-02", 2, "l39-cpt-panel_spec-02", true}; --{"L39ZA-CPT-PANEL-01", 0, "l39za-cpt-panel-01", true}; --{"L39ZA-CPT-PANEL-01", 2, "l39za-cpt-panel_spec-01", true}; --{"L39-CPT-FONAR-03", 0, "l39-cpt-fonar-03", true}; --{"L39-CPT-FONAR-03", 2, "l39-cpt-fonar_spec-03", true}; --{"L39-CPT-FLOOR", 0, "l39-cpt-floor", true}; --{"L39-CPT-FLOOR", 2, "l39-cpt-floor_spec", true}; --{"L39-CPT-TUMB", 0, "l39-cpt-tumb", true}; --{"L39-CPT-TUMB", 2, "l39-cpt-tumb_spec", true}; --{"L39-CPT-PANEL-03", 0, "l39-cpt-panel-03", true}; --{"L39-CPT-PANEL-03", 2, "l39-cpt-panel_spec-03", true}; --{"L39-INSTR-01", 0, "l39-cpt-instr-01", true}; --{"L39-INSTR-02", 0, "l39-cpt-instr-02", true}; --{"L39-CPT-FONAR-01", 0, "l39-cpt-fonar-01", true}; --{"L39-CPT-FONAR-01", 2, "l39-cpt-fonar_spec-01", true}; --{"L39-CPT-GLASS", 0, "l39-cpt-glass", true}; --{"L39-CPT-GLASS", 2, "l39-cpt-glass_spec", true}; --{"L39-CPT-FONAR-02", 0, "l39-cpt-fonar-02", true}; --{"L39-CPT-FONAR-02", 2, "l39-cpt-fonar_spec-02", true}; --{"L39-CPT-PANEL-01_2", 0, "l39-cpt-panel-01_2", true}; --{"L39-CPT-PANEL-01_2", 2, "l39-cpt-panel_spec-01_2", true}; --{"L39-LAMP", 0, "l39-cpt-cl", true}; --{"L39-CPT-PANEL-02_CPT2", 0, "l39-cpt-panel-04", true}; --{"L39-CPT-PANEL-02_CPT2", 2, "l39-cpt-panel_spec-04", true}; --{"L39-INSTR-01_NO_LIGHTS", 0, "l39-cpt-instr-01", true}; --{"L39-INSTR-01_NO_LIGHTS", 2, "l39-cpt-instr-01", true}; --{"LIGHTS_WHITE_COMPAS", 0, "l39-cpt-instr-02", true}; --{"L39-CPT-PANEL-01_1_RKL_LIGHT", 0, "l39-cpt-panel-01_1", true}; --{"L39-CPT-PANEL-01_1_RKL_LIGHT", 2, "l39-cpt-panel_spec-01_1", true}; --{"RKL_LIGHTS_INNER_BEACON", 0, "l39-cpt-panel-01_1", true}; --{"RKL_LIGHTS_INNER_BEACON", 2, "l39-cpt-panel_spec-01_1", true}; --{"RKL_LIGHTS_OUTER_BEACON", 0, "l39-cpt-panel-01_1", true}; --{"RKL_LIGHTS_OUTER_BEACON", 2, "l39-cpt-panel_spec-01_1", true}; --{"L39-CPT-PANEL-01_1", 0, "l39-cpt-panel-01_1", true}; --{"L39-CPT-PANEL-01_1", 2, "l39-cpt-panel_spec-01_1", true}; --{"L39-LAMP_CPT2", 0, "l39-cpt-cl", true}; --{"L39-INSTR-02_CPT2", 0, "l39-cpt-instr-02", true}; --{"L39-INSTR-KPP_CPT2", 0, "l39-cpt-instr-kpp", true}; --{"L39-INSTR-01_CPT2", 0, "l39-cpt-instr-01", true}; --{"L39-INSTR-KPP", 0, "l39-cpt-instr-kpp", true}; --{"L39-CPT-PANEL-01_2_RADIO_LIGHT", 0, "l39-cpt-panel-01_2", true}; --{"L39-CPT-PANEL-01_2_RADIO_LIGHT_CPT2", 0, "l39-cpt-panel-01_2", true}; --{"L39-CPT-PANEL-01_1_RKL_LIGHT_CPT2", 0, "l39-cpt-panel-01_1", true}; --{"L39-CPT-PANEL-01_1_RKL_LIGHT_CPT2", 2, "l39-cpt-panel_spec-01_1", true}; --{"RKL_LIGHTS_INNER_BEACON_CPT2", 0, "l39-cpt-panel-01_1", true}; --{"RKL_LIGHTS_INNER_BEACON_CPT2", 2, "l39-cpt-panel_spec-01_1", true}; --{"RKL_LIGHTS_OUTER_BEACON_CPT2", 0, "l39-cpt-panel-01_1", true}; --{"RKL_LIGHTS_OUTER_BEACON_CPT2", 2, "l39-cpt-panel_spec-01_1", true}; --{"L39-INSTR-03", 0, "l39-cpt-instr-03", true}; --{"L39-CPT-SEAT", 0, "l39-cpt-seat", true}; --{"L39-CPT-SEAT", 2, "l39-cpt-seat_spec", true}; --{"L39-CPT-SHTORKA", 0, "l39-cpt-shtorka", true}; --{"mirror_L39", 0, "mirror_l39", true}; --{"MIRROR", 0, "l39-cpt-fonar-01", true}; --{"MIRROR", 2, "l39-cpt-fonar_spec-01", true}; --{"L39-lamp", 0, "l39-cpt-cl", true}; --{"OUTER_BEACON", 0, "l39-cpt-panel-01_2", true}; --{"INNER_BEACON_CPT2", 0, "l39-cpt-panel-01_2", true}; --{"INNER_BEACON", 0, "l39-cpt-panel-01_2", true}; --{"OUTER_BEACON_CPT2", 0, "l39-cpt-panel-01_2", true}; --{"L39ZA-CPT-SIGHT", 0, "l39za-cpt-sight", true}; --{"L39ZA-CPT-SIGHT", 2, "l39-cpt-sight_spec", true}; --{"L39-CPT-PANEL-01_2_RSBN_LIGHT", 0, "l39-cpt-panel-01_2", true}; --{"L39-CPT-PANEL-01_2_RSBN_LIGHT", 2, "l39-cpt-panel_spec-01_2", true}; --{"pilot_L39_FP2", 0, "pilot_l39_fp2", true}; --{"pilot_L39_FP2", 2, "pilot_l39_fp2_spec", true}; --{"pilot_L39_kneebord", 0, "pilot_l39_fp_kneeboard", true}; --{"pilot_L39_helmet", 0, "pilot_l39_helmet", true}; --{"pilot_L39_helmet", 2, "pilot_l39_helmet_spec", true}; --{"pilot_L39_head", 0, "pilot_l39_head", true}; --{"pilot_L39_FP1", 0, "pilot_l39_fp1", true}; --{"pilot_L39_FP1", 2, "pilot_l39_fp1_spec", true}; --{"L39-CPT-STICK", 0, "l39-cpt-stick", true}; --{"L39-CPT-STICK", 2, "l39-cpt-stick_spec", true}; --{"L39ZA-CPT-ADDITIONAL-PANEL", 0, "l39za-cpt-additional-panel", true}; --{"L39ZA-CPT-ADDITIONAL-PANEL", 2, "l39za-cpt-additional-panel_spec", true}; --{"L39-INSTR_IMPERIAL_FRONT_COCKPIT", 0, "l39-cpt-instr_eng-02", true}; --{"L39-INSTR_IMPERIAL_REAR_COCKPIT", 0, "l39-cpt-instr_eng-02", true}; --{"l39_cpt_dev_glass", 0, "l39-cpt-glass-prib", true}; --{"l39_cpt_dev_glass", 2, "l39-cpt-glass-prib-spec", true}; } ----== below part is not required for cockpit livery ==---- --[[ name your own skin in default language (en) meanwhile, you can also name the skin in more than one languages, replace xx by [ru, cn, cs, de, es, fr, or it] ]] name = "" --name_xx = "" --[[ assign the countries if you want no country limitation, then comment out below line]] countries = {""} MB2 český DCS server . Youtube České Tutoriali Discord MB2 1.Flight =UVP= Česká škola TOP GUN
Morpheus Posted August 29, 2017 Author Posted August 29, 2017 Thanks but I already have this (with EDM Livery Extractor GUI) you can see there is no line for L39-CPT-PANEL-04.dds (rear dashboard) :cry:
gospadin Posted August 29, 2017 Posted August 29, 2017 Apparently there is: --{"L39-CPT-PANEL-02_CPT2", 0, "l39-cpt-panel-04", true}; The CPT2 material maps to the panel-04 texture file. My liveries, mods, and missions for DCS:World M-2000C English Cockpit | Extra Beacons Mod | Nav Kneeboard | Community A-4E
Morpheus Posted August 29, 2017 Author Posted August 29, 2017 Yes !!!! Don't see it :music_whistling: I'll give a try :thumbup:
Morpheus Posted August 29, 2017 Author Posted August 29, 2017 Thanks to all, that works fine, I think I have to change my glasses to read correctly lua :lol: :thumbup:
Recommended Posts