Add Small Batterie

This commit is contained in:
Max Schmidt
2025-07-21 00:05:17 +02:00
parent df47e65426
commit cd4c19cdd2
3 changed files with 39278 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,107 @@
fileFormatVersion: 2
guid: 2da2ea4b4569b43e7ad78e08db8ffab9
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:

View File

@@ -62,7 +62,7 @@ public class ModelList
Port.Hidden(PortDef.ERL_CAP_40, "idErlbachPart40", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
Port.Hidden(PortDef.ERL_BASEPLATE, "idErlbachBody_BasePlate", Vector3.zero, Quaternion.identity, 1f, Vector3.zero),
Port.Hidden(PortDef.ERL_BASEPLATE_FRONT, "idErlbachPart75", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 0f)),
Port.Hidden(PortDef.ERL_BATBOX, "idErlbachBatBox_Big", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 50f)),
Port.Choosable("Battery",PortDef.ERL_BATBOX, "idErlbachBatBox_Big", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 50f)),
Port.Hidden(PortDef.ERL_PLATINE, "idErlbachPart77", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 30f)),
Port.Hidden(PortDef.ERL_ROD_78, "idErlbachPart78", Vector3.zero),
Port.Hidden(PortDef.ERL_ROD_79, "idErlbachPart79", Vector3.zero),
@@ -292,6 +292,18 @@ public class ModelList
null, //no color
true
),
new ChildModel(
PortDef.ERL_BATBOX,
"Small Battery",
"erlBatBox_2",
Resources.Load<Mesh>("Model/ERLbach/BatteryBox_0.5"),
Resources.Load<Material>("Material/PVC"),
Vector3.zero, // offset to the port
Quaternion.Euler(0f, 0f, 0f), // no rotation
new Vector3(1f, 1f, 1f), // scale
null, // ports
null
),
};