diff --git a/SSLR/Assets/NpcModels.meta b/SSLR/Assets/NpcModels.meta new file mode 100644 index 0000000..56a121b --- /dev/null +++ b/SSLR/Assets/NpcModels.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 18d3887b5d61af64eb61ae6401f10387 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/SSLR/Assets/NpcModels/male1.fbx b/SSLR/Assets/NpcModels/male1.fbx new file mode 100644 index 0000000..6f505e3 --- /dev/null +++ b/SSLR/Assets/NpcModels/male1.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df48f8da423ac9f674a28ee7abffb84c9ea565309cb445d8e2475797a05bd1dc +size 280096 diff --git a/SSLR/Assets/NpcModels/male1.fbx.meta b/SSLR/Assets/NpcModels/male1.fbx.meta new file mode 100644 index 0000000..e4fa608 --- /dev/null +++ b/SSLR/Assets/NpcModels/male1.fbx.meta @@ -0,0 +1,537 @@ +fileFormatVersion: 2 +guid: 1d353017ec9105348b92bcc4587d73db +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: + rigImportErrors: + rigImportWarnings: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + importAnimatedCustomProperties: 0 + importConstraints: 1 + animationCompression: 3 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + extraUserProperties: [] + clipAnimations: + - serializedVersion: 16 + name: Take 001 + takeName: Take 001 + internalID: 1827226128182048838 + firstFrame: 0 + lastFrame: 31 + wrapMode: 0 + orientationOffsetY: 0 + level: 0 + cycleOffset: 0 + loop: 0 + hasAdditiveReferencePose: 0 + loopTime: 1 + loopBlend: 1 + loopBlendOrientation: 1 + loopBlendPositionY: 1 + loopBlendPositionXZ: 1 + keepOriginalOrientation: 0 + keepOriginalPositionY: 1 + keepOriginalPositionXZ: 0 + heightFromFeet: 0 + mirror: 0 + bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000 + curves: [] + events: [] + transformMask: [] + maskType: 3 + maskSource: {instanceID: 0} + additiveReferencePoseFrame: 0 + 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: + - boneName: mixamorig:Hips + humanName: Hips + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftUpLeg + humanName: LeftUpperLeg + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightUpLeg + humanName: RightUpperLeg + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftLeg + humanName: LeftLowerLeg + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightLeg + humanName: RightLowerLeg + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftFoot + humanName: LeftFoot + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightFoot + humanName: RightFoot + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:Spine + humanName: Spine + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:Spine1 + humanName: Chest + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:Neck + humanName: Neck + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:Head + humanName: Head + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftShoulder + humanName: LeftShoulder + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightShoulder + humanName: RightShoulder + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftArm + humanName: LeftUpperArm + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightArm + humanName: RightUpperArm + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftForeArm + humanName: LeftLowerArm + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightForeArm + humanName: RightLowerArm + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftHand + humanName: LeftHand + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightHand + humanName: RightHand + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftToeBase + humanName: LeftToes + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightToeBase + humanName: RightToes + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftHandIndex1 + humanName: Left Index Proximal + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftHandIndex2 + humanName: Left Index Intermediate + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:LeftHandIndex3 + humanName: Left Index Distal + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightHandIndex1 + humanName: Right Index Proximal + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightHandIndex2 + humanName: Right Index Intermediate + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:RightHandIndex3 + humanName: Right Index Distal + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + - boneName: mixamorig:Spine2 + humanName: UpperChest + limit: + min: {x: 0, y: 0, z: 0} + max: {x: 0, y: 0, z: 0} + value: {x: 0, y: 0, z: 0} + length: 0 + modified: 0 + skeleton: + - name: male1(Clone) + parentName: + position: {x: 0, y: 0, z: 0} + rotation: {x: 0, y: 0, z: 0, w: 1} + scale: {x: 1, y: 1, z: 1} + - name: Male_1 + parentName: male1(Clone) + position: {x: -0, y: 0, z: 0} + rotation: {x: 4.3297806e-17, y: -0.7071068, z: 0.7071068, w: -4.3297806e-17} + scale: {x: 100, y: 100, z: 100} + - name: mixamorig:Hips + parentName: male1(Clone) + position: {x: -0.00017230562, y: 0.53859466, z: 0.0028460403} + rotation: {x: 0.0000000596043, y: -0.0012446654, z: 3.0701808e-10, w: 0.9999992} + scale: {x: 0.99999994, y: 1, z: 0.99999994} + - name: mixamorig:RightUpLeg + parentName: mixamorig:Hips + position: {x: 0.08747011, y: -0.03654888, z: -0.004436383} + rotation: {x: 0.00008175997, y: 0.0033813592, z: 0.9997021, w: -0.02417247} + scale: {x: 1.0000002, y: 1.0000001, z: 1.0000001} + - name: mixamorig:RightLeg + parentName: mixamorig:RightUpLeg + position: {x: -3.3836342e-10, y: 0.24831353, z: -2.197614e-11} + rotation: {x: 0.019361928, y: -0.0004330074, z: -0.02235421, w: 0.99956256} + scale: {x: 1.0000002, y: 1.0000002, z: 1.0000001} + - name: mixamorig:RightFoot + parentName: mixamorig:RightLeg + position: {x: -2.2329178e-11, y: 0.19375217, z: -9.615867e-11} + rotation: {x: 0.4301459, y: -0.16614038, z: 0.08087486, w: 0.8836466} + scale: {x: 1.0000004, y: 1.0000004, z: 1.0000004} + - name: mixamorig:RightToeBase + parentName: mixamorig:RightFoot + position: {x: 6.013498e-10, y: 0.10078642, z: -0.0000000035860357} + rotation: {x: -0.31037232, y: 0.1280701, z: -0.042240974, w: -0.941001} + scale: {x: 1.000001, y: 1.0000002, z: 1.0000004} + - name: mixamorig:RightToe_End + parentName: mixamorig:RightToeBase + position: {x: -7.077245e-10, y: 0.047607187, z: 1.6531307e-10} + rotation: {x: 0, y: -0, z: -0, w: 1} + scale: {x: 1, y: 1, z: 1} + - name: mixamorig:LeftUpLeg + parentName: mixamorig:Hips + position: {x: -0.08747011, y: -0.03654888, z: -0.003739633} + rotation: {x: 0.000029583394, y: -0.001223103, z: 0.99970704, w: 0.024173062} + scale: {x: 1.0000002, y: 1.0000002, z: 1.0000001} + - name: mixamorig:LeftLeg + parentName: mixamorig:LeftUpLeg + position: {x: -5.488913e-10, y: 0.24830861, z: -2.2958595e-12} + rotation: {x: 0.019327613, y: 0.00043225425, z: 0.022354016, w: 0.9995632} + scale: {x: 1.0000001, y: 1.0000002, z: 1.0000004} + - name: mixamorig:LeftFoot + parentName: mixamorig:LeftLeg + position: {x: 4.1533228e-11, y: 0.19367875, z: 6.544929e-11} + rotation: {x: 0.44731218, y: 0.15341197, z: -0.078189634, w: 0.8776462} + scale: {x: 1.0000001, y: 1.0000005, z: 1.0000001} + - name: mixamorig:LeftToeBase + parentName: mixamorig:LeftFoot + position: {x: 9.0046653e-10, y: 0.10496896, z: -0.000000003383404} + rotation: {x: -0.29854903, y: -0.14862512, z: 0.047125548, w: -0.94157225} + scale: {x: 1.0000007, y: 1.0000002, z: 1.0000001} + - name: mixamorig:LeftToe_End + parentName: mixamorig:LeftToeBase + position: {x: -3.4195127e-10, y: 0.04815864, z: -9.936341e-11} + rotation: {x: 0, y: -0, z: -0, w: 1} + scale: {x: 1, y: 1, z: 1} + - name: mixamorig:Spine + parentName: mixamorig:Hips + position: {x: 8.112497e-18, y: 0.065452114, z: -0.00079144567} + rotation: {x: -0.0060456544, y: -0.0000000013948473, z: -3.5768505e-10, w: 0.99998176} + scale: {x: 1.0000002, y: 1, z: 1.0000001} + - name: mixamorig:Spine1 + parentName: mixamorig:Spine + position: {x: -0, y: 0.07636628, z: 1.8346987e-11} + rotation: {x: -0.0000000074505797, y: 0.0000000013954745, z: 1.3329757e-10, w: 1} + scale: {x: 1, y: 0.99999994, z: 1} + - name: mixamorig:Spine2 + parentName: mixamorig:Spine1 + position: {x: -0, y: 0.08727589, z: -3.7471304e-11} + rotation: {x: -0.000000006053596, y: -0.000000005598788, z: 8.636916e-10, w: 1} + scale: {x: 1.0000001, y: 1.0000001, z: 1} + - name: mixamorig:Neck + parentName: mixamorig:Spine2 + position: {x: -0, y: 0.09818528, z: -9.194345e-10} + rotation: {x: 0.0060456605, y: 0.000000003730853, z: -9.0878466e-10, w: 0.99998176} + scale: {x: 0.9999997, y: 0.99999994, z: 0.9999999} + - name: mixamorig:Head + parentName: mixamorig:Neck + position: {x: -0, y: 0.046089936, z: -0.0020932802} + rotation: {x: 0.0000000074505797, y: -0, z: 2.3283062e-10, w: 1} + scale: {x: 1, y: 0.99999994, z: 1.0000001} + - name: mixamorig:HeadTop_End + parentName: mixamorig:Head + position: {x: -0, y: 0.47054595, z: -0.021370929} + rotation: {x: 0, y: -0, z: -0, w: 1} + scale: {x: 1, y: 1, z: 1} + - name: mixamorig:LeftShoulder + parentName: mixamorig:Spine2 + position: {x: -0.06814733, y: 0.07594098, z: -0.00020132241} + rotation: {x: 0.5716167, y: -0.41568717, z: 0.57330835, w: 0.41445887} + scale: {x: 0.99999976, y: 0.99999964, z: 1.0000002} + - name: mixamorig:LeftArm + parentName: mixamorig:LeftShoulder + position: {x: 1.564003e-11, y: 0.1427164, z: -0.0000000017593008} + rotation: {x: -0.11779773, y: 0.00013270973, z: -0.0021024344, w: 0.9930354} + scale: {x: 1, y: 1.0000004, z: 0.9999999} + - name: mixamorig:LeftForeArm + parentName: mixamorig:LeftArm + position: {x: 6.088263e-12, y: 0.13644637, z: 1.8715511e-10} + rotation: {x: -0.07261489, y: -0.00020450019, z: 0.0028086947, w: 0.9973561} + scale: {x: 1.0000001, y: 1.0000004, z: 1.0000005} + - name: mixamorig:LeftHand + parentName: mixamorig:LeftForeArm + position: {x: 3.2803146e-11, y: 0.21484105, z: -1.78089e-11} + rotation: {x: -0.07752253, y: 0.01344286, z: -0.11685396, w: 0.99002767} + scale: {x: 1.0000001, y: 1.0000006, z: 1.0000004} + - name: mixamorig:LeftHandIndex1 + parentName: mixamorig:LeftHand + position: {x: -4.6008333e-11, y: 0.044627216, z: 9.0749235e-11} + rotation: {x: 0.043430764, y: -0.6280563, z: 0.035141606, w: 0.7761599} + scale: {x: 1.0000002, y: 1.0000013, z: 0.99999934} + - name: mixamorig:LeftHandIndex2 + parentName: mixamorig:LeftHandIndex1 + position: {x: -7.6502754e-10, y: 0.049458813, z: -4.8257576e-10} + rotation: {x: 0.53971124, y: 0.00000065565087, z: 0.11654434, w: 0.83374417} + scale: {x: 1, y: 0.9999996, z: 1.0000013} + - name: mixamorig:LeftHandIndex3 + parentName: mixamorig:LeftHandIndex2 + position: {x: 0.012687873, y: 0.023557816, z: -0.05875714} + rotation: {x: 0.29032686, y: 0.14391048, z: 0.120390795, w: 0.9383529} + scale: {x: 0.99999994, y: 1.0000005, z: 0.9999998} + - name: mixamorig:LeftHandIndex4 + parentName: mixamorig:LeftHandIndex3 + position: {x: 0.012797773, y: -0.00797565, z: -0.021328704} + rotation: {x: 0, y: -0, z: -0, w: 1} + scale: {x: 1, y: 1, z: 1} + - name: mixamorig:RightShoulder + parentName: mixamorig:Spine2 + position: {x: 0.06814733, y: 0.07594262, z: -0.0003366146} + rotation: {x: -0.5710415, y: -0.41610873, z: 0.5738712, w: -0.41404954} + scale: {x: 1, y: 0.9999998, z: 1} + - name: mixamorig:RightArm + parentName: mixamorig:RightShoulder + position: {x: -2.910251e-11, y: 0.1427164, z: -0.0000000017591297} + rotation: {x: -0.11782694, y: -0.00045709294, z: 0.0023881784, w: 0.99303114} + scale: {x: 1.0000002, y: 1.0000006, z: 1.0000005} + - name: mixamorig:RightForeArm + parentName: mixamorig:RightArm + position: {x: -1.0172063e-11, y: 0.13644688, z: -0.0000000011813333} + rotation: {x: -0.07260051, y: 0.00011655055, z: -0.0016024358, w: 0.9973598} + scale: {x: 1.0000001, y: 1.0000002, z: 1.0000001} + - name: mixamorig:RightHand + parentName: mixamorig:RightForeArm + position: {x: -1.6224846e-11, y: 0.2148381, z: -1.1299618e-11} + rotation: {x: -0.028017271, y: 0.0046006474, z: -0.16197754, w: 0.9863859} + scale: {x: 0.99999994, y: 0.9999998, z: 0.9999997} + - name: mixamorig:RightHandIndex1 + parentName: mixamorig:RightHand + position: {x: 3.7169118e-10, y: 0.05953144, z: -8.8972454e-11} + rotation: {x: 0.020369804, y: 0.0028210583, z: 0.07922187, w: 0.99664485} + scale: {x: 0.99999994, y: 0.99999994, z: 1.0000002} + - name: mixamorig:RightHandIndex2 + parentName: mixamorig:RightHandIndex1 + position: {x: -7.2295454e-11, y: 0.037097473, z: -6.3616313e-12} + rotation: {x: -0.016837409, y: 0.00000035460104, z: -0.13765453, w: 0.9903372} + scale: {x: 1.0000001, y: 1.0000005, z: 1.0000005} + - name: mixamorig:RightHandIndex3 + parentName: mixamorig:RightHandIndex2 + position: {x: -0.014471, y: 0.040193573, z: 0.0017699978} + rotation: {x: 0.0582674, y: 0.034412835, z: -0.30508116, w: 0.9499191} + scale: {x: 1, y: 0.9999996, z: 0.99999994} + - name: mixamorig:RightHandIndex4 + parentName: mixamorig:RightHandIndex3 + position: {x: -0.017921101, y: 0.0110165225, z: -0.0021800653} + rotation: {x: 0, y: -0, z: -0, w: 1} + scale: {x: 1, y: 1, z: 1} + 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: 1 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + autoGenerateAvatarMappingIfUnspecified: 1 + animationType: 3 + humanoidOversampling: 1 + avatarSetup: 1 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + importBlendShapeDeformPercent: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/SSLR/Assets/NpcModels/npc.controller b/SSLR/Assets/NpcModels/npc.controller new file mode 100644 index 0000000..1bf2001 --- /dev/null +++ b/SSLR/Assets/NpcModels/npc.controller @@ -0,0 +1,72 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1102 &-3337378354457710193 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: walk + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 0 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 1827226128182048838, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &-363718292769026408 +AnimatorStateMachine: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: -3337378354457710193} + m_Position: {x: 280, y: 120, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: -3337378354457710193} +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: npc + serializedVersion: 5 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: -363718292769026408} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} diff --git a/SSLR/Assets/NpcModels/npc.controller.meta b/SSLR/Assets/NpcModels/npc.controller.meta new file mode 100644 index 0000000..4035cb8 --- /dev/null +++ b/SSLR/Assets/NpcModels/npc.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2d6add46262bc524fb5714844861ede6 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/SSLR/Assets/Scenes/RyanPlayground.unity b/SSLR/Assets/Scenes/RyanPlayground.unity index ee0ca45..c2ed339 100644 --- a/SSLR/Assets/Scenes/RyanPlayground.unity +++ b/SSLR/Assets/Scenes/RyanPlayground.unity @@ -240,6 +240,68 @@ MonoBehaviour: m_LightCookieSize: {x: 1, y: 1} m_LightCookieOffset: {x: 0, y: 0} m_SoftShadowQuality: 0 +--- !u!1 &335017575 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 335017576} + m_Layer: 0 + m_Name: GameObject (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &335017576 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 335017575} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.53231, y: 1.3681344, z: 3.4535394} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 545637505} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &368167158 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 368167159} + m_Layer: 0 + m_Name: GameObject (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &368167159 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 368167158} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.46769, y: 1.3681344, z: 4.4535394} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 545637505} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &441087506 PrefabInstance: m_ObjectHideFlags: 0 @@ -327,6 +389,7 @@ GameObject: m_Component: - component: {fileID: 545637505} - component: {fileID: 545637504} + - component: {fileID: 545637506} m_Layer: 0 m_Name: test backend m_TagString: Untagged @@ -362,9 +425,85 @@ Transform: m_LocalPosition: {x: 2.53231, y: -0.36813438, z: -1.4535393} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] + m_Children: + - {fileID: 1056860014} + - {fileID: 335017576} + - {fileID: 368167159} + - {fileID: 1132197014} + - {fileID: 1558064964} + - {fileID: 589608068} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &545637506 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 545637503} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: df416a088d4174a48859fb9f90dc961a, type: 3} + m_Name: + m_EditorClassIdentifier: + maleNpcs: + - {fileID: 1162186098289904096, guid: b404be61a97237740821ffb3f801eb68, type: 3} + - {fileID: 939314035007084349, guid: b378ca729e9cce4408beb44639b2bc58, type: 3} + - {fileID: 5163734529656434887, guid: 592469d1f1c85824cb0586b51d080b18, type: 3} + - {fileID: 5439687604807156076, guid: f381ae8e8f34b8e4ca4a847775c0e60f, type: 3} + - {fileID: 3572036619537446221, guid: 06fee42127b3b4243a1d03df215365e7, type: 3} + - {fileID: 3212542082100280136, guid: d4e006b1ecd50d44984ac7e8f2fb965f, type: 3} + - {fileID: 6095755043422354155, guid: 4702ac9e34e5f4549be2d0acc2f00dae, type: 3} + - {fileID: 3475247101945908102, guid: 4478b7186cc0aad49b6185426503ea36, type: 3} + femaleNpcs: + - {fileID: 8874432443279944950, guid: 9d6c422b331360f478f55ea7828561a1, type: 3} + - {fileID: 5700822135220029682, guid: 9a0e848f4199dae46b8c371c6d792998, type: 3} + - {fileID: 807456354009633900, guid: b933b12f828c2fc45b6528e41b2e8824, type: 3} + - {fileID: 3994904034570386205, guid: 921de0f680b059b448b93a8c6d33b63e, type: 3} + policeNpc: {fileID: 6846919541000073478, guid: 5744d4b3c1617fe4096b9035ee1be4e8, type: 3} + spawnPoints: + - {fileID: 1056860014} + - {fileID: 335017576} + - {fileID: 368167159} + - {fileID: 1132197014} + - {fileID: 1558064964} + - {fileID: 589608068} + currentNpcs: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} +--- !u!1 &589608067 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 589608068} + m_Layer: 0 + m_Name: GameObject (5) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &589608068 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 589608067} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 3.46769, y: 1.3681344, z: 7.4535394} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 545637505} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &756192406 GameObject: m_ObjectHideFlags: 0 @@ -411,6 +550,68 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1056860013 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1056860014} + m_Layer: 0 + m_Name: GameObject + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1056860014 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1056860013} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.53231, y: 1.3681344, z: 2.4535394} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 545637505} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1132197013 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1132197014} + m_Layer: 0 + m_Name: GameObject (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1132197014 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1132197013} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.46769, y: 1.3681344, z: 5.4535394} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 545637505} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1249617917 GameObject: m_ObjectHideFlags: 0 @@ -599,6 +800,102 @@ MonoBehaviour: m_Teleporting: m_PersistentCalls: m_Calls: [] +--- !u!1 &1558064963 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1558064964} + m_Layer: 0 + m_Name: GameObject (4) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1558064964 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1558064963} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 2.46769, y: 1.3681344, z: 6.4535394} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 545637505} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1852077313 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalPosition.x + value: 6.7957244 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalPosition.y + value: -0.00000023841858 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalPosition.z + value: -3.0260978 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 919132149155446097, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_Name + value: male1 + objectReference: {fileID: 0} + - target: {fileID: 5866666021909216657, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_Controller + value: + objectReference: {fileID: 9100000, guid: 2d6add46262bc524fb5714844861ede6, type: 2} + - target: {fileID: 5866666021909216657, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} + propertyPath: m_ApplyRootMotion + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 1d353017ec9105348b92bcc4587d73db, type: 3} --- !u!1 &2092139007 GameObject: m_ObjectHideFlags: 0 @@ -695,3 +992,4 @@ SceneRoots: - {fileID: 2092139010} - {fileID: 1249617921} - {fileID: 545637505} + - {fileID: 1852077313}