Переглянути джерело

fixes for uniform + fixed rvmats

CaptainLetlev 3 роки тому
батько
коміт
2fe46347be

+ 9 - 9
addons/RD501_Units/blufor/clones/_uniforms.hpp

@@ -393,7 +393,7 @@ class macro_new_uniform_class(501_inf,phase1_nco): macro_new_uniform_class(501_i
 	displayName = "[501st] INF ARMR P1 01 (NCO)";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf,phase_nco);
+		uniformClass = macro_new_uniform_skin_class(501_inf,phase1_nco);
 		containerClass = "Supply100";
 	};
 };
@@ -1201,7 +1201,7 @@ class macro_new_uniform_class(501_inf_medic,vtrooper_31_ava): macro_new_uniform_
 	displayName = "[501st] INF MED ARMR 04 (Vet. CT) [A3-1]";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf_medic,vtrooper_21_ava);
+		uniformClass = macro_new_uniform_skin_class(501_inf_medic,vtrooper_31_ava);
 		containerClass = "Supply100";
 	};
 };
@@ -1282,7 +1282,7 @@ class macro_new_uniform_class(501_inf_medic,vtrooper_31_cyc): macro_new_uniform_
 	displayName = "[501st] INF MED ARMR 04 (Vet. CT) [C3-1]";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf_medic,vtrooper_21_cyc);
+		uniformClass = macro_new_uniform_skin_class(501_inf_medic,vtrooper_31_cyc);
 		containerClass = "Supply100";
 	};
 };
@@ -1363,7 +1363,7 @@ class macro_new_uniform_class(501_inf_rto,strooper_31): macro_new_uniform_class(
 	displayName = "[501st] INF RTO ARMR 03 (Sr. CT) [3-1]";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf_rto,strooper_21);
+		uniformClass = macro_new_uniform_skin_class(501_inf_rto,strooper_31);
 		containerClass = "Supply100";
 	};
 };
@@ -1417,7 +1417,7 @@ class macro_new_uniform_class(501_inf_rto,vtrooper_21): macro_new_uniform_class(
 	displayName = "[501st] INF RTO ARMR 04 (Vet. CT [2-1])";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_11);
+		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_21);
 		containerClass = "Supply100";
 	};
 };
@@ -1426,7 +1426,7 @@ class macro_new_uniform_class(501_inf_rto,vtrooper_22): macro_new_uniform_class(
 	displayName = "[501st] INF RTO ARMR 04 (Vet. CT [2-2])";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_12);
+		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_22);
 		containerClass = "Supply100";
 	};
 };
@@ -1444,7 +1444,7 @@ class macro_new_uniform_class(501_inf_rto,vtrooper_31): macro_new_uniform_class(
 	displayName = "[501st] INF RTO ARMR 04 (Vet. CT [3-1])";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_11);
+		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_31);
 		containerClass = "Supply100";
 	};
 };
@@ -1453,7 +1453,7 @@ class macro_new_uniform_class(501_inf_rto,vtrooper_32): macro_new_uniform_class(
 	displayName = "[501st] INF RTO ARMR 04 (Vet. CT [3-2])";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_12);
+		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_32);
 		containerClass = "Supply100";
 	};
 };
@@ -1462,7 +1462,7 @@ class macro_new_uniform_class(501_inf_rto,vtrooper_33): macro_new_uniform_class(
 	displayName = "[501st] INF RTO ARMR 04 (Vet. CT [3-3])";
 	class ItemInfo: ItemInfo
 	{
-		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_23);
+		uniformClass = macro_new_uniform_skin_class(501_inf_rto,vtrooper_33);
 		containerClass = "Supply100";
 	};
 };

+ 91 - 0
addons/RD501_Units/textures/Republic/clones/mats/clone_helmet_ARC.rvmat

