Jump to content

Bort Number bug? (Solution in replies)


Sawamura

Recommended Posts

5 hours ago, Home Fries said:

Also looks like we lost the ability to have separate colors for left and right flaps.  That dorks up my VFA-131 CAG bird...

As well as individual Slot Colors,

But CAG Birds are usually static painted on aren't they?


Edited by SkateZilla

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

Link to comment
Share on other sites

1 hour ago, SkateZilla said:

As well as individual Slot Colors,

But CAG Birds are usually static painted on aren't they?

 

That's true; they're the only bird in the squadron with that scheme (and modex), but I normally use dynamic numbering unless the format is way off just to allow for flexibility (e.g. if they want to run VFA-131 as 300 instead of 400).  I'll figure it out!


Edited by Home Fries
Link to comment
Share on other sites

Is there any way we can turn the hazard lights off.

I know its argument 88 in the description.lua but I dont know how to switch them off permanently ?

custom_args = 

[88] = -1.0,    (I have tried 0.0, 1.0 and -1.0, nothing seems to work)

}

 If you are curious as to why I want to turn them off permanently look at The Blue Angels livery, you will see why !!!

Screen-230501-064139.png


Edited by crazyeddie
Link to comment
Share on other sites

Note,
Arg [0027] does not control Vertical Stab Visibility in sim, it will in Model Viewer and Loadout screen,
But when the sim loads the full graphics engine, Argument 27 is controlled by country.

On 5/1/2023 at 2:17 AM, crazyeddie said:

Is there any way we can turn the hazard lights off.

I know its argument 88 in the description.lua but I dont know how to switch them off permanently ?

custom_args = 

[88] = -1.0,    (I have tried 0.0, 1.0 and -1.0, nothing seems to work)

}

 If you are curious as to why I want to turn them off permanently look at The Blue Angels livery, you will see why !!!

Screen-230501-064139.png

 


Like Argument 27,
Setting the Arguments only works for Arguments not controlled by the system.
Argument 88 is controlled by the Cockpit systems, the only way to remove them is to make the texture invisible, and have no illumination effect.

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

Link to comment
Share on other sites

4 hours ago, SkateZilla said:

Note,
Arg [0027] does not control Vertical Stab Visibility in sim, it will in Model Viewer and Loadout screen,
But when the sim loads the full graphics engine, Argument 27 is controlled by country.


Like Argument 27,
Setting the Arguments only works for Arguments not controlled by the system.
Argument 88 is controlled by the Cockpit systems, the only way to remove them is to make the texture invisible, and have no illumination effect.

Thanks SkateZilla, can you tell me which lines in the description.lua are the hazard panels, I'm guessing its something to do with the bano.dds so I just need to identify which lines and I can do the rest.

Disregard - Worked it out by trial and error.  Difficult to tone those panels down to what I want but I'm working on it.

Thanks for your help - again.  👍 


Edited by crazyeddie
Link to comment
Share on other sites

USN STANDARD 

NOSE,FLAP 

IF YOU HAVE CUSTOME Roughmet and NUMBER TEXTUREs

