Flogger23m Posted February 26, 2015 Posted February 26, 2015 Hello, Been having an issue as of late when using custom skin textures. Never had this issue for many months until a few days ago. Whenever I place a custom skin/texture in the game along with a vanilla skin which comes with the game in the same mission I get the following issue: Top skin is official, bottom is my own. Whichever I view first appears fine. For example, if I first view an offical Su-27 skin it will look fine, but then looking at my custom skin will result in odd textures. Likewise if I view a custom/mod skin first, the official skins will not work until I restart the game. I have not changed a thing with my custom skins for months so I was surprised to see this occurring. Is there anyway to prevent or fix this?
jcbak Posted February 26, 2015 Posted February 26, 2015 Are you sure the textures weren't flipped in the editor? [sIGPIC][/sIGPIC]WIN 10, i7 10700, 32GB DDR4, RTX 2080 Super, Crucial 1TB SSD, Samsung EVO 850 500GB SSD, TM Warthog with 10cm extension, TIR5, MFG Crosswind Pedals, Wheelstand Pro, LG 40" 4K TV, Razer Black Widow Ultimate KB[/size]
Flogger23m Posted February 26, 2015 Author Posted February 26, 2015 Are you sure the textures weren't flipped in the editor? They aren't. Like I said I have used them fine for months, but now when both are present (my custom + default ED textures) I get this issue. When I only place either my own textures or default ED textures in a mission I don't have an issue. Which is what I find odd.
upuaut Posted February 26, 2015 Posted February 26, 2015 Hi, this happens if you use custom and standard skins, then the lines in the "description.lua" from your custom skin are not in the right order, or new lines were added. For new lines it is a try and error to find the right position in order to avoid a conflict with the standard skins. If the problem occurred after an update, then ED changed something which causes this problem. DCS Mods and Skins: HiDrive Use the NAS only if the other Link is not working - it's slow! My DCS MODs and Skins: NAS
Flogger23m Posted February 28, 2015 Author Posted February 28, 2015 (edited) Hi, this happens if you use custom and standard skins, then the lines in the "description.lua" from your custom skin are not in the right order, or new lines were added. For new lines it is a try and error to find the right position in order to avoid a conflict with the standard skins. If the problem occurred after an update, then ED changed something which causes this problem. Thanks for the reply. Here is an example of my custom file: livery = { {"su27_tex01", 0 ,"Su27_tex01",false}; {"su27_tex01", 3 ,"empty.tga",true}; {"su27_tex02", 0 ,"Su27_tex02",false}; {"su27_tex02_compos", 0 ,"Su27_tex02",false}; {"su27_tex03", 0 ,"Su27_tex03",false}; {"su27_tex03_compos", 0 ,"Su27_tex03",false}; {"su27_tex03_compos", 3 ,"empty.tga",true}; {"su27_tex04", 0 ,"Su27_tex04",false}; {"su27_tex04", 3 ,"empty.tga",true}; {"su27_tex05", 0 ,"Su27_tex05",false}; {"su27_tex05", 3 ,"empty.tga",true}; {"su27_tex06", 0 ,"Su27_tex06",false}; {"su27_tex06", 3 ,"empty.tga",true}; {"su27_tex07", 0 ,"Su27_tex07",false}; {"su27_nose_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers_top", 0 ,"empty.tga",true}; {"su27_tail_numbers_down", 0 ,"empty.tga",true}; {"pilot_SU_body", 0, "pilot_su",false}; } name = "Z Yellow 13" countries = {"RUS","UKR"} Two of the default ones look like the following: livery = { {"su27_tex01", 0 ,"Su27_tex01_for",true}; {"su27_tex01", 3 ,"Su-27_decol_for",true}; {"su27_tex01_BN31", 0 ,"Su27_tex01_for",true}; {"su27_tex01_BN31", 3 ,"Su-27_numbers_red",true}; {"su27_tex01_BN32", 0 ,"Su27_tex01_for",true}; {"su27_tex01_BN32", 3 ,"Su-27_numbers_red",true}; {"su27_tex02", 0 ,"Su27_tex02_for",true}; {"su27_tex02_compos", 0 ,"Su27_tex02_for",true}; {"su27_tex03", 0 ,"Su27_tex03_for",true}; {"su27_tex03_compos", 0 ,"Su27_tex03_for",true}; {"su27_tex03_compos", 3 ,"Su-27_decol_for",true}; {"su27_tex04", 0 ,"Su27_tex04_for",true}; {"su27_tex04", 3 ,"Su-27_decol_for",true}; {"su27_tex05", 0 ,"Su27_tex05_for",true}; {"su27_tex05", 3 ,"Su-27_decol_for",true}; {"su27_tex06", 0 ,"Su27_tex06_for",true}; {"su27_tex06", 3 ,"Su-27_decol_for",true}; {"su27_tex07", 0 ,"Su27_tex07_for",true}; {"su27_nose_numbers", 0 ,"Su-27_numbers_red",true}; {"su27_tail_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers_top", 0 ,"Su-27_numbers_red",true}; {"su27_tail_numbers_down", 0 ,"empty.tga",true}; {"su27_detail", 0 ,"Su-27_detail",true}; {"su27_detail_compos", 0 ,"Su-27_detail",true}; } countries = {"RUS"} So it looks like more lines were added? Would copy/pasting the new lines fix the issue? Edited March 5, 2015 by Flogger23m
Flogger23m Posted March 3, 2015 Author Posted March 3, 2015 Going to bump this real quick. For the text, if I set everything to from true to false, should that fix my issues? Thinking of doing it to the text and tail numbers. Not sure what the other stuff pertains to though.
Shahdoh Posted March 4, 2015 Posted March 4, 2015 Some things to keep in mind concerning the description.lua entries, lets break down what each section does: {"su27_tex01", 0 ,"Su27_tex01_for",true}; "su27_tex01", is the link to the actual part that is getting painted - this MUST match with the info in the .EDM file 0 , this section is for the value for the type of layer or texture this is going to be (2=Spec / 0=Dif / Decal / etc) there are others but do not know the specifics "Su27_tex01_for", is for the name of the texture that will be used on this part. If the next value is true, this MUST be in the texture.zip file for the aircraft (usually the default name). If next value is false, you can name the texture file anything you please and it should be in the same folder as this description.lua true tells DCS whether the texture file is in the default location (in that aircraft's texture\Su-27.zip file) or (false) = its in another location, usually the same folder the description.lua is in.
Flogger23m Posted March 5, 2015 Author Posted March 5, 2015 I just checked some other custom skins I downloaded (that I did not make) and they all share the same issues. Essentially I am creating a folder in: Eagle Dynamics\DCS World\Bazar\Liveries\su-27 The textures files are .dds and called Su27_tex01 through 07. This is how I and apparently others have been doing it. I have no issues with custom F-15C skins; just the Su-27s. And to clarify, this an example of what my description.lau file looks like: livery = { {"su27_tex01", 0 ,"Su27_tex01",false}; {"su27_tex01", 3 ,"empty.tga",true}; {"su27_tex02", 0 ,"Su27_tex02",false}; {"su27_tex02_compos", 0 ,"Su27_tex02",false}; {"su27_tex03", 0 ,"Su27_tex03",false}; {"su27_tex03_compos", 0 ,"Su27_tex03",false}; {"su27_tex03_compos", 3 ,"empty.tga",true}; {"su27_tex04", 0 ,"Su27_tex04",false}; {"su27_tex04", 3 ,"empty.tga",true}; {"su27_tex05", 0 ,"Su27_tex05",false}; {"su27_tex05", 3 ,"empty.tga",true}; {"su27_tex06", 0 ,"Su27_tex06",false}; {"su27_tex06", 3 ,"empty.tga",true}; {"su27_tex07", 0 ,"Su27_tex07",false}; {"su27_nose_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers_top", 0 ,"empty.tga",true}; {"su27_tail_numbers_down", 0 ,"empty.tga",true}; {"pilot_SU_body", 0, "pilot_su",false}; } name = "Z Yellow 13" countries = {"RUS","UKR"} Made a typo above and accidentally posted a vanilla description.lau twice.
Shahdoh Posted March 5, 2015 Posted March 5, 2015 Not having done any Su27 textures, not sure, but looks like either a flip flopped texture for that position, or the positions have been swapped (left side for right). Do you know anyone else using the same skin without problems?
Flogger23m Posted March 5, 2015 Author Posted March 5, 2015 Not having done any Su27 textures, not sure, but looks like either a flip flopped texture for that position, or the positions have been swapped (left side for right). Do you know anyone else using the same skin without problems? Just had someone else download a custom skin and the same problems occurred for them. A number appears on the custom skin, and if there is a vanilla skin and the custom skin is viewed first you will see the problems I posted in my original post. I assume the latest update must have broken something for custom Su-27 skins. Is anyone else having a problem with custom Su-27 skins? If you have time, you can always test if you experience the problem by downloading any custom Su-27 skin/texture. There is no shortage of them in the download section or on Lock On Files.
Bourrinopathe Posted March 5, 2015 Posted March 5, 2015 (edited) It looks like the same issue I had with my liveries. The description.lua has changed a bit. You will have to add a few lines in each description.lua file. Please check >>> that thread <<< and let us know if it fixes your liveries. (potential solution in the last few posts) Edited March 5, 2015 by Bourrinopathe /// ВКБ: GF Pro MkII+MCG Pro/GF MkII+SCG L/Black Mamba MkIII/Gladiator/T-Rudder MkII | X-55 Rhino throttle/Saitek Throttle Quadrant | OpenTrack+UTC /// ZULU +4 /// /// "THE T3ASE": i9 9900K | 64 GB DDR4 | RTX 2080ti OC | 2 TB NVMe SSDs, 1 TB SATA SSD, 12 TB HDDs | Gigabyte DESIGNARE mobo ///
Flogger23m Posted March 5, 2015 Author Posted March 5, 2015 Still not sure what to do. Here is an example that I tried to update: livery = { {"su27_tex01", 0 ,"Su27_tex01",true}; {"su27_tex01", 3 ,"empty.tga",true}; {"su27_tex01_BN31", 0 ,"Su27_tex01",true}; {"su27_tex01_BN31", 3 ,"Su-27_numbers_red",true}; {"su27_tex01_BN32", 0 ,"Su27_tex01",true}; {"su27_tex01_BN32", 3 ,"Su-27_numbers_red",true}; {"su27_tex02", 0 ,"Su27_tex02",true}; {"su27_tex02_compos", 0 ,"Su27_tex02",true}; {"su27_tex03", 0 ,"Su27_tex03",true}; {"su27_tex03_compos", 0 ,"Su27_tex03",true}; {"su27_tex03_compos", 3 ,"empty.tga",true}; {"su27_tex04", 0 ,"Su27_tex04",true}; {"su27_tex04", 3 ,"empty.tga",true}; {"su27_tex05", 0 ,"Su27_tex05",true}; {"su27_tex05", 3 ,"empty.tga",true}; {"su27_tex06", 0 ,"Su27_tex06",true}; {"su27_tex06", 3 ,"empty.tga",true}; {"su27_tex07", 0 ,"Su27_tex07",true}; {"su27_nose_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers_top", 0 ,"empty.tga",true}; {"su27_tail_numbers_down", 0 ,"empty.tga",true}; {"su27_detail", 0 ,"Su-27_detail",true}; {"su27_detail_compos", 0 ,"Su-27_detail",true}; } name = "Fictional Splinter Desert 39" countries = {"RUS","UKR"}Issue still exist. Which part is creating the issue? And now for another slightly related question. As it was, all my liveries/skins had no numbers/markings. For some I would like to keep it this way. For others I would like to add numbers and Russian/Ukraine air force markings. I assume once I get the main issues sorted, the following indicate country specific markings (Mirgorod AFB (831th brigade) in this example): {"su27_tex01_BN31", 0 ,"Su27_tex01_ukr2",false}; {"su27_tex01_BN31", 3 ,"Su-27_numbers",true}; {"su27_tex01_BN32", 0 ,"Su27_tex01_ukr2",false}; {"su27_tex01_BN32", 3 ,"Su-27_numbers",true};Whereas the numbers are represented by the following: {"su27_nose_numbers", 0 ,"Su-27_numbers",true}; {"su27_tail_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers_top", 0 ,"Su-27_numbers",true}; {"su27_tail_numbers_down", 0 ,"empty.tga",true}; If I don't want numbers/markings, I simply set it to false on all accounts. If I do, I set it to true. Do I have this correct?
Flogger23m Posted March 7, 2015 Author Posted March 7, 2015 Still can't seem to get it to work. Must be missing something very obvious. Would like to get it sorted because I am getting close to placing emblems/numbers on my current project:
Bourrinopathe Posted March 7, 2015 Posted March 7, 2015 Did you check that every custom livery in your custom mission has the four "bort number" lines in their description.lua ? I remember the stock liveries were messed up because my only custom livery was missing those lines. Once I added them, everything was displayed correctly. If you still can't fix it, please join your livery in that thread (or via PM) and I'll try to check it on my side. Good luck ;) /// ВКБ: GF Pro MkII+MCG Pro/GF MkII+SCG L/Black Mamba MkIII/Gladiator/T-Rudder MkII | X-55 Rhino throttle/Saitek Throttle Quadrant | OpenTrack+UTC /// ZULU +4 /// /// "THE T3ASE": i9 9900K | 64 GB DDR4 | RTX 2080ti OC | 2 TB NVMe SSDs, 1 TB SATA SSD, 12 TB HDDs | Gigabyte DESIGNARE mobo ///
Flogger23m Posted March 7, 2015 Author Posted March 7, 2015 (edited) Edit: Fixed my issue. The lines: {"su27_detail", 0 ,"Su27_detail_SD",false}; {"su27_detail_compos", 0 ,"Su27_detail_SD",false}; Cause problems. The description.lau should look like the following: livery = { {"su27_tex01", 0 ,"Su27_tex01_SD",false}; {"su27_tex01", 3 ,"empty.tga",true}; {"su27_tex01_BN31", 0 ,"Su27_tex01_SD",false}; {"su27_tex01_BN31", 3 ,"empty.tga",true}; {"su27_tex01_BN32", 0 ,"Su27_tex01_SD",false}; {"su27_tex01_BN32", 3 ,"empty.tga",true}; {"su27_tex02", 0 ,"Su27_tex02_SD",false}; {"su27_tex02_compos", 0 ,"Su27_tex02_SD",false}; {"su27_tex03", 0 ,"Su27_tex03_SD",false}; {"su27_tex03_compos", 0 ,"Su27_tex03_SD",false}; {"su27_tex03_compos", 3 ,"empty.tga",true}; {"su27_tex04", 0 ,"Su27_tex04_SD",false}; {"su27_tex04", 3 ,"empty.tga",true}; {"su27_tex05", 0 ,"Su27_tex05_SD",false}; {"su27_tex05", 3 ,"empty.tga",true}; {"su27_tex06", 0 ,"Su27_tex06_SD",false}; {"su27_tex06", 3 ,"empty.tga",true}; {"su27_tex07", 0 ,"Su27_tex07_SD",false}; {"su27_nose_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers", 0 ,"empty.tga",true}; {"su27_tail_numbers_top", 0 ,"empty.tga",true}; {"su27_tail_numbers_down", 0 ,"empty.tga",true}; } name = "Fictional Splinter Desert 39" countries = {"RUS","UKR"} Replace Su27_tex01_SD through Su27_tex07_SD with the name of your files. Thanks for the help everyone. Edited March 8, 2015 by Flogger23m
Recommended Posts