Rename Ports

This commit is contained in:
Tim
2025-07-12 16:12:09 +02:00
parent c8db6260a6
commit 7e982794ec
5 changed files with 364 additions and 366 deletions

View File

@@ -1,119 +0,0 @@
/// <summary>
/// Class containing all PORT definitions
/// Can contain future IDs aswell
/// </summary>
public class Definitions
{
// BIKE PORTS
public const string PORT_BIKE_FRAME = "bikeFrame";
public const string PORT_BIKE_FRAME2 = "bikeFrame2";
public const string PORT_BIKE_SPROCKET = "bikeSprocket";
public const string PORT_BIKE_PEDAL_L = "bikePedalL";
public const string PORT_BIKE_PEDAL_R = "bikePedalR";
public const string PORT_BIKE_STEER = "bikeSteer";
public const string PORT_BIKE_RIM = "bikeRim";
public const string PORT_BIKE_RIM_FRONT = "bikeRimFront";
public const string PORT_BIKE_TIRE = "bikeTire";
public const string PORT_BIKE_TIRE_FRONT = "bikeTireFront";
// ERLCAR PORTS
public const string PORT_ERLBACH_1 = "portErlbach1";
public const string PORT_ERLBACH_2 = "portErlbach2";
public const string PORT_ERLBACH_3 = "portErlbach3";
public const string PORT_ERLBACH_4 = "portErlbach4";
public const string PORT_ERLBACH_5 = "portErlbach5";
public const string PORT_ERLBACH_6 = "portErlbach6";
public const string PORT_ERLBACH_7 = "portErlbach7";
public const string PORT_ERLBACH_8 = "portErlbach8";
public const string PORT_ERLBACH_9 = "portErlbach9";
public const string PORT_ERLBACH_10 = "portErlbach10";
public const string PORT_ERLBACH_11 = "portErlbach11";
public const string PORT_ERLBACH_12 = "portErlbach12";
public const string PORT_ERLBACH_13 = "portErlbach13";
public const string PORT_ERLBACH_14 = "portErlbach14";
public const string PORT_ERLBACH_15 = "portErlbach15";
public const string PORT_ERLBACH_16 = "portErlbach16";
public const string PORT_ERLBACH_17 = "portErlbach17";
public const string PORT_ERLBACH_18 = "portErlbach18";
public const string PORT_ERLBACH_19 = "portErlbach19";
public const string PORT_ERLBACH_20 = "portErlbach20";
public const string PORT_ERLBACH_21 = "portErlbach21";
public const string PORT_ERLBACH_22 = "portErlbach22";
public const string PORT_ERLBACH_23 = "portErlbach23";
public const string PORT_ERLBACH_24 = "portErlbach24";
public const string PORT_ERLBACH_25 = "portErlbach25";
public const string PORT_ERLBACH_26 = "portErlbach26";
public const string PORT_ERLBACH_27 = "portErlbach27";
public const string PORT_ERLBACH_28 = "portErlbach28";
public const string PORT_ERLBACH_29 = "portErlbach29";
public const string PORT_ERLBACH_30 = "portErlbach30";
public const string PORT_ERLBACH_31 = "portErlbach31";
public const string PORT_ERLBACH_32 = "portErlbach32";
public const string PORT_ERLBACH_33 = "portErlbach33";
public const string PORT_ERLBACH_34 = "portErlbach34";
public const string PORT_ERLBACH_35 = "portErlbach35";
public const string PORT_ERLBACH_36 = "portErlbach36";
public const string PORT_ERLBACH_37 = "portErlbach37";
public const string PORT_ERLBACH_38 = "portErlbach38";
public const string PORT_ERLBACH_39 = "portErlbach39";
public const string PORT_ERLBACH_40 = "portErlbach40";
public const string PORT_ERLBACH_41 = "portErlbach41";
public const string PORT_ERLBACH_42 = "portErlbach42";
public const string PORT_ERLBACH_43 = "portErlbach43";
public const string PORT_ERLBACH_44 = "portErlbach44";
public const string PORT_ERLBACH_45 = "portErlbach45";
public const string PORT_ERLBACH_46 = "portErlbach46";
public const string PORT_ERLBACH_47 = "portErlbach47";
public const string PORT_ERLBACH_48 = "portErlbach48";
public const string PORT_ERLBACH_49 = "portErlbach49";
public const string PORT_ERLBACH_50 = "portErlbach50";
public const string PORT_ERLBACH_51 = "portErlbach51";
public const string PORT_ERLBACH_52 = "portErlbach52";
public const string PORT_ERLBACH_53 = "portErlbach53";
public const string PORT_ERLBACH_54 = "portErlbach54";
public const string PORT_ERLBACH_55 = "portErlbach55";
public const string PORT_ERLBACH_56 = "portErlbach56";
public const string PORT_ERLBACH_57 = "portErlbach57";
public const string PORT_ERLBACH_58 = "portErlbach58";
public const string PORT_ERLBACH_59 = "portErlbach59";
public const string PORT_ERLBACH_60 = "portErlbach60";
public const string PORT_ERLBACH_61 = "portErlbach61";
public const string PORT_ERLBACH_62 = "portErlbach62";
public const string PORT_ERLBACH_63 = "portErlbach63";
public const string PORT_ERLBACH_64 = "portErlbach64";
public const string PORT_ERLBACH_65 = "portErlbach65";
public const string PORT_ERLBACH_66 = "portErlbach66";
public const string PORT_ERLBACH_67 = "portErlbach67";
public const string PORT_ERLBACH_68 = "portErlbach68";
public const string PORT_ERLBACH_69 = "portErlbach69";
public const string PORT_ERLBACH_70 = "portErlbach70";
public const string PORT_ERLBACH_71 = "portErlbach71";
public const string PORT_ERLBACH_72 = "portErlbach72";
public const string PORT_ERLBACH_73 = "portErlbach73";
public const string PORT_ERLBACH_BasePlate = "portErlbach74";
public const string PORT_ERLBACH_FrontAxe = "portErlbach75";
public const string PORT_ERLBACH_BatteriePack = "batteriePack";
public const string PORT_ERLBACH_77 = "portErlbach77";
public const string PORT_ERLBACH_78 = "portErlbach78";
public const string PORT_ERLBACH_79 = "portErlbach79";
public const string PORT_ERL_RIMS = "erlRims";
public const string PORT_ERL_RIM_LH = "erlRimLinksHinten";
public const string PORT_ERL_RIM_LV = "erlRimLinksVorne";
public const string PORT_ERL_RIM_RV = "erlRimRechtsVorne";
public const string PORT_ERL_RIM_RH = "erlRimRechtsHinten";
public const string PORT_ERL_TIRE_LH = "erlTireLinksHinten";
public const string PORT_ERL_TIRE_LV = "erlTireLinksVorne";
public const string PORT_ERL_TIRE_RV = "erlTireRechtsVorne";
public const string PORT_ERL_TIRE_RH = "erlTireRechtsHinten";
public const string PORT_ERLBACH_Body = "body";
public const string PORT_ERLBACH_Bumper = "portErlbach85";
public const string PORT_ERLBACH_FrontBumper = "portErlbach86";
public const string PORT_ERLBACH_Number = "portErlbach87";
public const string PORT_ERLBACH_LicensePlate = "portErlbach88";
public const string PORT_ERLBACH_LicensePlateContent = "portErlbach89";
public const string PORT_ERLBACH_90 = "portErlbach90";
public const string PORT_ERLBACH_GRILL = "portErlbach91";
public const string PORT_ERLBACH_Headlight_V_Cover = "portErlbach92";
public const string PORT_ERLBACH_Headlight_V = "portErlbach93";
public const string PORT_ERLBACH_Windows = "portErlbachWindow";
}

