Added Material to new rim ports.
This commit is contained in:
@@ -162,7 +162,7 @@ public class ModelList
|
|||||||
"Bacteria",
|
"Bacteria",
|
||||||
"bacteria",
|
"bacteria",
|
||||||
Resources.Load<Mesh>("Plagues/Mesh/bacteria"),
|
Resources.Load<Mesh>("Plagues/Mesh/bacteria"),
|
||||||
Resources.Load<Material>($"Material/Universal"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(0f, 0.2f, 0.3f),
|
new Vector3(0f, 0.2f, 0.3f),
|
||||||
Quaternion.identity,
|
Quaternion.identity,
|
||||||
Vector3.one,
|
Vector3.one,
|
||||||
@@ -183,7 +183,7 @@ public class ModelList
|
|||||||
"30\" Rim",
|
"30\" Rim",
|
||||||
"idBikeRim_HEX",
|
"idBikeRim_HEX",
|
||||||
Resources.Load<Mesh>("Plagues/Mesh/Hex"),
|
Resources.Load<Mesh>("Plagues/Mesh/Hex"),
|
||||||
Resources.Load<Material>($"Material/Universal"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
Vector3.zero,
|
Vector3.zero,
|
||||||
Quaternion.Euler(0,90f,0),
|
Quaternion.Euler(0,90f,0),
|
||||||
new Vector3(2,2,1),
|
new Vector3(2,2,1),
|
||||||
@@ -196,7 +196,7 @@ public class ModelList
|
|||||||
"Felge 1",
|
"Felge 1",
|
||||||
"radRH",
|
"radRH",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(60f, 65f, -15f), // offset to the port
|
new Vector3(60f, 65f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -208,7 +208,7 @@ public class ModelList
|
|||||||
"Felge 1",
|
"Felge 1",
|
||||||
"radRV",
|
"radRV",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-105f, 65f, -15f), // offset to the port
|
new Vector3(-105f, 65f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -220,7 +220,7 @@ public class ModelList
|
|||||||
"Felge 1",
|
"Felge 1",
|
||||||
"radLV",
|
"radLV",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-105f, -30f, -15f), // offset to the port
|
new Vector3(-105f, -30f, -15f), // offset to the port
|
||||||
Quaternion.Euler(0, 0, 0),
|
Quaternion.Euler(0, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -232,7 +232,7 @@ public class ModelList
|
|||||||
"Felge 1",
|
"Felge 1",
|
||||||
"radLH",
|
"radLH",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-60f, -30f, -15f), // offset to the port
|
new Vector3(-60f, -30f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -245,7 +245,7 @@ public class ModelList
|
|||||||
"Felge 2",
|
"Felge 2",
|
||||||
"radRH2",
|
"radRH2",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(60f, 65f, -15f), // offset to the port
|
new Vector3(60f, 65f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -257,7 +257,7 @@ public class ModelList
|
|||||||
"Felge 2",
|
"Felge 2",
|
||||||
"radRV2",
|
"radRV2",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-105f, 65f, -15f), // offset to the port
|
new Vector3(-105f, 65f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -269,7 +269,7 @@ public class ModelList
|
|||||||
"Felge 2",
|
"Felge 2",
|
||||||
"radLV2",
|
"radLV2",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-105f, -30f, -15f), // offset to the port
|
new Vector3(-105f, -30f, -15f), // offset to the port
|
||||||
Quaternion.Euler(0, 0, 0),
|
Quaternion.Euler(0, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -281,7 +281,7 @@ public class ModelList
|
|||||||
"Felge 2",
|
"Felge 2",
|
||||||
"radLH2",
|
"radLH2",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge2"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-60f, -30f, -15f), // offset to the port
|
new Vector3(-60f, -30f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -294,7 +294,7 @@ public class ModelList
|
|||||||
"Felge 3",
|
"Felge 3",
|
||||||
"radRH3",
|
"radRH3",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(60f, 65f, -15f), // offset to the port
|
new Vector3(60f, 65f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -306,7 +306,7 @@ public class ModelList
|
|||||||
"Felge 3",
|
"Felge 3",
|
||||||
"radRV3",
|
"radRV3",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-105f, 65f, -15f), // offset to the port
|
new Vector3(-105f, 65f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -318,7 +318,7 @@ public class ModelList
|
|||||||
"Felge 3",
|
"Felge 3",
|
||||||
"radLV3",
|
"radLV3",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-105f, -30f, -15f), // offset to the port
|
new Vector3(-105f, -30f, -15f), // offset to the port
|
||||||
Quaternion.Euler(0, 0, 0),
|
Quaternion.Euler(0, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -330,7 +330,7 @@ public class ModelList
|
|||||||
"Felge 3",
|
"Felge 3",
|
||||||
"radLH3",
|
"radLH3",
|
||||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||||
Resources.Load<Material>($"Material/CarTire"),
|
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||||
new Vector3(-60f, -30f, -15f), // offset to the port
|
new Vector3(-60f, -30f, -15f), // offset to the port
|
||||||
Quaternion.Euler(-180, 0, 0),
|
Quaternion.Euler(-180, 0, 0),
|
||||||
new Vector3(1f, 1f, 1f),
|
new Vector3(1f, 1f, 1f),
|
||||||
@@ -342,7 +342,7 @@ public class ModelList
|
|||||||
"Grill",
|
"Grill",
|
||||||
"idErlbachGrill",
|
"idErlbachGrill",
|
||||||
Resources.Load<Mesh>("Model/ERLbach/Grill1"),
|
Resources.Load<Mesh>("Model/ERLbach/Grill1"),
|
||||||
Resources.Load<Material>("Material/Universal"),
|
Resources.Load<Material>("Material/PVC"),
|
||||||
new Vector3(-145f, -35f, 25f), // offset to the port
|
new Vector3(-145f, -35f, 25f), // offset to the port
|
||||||
Quaternion.Euler(0f, 180f, -90f), // no rotation
|
Quaternion.Euler(0f, 180f, -90f), // no rotation
|
||||||
new Vector3(1f, 1f, 1f), // scale
|
new Vector3(1f, 1f, 1f), // scale
|
||||||
@@ -371,7 +371,7 @@ public class ModelList
|
|||||||
new List<ModelElement>
|
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, "Attachments", "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/Universal"), 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_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_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_PEDAL_R, "Right Pedal", "idBikePedalR", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
|
||||||
@@ -475,13 +475,13 @@ public class ModelList
|
|||||||
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_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_ERLBACH_79, "Erlbach Part 79", "idErlbachPart79", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||||
new ModelElement(Definitions.Port_Erlbach_Tire, "Erlbach Part Tire LH", "LH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
new ModelElement(Definitions.Port_Erlbach_Tire, "Erlbach Part Tire LH", "LH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||||
new ModelElement( Definitions.Port_Erlbach_Wheel_LH, "Erlbach Part Wheel LH", "idErlbachWheel_LH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
new ModelElement( Definitions.Port_Erlbach_Wheel_LH, "Erlbach Part Wheel LH", "idErlbachWheel_LH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||||
new ModelElement(Definitions.Port_Erlbach_Tire1, "Erlbach Part Tire LH", "LV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
new ModelElement(Definitions.Port_Erlbach_Tire1, "Erlbach Part Tire LH", "LV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||||
new ModelElement( Definitions.Port_Erlbach_Wheel_LV, "Erlbach Part Wheel LV", "idErlbachWheel_LV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
new ModelElement( Definitions.Port_Erlbach_Wheel_LV, "Erlbach Part Wheel LV", "idErlbachWheel_LV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||||
new ModelElement(Definitions.Port_Erlbach_Tire2, "Erlbach Part Tire LH", "RH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
new ModelElement(Definitions.Port_Erlbach_Tire2, "Erlbach Part Tire LH", "RH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||||
new ModelElement( Definitions.PORT_ERLBACH_Wheel_RH, "Erlbach Part Wheel RH", "idErlbachWheel_RH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
new ModelElement( Definitions.PORT_ERLBACH_Wheel_RH, "Erlbach Part Wheel RH", "idErlbachWheel_RH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||||
new ModelElement(Definitions.Port_Erlbach_Tire3, "Erlbach Part Tire LH", "RV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
new ModelElement(Definitions.Port_Erlbach_Tire3, "Erlbach Part Tire LH", "RV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
|
||||||
new ModelElement( Definitions.PORT_ERLBACH_Wheel_RV, "Erlbach Part Wheel RV", "idErlbachWheel_RV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
new ModelElement( Definitions.PORT_ERLBACH_Wheel_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_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_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_FrontBumper, "Erlbach Part FrontBumper", "idErlbachPart86", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
|
||||||
|
|||||||
Reference in New Issue
Block a user