Fix ChildModel and Port names
This commit is contained in:
@@ -28,7 +28,7 @@ public class ModelList
|
||||
Vector3.one,
|
||||
new List<Port>
|
||||
{
|
||||
Port.Choosable("Attachments", Definitions.PORT_BIKE_FRAME, "idBikeAttachments", Vector3.zero),
|
||||
Port.Choosable("Back Frame", Definitions.PORT_BIKE_FRAME, "idBikeAttachments", Vector3.zero),
|
||||
Port.Choosable("Frame", Definitions.PORT_BIKE_FRAME2, "idBikeFrame", Vector3.zero),
|
||||
Port.Hidden(Definitions.PORT_BIKE_SPROCKET, "idBikeSprocket", new Vector3(0.007933f, 0.444f, -0.1614f), Quaternion.identity, 1f, new Vector3(0.5f, 0f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_BIKE_PEDAL_L, "idBikePedalL", new Vector3(-0.1252177f, 0.5490288f, -0.312027f), Quaternion.identity, 1f, new Vector3(-0.5f, 0f, 0f)),
|
||||
@@ -130,21 +130,21 @@ public class ModelList
|
||||
Port.Hidden(Definitions.PORT_ERLBACH_78, "idErlbachPart78", Vector3.zero),
|
||||
Port.Hidden(Definitions.PORT_ERLBACH_79, "idErlbachPart79", Vector3.zero),
|
||||
Port.Hidden(Definitions.PORT_ERL_TIRE_LH, "LH", new Vector3(0f,0f,0f), Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
|
||||
Port.Choosable("Wheel Back Right", Definitions.PORT_ERL_RIM_LH, "idErlbachWheel_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
|
||||
Port.Choosable("Back Wheel Right", Definitions.PORT_ERL_RIM_LH, "idErlbachWheel_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_ERL_TIRE_LV, "LV", new Vector3(0f,0f,0f), Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
|
||||
Port.Choosable("Wheel Front Right", Definitions.PORT_ERL_RIM_LV, "idErlbachWheel_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
|
||||
Port.Choosable("Front Wheel Right", Definitions.PORT_ERL_RIM_LV, "idErlbachWheel_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_ERL_TIRE_RH, "RH", new Vector3(0f,0f,0f), Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
|
||||
Port.Choosable("Wheel Back Left", Definitions.PORT_ERL_RIM_RH, "idErlbachWheel_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
|
||||
Port.Choosable("Back Wheel Left", Definitions.PORT_ERL_RIM_RH, "idErlbachWheel_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_ERL_TIRE_RV, "RV", new Vector3(0f,0f,0f), Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
|
||||
Port.Choosable("Wheel Front Left", Definitions.PORT_ERL_RIM_RV, "idErlbachWheel_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
|
||||
Port.Choosable("Front Wheel Left", Definitions.PORT_ERL_RIM_RV, "idErlbachWheel_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
|
||||
Port.Choosable("Body", Definitions.PORT_ERLBACH_Body, "idErlbachPart84", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 100f)),
|
||||
Port.Choosable("Bumper", Definitions.PORT_ERLBACH_Bumper, "idErlbachPart85", Vector3.zero, Quaternion.identity, 1f, new Vector3(30f, 0f, 0f)),
|
||||
Port.Choosable("Rear Bumper", Definitions.PORT_ERLBACH_Bumper, "idErlbachPart85", Vector3.zero, Quaternion.identity, 1f, new Vector3(30f, 0f, 0f)),
|
||||
Port.Choosable("Front Bumper", Definitions.PORT_ERLBACH_FrontBumper, "idErlbachPart86", Vector3.zero, Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)),
|
||||
Port.Choosable("Number", Definitions.PORT_ERLBACH_Number, "idErlbachPart87", Vector3.zero, Quaternion.identity, 1f, new Vector3(50f, 0f, 0f)),
|
||||
Port.Choosable("License Plate", Definitions.PORT_ERLBACH_LicensePlate, "idErlbachPart88", Vector3.zero, Quaternion.identity, 1f, new Vector3(30f, 0f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_ERLBACH_LicensePlateContent, "idErlbachPart89", Vector3.zero, Quaternion.identity, 1f, new Vector3(30f, 0f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_ERLBACH_90, "idErlbachPart90", Vector3.zero, Quaternion.identity, 1f, new Vector3(-50f, 0f, 0f)),
|
||||
Port.Choosable("Grill", Definitions.PORT_ERLBACH_GRILL, "idErlbachPart91", Vector3.zero, Quaternion.identity, 1f, new Vector3(-60f, 0f, 0f)),
|
||||
Port.Choosable("Grille", Definitions.PORT_ERLBACH_GRILL, "idErlbachPart91", Vector3.zero, Quaternion.identity, 1f, new Vector3(-60f, 0f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V_Cover, "idErlbachPart92", Vector3.zero, Quaternion.identity, 1f, new Vector3(-50f, 0f, 0f)),
|
||||
Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V, "idErlbachPart93", Vector3.zero, Quaternion.identity, 1f, new Vector3(-60f, 0f, 0f)),
|
||||
}
|
||||
@@ -155,7 +155,7 @@ public class ModelList
|
||||
//Felge 1
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_RH,
|
||||
"Felge 1",
|
||||
"Sport Rim",
|
||||
"radRH",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
@@ -167,7 +167,7 @@ public class ModelList
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_RV,
|
||||
"Felge 1",
|
||||
"Sport Rim",
|
||||
"radRV",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
@@ -179,7 +179,7 @@ public class ModelList
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_LV,
|
||||
"Felge 1",
|
||||
"Sport Rim",
|
||||
"radLV",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
@@ -191,7 +191,7 @@ public class ModelList
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_LH,
|
||||
"Felge 1",
|
||||
"Sport Rim",
|
||||
"rimLH",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
@@ -204,56 +204,7 @@ public class ModelList
|
||||
//Felge 2
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_RH,
|
||||
"Felge 2",
|
||||
"erlRimRH2",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(60f, 65f, -15f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
DefaultColors
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_RV,
|
||||
"Felge 2",
|
||||
"erlRimRV2",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(-105f, 65f, -15f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
DefaultColors
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_LV,
|
||||
"Felge 2",
|
||||
"erlRimLV2",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(-105f, -30f, -15f), // offset to the port
|
||||
Quaternion.Euler(0, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
DefaultColors
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_LH,
|
||||
"Felge 2",
|
||||
"erlRimLH2",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(-60f, -30f, -15f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
DefaultColors
|
||||
),
|
||||
//Felge 3
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_RH,
|
||||
"Felge 3",
|
||||
"Elegance Rim",
|
||||
"erlRimRH3",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
@@ -265,7 +216,7 @@ public class ModelList
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_RV,
|
||||
"Felge 3",
|
||||
"Elegance Rim",
|
||||
"erlRimRV3",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
@@ -277,7 +228,7 @@ public class ModelList
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_LV,
|
||||
"Felge 3",
|
||||
"Elegance Rim",
|
||||
"erlRimLV3",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
@@ -289,7 +240,7 @@ public class ModelList
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERL_RIM_LH,
|
||||
"Felge 3",
|
||||
"Elegance Rim",
|
||||
"erlRimLH3",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
@@ -301,7 +252,7 @@ public class ModelList
|
||||
),
|
||||
new ChildModel(
|
||||
Definitions.PORT_ERLBACH_GRILL,
|
||||
"Grill",
|
||||
"Grille Elegance",
|
||||
"idErlbachGrill",
|
||||
Resources.Load<Mesh>("Model/ERLbach/Grill1"),
|
||||
Resources.Load<Material>("Material/AluminiumPolished"),
|
||||
@@ -325,16 +276,16 @@ public class ModelList
|
||||
ModelLoader.LoadChildFromPackedModel(ChildModels,
|
||||
new List<ModelElement>
|
||||
{
|
||||
new ModelElement(Definitions.PORT_BIKE_FRAME, "Attachments", "idBikeAttachments", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_FRAME, "Back Frame", "idBikeAttachments", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_FRAME2, "Frame", "idBikeFrame", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_SPROCKET, "Sprocket", "idBikeSprocket", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
||||
new ModelElement(Definitions.PORT_BIKE_PEDAL_L, "Left Pedal", "idBikePedalL", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_PEDAL_R, "Right Pedal", "idBikePedalR", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_STEER, "Handlebars", "idBikeHandlebars", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_RIM, "Back Wheel", "idBikeRim_Back", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_TIRE, "Back Wheel2", "idBikeTire_Back", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
||||
new ModelElement(Definitions.PORT_BIKE_RIM_FRONT, "Front Wheel", "idBikeRim_Front", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_TIRE_FRONT, "Front Wheel2", "idBikeTire_Front", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null)
|
||||
new ModelElement(Definitions.PORT_BIKE_RIM, "Back Back", "idBikeRim_Back", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_TIRE, "Back Tire", "idBikeTire_Back", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
||||
new ModelElement(Definitions.PORT_BIKE_RIM_FRONT, "Front Rim", "idBikeRim_Front", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||
new ModelElement(Definitions.PORT_BIKE_TIRE_FRONT, "Front Tire", "idBikeTire_Front", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null)
|
||||
},
|
||||
Resources.LoadAll<Mesh>($"Model/Bicycle/Models/Low-Poly Bicycle"),
|
||||
0);
|
||||
@@ -423,30 +374,30 @@ public class ModelList
|
||||
new ModelElement( Definitions.PORT_ERLBACH_71, "Erlbach Part 71", "idErlbachPart71", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_72, "Erlbach Part 72", "idErlbachPart72", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_73, "Erlbach Part 73", "idErlbachPart73", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_BasePlate, "Erlbach Part BasePlate", "idErlbachBody_BasePlate", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_FrontAxe, "Erlbach Part FrontAxe", "idErlbachPart75", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_BatteriePack, "Erlbach Big Battery-Box", "idErlbachBatBox_Big", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_BasePlate, "Frame", "idErlbachBody_BasePlate", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_FrontAxe, "Front Axle", "idErlbachPart75", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_BatteriePack, "Battery Box", "idErlbachBatBox_Big", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_77, "Erlbach Part 77", "idErlbachPart77", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_78, "Erlbach Part 78", "idErlbachPart78", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_79, "Erlbach Part 79", "idErlbachPart79", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_TIRE_LH, "Erlbach Part Tire LH", "LH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_RIM_LH, "Erlbach Part Wheel LH", "idErlbachWheel_LH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERL_TIRE_LV, "Erlbach Part Tire LV", "LV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_RIM_LV, "Erlbach Part Wheel LV", "idErlbachWheel_LV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERL_TIRE_RH, "Erlbach Part Tire RH", "RH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_RIM_RH, "Erlbach Part Wheel RH", "idErlbachWheel_RH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERL_TIRE_RV, "Erlbach Part Tire RV", "RV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_RIM_RV, "Erlbach Part Wheel RV", "idErlbachWheel_RV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Body, "Erlbach Part Body", "idErlbachPart84", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Bumper, "Erlbach Part Bumper", "idErlbachPart85", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_FrontBumper, "Erlbach Part FrontBumper", "idErlbachPart86", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Number, "Erlbach Part Number", "idErlbachPart87", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_LicensePlate, "Erlbach Part LicensePlate", "idErlbachPart88", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_LicensePlateContent, "Erlbach Part LicensePlateContent", "idErlbachPart89", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_TIRE_LH, "Tire LH", "LH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_RIM_LH, "Standard Rim", "idErlbachWheel_LH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERL_TIRE_LV, "Tire LV", "LV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_RIM_LV, "Standard Rim", "idErlbachWheel_LV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERL_TIRE_RH, "Tire RH", "RH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_RIM_RH, "Standard Rim", "idErlbachWheel_RH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERL_TIRE_RV, "Tire RV", "RV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERL_RIM_RV, "Standard Rim", "idErlbachWheel_RV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Body, "Body", "idErlbachPart84", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Bumper, "Rear Bumper", "idErlbachPart85", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_FrontBumper, "FrontBumper", "idErlbachPart86", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Number, "Number", "idErlbachPart87", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_LicensePlate, "License Plate", "idErlbachPart88", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_LicensePlateContent, "License Plate Content", "idErlbachPart89", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_90, "Erlbach Part 90", "idErlbachPart90", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_GRILL, "Erlbach Grill", "idErlbachPart91", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V_Cover, "Erlbach Part Headlight_V_Cover", "idErlbachPart92", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V, "Erlbach Part Headlight_V", "idErlbachPart93", Resources.Load<Material>($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null )
|
||||
new ModelElement( Definitions.PORT_ERLBACH_GRILL, "Standard Grille", "idErlbachPart91", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V_Cover, "Headlight Cover", "idErlbachPart92", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V, "Headlight", "idErlbachPart93", Resources.Load<Material>($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null )
|
||||
},
|
||||
Resources.LoadAll<Mesh>($"Model/ERLbach/02.01.98.0000-ERLbach_vereinfacht_ohneFenster_98"),
|
||||
1 //skip basemodel
|
||||
|
||||
Reference in New Issue
Block a user