Secret to the P51D skins in v2 Open Alpha

Delta Squad - DCS World, Squad Leader: RAF_DaddyO
Information on flight times, and squad-specific postings belong here

Moderator: RAF_DaddyO

User avatar
RAF_DaddyO
Site Admin
Posts: 192
Joined: Fri Jan 01, 2016 7:22 pm
Location: Good 'ole US-of-A
Contact:

Secret to the P51D skins in v2 Open Alpha

Postby RAF_DaddyO » Sat Jul 29, 2017 5:54 pm

S! All,

If you've copied skins over from DCS v1.5 into v2.0 alpha (sight unseen), and discovered they don't look so good, here's the secret and the reason, and how to fix them. I looked all over, and couldn't find a good description of what to do... so, i figured it out myself and here's how!~

In V2.0 apparently they introduced a new and more complex/capable shader model. The normal default p51d skins from v1.5 often didn't take advantage of it. (The stock skins that install with the v2 game are OK, cause ED fixed them, but if you're trying to salvage skins from v1.5 over into v2.x In order to correct an existing skin from v1.5 to v2.0 heres what to do.)

- first find the folder/skin you want to correct, this procedure below pertains to all of them>
- look in C:\Program Files\Eagle Dynamics\DCS World 2 OpenAlpha\Bazar\Liveries\P-51D - this is where all the skins are kept... find the folder for the skin you want to fix, eg \MYSKIN\.

1.) first copy the new default metal roughness shader layers from the base baremetal template into this folder:
eg> copy C:\Program Files\Eagle Dynamics\DCS World 2 OpenAlpha\Bazar\Liveries\P-51D\Bare Metal\ .. (these are the new metal layers the p51d skin needs to look nice in v2.)
p51D_DIF_Silver_Fuz_Front_RoughMet.dds
p51D_DIF_Silver_Fuz_Rear_RoughMet.dds
p51D_DIF_Silver_L_Wing_RoughMet.dds
p51D_DIF_Silver_R_Wing_RoughMet.dds

into C:\Program Files\Eagle Dynamics\DCS World 2 OpenAlpha\Bazar\Liveries\P-51D\MYSKIN\ folder

(ps - these will impart a very shiny metallic overlay over your entire skin, and clear up the blotchy look - if you want to customize or fine tune the metallic look, or dull it down, thats a lesson for another day, but editing these bitmaps is how you do that).

2.) next edit the C:\Program Files\Eagle Dynamics\DCS World 2 OpenAlpha\Bazar\Liveries\P-51D\description.lua file with a text editor in your skins folder you're trying to correct.
Below is an example of a corrected one.

- you need to add, or correct the lines below in RED, and make sure they are in place in each stanza correctly (as shown below below in the example file). Each line needs to reference the new _RoughMet.dds files you just added to the skins folder. If you're not changing the skin in any other way, then don't change any of the other lines in this file.

