Jump to content

Bort Number bug? (Solution in replies)


Recommended Posts

Posted (edited)

After updating with today's patch, I noticed a weird behaviour with the Hornet liveries(Viper too as a matter of fact).

If you select a custom livery, all bort numbers, even those that are hidden with the description.lua, are now showing up.

Screen_230413_185604.png
Note the "10" all over the aircraft on positions, it isn't intended.

If you toggle through the list and select the Blue Angels livery, which has no bort numbers, they disappear, as intended.
Screen_230413_185613.png

Now switch back to the previous livery and poof, all bort numbers gone.
Screen_230413_185623.png

Is this a recurring bort number bug or has something changed within DCS livery files that I missed?

Edited by Sawamura
Title update - "Solution in replies)
  • Sawamura changed the title to Bort Number bug?
Posted (edited)

Not a bug, but unfortunately the feature NOT mentioned in Changelog.
The Lua code for definig bort numbers changed today. Because of that, I have many many skins broken 😡
Now it look like this:

    {"f18c1_number_nose_right", 0 ,"F18C_1_DIFF",false};
    {"f18c1_number_nose_right", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",true};
    {"f18c1_number_nose_right", DECAL ,"empty",true};
    
    {"f18c1_number_nose_left", 0 ,"F18C_1_DIFF",false};
    {"f18c1_number_nose_left", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",true};
    {"f18c1_number_nose_left", DECAL ,"empty",true};
    
    {"f18c1_number_F", 0 ,"F18C_1_DIFF",false};
    {"f18c1_number_F", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",true};
    {"f18c1_number_F", DECAL ,"empty",true};

    {"f18c2_number_X", 0 ,"F18C_2_DIFF",false};
    {"f18c2_number_X", ROUGHNESS_METALLIC ,"F18C_2_DIF_RoughMet",true};
    {"f18c2_number_X", DECAL ,"empty",true};

    {"f18c2_kil_right", 0 ,"F18C_2_DIFF",false};
    {"f18c2_kil_right", ROUGHNESS_METALLIC ,"F18C_2_DIF_RoughMet",true};
    {"f18c2_kil_right", DECAL ,"empty",true};

    {"f18c2_kil_left", 0 ,"F18C_2_DIFF",false};
    {"f18c2_kil_left", ROUGHNESS_METALLIC ,"F18C_2_DIF_RoughMet",true};
    {"f18c2_kil_left", DECAL ,"empty",true};

Edited by GumidekCZ
  • Like 4
  • Thanks 2
Posted (edited)

Here's what you need to do. 

  1. update the description lua for each of the custom skins to the new format used for MODEXs (I will attach text files highlighting the text to be replaced with in the old format and the new format)
  2. In the new format, make sure the last line of each group reads {DO NOT CHANGE ANYTHING BEFORE THE FIRST COMMADECAL, "empty", true};
  • The new format is incorporated into my new format file attached

That's it.  I verified many of my skins and they are good to go.  

NOTE:  The file names I used for other portions of the skin maybe different than yours. ONLY delete the MODEX text in your current luas, and then add the new format (everything I highlighted in my attached files) or you may cause yourself other issues.

OLD format - DELETE HIGHLIGHTED TEXT.rtf

NEW format ADD HIGHLIGHTED.rtf

Edited by Chewmann
  • Like 3
  • Thanks 1
Posted (edited)

Dont forget these lines:
But honestly, I dont know what are these for?

custom_args =
{
 
[27] = 1, -- Tail      change of type of board number (0.0 -default USA, 0.1- )
[1000] = 0.0, -- Flaps
[1001] = 1, -- Nose
[1002] = 1, -- Kuwait Squadron
[1003] = 1, -- Australian Squadron
[1004] = 1, -- Finland Squadron
[1005] = 1, -- Switzerland Squadron
[1006] = 1, -- Blue Angels Jet Team

}

 

Edited by GumidekCZ
  • Sawamura changed the title to Bort Number bug? (Solution in replies)
Posted
39 minutes ago, GumidekCZ said:

Dont forget these lines:
But honestly, I dont know what are these for?

custom_args =
{
 
[27] = 1, -- Tail      change of type of board number (0.0 -default USA, 0.1- )
[1000] = 0.0, -- Flaps
[1001] = 1, -- Nose
[1002] = 1, -- Kuwait Squadron
[1003] = 1, -- Australian Squadron
[1004] = 1, -- Finland Squadron
[1005] = 1, -- Switzerland Squadron
[1006] = 1, -- Blue Angels Jet Team

}

 

 

With these argument values, you can fine tune what bort numbers show. If you set Tail, Flaps and nose to 0.0, you get this result for instance:Screenshot 2023-04-13 233132.png

  • Like 1
Posted

honestly,

Notepad++,
Use Find/replace in files,
Enter old Material name,
Then new material name,
set filter to description.lua,
Set Liveries path,(Coremods Hornet Livery Folder or external livery folder if used)

Click replace all

Do it for the material names for the borts 1 at a time, but replacing in all the files with one click.

Done.

  • Like 2
  • Thanks 3

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Posted (edited)
23 hours ago, GumidekCZ said:

Dont forget these lines:
But honestly, I dont know what are these for?

custom_args =
{
 
[27] = 1, -- Tail      change of type of board number (0.0 -default USA, 0.1- )
[1000] = 0.0, -- Flaps
[1001] = 1, -- Nose
[1002] = 1, -- Kuwait Squadron
[1003] = 1, -- Australian Squadron
[1004] = 1, -- Finland Squadron
[1005] = 1, -- Switzerland Squadron
[1006] = 1, -- Blue Angels Jet Team

}

 

 

Controls Visibility of the Groups:
Arg0027: Upper tail, 
Arg1000: Flaps, 
Arg1001: Nose Upper,
Arg1002: Tail Upper,
Arg1003: Rear Fuselage Side and Gear Doors,
Arg1004: Forward Fuselage Small,
Arg1005: Vertical Tail Large

This is no 1006 Arg in the Model.

Setting all to 1.0 remove's all Borts,
Same with Entering Bort 000 then backspacing the 000's off as space empty number is set to the blank texture slot of the number texture.

 

Edited by SkateZilla
  • Like 1
  • Thanks 1

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Posted
17 hours ago, SkateZilla said:

Controls Visibility of the Groups:
Arg0027: Nose, 
Arg1000: Flaps, 
Arg1001: Nose Upper,
Arg1002: Tail Upper,
Arg1003: Rear Fuselage Side and Gear Doors,
Arg1004: Forward Fuselage Small,
Arg1005: Vertical Tale Large

This is no 1006 Arg in the Model.

Setting all to 1.0 remove is all Borts,
Same with Entering Bort 000 then backspacing the 000's off as space empty number is set to the black texture slot of the number texture.

 

custom_args = {
[27]   = 1.0, -- Upper Tail Modex
[1000] = 1.0, -- Flap Modex
[1001] = 1.0, -- Upper Nose Modex
[1002] = 1.0, -- Middle Tail and Lower Nose Modex
[1003] = 1.0, -- Rear Fuselage and Gear Doors Modex
[1004] = 1.0, -- Forward Fuselage Modex
[1005] = 1.0, -- Lower Tail Modex
}

at the end of the description.lau will set all dynamic numbers off. some of your numbering is incorrect, but most of it's right. 27, 1000, and 1001 are Navy-style modexes, what most people would consider the "default"

  • Thanks 1
Posted

sorry, typos from typing quick.,

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Posted
On 4/13/2023 at 11:34 PM, Chewmann said:

Here's what you need to do. 

  1. update the description lua for each of the custom skins to the new format used for MODEXs (I will attach text files highlighting the text to be replaced with in the old format and the new format)
  2. In the new format, make sure the last line of each group reads {DO NOT CHANGE ANYTHING BEFORE THE FIRST COMMADECAL, "empty", true};
  • The new format is incorporated into my new format file attached

That's it.  I verified many of my skins and they are good to go.  

NOTE:  The file names I used for other portions of the skin maybe different than yours. ONLY delete the MODEX text in your current luas, and then add the new format (everything I highlighted in my attached files) or you may cause yourself other issues.

OLD format - DELETE HIGHLIGHTED TEXT.rtf 13.54 kB · 32 downloads

NEW format ADD HIGHLIGHTED.rtf 45.82 kB · 37 downloads

 

Hi! i did this but numbers just gone

[sIGPIC][/sIGPIC]

Posted
1 hour ago, UN9249 said:

Hi! i did this but numbers just gone

Did you checked the 1 (hide) and 0.0 (show) at the custom_args ?

Also numbers where "{"f18c1_number_F", DECAL ,"empty",true}; " is defined will not show.

Posted
56 minutes ago, GumidekCZ said:

Did you checked the 1 (hide) and 0.0 (show) at the custom_args ?

Also numbers where "{"f18c1_number_F", DECAL ,"empty",true}; " is defined will not show.

huh....i understood what they did. now, i need manually edit description.lua for all my 128 liveries. why did they did it?!

it's now not allowed different fonts on left or right kil'?

 

[sIGPIC][/sIGPIC]

Posted (edited)

It seems that "f18c1_number_F" is for foregin bort numbers (Kuwait, Australian, Finland, Switzerland). As can be seen on screenshot where all custom_args were set to 0.0 to enable them to show.

    {"f18c1_number_F", 0 ,"F18C_1_VFA-105_DIFF",false};
    {"f18c1_number_F", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",true};
    {"f18c1_number_F", DECAL ,"132_494_Hi_bort_number_LEFT",false};                  - I did put different font (the yellow one) here just for this demonstration.

Flaps are defined as  "f18c2_number_X"

Vertical Left and Right stabilizers: "f18c2_kil_right" and "f18c2_kil_left"

null

image.png

Edited by GumidekCZ
Posted (edited)

I just wonder who is responsible for not even inform DCS user's about this change in last patch.

Did the person behind this change realized, how big problem he made and how many players are affected by it? Now all the user skins on ED have wrong Lua. I expect that only minor number of skins will be corrected there by it's creators.

And all this for what? Can the guy behind this change tell us, what we gained by this? I think that the answer would interest most all of DCS players... Almost everyone have Hornet and likewise everyone have some user skins.

A small apology would be nice, if nothing else. No offense to anyone, but I would like to see some sorry word here for all the trebles we have with it.

Edited by GumidekCZ
  • Like 1
Posted (edited)

@Awacs_bandog I figured out what my problem was. The reason part of it looks more bold than the rest is due to the underlying texture using the 'missing texture' texture. I had a bad reference in my description.lua that was pointing to an invalid location for the updated code for drawing the modex numbers.

Edited by Tholozor
  • Like 1

REAPER 51 | Tholozor
VFA-136 (c.2007): https://www.digitalcombatsimulator.com/en/files/3305981/
Arleigh Burke Destroyer Pack (2020): https://www.digitalcombatsimulator.com/en/files/3313752/

Posted

Is anyone else having issues with this 'fix'? I've tried both methods mentioned in this thread: setting DECAL to "empty" on "f18c1_number_F", and defining custom args in the livery file. But so far the only success I've managed is to remove the extraneous numbers on the nose.

I've so far been unable to remove the broken numbers on the vertical stabs, without also removing the numbers on the flaps.

476th Discord   |    476th Website    |    Swift Youtube
Ryzen 5800x, RTX 4070ti, 64GB, Quest 2

Posted
18 minutes ago, Swift. said:

Is anyone else having issues with this 'fix'? I've tried both methods mentioned in this thread: setting DECAL to "empty" on "f18c1_number_F", and defining custom args in the livery file. But so far the only success I've managed is to remove the extraneous numbers on the nose.

I've so far been unable to remove the broken numbers on the vertical stabs, without also removing the numbers on the flaps.

Ok figured it out. For anyone confused, the custom args bit needs to go outside the livery bit. eg.

Livery = {
{"F18C_BORT_NUMBER_MTW_aus_L_01", DECAL ,"empty",true};
}

custom_args = {
[27] = 1.0,
[1000] = 1.0,
[1001] = 1.0,
[1002] = 1.0,
[1003] = 1.0,
[1004] = 1.0,
[1005] = 1.0,
[1006] = 1.0,
}

 

Additionally, if you choose a "No Bort" livery, and then switch to a new livery that hasnt been updated to include these custom args. It will retain the "No Bort" behaviour.

  • Like 1

476th Discord   |    476th Website    |    Swift Youtube
Ryzen 5800x, RTX 4070ti, 64GB, Quest 2

Posted (edited)

Just to ease minds,
I've been remastering my liveries, and find that the new bort system is quicker and easier to implement into new liveries.

The Change is not going to be reverted, and here's why:

Old Livery LUA to remove all Borts was ~ 120+ Lines depending on formatting (ie adding rem'd lines with names):   

	--Legacy Bort Numbers
	--Nose Aircraft Numbers (USN)
	--Left
	{"F18C_BORT_NUMBER_NOSE_L_100"		, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_L_100"		, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_L_100"		, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_NOSE_L_10"		, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_L_10"		, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_L_10"		, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_NOSE_L_01"		, DIFFUSE				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_L_01"		, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_L_01"		, DECAL 				, "empty", true};
	--Right
	{"F18C_BORT_NUMBER_NOSE_R_100"		, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_R_100"		, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_R_100"		, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_NOSE_R_10"		, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_R_10"		, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_R_10"		, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_NOSE_R_01"		, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_R_01"		, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_R_01"		, DECAL 				, "empty", true};	
	--Flap Aircraft Numbers (USN)
	--Left
	{"F18C_BORT_NUMBER_ZAK_L_100"		, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_ZAK_L_100"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_ZAK_L_100"		, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_ZAK_L_10"		, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_ZAK_L_10"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_ZAK_L_10"		, DECAL					, "empty", true};	
	{"F18C_BORT_NUMBER_ZAK_L_01"		, DIFFUSE				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_ZAK_L_01"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_ZAK_L_01"		, DECAL 				, "empty", true};
	--Right
	{"F18C_BORT_NUMBER_ZAK_R_100"		, DIFFUSE				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_ZAK_R_100"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_ZAK_R_100"		, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_ZAK_R_10"		, DIFFUSE				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_ZAK_R_10"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_ZAK_R_10"		, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_ZAK_R_01"		, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_ZAK_R_01"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_ZAK_R_01"		, DECAL 				, "empty", true};
	--Vertical Stab Aircraft Numbers (USN)
	--Left
	{"F18C_BORT_NUMBER_KIL_L_100"		, DIFFUSE				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_L_100"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_L_100"		, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_KIL_L_10"		, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_L_10"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_L_10"		, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_KIL_L_01"		, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_L_01"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_L_01"		, DECAL 				, "empty", true};	
	--Right
	{"F18C_BORT_NUMBER_KIL_R_100"		, DIFFUSE				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_R_100"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_R_100"		, DECAL				 	, "empty", true};
	{"F18C_BORT_NUMBER_KIL_R_10"		, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_R_10"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_R_10"		, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_KIL_R_01"		, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_R_01"		, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_R_01"		, DECAL 				, "empty", true};		
	--Nose Aircraft Numbers (KUWAIT)
	--Left
	{"F18C_BORT_NUMBER_NOSE_kuw_L_100"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_L_100"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_L_100"	, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_NOSE_kuw_L_10"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_L_10"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_L_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_NOSE_kuw_L_01"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_L_01"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_L_01"	, DECAL 				, "empty", true};
	--Right
	{"F18C_BORT_NUMBER_NOSE_kuw_R_100"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_R_100"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_R_100"	, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_NOSE_kuw_R_10"	, DIFFUSE				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_R_10"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_R_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_NOSE_kuw_R_01"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_R_01"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_kuw_R_01"	, DECAL 				, "empty", true};		
	--Vertical Stab Numbers (KUWAIT)
	--Right
	{"F18C_BORT_NUMBER_KIL_Kuw_R_100"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_R_100"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_R_100"	, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_KIL_Kuw_R_10"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_R_10"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_R_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_KIL_Kuw_R_01"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_R_01"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_R_01"	, DECAL 				, "empty", true};	
	--Left
	{"F18C_BORT_NUMBER_KIL_Kuw_L_100"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_L_100"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_L_100"	, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_KIL_Kuw_L_10"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_L_10"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_L_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_KIL_Kuw_L_01"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_L_01"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Kuw_L_01"	, DECAL 				, "empty", true};		
	--Nose Aircraft Numbers (FINLAND)
	--Left
	{"F18C_BORT_NUMBER_NOSE_fin_L_10"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_fin_L_10"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_fin_L_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_NOSE_fin_L_01"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_fin_L_01"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_fin_L_01"	, DECAL 				, "empty", true};
	--Right
	{"F18C_BORT_NUMBER_NOSE_fin_R_10"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_fin_R_10"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_fin_R_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_NOSE_fin_R_01"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_NOSE_fin_R_01"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_NOSE_fin_R_01"	, DECAL 				, "empty", true};			
	--Vertical Tail Numbers (SWITZERLAND)
	--Right
	{"F18C_BORT_NUMBER_KIL_Switz_R_100"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Switz_R_100"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Switz_R_100"	, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_KIL_Switz_R_10"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Switz_R_10"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Switz_R_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_KIL_Switz_R_01"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Switz_R_01"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Switz_R_01"	, DECAL 				, "empty", true};	
	--Left
	{"F18C_BORT_NUMBER_KIL_Switz_L_100"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Switz_L_100"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Switz_L_100"	, DECAL 				, "empty", true};
	{"F18C_BORT_NUMBER_KIL_Switz_L_10"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Switz_L_10"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Switz_L_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_KIL_Switz_L_01"	, DIFFUSE 				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_KIL_Switz_L_01"	, ROUGHNESS_METALLIC 	, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_KIL_Switz_L_01"	, DECAL 				, "empty", true};
	--Gear Door Numbers (RAAF)
	--Right
	{"F18C_BORT_NUMBER_STV_aus_R_10"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_STV_aus_R_10"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_STV_aus_R_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_STV_aus_R_01"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_STV_aus_R_01"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_STV_aus_R_01"	, DECAL 				, "empty", true};	
	--Left
	{"F18C_BORT_NUMBER_STV_aus_L_10"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_STV_aus_L_10"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_STV_aus_L_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_STV_aus_L_01"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_STV_aus_L_01"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_STV_aus_L_01"	, DECAL 				, "empty", true};		
	--Aft Fuselage Numbers (RAAF)
	--Right
	{"F18C_BORT_NUMBER_MTW_aus_R_10"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_MTW_aus_R_10"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_MTW_aus_R_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_MTW_aus_R_01"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_MTW_aus_R_01"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_MTW_aus_R_01"	, DECAL 				, "empty", true};	
	--Left
	{"F18C_BORT_NUMBER_MTW_aus_L_10"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_MTW_aus_L_10"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_MTW_aus_L_10"	, DECAL 				, "empty", true};	
	{"F18C_BORT_NUMBER_MTW_aus_L_01"	, DIFFUSE 				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"F18C_BORT_NUMBER_MTW_aus_L_01"	, ROUGHNESS_METALLIC 	, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"F18C_BORT_NUMBER_MTW_aus_L_01"	, DECAL 				, "empty", true};	
}

 

New Livery LUA Scripting is ~15 to 20 Lines for Materials:
 

	--*NEW 2.8.4 Bort Numbers*
	--USN_MODEX_NOSE
	{"f18c1_number_nose_left"			, DIFFUSE				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"f18c1_number_nose_left"			, SPECULAR				, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"f18c1_number_nose_left"			, DECAL					, "empty", true};
	{"f18c1_number_nose_right"			, DIFFUSE				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"f18c1_number_nose_right"			, SPECULAR				, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"f18c1_number_nose_right"			, DECAL					, "empty", true};
	--RAAF /KAF/SWITZ_MODEX_FUSELAGE_FRONT_MID_BACK_GEAR_DOORS_SMALL
	{"f18c1_number_F"					, DIFFUSE				, "F18C_1_DIF_VX31_TheDustDevils", false};
	{"f18c1_number_F"					, SPECULAR				, "F18C_1_DIF_VX31_TheDustDevils_RoughMet", false};
	{"f18c1_number_F"					, DECAL					, "empty", true};
	--KAF_MODEX_VERTICAL_STABILIZERS_AND_FLAPS_MODEX
	{"f18c2_number_X"					, DIFFUSE				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"f18c2_number_X"					, SPECULAR				, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"f18c2_number_X"					, DECAL					, "empty", true};
	--USN_MODEX_VERTICAL_STABILIZERS
	{"f18c2_kil_left"					, DIFFUSE				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"f18c2_kil_left"					, SPECULAR				, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"f18c2_kil_left"					, DECAL					, "empty", true};
	{"f18c2_kil_right"					, DIFFUSE				, "F18C_2_DIF_VX31_TheDustDevils", false};
	{"f18c2_kil_right"					, SPECULAR				, "F18C_2_DIF_VX31_TheDustDevils_RoughMet", false};
	{"f18c2_kil_right"					, DECAL					, "empty", true};	


And 8 More for Visibility Args, Also Updated the Arg ID and Names:
 

--(0.0 = ON, 1.0 OFF)
custom_args = {
	[0027] = 1.0, -- USN_MODEX_VERTICAL_STABILIZERS
	[1000] = 1.0, -- USN_MODEX_FLAPS
	[1001] = 1.0, -- USN_MODEX_NOSE
	[1002] = 1.0, -- KUWAIT_MODEX_NOSE_AND_VERTICAL_STABILIZERS
	[1003] = 1.0, -- AUSTRAILIA_MODEX_REAR_FUSELAGE_AND_GEAR_DOORS
	[1004] = 1.0, -- FINLAND_MODEX_FORWARD_FUSELAGE
	[1005] = 1.0, -- SWITZERLAND_MODEX_VERTICAL_STABILIZERS
}

 

 

To Convert to DCS 2.8.4+,
You need only Add the New Block of MODEX Materials, Adjust the Texture Filenames to yours.
Then Manipulate the Args for your Nation/Preference.

you can retain the old MaterialNames for Legacy Purposes if you wish.

Edited by SkateZilla
  • Thanks 1

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Posted (edited)
18 hours ago, SkateZilla said:

To Convert to DCS 2.8.4+,
You need only Add the New Block of MODEX Materials, Adjust the Texture Filenames to yours.
Then Manipulate the Args for your Nation/Preference.

Repeat 120+ times and waste XXX hours.

Edited by UN9249
  • Like 4

[sIGPIC][/sIGPIC]

Posted
2 hours ago, UN9249 said:

Repeat 120+ times and waste XXX hours.

 

I have over 60 Liveries to remaster, and I was getting about 4 done every 10 minutes,

But that was because I was remastering the textures and re exporting to BC7 as well as reformatting the LUA to be backwards conpatible.

If I wanted to simply convert to 2.8.4+ i could have done them all in under an hour.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Posted (edited)
On 4/13/2023 at 6:34 PM, SkateZilla said:

Setting all to 1.0 remove's all Borts,
Same with Entering Bort 000 then backspacing the 000's off as space empty number is set to the blank texture slot of the number texture.

Does this mean we no longer need to force 2 digits to get rid of leading zeroes for USMC modexes?

Edited by Home Fries
  • Recently Browsing   0 members

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