@@ -0,0 +1,91 @@
+////////////////////////////////////////////////////////////////////
+//DeRap: JLTS_R_clones_armor_2\data\Clone_helmet_ARC.rvmat
+//Produced from mikero's Dos Tools Dll version 7.97
+//https://mikero.bytex.digital/Downloads
+//'now' is Fri Sep 24 16:39:40 2021 : 'file' last modified on Thu Dec 17 09:41:12 2020
+////////////////////////////////////////////////////////////////////
+
+#define _ARMA_
+
+class StageTI
+{
+	texture = "MRC\JLTS\characters\CloneArmor2\data\Clone_helmet_ARC_ti.paa";
+};
+ambient[] = {0.5,0.5,0.5,1};
+diffuse[] = {0.7,0.7,0.7,1};
+forcedDiffuse[] = {0,0,0,0};
+emmisive[] = {0,0,0,1};
+specular[] = {0.7,0.7,0.7,0.1};
+specularPower = 25;
+PixelShaderID = "Super";
+VertexShaderID = "Super";
+class Stage1
+{
+	texture = "MRC\JLTS\characters\CloneArmor2\data\Clone_helmet_ARC_nohq.paa";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage2
+{
+	texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage3
+{
+	texture = "#(argb,8,8,3)color(0,0,0,0)";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage4
+{
+	texture = "MRC\JLTS\characters\CloneArmor2\data\Clone_helmet_ARC_as.paa";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage5
+{
+	texture = "MRC\JLTS\characters\CloneArmor2\data\Clone_helmet_ARC_smdi.paa";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage6
+{
+	texture = "#(ai,64,64,1)fresnel(1,1)";
+	uvSource = "none";
+};
+class Stage7
+{
+	texture = "a3\data_f\env_co.paa";
+	uvSource = "none";
+};

+ 91 - 0
addons/RD501_Units/textures/Republic/clones/mats/clone_helmet_BARC.rvmat

@@ -0,0 +1,91 @@
+////////////////////////////////////////////////////////////////////
+//DeRap: JLTS_R_clones_armor_2\data\Clone_helmet_BARC.rvmat
+//Produced from mikero's Dos Tools Dll version 7.97
+//https://mikero.bytex.digital/Downloads
+//'now' is Fri Sep 24 16:39:40 2021 : 'file' last modified on Thu Dec 17 09:41:13 2020
+////////////////////////////////////////////////////////////////////
+
+#define _ARMA_
+
+class StageTI
+{
+	texture = "MRC\JLTS\characters\CloneArmor2\data\Clone_helmet_BARC_ti.paa";
+};
+ambient[] = {0.5,0.5,0.5,1};
+diffuse[] = {0.7,0.7,0.7,1};
+forcedDiffuse[] = {0,0,0,0};
+emmisive[] = {0,0,0,1};
+specular[] = {0.7,0.7,0.7,0.1};
+specularPower = 25;
+PixelShaderID = "Super";
+VertexShaderID = "Super";
+class Stage1
+{
+	texture = "MRC\JLTS\characters\CloneArmor2\data\Clone_helmet_BARC_nohq.paa";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage2
+{
+	texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage3
+{
+	texture = "#(argb,8,8,3)color(0,0,0,0)";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage4
+{
+	texture = "MRC\JLTS\characters\CloneArmor2\data\Clone_helmet_BARC_as.paa";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage5
+{
+	texture = "MRC\JLTS\characters\CloneArmor2\data\Clone_helmet_BARC_smdi.paa";
+	uvSource = "tex";
+	class uvTransform
+	{
+		aside[] = {1,0,0};
+		up[] = {0,1,0};
+		dir[] = {0,0,1};
+		pos[] = {0,0,0};
+	};
+};
+class Stage6
+{
+	texture = "#(ai,64,64,1)fresnel(1,1)";
+	uvSource = "none";
+};
+class Stage7
+{
+	texture = "a3\data_f\env_co.paa";
+	uvSource = "none";
+};