Jump to content

[Help]Texture description.lua


uboats

Recommended Posts

From MiG-21's liveries folder, I can know that for both default and english, the description.lua gives the texture dds files and their corresponding UV-map variables (if I call it correctly, I don't know its exact definition). And the program loads the texture zip file while render it based on the description.lua file

 

However, for example: Ka-50\Liveries\Cockpit_Ka-50\default, the description.lua (used to render RU texture zip file) only contains the info:

{"mir", 0 ,"mirrors",true}

 

While english gives:

	{"mir"	   				,0,"mirrors"							,true};--mirrors texture replacement with runtime rendered one
{"devka 50"				,0,"Ka-50 devices_ENG.dds"				,false},
{"ils ka 50"			,0,"KA-50 HUD_ENG.dds"					,false},
{"Ka-50_hud_opaq"		,0,"KA-50 HUD_ENG.dds"					,false},
{"lamps"				,0,"Ka-50 font lamp_ENG.dds"			,false},
{"Ka-50 dop devices"	,0,"Ka-50 dop dev_ENG.dds"				,false},
{"Ka-50 inscripts"		,0,"Ka-50 inscripts_ENG.dds"			,false},
{"right top panel"		,0,"Ka-50 RightTopPan_ENG.dds"			,false},
{"tablet"				,0,"Ka-50 table_ENG.dds"				,false},
{"Ka-50 inscripts dop"	,0,"Ka-50 inscripts dop_ENG.dds"		,false},
{"buttons"				,0,"Ka-50 buttons_ENG.dds"				,false},
{"Ka-50 HUD2"			,0,"KA-50 HUD_ENG.dds"					,false},
{"buttons_always"		,0,"Ka-50 buttons_ENG.dds"				,false},
{"interior"		        ,0,"Ka-50 interior_ENG.dds"				,false},
{"panel r"		        ,0,"Ka-50 Panel R_ENG.dds"				,false},
{"panel ka 50 left"	    ,0,"Ka-50 Panel L_ENG.dds"				,false},
{"right_back_inscript"	,0,"Ka-50 Panel_R_Back_Inscript_ENG.dds",false},
{"dash-board"	   		,0,"Ka-50 dash-board_ENG.dds"			,false},
{"elements ka-50"	   		,0,"Ka-50 elements_ENG.dds"			,false},

and also dds files with EN chars, which are used to make the UV variables use dds file from english instead of the one in the zip file.

 

What I thought was that, like mig-21, the lua file of default folder should also give the complete info pairing every dds file and its UV variable. But I was wrong.

 

So where can I get the UV variable names for all dds files (e.g. Ka-50) which have been zip in Ka-50\Cockpit\Resources\Model\Textures\Cockpit-Ka-50 Textures.zip ?

 

If I can get them, then not need to replace the zip texture file but only need to add changed texture dds files to folder in Liveries/... and load corresponding description.lua

[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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...