,false};

 

 

   {"f18c1_number_nose_right", 0 ,"F18C_1_DIFF",false};
    {"f18c1_number_nose_right", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",false};
    {"f18c1_number_nose_right", DECAL ,"F18C_bort_number_nose",false};
    
    {"f18c1_number_nose_left", 0 ,"F18C_1_DIFF",false};
    {"f18c1_number_nose_left", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",false};
    {"f18c1_number_nose_left", DECAL ,"F18C_bort_number_nose",false};
    
    {"f18c1_number_F", 0 ,"F18C_1_DIFF",false};
    {"f18c1_number_F", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",false};
    {"f18c1_number_F", DECAL ,"F18C_bort_number2",false};

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

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

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

 

 

}


custom_args = {
[0027] = 1.0,
[1000] = 0.0,
[1001] = 0.0,
[1002] = 1.0,
[1003] = 1.0,
[1004] = 1.0,
[1005] = 1.0,
[1006] = 1.0,

}


Edited by lee1hy
  • Thanks 1

creator of ED's official F-16C liveries (WP,OS, 132nd, 152nd, 174th)
AH-64D livery contest winner 😅
kim_123456#3214

My user files https://shorturl.at/cdKV5
 

Link to comment
Share on other sites

On 4/28/2023 at 5:50 PM, SkateZilla said:

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.

 

It seems that the old format for the Modex must not be removed and replaced with the new format anymore. I just add the custom_args in the old description.lua, then the bort numbers can be shown correctly again. The "bug" with the repeated and confusing bort numbers does not show up.


Edited by Linbei
Link to comment
Share on other sites

13 hours ago, Linbei said:

It seems that the old format for the Modex must not be removed and replaced with the new format anymore. I just add the custom_args in the old description.lua, then the bort numbers can be shown correctly again. The "bug" with the repeated and confusing bort numbers does not show up.

 

By adding custom_args, we were able to solve partialy this problem since day one. Not needed to delete all old cript lines. But font shown on Hornet will be the default one, not able to set Left or Right font I think.

  • Thanks 1
Link to comment
Share on other sites

1 hour ago, GumidekCZ said:

By adding custom_args, we were able to solve partialy this problem since day one. Not needed to delete all old cript lines. But font shown on Hornet will be the default one, not able to set Left or Right font I think.

I added the custom_args and that resolved the issue.  Maybe that is something I should have had in my description.lua file all along lol.  Thankful its an easy fix 🙂


Link to comment
Share on other sites

On 5/10/2023 at 4:06 PM, TenaciousFalcon said:

I don`t know what I`m not getting but, still no dice on my end. 

 

Where exactly do I have to put my custom args? What are the custom args? And where do I find them? 

 

Any help would be greatly appreciated. 

F-18 Custom Args.PNG

While I have yet to figure out how to re enable the custom fonts on the skins I have downloaded, I have figured at least this much out.  The custom args are as shown and need to be placed below the name and country lines at the end of the description.lua of the livery.  The way it's set in the picture will turn all of the numbering off for if you have a livery with a custom modex painted directly onto the skin such as a CAG bird.  If you want USN changeable numbering in the default font, change the first three custom args to be 0.0 and you should be good to go.

  • Thanks 1

Aircraft: F-14A/B, F/A-18C, F-16C, F-5E, FC3, AV-8B, Mirage 2000C, L-39, Huey, F-86, P-51, P-47, Spitfire, Mosquito, Supercarrier

Maps: Persian Gulf, Syria, NTTR, Marianas, Normandy 2, Channel

Upcoming Modules Wishlist: A-7E, A-6E, F-4, F-8J, MiG-17F, A-1H, F-100D, Kola Peninsula

Link to comment
Share on other sites

@Stackup

NOW I get it! 

At the end of the LUA.file. There it is. Or there it should be. Some don`t have them at all. I assume they don`t need it. 

Add them, set all to 1.0 unless you want to see the borts or edit them. First three to 0.0 in order to see them. 

Pretty straight forward once you get it. 

 

Thank you a lot! You`re help is greatly appreciated.

 

I was devastated when I saw my favourite paints in shambles. 

 

By the way, before posting this, I went ahead and tried it out. It worked. 

 

Thanks again! 

 

Cheers

 

  • Like 1
Link to comment
Share on other sites

On 4/18/2023 at 1:46 AM, Awacs_bandog said:

nullAnyone else having these visual errors with borts now since the "Update"?

image.png

Anyone know how to fix this? I have the same issue on about half of my custom skins. 

 

EDIT1: I found that I mistakenly used a dash (-) instead of an underscore (_) in the .lua filenames of the defective skins. I went through and fixed them all and booted up the game to find that only one of them was actually fixed now. Guess I'll keep staring at the others until I find out what's wrong lol 

EDIT2: I'm just an idiot. I had another typo in the .lua files for the skin filenames. 


Edited by SloppyJoe403
Link to comment
Share on other sites

  • 2 weeks later...

I cannot get the upper tail bort number NOT to show in game. setting [0027] 1.0 will make it NOT appear in the in-game model viewer on the skin and loadout selection screen but it always shows in-game regardless of how that argument is set. 

Any solution?

F-14B, A-10C,F-18C Lot 20, F-16C, UH-1H, SA342, Spitfire LF Mk IX, F-15C, Mig-29, Supercarrier, Nevada, Persian Gulf

 

i9 9900k 5.0GHz, 32GB RAM, 1080Ti, Rift S, Warthog HOTAS, MFG Crosswind pedals, Dual Monitors 4K & 1080

 

Every Day, Someone Uses Cute Krispy Snacks

 

[sIGPIC][/sIGPIC]
Link to comment
Share on other sites

Is it possible to make a generic default.lua and drop it into all livery folders to fix the issue? I have 130-something Hornet liveries and I just can't do it anymore after copy/pasting the extra arguments to the first 50 or so. Massive chunk of flying time wasted. 

Link to comment
Share on other sites

13 hours ago, Nealius said:

Is it possible to make a generic default.lua and drop it into all livery folders to fix the issue? I have 130-something Hornet liveries and I just can't do it anymore after copy/pasting the extra arguments to the first 50 or so. Massive chunk of flying time wasted. 

No, because it would largely depend on the names of the texture files. Some people change them, some don't. You'd still end up with a huge chunk of liveries that don't work. Your best bet is to start over and dump all your liveries that don't work and redownload them if the original author took the time to update them.

On 5/25/2023 at 12:28 PM, RaTzo said:

I cannot get the upper tail bort number NOT to show in game. setting [0027] 1.0 will make it NOT appear in the in-game model viewer on the skin and loadout selection screen but it always shows in-game regardless of how that argument is set. 

Any solution?

Is there a USN livery being loaded into your mission at the same time?

Megalax's Livery Studio

My Liveries in the User Files

I'll stick a maple leaf on anything...

 

Link to comment
Share on other sites

22 hours ago, Megalax said:

 

Is there a USN livery being loaded into your mission at the same time?

Nope, they show up even when I have a single aircraft single player mission loaded. 

F-14B, A-10C,F-18C Lot 20, F-16C, UH-1H, SA342, Spitfire LF Mk IX, F-15C, Mig-29, Supercarrier, Nevada, Persian Gulf

 

i9 9900k 5.0GHz, 32GB RAM, 1080Ti, Rift S, Warthog HOTAS, MFG Crosswind pedals, Dual Monitors 4K & 1080

 

Every Day, Someone Uses Cute Krispy Snacks

 

[sIGPIC][/sIGPIC]
Link to comment
Share on other sites

2 hours ago, Megalax said:

What does your description.lua look like?

livery = {

    {"f18c1", 0 ,"F18C_1_DIFF",false};
    -- this Normal Map makes the Canadian type antenna on top
    {"f18c1", 1 ,"F18C_1_nm",false};

    -- This RoughMet makes the Canadian spotlight shinny
    {"f18c1", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",false};

    {"f18c2", 0 ,"F18C_2_DIFF",false};
    {"FPU_8A", 0 ,"FPU_8A",false};
    {"pilot_F18_helmet", 0 ,"pilot_F18_helmet",false};

    -- format for upper folders {"SPOT REF", TYPE ,"../RodentAssets/FILENAME",false};

-- Clean Bort Decals
-- "../RodentAssets/F18_bort_clean_LEFT",false};
-- "../RodentAssets/F18_bort_clean_RIGHT",false};

-- Dirty Bort Decals V1
-- "../RodentAssets/F18_bort_100_LEFT",false};
-- "../RodentAssets/F18_bort_10_LEFT",false};    
-- "../RodentAssets/F18_bort_01_LEFT",false};
-- "../RodentAssets/F18_bort_100_RIGHT",false};
-- "../RodentAssets/F18_bort_10_RIGHT",false};    
-- "../RodentAssets/F18_bort_01_RIGHT",false};

-- Dirty Bort Decals V2
-- "../RodentAssets/F18_bort_100V2_LEFT",false};
-- "../RodentAssets/F18_bort_10V2_LEFT",false};    
-- "../RodentAssets/F18_bort_01V2_LEFT",false};
-- "../RodentAssets/F18_bort_100V2_RIGHT",false};
-- "../RodentAssets/F18_bort_10V2_RIGHT",false};    
-- "../RodentAssets/F18_bort_01V2_RIGHT",false};

    
    --Nameplate Cockpit
    --{"f18c_cpt01-console-arg466", 0 , "f18c_cpt-tex01", false};

    {"pilot_F18_patch", 0 , "pilot_F18_patch", false};
    {"pilot_F18", 0 , "pilot_F18", false};
    
-- New Bort System

    --{"f18c1_number_nose_right", 0 ,"F18C_1_DIFF",false};
    --{"f18c1_number_nose_right", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",false};
    --{"f18c1_number_nose_right", DECAL ,"../RodentAssets/F18_bort_clean_RIGHT",false};

    --{"f18c1_number_nose_left", 0 ,"F18C_1_DIFF",false};
    --{"f18c1_number_nose_left", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",false};
    --{"f18c1_number_nose_left", DECAL ,"../RodentAssets/F18_bort_clean_LEFT",false};

    --{"f18c2_kil_right", 0 ,"F18C_1_DIFF",false};
    --{"f18c2_kil_right", ROUGHNESS_METALLIC ,"F18C_2_DIF_RoughMet",false};
    --{"f18c2_kil_right", DECAL ,"../RodentAssets/F18_bort_clean_RIGHT",false};
    

    --{"f18c2_kil_left", 0 ,"F18C_1_DIFF",false};
    --{"f18c2_kil_left", ROUGHNESS_METALLIC ,"F18C_2_DIF_RoughMet",false};
    --{"f18c2_kil_left", DECAL ,"../RodentAssets/F18_bort_clean_LEFT",false};
    
    --{"f18c1_number_F", 0 ,"F18C_1_DIFF",false};
    --{"f18c1_number_F", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",false};
    --{"f18c1_number_F", DECAL ,"../RodentAssets/F18_bort_clean_LEFT",false};

    --{"f18c2_number_X", 0 ,"F18C_1_DIFF",false};
    --{"f18c2_number_X", ROUGHNESS_METALLIC ,"F18C_2_DIF_RoughMet",false};
    --{"f18c2_number_X", DECAL ,"../RodentAssets/F18_bort_clean_LEFT",false};

    
-- Controls Visibility of the Groups:Setting all to 1.0 remove's all Borts,
-- 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    


    
}
name = "RODENT ONE"

order     = 953 -- t

custom_args = 
{
 
[0027] = 1.0, -- Upper Tail      change of type of board number (0.0 -default USA, 0.1- )
[1000] = 0.0, -- Flaps
[1001] = 0.0, -- Upper Nose Nose
[1002] = 1.0, -- Middle Tail and Lower Nose
[1003] = 1.0, -- Rear Fuselage Side & Gear Doors
[1004] = 1.0, -- Forward Fuselage Small
[1005] = 1.0, -- Vertical Stabs Large

}

 


Edited by RaTzo

F-14B, A-10C,F-18C Lot 20, F-16C, UH-1H, SA342, Spitfire LF Mk IX, F-15C, Mig-29, Supercarrier, Nevada, Persian Gulf

 

i9 9900k 5.0GHz, 32GB RAM, 1080Ti, Rift S, Warthog HOTAS, MFG Crosswind pedals, Dual Monitors 4K & 1080

 

Every Day, Someone Uses Cute Krispy Snacks

 

[sIGPIC][/sIGPIC]
Link to comment
Share on other sites

1 hour ago, Megalax said:

Hm.. mine just say [27] not [0027] and it works.

 

Doesn't make a difference for me. 


Edited by RaTzo

F-14B, A-10C,F-18C Lot 20, F-16C, UH-1H, SA342, Spitfire LF Mk IX, F-15C, Mig-29, Supercarrier, Nevada, Persian Gulf

 

i9 9900k 5.0GHz, 32GB RAM, 1080Ti, Rift S, Warthog HOTAS, MFG Crosswind pedals, Dual Monitors 4K & 1080

 

Every Day, Someone Uses Cute Krispy Snacks

 

[sIGPIC][/sIGPIC]
Link to comment
Share on other sites

  • Recently Browsing   0 members

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