View File

@@ -1,18 +1,17 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class ModelElement public class ModelElement
{ {
public string Port {set; get;} public string Port {get;}
public string NameHuman {set; get;} public string NameHuman {get;}
public string NameId {set; get;} public string NameId {get;}
public Material Mats {set; get;} public Material Mats {get;}
public Vector3 Offset {set; get;} public Vector3 Offset {get;}
public Quaternion Rotation {set; get;} public Quaternion Rotation {get;}
public Vector3 Scale {set; get;} public Vector3 Scale {get;}
public List<Port> Ports {set; get;} public List<Port> Ports {get;}
public List<Color> Colors {set; get;} public List<Color> Colors {get;}
public ModelElement(string port, string nameHuman, string nameId, Material mats, Vector3 offset, public ModelElement(string port, string nameHuman, string nameId, Material mats, Vector3 offset,
Quaternion rotation, Vector3 scale, List<Port> ports, List<Color> colors) Quaternion rotation, Vector3 scale, List<Port> ports, List<Color> colors)

View File

@@ -36,16 +36,16 @@ public class ModelList
new Vector3(1.5f, 1.5f, 1.5f), // scale up the model new Vector3(1.5f, 1.5f, 1.5f), // scale up the model
new List<Port> new List<Port>
{ {
Port.Choosable("Back Frame", Definitions.PORT_BIKE_FRAME, "idBikeAttachments", Vector3.zero), Port.Choosable("Back Frame", PortDef.BIKE_FRAME, "idBikeAttachments", Vector3.zero),
Port.Choosable("Frame", Definitions.PORT_BIKE_FRAME2, "idBikeFrame", Vector3.zero), Port.Choosable("Frame", PortDef.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(PortDef.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)), Port.Hidden(PortDef.BIKE_PEDAL_L, "idBikePedalL", new Vector3(-0.1252177f, 0.5490288f, -0.312027f), Quaternion.identity, 1f, new Vector3(-0.5f, 0f, 0f)),
Port.Hidden(Definitions.PORT_BIKE_PEDAL_R, "idBikePedalR", new Vector3(0.1410843f, 0.3393247f, -0.01154391f), Quaternion.identity, 1f, new Vector3(0.5f, 0f, 0f)), Port.Hidden(PortDef.BIKE_PEDAL_R, "idBikePedalR", new Vector3(0.1410843f, 0.3393247f, -0.01154391f), Quaternion.identity, 1f, new Vector3(0.5f, 0f, 0f)),
Port.Choosable("Handlebars", Definitions.PORT_BIKE_STEER, "idBikeHandlebars", new Vector3(0.002989591f, 1.214713f, 0.4860705f), Quaternion.Euler(-30f, 0f, 0f), 1f, new Vector3(0f, 0.5f, 1f)), Port.Choosable("Handlebars", PortDef.BIKE_STEER, "idBikeHandlebars", new Vector3(0.002989591f, 1.214713f, 0.4860705f), Quaternion.Euler(-30f, 0f, 0f), 1f, new Vector3(0f, 0.5f, 1f)),
Port.Choosable("Back Rim", Definitions.PORT_BIKE_RIM, "idBikeRim_Back", new Vector3(-0.01431298f, 0.4673222f, -0.7874681f), Quaternion.identity, 1f, new Vector3(0f, 0f, -0.6f)), Port.Choosable("Back Rim", PortDef.BIKE_RIM, "idBikeRim_Back", new Vector3(-0.01431298f, 0.4673222f, -0.7874681f), Quaternion.identity, 1f, new Vector3(0f, 0f, -0.6f)),
Port.Hidden(Definitions.PORT_BIKE_TIRE, "idBikeTire_Back", new Vector3(-0.01431298f, 0.4673222f, -0.7874681f), Quaternion.identity, 1f, new Vector3(0f, 0f, -0.6f)), Port.Hidden(PortDef.BIKE_TIRE, "idBikeTire_Back", new Vector3(-0.01431298f, 0.4673222f, -0.7874681f), Quaternion.identity, 1f, new Vector3(0f, 0f, -0.6f)),
Port.Choosable("Front Rim", Definitions.PORT_BIKE_RIM_FRONT, "idBikeRim_Front", new Vector3(0.01984263f, 0.4673225f, 0.9462124f), Quaternion.identity, 1f, new Vector3(0f, 0f, 0.6f)), Port.Choosable("Front Rim", PortDef.BIKE_RIM_FRONT, "idBikeRim_Front", new Vector3(0.01984263f, 0.4673225f, 0.9462124f), Quaternion.identity, 1f, new Vector3(0f, 0f, 0.6f)),
Port.Hidden( Definitions.PORT_BIKE_TIRE_FRONT, "idBikeTire_Front", new Vector3(0.01984263f, 0.4673225f, 0.9462124f), Quaternion.identity, 1f, new Vector3(0f, 0f, 0.6f)), Port.Hidden( PortDef.BIKE_TIRE_FRONT, "idBikeTire_Front", new Vector3(0.01984263f, 0.4673225f, 0.9462124f), Quaternion.identity, 1f, new Vector3(0f, 0f, 0.6f)),
} }
), ),
new BaseModel( new BaseModel(
@@ -58,101 +58,101 @@ public class ModelList
new Vector3(0.03f, 0.03f, 0.03f), //because model is too big in space new Vector3(0.03f, 0.03f, 0.03f), //because model is too big in space
new List<Port> new List<Port>
{ {
Port.Hidden(Definitions.PORT_ERLBACH_1, "idErlbachPart1", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_1, "idErlbachPart1", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_2, "idErlbachPart2", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_2, "idErlbachPart2", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_3, "idErlbachPart3", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_3, "idErlbachPart3", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_4, "idErlbachPart4", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_4, "idErlbachPart4", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_5, "idErlbachPart5", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_5, "idErlbachPart5", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_6, "idErlbachPart6", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_6, "idErlbachPart6", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_7, "idErlbachPart7", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_7, "idErlbachPart7", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_8, "idErlbachPart8", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_8, "idErlbachPart8", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_9, "idErlbachPart9", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_9, "idErlbachPart9", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_10, "idErlbachPart10", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_10, "idErlbachPart10", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_11, "idErlbachPart11", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_11, "idErlbachPart11", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_12, "idErlbachPart12", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_12, "idErlbachPart12", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_13, "idErlbachPart13", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_13, "idErlbachPart13", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_14, "idErlbachPart14", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_14, "idErlbachPart14", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_15, "idErlbachPart15", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_15, "idErlbachPart15", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_16, "idErlbachPart16", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_16, "idErlbachPart16", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_17, "idErlbachPart17", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_17, "idErlbachPart17", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_18, "idErlbachPart18", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_18, "idErlbachPart18", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_19, "idErlbachPart19", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_19, "idErlbachPart19", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_20, "idErlbachPart20", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_20, "idErlbachPart20", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_21, "idErlbachPart21", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_21, "idErlbachPart21", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_22, "idErlbachPart22", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_22, "idErlbachPart22", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_23, "idErlbachPart23", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_23, "idErlbachPart23", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_24, "idErlbachPart24", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_24, "idErlbachPart24", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_25, "idErlbachPart25", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_25, "idErlbachPart25", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_26, "idErlbachPart26", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_26, "idErlbachPart26", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_27, "idErlbachPart27", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_27, "idErlbachPart27", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_28, "idErlbachPart28", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_28, "idErlbachPart28", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_29, "idErlbachPart29", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_29, "idErlbachPart29", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_30, "idErlbachPart30", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_30, "idErlbachPart30", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_31, "idErlbachPart31", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_31, "idErlbachPart31", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_32, "idErlbachPart32", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_32, "idErlbachPart32", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_33, "idErlbachPart33", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_33, "idErlbachPart33", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_34, "idErlbachPart34", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_34, "idErlbachPart34", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_35, "idErlbachPart35", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_35, "idErlbachPart35", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_36, "idErlbachPart36", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_36, "idErlbachPart36", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_37, "idErlbachPart37", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_37, "idErlbachPart37", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_38, "idErlbachPart38", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_38, "idErlbachPart38", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_39, "idErlbachPart39", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_39, "idErlbachPart39", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_40, "idErlbachPart40", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)), Port.Hidden(PortDef.ERL_CAP_40, "idErlbachPart40", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(Definitions.PORT_ERLBACH_41, "idErlbachPart41", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_41, "idErlbachPart41", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_42, "idErlbachPart42", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_42, "idErlbachPart42", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_43, "idErlbachPart43", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_43, "idErlbachPart43", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_44, "idErlbachPart44", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_44, "idErlbachPart44", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_45, "idErlbachPart45", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_45, "idErlbachPart45", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_46, "idErlbachPart46", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_46, "idErlbachPart46", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_47, "idErlbachPart47", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_47, "idErlbachPart47", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_48, "idErlbachPart48", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_48, "idErlbachPart48", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_49, "idErlbachPart49", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_49, "idErlbachPart49", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_50, "idErlbachPart50", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_50, "idErlbachPart50", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_51, "idErlbachPart51", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_51, "idErlbachPart51", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_52, "idErlbachPart52", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_52, "idErlbachPart52", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_53, "idErlbachPart53", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_53, "idErlbachPart53", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_54, "idErlbachPart54", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_54, "idErlbachPart54", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_55, "idErlbachPart55", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_55, "idErlbachPart55", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_56, "idErlbachPart56", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_56, "idErlbachPart56", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_57, "idErlbachPart57", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_57, "idErlbachPart57", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_58, "idErlbachPart58", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_58, "idErlbachPart58", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_59, "idErlbachPart59", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_59, "idErlbachPart59", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_60, "idErlbachPart60", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_60, "idErlbachPart60", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_61, "idErlbachPart61", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_61, "idErlbachPart61", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_62, "idErlbachPart62", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_62, "idErlbachPart62", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_63, "idErlbachPart63", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_63, "idErlbachPart63", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_64, "idErlbachPart64", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_64, "idErlbachPart64", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_65, "idErlbachPart65", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_65, "idErlbachPart65", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_66, "idErlbachPart66", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_66, "idErlbachPart66", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_67, "idErlbachPart67", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_67, "idErlbachPart67", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_68, "idErlbachPart68", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_68, "idErlbachPart68", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_69, "idErlbachPart69", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_69, "idErlbachPart69", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_70, "idErlbachPart70", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_70, "idErlbachPart70", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_71, "idErlbachPart71", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_71, "idErlbachPart71", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_72, "idErlbachPart72", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_72, "idErlbachPart72", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_73, "idErlbachPart73", Vector3.zero), Port.Hidden(PortDef.ERL_CABLE_73, "idErlbachPart73", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_BasePlate, "idErlbachBody_BasePlate", Vector3.zero, Quaternion.identity, 1f, Vector3.zero), Port.Hidden(PortDef.ERL_BASEPLATE, "idErlbachBody_BasePlate", Vector3.zero, Quaternion.identity, 1f, Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_FrontAxe, "idErlbachPart75", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 0f)), Port.Hidden(PortDef.ERL_BASEPLATE_FRONT, "idErlbachPart75", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 0f)),
Port.Hidden(Definitions.PORT_ERLBACH_BatteriePack, "idErlbachBatBox_Big", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 50f)), Port.Hidden(PortDef.ERL_BATBOX, "idErlbachBatBox_Big", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 50f)),
Port.Hidden(Definitions.PORT_ERLBACH_77, "idErlbachPart77", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 30f)), Port.Hidden(PortDef.ERL_PLATINE, "idErlbachPart77", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 30f)),
Port.Hidden(Definitions.PORT_ERLBACH_78, "idErlbachPart78", Vector3.zero), Port.Hidden(PortDef.ERL_ROD_78, "idErlbachPart78", Vector3.zero),
Port.Hidden(Definitions.PORT_ERLBACH_79, "idErlbachPart79", Vector3.zero), Port.Hidden(PortDef.ERL_ROD_79, "idErlbachPart79", Vector3.zero),
Port.Hidden(Definitions.PORT_ERL_TIRE_LH, "erlTire1_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)), Port.Hidden(PortDef.ERL_TIRE_LH, "erlTire1_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_TIRE_LV, "erlTire1_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)), Port.Hidden(PortDef.ERL_TIRE_LV, "erlTire1_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_TIRE_RH, "erlTire1_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Hidden(PortDef.ERL_TIRE_RH, "erlTire1_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_TIRE_RV, "erlTire1_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Hidden(PortDef.ERL_TIRE_RV, "erlTire1_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
Port.Choosable("Rims", Definitions.PORT_ERL_RIMS, "erlRims_1", Vector3.zero, Quaternion.identity, 1f), Port.Choosable("Rims", PortDef.ERL_RIMS, "erlRims_1", Vector3.zero, Quaternion.identity, 1f),
Port.Choosable("Body", Definitions.PORT_ERLBACH_Body, "idErlbachPart84", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 100f)), Port.Choosable("Body", PortDef.ERL_BODY, "idErlbachPart84", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 100f)),
Port.Choosable("Rear Bumper", Definitions.PORT_ERLBACH_Bumper, "idErlbachPart85", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)), Port.Choosable("Rear Bumper", PortDef.ERL_BUMPER_BACK, "idErlbachPart85", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)),
Port.Choosable("Front", Definitions.PORT_ERLBACH_Headlight_V_Cover, "idErlbachPart86", new Vector3(2.1f, 0f, 0f), Quaternion.identity, 1f, new Vector3(-10f, 0f, 0f)), Port.Choosable("Front", PortDef.ERL_DRL_OUTLINE, "idErlbachPart86", new Vector3(2.1f, 0f, 0f), Quaternion.identity, 1f, new Vector3(-10f, 0f, 0f)),
Port.Hidden(Definitions.PORT_ERLBACH_Number, "idErlbachPart87", Vector3.zero, Quaternion.identity, 1f, new Vector3(50f, 0f, 0f)), Port.Hidden(PortDef.ERL_BADGE, "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(20f, 0f, 0f)), Port.Choosable("License Plate", PortDef.ERL_LP_BASE, "idErlbachPart88", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)),
Port.Hidden(Definitions.PORT_ERLBACH_LicensePlateContent, "idErlbachPart89", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)), Port.Hidden(PortDef.ERL_LP_TEXT, "idErlbachPart89", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)),
Port.Hidden(Definitions.PORT_ERLBACH_90, "idErlbachPart90", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)), Port.Hidden(PortDef.ERL_LP_COUNTRY, "idErlbachPart90", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)),
Port.Choosable("Grill", Definitions.PORT_ERLBACH_GRILL, "erlGrill_1", new Vector3(2.5f, 0f, -0.5f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), Port.Choosable("Grill", PortDef.ERL_GRILL, "erlGrill_1", new Vector3(2.5f, 0f, -0.5f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)),
Port.Choosable("Front Bumper", Definitions.PORT_ERLBACH_FrontBumper, "idErlbachPart92", new Vector3(2.4f, 0f, -5.1f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), Port.Choosable("Front Bumper", PortDef.ERL_BUMPER_FRONT, "idErlbachPart92", new Vector3(2.4f, 0f, -5.1f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)),
Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V, "idErlbachPart93", new Vector3(2.1f, 0f, -5.3f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), Port.Hidden(PortDef.ERL_DRL_PLATE, "idErlbachPart93", new Vector3(2.1f, 0f, -5.3f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)),
Port.Choosable("Fenster", Definitions.PORT_ERLBACH_Windows, "idErlbachGlas", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 100f)), Port.Choosable("Fenster", PortDef.ERL_WINDOW, "idErlbachGlas", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 100f)),
} }
) )
}; };
@@ -160,7 +160,7 @@ public class ModelList
{ {
//Felgensets //Felgensets
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIMS, PortDef.ERL_RIMS,
"Normal Rims", "Normal Rims",
"erlRims_1", "erlRims_1",
Resources.Load<Material>($"Material/AluminiumScratched"), Resources.Load<Material>($"Material/AluminiumScratched"),
@@ -169,16 +169,16 @@ public class ModelList
Vector3.one, Vector3.one,
new List<Port> new List<Port>
{ {
Port.Hidden(Definitions.PORT_ERL_RIM_LH, "erlRim1_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)), Port.Hidden(PortDef.ERL_RIM_LH, "erlRim1_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_LV, "erlRim1_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)), Port.Hidden(PortDef.ERL_RIM_LV, "erlRim1_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_RH, "erlRim1_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Hidden(PortDef.ERL_RIM_RH, "erlRim1_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_RV, "erlRim1_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Hidden(PortDef.ERL_RIM_RV, "erlRim1_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
}, },
DefaultColors, DefaultColors,
true true
), ),
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIMS, PortDef.ERL_RIMS,
"Sport Rims", "Sport Rims",
"erlRims_2", "erlRims_2",
Resources.Load<Material>($"Material/AluminiumScratched"), Resources.Load<Material>($"Material/AluminiumScratched"),
@@ -187,16 +187,16 @@ public class ModelList
Vector3.one, Vector3.one,
new List<Port> new List<Port>
{ {
Port.Hidden(Definitions.PORT_ERL_RIM_LH, "erlRim2_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)), Port.Hidden(PortDef.ERL_RIM_LH, "erlRim2_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_LV, "erlRim2_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)), Port.Hidden(PortDef.ERL_RIM_LV, "erlRim2_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_RH, "erlRim2_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Hidden(PortDef.ERL_RIM_RH, "erlRim2_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_RV, "erlRim2_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Hidden(PortDef.ERL_RIM_RV, "erlRim2_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
}, },
DefaultColors, DefaultColors,
true true
), ),
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIMS, PortDef.ERL_RIMS,
"Elegance Rims", "Elegance Rims",
"erlRims_3", "erlRims_3",
Resources.Load<Material>($"Material/AluminiumScratched"), Resources.Load<Material>($"Material/AluminiumScratched"),
@@ -205,17 +205,17 @@ public class ModelList
Vector3.one, Vector3.one,
new List<Port> new List<Port>
{ {
Port.Hidden(Definitions.PORT_ERL_RIM_LH, "erlRim3_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)), Port.Hidden(PortDef.ERL_RIM_LH, "erlRim3_LH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_LV, "erlRim3_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)), Port.Hidden(PortDef.ERL_RIM_LV, "erlRim3_LV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, -30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_RH, "erlRim3_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Hidden(PortDef.ERL_RIM_RH, "erlRim3_RH", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
Port.Hidden(Definitions.PORT_ERL_RIM_RV, "erlRim3_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Hidden(PortDef.ERL_RIM_RV, "erlRim3_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)),
}, },
DefaultColors, DefaultColors,
true true
), ),
// Sport // Sport
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIM_RH, PortDef.ERL_RIM_RH,
"Sport Rim", "Sport Rim",
"erlRim2_RH", "erlRim2_RH",
Resources.Load<Mesh>($"Model/ERLbach/Felge1"), Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
@@ -227,7 +227,7 @@ public class ModelList
DefaultColors DefaultColors
), ),
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIM_RV, PortDef.ERL_RIM_RV,
"Sport Rim", "Sport Rim",
"erlRim2_RV", "erlRim2_RV",
Resources.Load<Mesh>($"Model/ERLbach/Felge1"), Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
@@ -239,7 +239,7 @@ public class ModelList
DefaultColors DefaultColors
), ),
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIM_LV, PortDef.ERL_RIM_LV,
"Sport Rim", "Sport Rim",
"erlRim2_LV", "erlRim2_LV",
Resources.Load<Mesh>($"Model/ERLbach/Felge1"), Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
@@ -251,7 +251,7 @@ public class ModelList
DefaultColors DefaultColors
), ),
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIM_LH, PortDef.ERL_RIM_LH,
"Sport Rim", "Sport Rim",
"erlRim2_LH", "erlRim2_LH",
Resources.Load<Mesh>($"Model/ERLbach/Felge1"), Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
@@ -264,7 +264,7 @@ public class ModelList
), ),
// Elegance // Elegance
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIM_RH, PortDef.ERL_RIM_RH,
"Elegance Rim", "Elegance Rim",
"erlRim3_RH", "erlRim3_RH",
Resources.Load<Mesh>($"Model/ERLbach/Felge3"), Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
@@ -276,7 +276,7 @@ public class ModelList
DefaultColors DefaultColors
), ),
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIM_RV, PortDef.ERL_RIM_RV,
"Elegance Rim", "Elegance Rim",
"erlRim3_RV", "erlRim3_RV",
Resources.Load<Mesh>($"Model/ERLbach/Felge3"), Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
@@ -288,7 +288,7 @@ public class ModelList
DefaultColors DefaultColors
), ),
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIM_LV, PortDef.ERL_RIM_LV,
"Elegance Rim", "Elegance Rim",
"erlRim3_LV", "erlRim3_LV",
Resources.Load<Mesh>($"Model/ERLbach/Felge3"), Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
@@ -300,7 +300,7 @@ public class ModelList
DefaultColors DefaultColors
), ),
new ChildModel( new ChildModel(
Definitions.PORT_ERL_RIM_LH, PortDef.ERL_RIM_LH,
"Elegance Rim", "Elegance Rim",
"erlRim3_LH", "erlRim3_LH",
Resources.Load<Mesh>($"Model/ERLbach/Felge3"), Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
@@ -313,7 +313,7 @@ public class ModelList
), ),
// GRILL // GRILL
new ChildModel( new ChildModel(
Definitions.PORT_ERLBACH_GRILL, PortDef.ERL_GRILL,
"Elegance Grill", "Elegance Grill",
"erlGrill_2", "erlGrill_2",
Resources.Load<Mesh>("Model/ERLbach/Grill1"), Resources.Load<Mesh>("Model/ERLbach/Grill1"),
@@ -338,16 +338,16 @@ public class ModelList
ModelLoader.LoadChildFromPackedModel(ChildModels, ModelLoader.LoadChildFromPackedModel(ChildModels,
new List<ModelElement> new List<ModelElement>
{ {
new ModelElement(Definitions.PORT_BIKE_FRAME, "Back Frame", "idBikeAttachments", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors), new ModelElement(PortDef.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(PortDef.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(PortDef.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(PortDef.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(PortDef.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(PortDef.BIKE_STEER, "Handlebars", "idBikeHandlebars", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors),
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(PortDef.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(PortDef.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(PortDef.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) new ModelElement(PortDef.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"), Resources.LoadAll<Mesh>($"Model/Bicycle/Models/Low-Poly Bicycle"),
0); 0);
@@ -363,104 +363,104 @@ public class ModelList
ModelLoader.LoadChildFromPackedModel(ChildModels, ModelLoader.LoadChildFromPackedModel(ChildModels,
new List<ModelElement> new List<ModelElement>
{ {
new ModelElement( Definitions.PORT_ERLBACH_1, "Erlbach Part 1", "idErlbachPart1", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_1, "Erlbach Part 1", "idErlbachPart1", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_2, "Erlbach Part 2", "idErlbachPart2", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_2, "Erlbach Part 2", "idErlbachPart2", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_3, "Erlbach Part 3", "idErlbachPart3", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_3, "Erlbach Part 3", "idErlbachPart3", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_4, "Erlbach Part 4", "idErlbachPart4", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_4, "Erlbach Part 4", "idErlbachPart4", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_5, "Erlbach Part 5", "idErlbachPart5", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_5, "Erlbach Part 5", "idErlbachPart5", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_6, "Erlbach Part 6", "idErlbachPart6", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_6, "Erlbach Part 6", "idErlbachPart6", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_7, "Erlbach Part 7", "idErlbachPart7", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_7, "Erlbach Part 7", "idErlbachPart7", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_8, "Erlbach Part 8", "idErlbachPart8", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_8, "Erlbach Part 8", "idErlbachPart8", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_9, "Erlbach Part 9", "idErlbachPart9", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_9, "Erlbach Part 9", "idErlbachPart9", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_10, "Erlbach Part 10", "idErlbachPart10", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_10, "Erlbach Part 10", "idErlbachPart10", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_11, "Erlbach Part 11", "idErlbachPart11", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_11, "Erlbach Part 11", "idErlbachPart11", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_12, "Erlbach Part 12", "idErlbachPart12", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_12, "Erlbach Part 12", "idErlbachPart12", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_13, "Erlbach Part 13", "idErlbachPart13", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_13, "Erlbach Part 13", "idErlbachPart13", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_14, "Erlbach Part 14", "idErlbachPart14", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_14, "Erlbach Part 14", "idErlbachPart14", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_15, "Erlbach Part 15", "idErlbachPart15", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_15, "Erlbach Part 15", "idErlbachPart15", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_16, "Erlbach Part 16", "idErlbachPart16", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_16, "Erlbach Part 16", "idErlbachPart16", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_17, "Erlbach Part 17", "idErlbachPart17", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_17, "Erlbach Part 17", "idErlbachPart17", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_18, "Erlbach Part 18", "idErlbachPart18", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_18, "Erlbach Part 18", "idErlbachPart18", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_19, "Erlbach Part 19", "idErlbachPart19", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_19, "Erlbach Part 19", "idErlbachPart19", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_20, "Erlbach Part 20", "idErlbachPart20", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_20, "Erlbach Part 20", "idErlbachPart20", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_21, "Erlbach Part 21", "idErlbachPart21", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_21, "Erlbach Part 21", "idErlbachPart21", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_22, "Erlbach Part 22", "idErlbachPart22", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_22, "Erlbach Part 22", "idErlbachPart22", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_23, "Erlbach Part 23", "idErlbachPart23", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_23, "Erlbach Part 23", "idErlbachPart23", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_24, "Erlbach Part 24", "idErlbachPart24", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_24, "Erlbach Part 24", "idErlbachPart24", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_25, "Erlbach Part 25", "idErlbachPart25", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_25, "Erlbach Part 25", "idErlbachPart25", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_26, "Erlbach Part 26", "idErlbachPart26", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_26, "Erlbach Part 26", "idErlbachPart26", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_27, "Erlbach Part 27", "idErlbachPart27", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_27, "Erlbach Part 27", "idErlbachPart27", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_28, "Erlbach Part 28", "idErlbachPart28", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_28, "Erlbach Part 28", "idErlbachPart28", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_29, "Erlbach Part 29", "idErlbachPart29", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_29, "Erlbach Part 29", "idErlbachPart29", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_30, "Erlbach Part 30", "idErlbachPart30", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_30, "Erlbach Part 30", "idErlbachPart30", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_31, "Erlbach Part 31", "idErlbachPart31", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_31, "Erlbach Part 31", "idErlbachPart31", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_32, "Erlbach Part 32", "idErlbachPart32", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_32, "Erlbach Part 32", "idErlbachPart32", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_33, "Erlbach Part 33", "idErlbachPart33", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_33, "Erlbach Part 33", "idErlbachPart33", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_34, "Erlbach Part 34", "idErlbachPart34", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_34, "Erlbach Part 34", "idErlbachPart34", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_35, "Erlbach Part 35", "idErlbachPart35", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_35, "Erlbach Part 35", "idErlbachPart35", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_36, "Erlbach Part 36", "idErlbachPart36", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_36, "Erlbach Part 36", "idErlbachPart36", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_37, "Erlbach Part 37", "idErlbachPart37", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_37, "Erlbach Part 37", "idErlbachPart37", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_38, "Erlbach Part 38", "idErlbachPart38", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_38, "Erlbach Part 38", "idErlbachPart38", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_39, "Erlbach Part 39", "idErlbachPart39", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_39, "Erlbach Part 39", "idErlbachPart39", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_40, "Erlbach Part 40", "idErlbachPart40", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CAP_40, "Erlbach Part 40", "idErlbachPart40", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_41, "Erlbach Part 41", "idErlbachPart41", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_41, "Erlbach Part 41", "idErlbachPart41", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_42, "Erlbach Part 42", "idErlbachPart42", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_42, "Erlbach Part 42", "idErlbachPart42", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_43, "Erlbach Part 43", "idErlbachPart43", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_43, "Erlbach Part 43", "idErlbachPart43", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_44, "Erlbach Part 44", "idErlbachPart44", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_44, "Erlbach Part 44", "idErlbachPart44", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_45, "Erlbach Part 45", "idErlbachPart45", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_45, "Erlbach Part 45", "idErlbachPart45", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_46, "Erlbach Part 46", "idErlbachPart46", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_46, "Erlbach Part 46", "idErlbachPart46", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_47, "Erlbach Part 47", "idErlbachPart47", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_47, "Erlbach Part 47", "idErlbachPart47", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_48, "Erlbach Part 48", "idErlbachPart48", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_48, "Erlbach Part 48", "idErlbachPart48", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_49, "Erlbach Part 49", "idErlbachPart49", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_49, "Erlbach Part 49", "idErlbachPart49", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_50, "Erlbach Part 50", "idErlbachPart50", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_50, "Erlbach Part 50", "idErlbachPart50", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_51, "Erlbach Part 51", "idErlbachPart51", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_51, "Erlbach Part 51", "idErlbachPart51", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_52, "Erlbach Part 52", "idErlbachPart52", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_52, "Erlbach Part 52", "idErlbachPart52", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_53, "Erlbach Part 53", "idErlbachPart53", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_53, "Erlbach Part 53", "idErlbachPart53", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_54, "Erlbach Part 54", "idErlbachPart54", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_54, "Erlbach Part 54", "idErlbachPart54", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_55, "Erlbach Part 55", "idErlbachPart55", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_55, "Erlbach Part 55", "idErlbachPart55", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_56, "Erlbach Part 56", "idErlbachPart56", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_56, "Erlbach Part 56", "idErlbachPart56", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_57, "Erlbach Part 57", "idErlbachPart57", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_57, "Erlbach Part 57", "idErlbachPart57", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_58, "Erlbach Part 58", "idErlbachPart58", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_58, "Erlbach Part 58", "idErlbachPart58", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_59, "Erlbach Part 59", "idErlbachPart59", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_59, "Erlbach Part 59", "idErlbachPart59", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_60, "Erlbach Part 60", "idErlbachPart60", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_60, "Erlbach Part 60", "idErlbachPart60", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_61, "Erlbach Part 61", "idErlbachPart61", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_61, "Erlbach Part 61", "idErlbachPart61", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_62, "Erlbach Part 62", "idErlbachPart62", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_62, "Erlbach Part 62", "idErlbachPart62", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_63, "Erlbach Part 63", "idErlbachPart63", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_63, "Erlbach Part 63", "idErlbachPart63", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_64, "Erlbach Part 64", "idErlbachPart64", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_64, "Erlbach Part 64", "idErlbachPart64", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_65, "Erlbach Part 65", "idErlbachPart65", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_65, "Erlbach Part 65", "idErlbachPart65", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_66, "Erlbach Part 66", "idErlbachPart66", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_66, "Erlbach Part 66", "idErlbachPart66", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_67, "Erlbach Part 67", "idErlbachPart67", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_67, "Erlbach Part 67", "idErlbachPart67", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_68, "Erlbach Part 68", "idErlbachPart68", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_68, "Erlbach Part 68", "idErlbachPart68", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_69, "Erlbach Part 69", "idErlbachPart69", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_69, "Erlbach Part 69", "idErlbachPart69", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_70, "Erlbach Part 70", "idErlbachPart70", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_CABLE_70, "Erlbach Part 70", "idErlbachPart70", Resources.Load<Material>($"Material/PlasticCable"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
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( PortDef.ERL_CABLE_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( PortDef.ERL_CABLE_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( PortDef.ERL_CABLE_73, "Erlbach Part 73", "idErlbachPart73", Resources.Load<Material>($"Material/PlasticCable"), 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( PortDef.ERL_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( PortDef.ERL_BASEPLATE_FRONT, "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( PortDef.ERL_BATBOX, "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( PortDef.ERL_PLATINE, "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( PortDef.ERL_ROD_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( PortDef.ERL_ROD_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, "Tire LH", "erlTire1_LH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_TIRE_LH, "Tire LH", "erlTire1_LH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERL_RIM_LH, "Standard Rim", "erlRim1_LH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( PortDef.ERL_RIM_LH, "Standard Rim", "erlRim1_LH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
new ModelElement( Definitions.PORT_ERL_TIRE_LV, "Tire LV", "erlTire1_LV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_TIRE_LV, "Tire LV", "erlTire1_LV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERL_RIM_LV, "Standard Rim", "erlRim1_LV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( PortDef.ERL_RIM_LV, "Standard Rim", "erlRim1_LV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
new ModelElement( Definitions.PORT_ERL_TIRE_RH, "Tire RH", "erlTire1_RH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_TIRE_RH, "Tire RH", "erlTire1_RH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERL_RIM_RH, "Standard Rim", "erlRim1_RH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( PortDef.ERL_RIM_RH, "Standard Rim", "erlRim1_RH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
new ModelElement( Definitions.PORT_ERL_TIRE_RV, "Tire RV", "erlTire1_RV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_TIRE_RV, "Tire RV", "erlTire1_RV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERL_RIM_RV, "Standard Rim", "erlRim1_RV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( PortDef.ERL_RIM_RV, "Standard Rim", "erlRim1_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( PortDef.ERL_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( PortDef.ERL_BUMPER_BACK, "Rear Bumper", "idErlbachPart85", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V_Cover, "Headlight Cover", "idErlbachPart86", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( PortDef.ERL_DRL_OUTLINE, "Headlight Cover", "idErlbachPart86", Resources.Load<Material>($"Material/AluminiumPolished"), 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( PortDef.ERL_BADGE, "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( PortDef.ERL_LP_BASE, "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( PortDef.ERL_LP_TEXT, "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( PortDef.ERL_LP_COUNTRY, "Erlbach Part 90", "idErlbachPart90", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_GRILL, "Standard Grill", "erlGrill_1", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( PortDef.ERL_GRILL, "Standard Grill", "erlGrill_1", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
new ModelElement( Definitions.PORT_ERLBACH_FrontBumper, "Front Bumper", "idErlbachPart92", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( PortDef.ERL_BUMPER_FRONT, "Front Bumper", "idErlbachPart92", Resources.Load<Material>($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ),
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V, "Headlight", "idErlbachPart93", Resources.Load<Material>($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( PortDef.ERL_DRL_PLATE, "Headlight", "idErlbachPart93", Resources.Load<Material>($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_Windows, "Fenster", "idErlbachGlas", Resources.Load<Material>($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, WindowColor), new ModelElement( PortDef.ERL_WINDOW, "Fenster", "idErlbachGlas", Resources.Load<Material>($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, WindowColor),
}, },
Resources.LoadAll<Mesh>($"Model/ERLbach/ERLBach_mit_Fenster"), Resources.LoadAll<Mesh>($"Model/ERLbach/ERLBach_mit_Fenster"),
1 //skip basemodel 1 //skip basemodel

View File

@@ -0,0 +1,118 @@
/// <summary>
/// Class containing all PORT definitions
/// </summary>
public class PortDef
{
// Bike
public const string BIKE_FRAME = "bikeFrame";
public const string BIKE_FRAME2 = "bikeFrame2";
public const string BIKE_SPROCKET = "bikeSprocket";
public const string BIKE_PEDAL_L = "bikePedalL";
public const string BIKE_PEDAL_R = "bikePedalR";
public const string BIKE_STEER = "bikeSteer";
public const string BIKE_RIM = "bikeRim";
public const string BIKE_RIM_FRONT = "bikeRimFront";
public const string BIKE_TIRE = "bikeTire";
public const string BIKE_TIRE_FRONT = "bikeTireFront";
// ERLbach
public const string ERL_CABLE_1 = "erlCable1";
public const string ERL_CABLE_2 = "erlCable2";
public const string ERL_CAP_3 = "erlCap3";
public const string ERL_CAP_4 = "erlCap4";
public const string ERL_CAP_5 = "erlCap5";
public const string ERL_CAP_6 = "erlCap6";
public const string ERL_CAP_7 = "erlCap7";
public const string ERL_CAP_8 = "erlCap8";
public const string ERL_CAP_9 = "erlCap9";
public const string ERL_CAP_10 = "erlCap10";
public const string ERL_CAP_11 = "erlCap11";
public const string ERL_CAP_12 = "erlCap12";
public const string ERL_CAP_13 = "erlCap13";
public const string ERL_CAP_14 = "erlCap14";
public const string ERL_CAP_15 = "erlCap15";
public const string ERL_CAP_16 = "erlCap16";
public const string ERL_CAP_17 = "erlCap17";
public const string ERL_CABLE_18 = "erlCable18";
public const string ERL_CABLE_19 = "erlCable19";
public const string ERL_CABLE_20 = "erlCable20";
public const string ERL_CABLE_21 = "erlCable21";
public const string ERL_CABLE_22 = "erlCable22";
public const string ERL_CABLE_23 = "erlCable23";
public const string ERL_CABLE_24 = "erlCable24";
public const string ERL_CABLE_25 = "erlCable25";
public const string ERL_CABLE_26 = "erlCable26";
public const string ERL_CABLE_27 = "erlCable27";
public const string ERL_CABLE_28 = "erlCable28";
public const string ERL_CABLE_29 = "erlCable29";
public const string ERL_CABLE_30 = "erlCable30";
public const string ERL_CABLE_31 = "erlCable31";
public const string ERL_CABLE_32 = "erlCable32";
public const string ERL_CABLE_33 = "erlCable33";
public const string ERL_CABLE_34 = "erlCable34";
public const string ERL_CABLE_35 = "erlCable35";
public const string ERL_CABLE_36 = "erlCable36";
public const string ERL_CABLE_37 = "erlCable37";
public const string ERL_CABLE_38 = "erlCable38";
public const string ERL_CAP_39 = "erlCap39";
public const string ERL_CAP_40 = "erlCap40";
public const string ERL_CABLE_41 = "erlCable41";
public const string ERL_CABLE_42 = "erlCable42";
public const string ERL_CABLE_43 = "erlCable43";
public const string ERL_CABLE_44 = "erlCable44";
public const string ERL_CABLE_45 = "erlCable45";
public const string ERL_CABLE_46 = "erlCable46";
public const string ERL_CABLE_47 = "erlCable47";
public const string ERL_CABLE_48 = "erlCable48";
public const string ERL_CABLE_49 = "erlCable49";
public const string ERL_CABLE_50 = "erlCable50";
public const string ERL_CABLE_51 = "erlCable51";
public const string ERL_CABLE_52 = "erlCable52";
public const string ERL_CABLE_53 = "erlCable53";
public const string ERL_CABLE_54 = "erlCable54";
public const string ERL_CABLE_55 = "erlCable55";
public const string ERL_CABLE_56 = "erlCable56";
public const string ERL_CABLE_57 = "erlCable57";
public const string ERL_CABLE_58 = "erlCable58";
public const string ERL_CABLE_59 = "erlCable59";
public const string ERL_CABLE_60 = "erlCable60";
public const string ERL_CABLE_61 = "erlCable61";
public const string ERL_CABLE_62 = "erlCable62";
public const string ERL_CABLE_63 = "erlCable63";
public const string ERL_CABLE_64 = "erlCable64";
public const string ERL_CABLE_65 = "erlCable65";
public const string ERL_CABLE_66 = "erlCable66";
public const string ERL_CABLE_67 = "erlCable67";
public const string ERL_CABLE_68 = "erlCable68";
public const string ERL_CABLE_69 = "erlCable69";
public const string ERL_CABLE_70 = "erlCable70";
public const string ERL_CABLE_71 = "erlCable71";
public const string ERL_CABLE_72 = "erlCable72";
public const string ERL_CABLE_73 = "erlCable73";
public const string ERL_BASEPLATE = "erlBaseplate74";
public const string ERL_BASEPLATE_FRONT = "erlBaseplateFront75";
public const string ERL_BATBOX = "erlBatbox76";
public const string ERL_PLATINE = "erlPlatine77";
public const string ERL_ROD_78 = "erlRod78";
public const string ERL_ROD_79 = "erlRod79";
public const string ERL_RIMS = "erlRims";
public const string ERL_RIM_LH = "erlRimLinksHinten";
public const string ERL_RIM_LV = "erlRimLinksVorne";
public const string ERL_RIM_RV = "erlRimRechtsVorne";
public const string ERL_RIM_RH = "erlRimRechtsHinten";
public const string ERL_TIRE_LH = "erlTireLinksHinten";
public const string ERL_TIRE_LV = "erlTireLinksVorne";
public const string ERL_TIRE_RV = "erlTireRechtsVorne";
public const string ERL_TIRE_RH = "erlTireRechtsHinten";
public const string ERL_BODY = "erlBody";
public const string ERL_BUMPER_BACK = "erlBumperBack85";
public const string ERL_BUMPER_FRONT = "erlBumperFront86";
public const string ERL_BADGE = "erlBadge87";
public const string ERL_LP_BASE = "erlLPBase88";
public const string ERL_LP_TEXT = "erlLPText89";
public const string ERL_LP_COUNTRY = "erlLPCountry90";
public const string ERL_GRILL = "portErlbach91";
public const string ERL_DRL_OUTLINE = "erlDRLoutline"; //Daytime running lights
public const string ERL_DRL_PLATE = "erlDRLplate";
public const string ERL_WINDOW = "erlWindow";
}