Only rims made changeable

This commit is contained in:
Max
2025-06-28 19:07:55 +02:00
parent da29a12e16
commit bbbb6cfe04
8 changed files with 963476 additions and 63072 deletions

View File

@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 5bb17ea123c0dbe44b769603b1e8aa0d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,107 @@
fileFormatVersion: 2
guid: 30240c4390738a24bad1e07a4792d8e7
ModelImporter:
serializedVersion: 22200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -100,6 +100,10 @@ public class Definitions
public const string Port_Erlbach_Wheel_LV = "wheel_LV";
public const string PORT_ERLBACH_Wheel_RV = "wheel_RV";
public const string PORT_ERLBACH_Wheel_RH = "wheel_RH";
public const string Port_Erlbach_Tire = "tire";
public const string Port_Erlbach_Tire1 = "tire1";
public const string Port_Erlbach_Tire2 = "tire2";
public const string Port_Erlbach_Tire3 = "tire3";
public const string PORT_ERLBACH_Body = "body";
public const string PORT_ERLBACH_Bumper = "portErlbach85";
public const string PORT_ERLBACH_FrontBumper = "portErlbach86";

View File

@@ -48,7 +48,7 @@ public class ModelList
new BaseModel(
"ERL-Bach",
"erlbach",
Resources.Load<Mesh>("Model/ERLbach/02.01.98.0000-ERLbach_vereinfacht_ohneFenster"),
Resources.Load<Mesh>("Model/ERLbach/02.01.98.0000-ERLbach_vereinfacht_ohneFenster_98"),
Resources.Load<Material>($"Material/PVC"),
new Vector3(0, 0, 4f), //big car needs big space
Quaternion.Euler(-90f, 0, 0f), //rotate correctly
@@ -134,9 +134,13 @@ public class ModelList
Port.Hidden(Definitions.PORT_ERLBACH_77, "idErlbachPart77", new Vector3(0f, 0f, 0f)),
Port.Hidden(Definitions.PORT_ERLBACH_78, "idErlbachPart78", new Vector3(0f, 0f, 0f)),
Port.Hidden(Definitions.PORT_ERLBACH_79, "idErlbachPart79", new Vector3(0f, 0f, 0f)),
Port.Hidden(Definitions.Port_Erlbach_Tire, "LH", new Vector3(0f,0f,0f)),
Port.Choosable("Wheel Back Left", Definitions.Port_Erlbach_Wheel_LH, "idErlbachWheel_LH", new Vector3(0f, 0f, 0f), Quaternion.identity, 1f, new Vector3(0f, -1f, 0f)),
Port.Hidden(Definitions.Port_Erlbach_Tire1, "LV", new Vector3(0f,0f,0f)),
Port.Choosable("Wheel Front Left", Definitions.Port_Erlbach_Wheel_LV, "idErlbachWheel_LV", new Vector3(0f, 0f, 0f), Quaternion.identity, 1f, new Vector3(0f, -1f, 0f)),
Port.Hidden(Definitions.Port_Erlbach_Tire2, "RH", new Vector3(0f,0f,0f)),
Port.Choosable("Wheel Back Right", Definitions.PORT_ERLBACH_Wheel_RH, "idErlbachWheel_RH", new Vector3(0f, 0f, 0f), Quaternion.identity, 1f, new Vector3(0f, 1f, 0f)),
Port.Hidden(Definitions.Port_Erlbach_Tire3, "RV", new Vector3(0f,0f,0f)),
Port.Choosable("Wheel Front Right", Definitions.PORT_ERLBACH_Wheel_RV, "idErlbachWheel_RV", new Vector3(0f, 0f, 0f), Quaternion.identity, 1f, new Vector3(0f, 1f, 0f)),
Port.Choosable("Body", Definitions.PORT_ERLBACH_Body, "idErlbachPart84", new Vector3(0f, 0f, 0f), Quaternion.identity, 1f, new Vector3(0f, 0f, 1f)),
Port.Choosable("Bumper", Definitions.PORT_ERLBACH_Bumper, "idErlbachPart85", new Vector3(0f, 0f, 0f), Quaternion.identity, 1f, new Vector3(1f, 0f, 0f)),
@@ -468,11 +472,15 @@ public class ModelList
new ModelElement( Definitions.PORT_ERLBACH_FrontAxe, "Erlbach Part FrontAxe", "idErlbachPart75", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_BatteriePack, "Erlbach Big Battery-Box", "idErlbachBatBox_Big", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_77, "Erlbach Part 77", "idErlbachPart77", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_78, "Erlbach Part 78", "idErlbachPart78", Resources.Load<Material>($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_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_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_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_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_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_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 ),
@@ -485,7 +493,7 @@ public class ModelList
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V_Cover, "Erlbach Part Headlight_V_Cover", "idErlbachPart92", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ),
new ModelElement( Definitions.PORT_ERLBACH_Headlight_V, "Erlbach Part Headlight_V", "idErlbachPart93", Resources.Load<Material>($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null )
},
Resources.LoadAll<Mesh>($"Model/ERLbach/02.01.98.0000-ERLbach_vereinfacht_ohneFenster"),
Resources.LoadAll<Mesh>($"Model/ERLbach/02.01.98.0000-ERLbach_vereinfacht_ohneFenster_98"),
1 //skip basemodel
);
}