diff --git a/Assets/Scenes/Game-Mountain.unity b/Assets/Scenes/Game-Mountain.unity index f6e9273..1904b8e 100644 --- a/Assets/Scenes/Game-Mountain.unity +++ b/Assets/Scenes/Game-Mountain.unity @@ -3414,7 +3414,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6689294808140859937, guid: 96c2075f01b997847922f482f584a6b0, type: 3} propertyPath: m_IsActive - value: 0 + value: 1 objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 96c2075f01b997847922f482f584a6b0, type: 3} @@ -4780,7 +4780,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &101521237 Transform: m_ObjectHideFlags: 0 @@ -4971,7 +4971,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &103278381 Transform: m_ObjectHideFlags: 0 @@ -5142,7 +5142,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &106894196 Transform: m_ObjectHideFlags: 0 @@ -26801,7 +26801,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &384194924 Transform: m_ObjectHideFlags: 0 @@ -31926,7 +31926,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 8778111956603342859, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: m_Enabled - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8778111956603343861, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: RespawnPoint @@ -32124,7 +32124,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6689294808140859937, guid: 96c2075f01b997847922f482f584a6b0, type: 3} propertyPath: m_IsActive - value: 0 + value: 1 objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 96c2075f01b997847922f482f584a6b0, type: 3} @@ -55280,6 +55280,68 @@ Transform: m_CorrespondingSourceObject: {fileID: 8778111956603343862, guid: 0e50603b66fe968418894499e023ec03, type: 3} m_PrefabInstance: {fileID: 803101657} m_PrefabAsset: {fileID: 0} +--- !u!1001 &803134085 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1421830519} + m_Modifications: + - target: {fileID: 1546123831013515564, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_Name + value: CrumblingPlatform (26) + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_RootOrder + value: 38 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalPosition.x + value: -3105 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalPosition.y + value: 130 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalPosition.z + value: 440 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} +--- !u!4 &803134086 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 1546123831013515565, guid: f20130cddcc9e7446b86395a7a9a9745, type: 3} + m_PrefabInstance: {fileID: 803134085} + m_PrefabAsset: {fileID: 0} --- !u!1 &803477701 GameObject: m_ObjectHideFlags: 0 @@ -68762,7 +68824,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1054125707 Transform: m_ObjectHideFlags: 0 @@ -72127,7 +72189,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1114540710 Transform: m_ObjectHideFlags: 0 @@ -75155,7 +75217,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 8778111956603342859, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: m_Enabled - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8778111956603343861, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: RespawnPoint @@ -76701,7 +76763,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 8778111956603342859, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: m_Enabled - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8778111956603343861, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: RespawnPoint @@ -79788,7 +79850,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1255057953 Transform: m_ObjectHideFlags: 0 @@ -80820,7 +80882,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1272483265 Transform: m_ObjectHideFlags: 0 @@ -83240,7 +83302,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1304668705 Transform: m_ObjectHideFlags: 0 @@ -89564,7 +89626,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1407754309 Transform: m_ObjectHideFlags: 0 @@ -90506,6 +90568,7 @@ Transform: - {fileID: 1447779358} - {fileID: 610081317} - {fileID: 1390853236} + - {fileID: 803134086} m_Father: {fileID: 694495507} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -99374,7 +99437,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 8778111956603342859, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: m_Enabled - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8778111956603343861, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: RespawnPoint @@ -105028,7 +105091,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1589813552 Transform: m_ObjectHideFlags: 0 @@ -105302,7 +105365,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1592322875 Transform: m_ObjectHideFlags: 0 @@ -119483,7 +119546,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1761363111 Transform: m_ObjectHideFlags: 0 @@ -122792,7 +122855,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 8778111956603342859, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: m_Enabled - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8778111956603343861, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: RespawnPoint @@ -124195,7 +124258,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6689294808140859937, guid: 96c2075f01b997847922f482f584a6b0, type: 3} propertyPath: m_IsActive - value: 0 + value: 1 objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 96c2075f01b997847922f482f584a6b0, type: 3} @@ -126932,7 +126995,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1880272125 Transform: m_ObjectHideFlags: 0 @@ -127823,7 +127886,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 8778111956603342859, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: m_Enabled - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 8778111956603343861, guid: 0e50603b66fe968418894499e023ec03, type: 3} propertyPath: RespawnPoint @@ -128662,7 +128725,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6689294808140859937, guid: 96c2075f01b997847922f482f584a6b0, type: 3} propertyPath: m_IsActive - value: 0 + value: 1 objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 96c2075f01b997847922f482f584a6b0, type: 3} @@ -130876,7 +130939,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1942494602 Transform: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/Enemy scripts/Archer.cs b/Assets/Scripts/Enemy scripts/Archer.cs index 74db60b..6dc4904 100644 --- a/Assets/Scripts/Enemy scripts/Archer.cs +++ b/Assets/Scripts/Enemy scripts/Archer.cs @@ -15,7 +15,7 @@ public class Archer : NetworkBehaviour private float range; //how fast and how much time before the next shot - public float fireRate = 4.0f; + public float fireRate = 0.5f; private float shootingCooldown = 1.0f; [Header("Unity Setup Fields")]