(example description.lua skin reference file - corrected to reference the new _RoughMet.dds layers)
-- By KIZIR_77
livery = {
{"P51D_FUZ_FRONT", 0 ,"p51D_DIF_Silver_Fuz_Front",false};
{"P51D_FUZ_REAR", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_WING_L", 0 ,"p51D_DIF_Silver_L_Wing",false};
{"P51D_WING_R", 0 ,"p51D_DIF_Silver_R_Wing",false};
{"P51D_FUZ_FRONT", 2 ,"p51D_SPEC_Silver_Fuz_Front",false};
{"P51D_FUZ_REAR", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_WING_L", 2 ,"p51D_SPEC_Silver_L_Wing",false};
{"P51D_WING_R", 2 ,"p51D_SPEC_Silver_R_Wing",false};

{"P51D_FUZ_FRONT", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Front_RoughMet",false};
{"P51D_FUZ_REAR", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_WING_L", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_L_Wing_RoughMet",false};
{"P51D_WING_R", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_R_Wing_RoughMet",false};


{"P51D_BORT_NUMBER_COCPIT_01", 0 ,"p51D_DIF_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_COCPIT_01", 2 ,"p51D_SPEC_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_COCPIT_01", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Front_RoughMet",false};
{"P51D_BORT_NUMBER_COCPIT_01", DECAL ,"empty",true};

{"P51D_BORT_NUMBER_FRONT_10", 0 ,"p51D_DIF_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_FRONT_10", 2 ,"p51D_SPEC_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_FRONT_10", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Front_RoughMet",false};
{"P51D_BORT_NUMBER_FRONT_10", DECAL ,"empty",true};

{"P51D_BORT_NUMBER_FRONT_01", 0 ,"p51D_DIF_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_FRONT_01", 2 ,"p51D_SPEC_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_FRONT_01", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Front_RoughMet",false};
{"P51D_BORT_NUMBER_FRONT_01", DECAL ,"empty",true};

{"P51D_BORT_NUMBER_FRONT-2_10", 0 ,"p51D_DIF_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_FRONT-2_10", 2 ,"p51D_SPEC_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_FRONT-2_10", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Front_RoughMet",false};
{"P51D_BORT_NUMBER_FRONT-2_10", DECAL ,"empty",true};

{"P51D_BORT_NUMBER_FRONT-2_01", 0 ,"p51D_DIF_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_FRONT-2_01", 2 ,"p51D_SPEC_Silver_Fuz_Front",false};
{"P51D_BORT_NUMBER_FRONT-2_01", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Front_RoughMet",false};
{"P51D_BORT_NUMBER_FRONT-2_01", DECAL ,"empty",true};

{"P51D_BORT_NUMBER_REAR-2_10", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_BORT_NUMBER_REAR-2_10", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_BORT_NUMBER_REAR-2_10", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_BORT_NUMBER_REAR-2_10", DECAL ,"empty",true};

{"P51D_BORT_NUMBER_REAR-2_01", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_BORT_NUMBER_REAR-2_01", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_BORT_NUMBER_REAR-2_01", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_BORT_NUMBER_REAR-2_01", DECAL ,"empty",true};

{"P51D_BORT_NUMBER_TAIL_01", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_BORT_NUMBER_TAIL_01", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_BORT_NUMBER_TAIL_01", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_BORT_NUMBER_TAIL_01", DECAL ,"empty",true};

{"P51D_BORT_NUMBER_FIN_01", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_BORT_NUMBER_FIN_01", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_BORT_NUMBER_FIN_01", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_BORT_NUMBER_FIN_01", DECAL ,"empty",true};

{"P51D_SERIAL_NUMBER_L_001", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_L_001", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_L_001", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_SERIAL_NUMBER_L_001", DECAL ,"empty",true};

{"P51D_SERIAL_NUMBER_L_010", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_L_010", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_L_010", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_SERIAL_NUMBER_L_010", DECAL ,"empty",true};

{"P51D_SERIAL_NUMBER_L_100", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_L_100", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_L_100", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_SERIAL_NUMBER_L_100", DECAL ,"empty",true};

{"P51D_SERIAL_NUMBER_R_001", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_R_001", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_R_001", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_SERIAL_NUMBER_R_001", DECAL ,"empty",true};

{"P51D_SERIAL_NUMBER_R_010", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_R_010", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_R_010", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_SERIAL_NUMBER_R_010", DECAL ,"empty",true};

{"P51D_SERIAL_NUMBER_R_100", 0 ,"p51D_DIF_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_R_100", 2 ,"p51D_SPEC_Silver_Fuz_Rear",false};
{"P51D_SERIAL_NUMBER_R_100", ROUGHNESS_METALLIC ,"p51D_DIF_Silver_Fuz_Rear_RoughMet",false};
{"P51D_SERIAL_NUMBER_R_100", DECAL ,"empty",true};

{"pilot_P51_patch", 0 ,"pilot_P51_patch",false};
{"pilot_P51_body", 0 ,"pilot_WWII",false};
}
name = "P-51D_F-AZJM_Temptation"
countries = {"USA", "RUS", "FRA", "UKR", "SPN", "NETH", "TUR", "BEL", "GER", "NOR", "CAN", "DEN", "UK", "GRG", "ISR", "ABH", "RSO", "ITA", "INS", "AUS", "SUI"}


Save the files and reload the game and enjoy! Viola....

PS - if you want to mess around, look into using the \bin\modelviewer.exe in the \game's bin folder, this is a handy tool for use in viewing and manipulating skins without all the overhead of reloading the game.
PPS- Keep in mind, you may not see skin updates until you stop and start the game, DCS loads the skins files necessary often at startup. So close/open after making changes.

With these simple tweaks your lovely P51D v1.5 skins can look great in v2.0 too!
2017-07-29_13-34-50.png
S!
DDO :RAFSalute:
RAF_DaddyO
RAF662 CFSG C-in-C

Image
Image

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest