Skip to content

Commit

Permalink
Destroying old pick up weapons
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKolodziej committed Jun 8, 2023
1 parent 6fe5274 commit 1b6ccfe
Show file tree
Hide file tree
Showing 24 changed files with 1,028 additions and 684 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PolyAdventureMaterial_Water_01
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON
m_LightmapFlags: 5
m_ValidKeywords:
- _ALPHAPREMULTIPLY_ON
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3000
Expand Down Expand Up @@ -56,21 +59,27 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 10
- _EmissionScaleUI: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 3
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 0
m_Colors:
- _Color: {r: 0.6985294, g: 0.82535493, b: 1, a: 0.24705882}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColorUI: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ GameObject:
- component: {fileID: 489998}
- component: {fileID: 3383498}
- component: {fileID: 2386212}
- component: {fileID: 1173316541160875596}
m_Layer: 0
m_Name: SM_Wep_Sword_01
m_TagString: Untagged
Expand Down Expand Up @@ -84,15 +83,3 @@ MeshRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!114 &1173316541160875596
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 181534}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 99375261a9ba3e84b9a834981089b4e2, type: 3}
m_Name:
m_EditorClassIdentifier:
39 changes: 30 additions & 9 deletions Assets/Game/Character/Enemy_new1.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,30 @@ PrefabInstance:
propertyPath: weapon
value:
objectReference: {fileID: 11400000, guid: 1fdea813c6cacd548bb86d49da957e68, type: 2}
- target: {fileID: 1286570738, guid: 256d49980d9d2284fa9ad59833336b9d, type: 3}
propertyPath: defaultWeapon
value:
objectReference: {fileID: 11400000, guid: f43f6573ccd6b274e97d8f02dfa79587, type: 2}
- target: {fileID: 1286570738, guid: 256d49980d9d2284fa9ad59833336b9d, type: 3}
propertyPath: handTransform
value:
objectReference: {fileID: 8731054248907356757}
- target: {fileID: 1286570738, guid: 256d49980d9d2284fa9ad59833336b9d, type: 3}
propertyPath: leftHandTransform
value:
objectReference: {fileID: 8731054248907283005}
- target: {fileID: 1286570738, guid: 256d49980d9d2284fa9ad59833336b9d, type: 3}
propertyPath: rightHandTransform
value:
objectReference: {fileID: 8731054248907356757}
- target: {fileID: 5930153616400794811, guid: 256d49980d9d2284fa9ad59833336b9d, type: 3}
propertyPath: m_Name
value: Enemy_new1
objectReference: {fileID: 0}
- target: {fileID: 5930153616400794811, guid: 256d49980d9d2284fa9ad59833336b9d, type: 3}
propertyPath: m_TagString
value: Untagged
objectReference: {fileID: 0}
- target: {fileID: 5930153616400794815, guid: 256d49980d9d2284fa9ad59833336b9d, type: 3}
propertyPath: m_RootOrder
value: 0
Expand Down Expand Up @@ -88,7 +104,7 @@ CapsuleCollider:
m_Height: 2
m_Direction: 1
m_Center: {x: 0, y: 1, z: 0}
--- !u!114 &4932007361853871578
--- !u!114 &1079005862386430739
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
Expand All @@ -97,15 +113,10 @@ MonoBehaviour:
m_GameObject: {fileID: 8993727228351368283}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b533290db49ec9e44abc2aa3d877580e, type: 3}
m_Script: {fileID: 11500000, guid: a7b90107531923d42849aac22bede810, type: 3}
m_Name:
m_EditorClassIdentifier:
chaseDistance: 5.5
suspictionStateTimer: 5
wayPointTolerance: 3
patrolPath: {fileID: 0}
patrolSpeedFraction: 0.2
--- !u!114 &1079005862386430739
--- !u!114 &4932007361853871578
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
Expand All @@ -114,9 +125,14 @@ MonoBehaviour:
m_GameObject: {fileID: 8993727228351368283}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a7b90107531923d42849aac22bede810, type: 3}
m_Script: {fileID: 11500000, guid: b533290db49ec9e44abc2aa3d877580e, type: 3}
m_Name:
m_EditorClassIdentifier:
chaseDistance: 22.6
suspictionStateTimer: 5
wayPointTolerance: 3
patrolPath: {fileID: 0}
patrolSpeedFraction: 0.2
--- !u!4 &8993727228351368287 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5930153616400794815, guid: 256d49980d9d2284fa9ad59833336b9d, type: 3}
Expand Down Expand Up @@ -179,6 +195,11 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 679ff741e12a7e740819ede24a7000b7, type: 3}
--- !u!4 &8731054248907283005 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 403948, guid: 679ff741e12a7e740819ede24a7000b7, type: 3}
m_PrefabInstance: {fileID: 8731054248907682769}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8731054248907356757 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 461188, guid: 679ff741e12a7e740819ede24a7000b7, type: 3}
Expand Down
129 changes: 129 additions & 0 deletions Assets/Game/PickUps/Bow pickup.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &159903087984905596
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1365685289177011758}
m_Modifications:
- target: {fileID: 1563655986059756, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_Name
value: Simple Bow
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4281075886339594, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 7f105c0c272e6c146b4b41cdc53ea356, type: 3}
--- !u!1001 &5788815645704768887
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 689707514933529534, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: weapon
value:
objectReference: {fileID: 11400000, guid: f43f6573ccd6b274e97d8f02dfa79587, type: 2}
- target: {fileID: 2252292236032007291, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_Center.y
value: 0.73
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8101199671442424349, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
propertyPath: m_Name
value: Bow pickup
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
--- !u!4 &1365685289177011758 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4802493755022875481, guid: 269a5dde91b9530479356da824f5acbf, type: 3}
m_PrefabInstance: {fileID: 5788815645704768887}
m_PrefabAsset: {fileID: 0}
File renamed without changes.
Loading

0 comments on commit 1b6ccfe

Please sign in to comment.