Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
Fixed Enemy AI
Browse files Browse the repository at this point in the history
  • Loading branch information
ShutovKS committed May 29, 2023
1 parent c990480 commit 7188c87
Show file tree
Hide file tree
Showing 84 changed files with 44,868 additions and 1,770 deletions.
64 changes: 7 additions & 57 deletions Assets/Data/Prefabs/Map/MainLocationMap.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -617,14 +617,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1683048599550378103}
m_LocalRotation: {x: -0.15304585, y: 0.6903456, z: 0.15304585, w: 0.6903456}
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1080390762775855947}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: -25, y: 90, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
--- !u!1 &1856778082761395443
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1177,55 +1177,6 @@ Transform:
m_Father: {fileID: 35305589515168876}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2980183939985939667
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3689314792787707725}
- component: {fileID: 3204195025335766591}
m_Layer: 0
m_Name: Global Volume
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 2147483647
m_IsActive: 1
--- !u!4 &3689314792787707725
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2980183939985939667}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7468702916267858784}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &3204195025335766591
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2980183939985939667}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IsGlobal: 1
priority: 0
blendDistance: 0
weight: 1
sharedProfile: {fileID: 11400000, guid: 46961cbf98a188649926727601c715c1, type: 2}
--- !u!1 &3300643759927376296
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1343,7 +1294,6 @@ Transform:
m_Children:
- {fileID: 35305589515168876}
- {fileID: 307292232173604533}
- {fileID: 3689314792787707725}
- {fileID: 4932865907350858492}
m_Father: {fileID: 0}
m_RootOrder: 0
Expand Down Expand Up @@ -1555,7 +1505,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4300231637583574722}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 38f6bf3d943ac7945842268c9ef1dca6, type: 3}
m_Name:
Expand Down Expand Up @@ -2501,14 +2451,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7114028654893338126}
m_LocalRotation: {x: -0.15304585, y: 0.6903456, z: 0.15304585, w: 0.6903456}
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3274475213835616018}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: -25, y: 90, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
--- !u!1 &7141188120062463534
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -3073,14 +3023,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8548237564254191262}
m_LocalRotation: {x: -0.15304585, y: 0.6903456, z: 0.15304585, w: 0.6903456}
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2662736714637846179}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: -25, y: 90, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
--- !u!1 &8666298969809921565
GameObject:
m_ObjectHideFlags: 0
Expand Down
25 changes: 25 additions & 0 deletions Assets/Data/Prefabs/Objects/Weapon/Ax.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,31 @@ PrefabInstance:
propertyPath: weaponType
value: 2
objectReference: {fileID: 0}
- target: {fileID: 5897156887430344978, guid: 6cd1ac9652a50da4485a86492f47c63d,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 5897156887430344978, guid: 6cd1ac9652a50da4485a86492f47c63d,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5897156887430344978, guid: 6cd1ac9652a50da4485a86492f47c63d,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: 5897156887430344978, guid: 6cd1ac9652a50da4485a86492f47c63d,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5897156887430344978, guid: 6cd1ac9652a50da4485a86492f47c63d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6542218581709590649, guid: 6cd1ac9652a50da4485a86492f47c63d,
type: 3}
propertyPath: m_Convex
Expand Down
32 changes: 31 additions & 1 deletion Assets/Data/Prefabs/Objects/Weapon/Hammer.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,36 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 639268190831881206, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 639268190831881206, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 639268190831881206, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: 639268190831881206, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 639268190831881206, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 639268190831881206, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 8188263144140374597, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
propertyPath: weaponType
Expand All @@ -26,7 +56,7 @@ PrefabInstance:
- target: {fileID: 8967095078329889072, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
propertyPath: m_RootOrder
value: -1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8967095078329889072, guid: 82f1e40c0cf7c5048a41bfa78b10c9d9,
type: 3}
Expand Down
30 changes: 30 additions & 0 deletions Assets/Data/Prefabs/Objects/Weapon/Sword.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,36 @@ PrefabInstance:
propertyPath: <WeaponType>k__BackingField
value: 2
objectReference: {fileID: 0}
- target: {fileID: 6723412647420176270, guid: b84d7ca3927758646a65731cc107aa76,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 6723412647420176270, guid: b84d7ca3927758646a65731cc107aa76,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6723412647420176270, guid: b84d7ca3927758646a65731cc107aa76,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: 6723412647420176270, guid: b84d7ca3927758646a65731cc107aa76,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6723412647420176270, guid: b84d7ca3927758646a65731cc107aa76,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6723412647420176270, guid: b84d7ca3927758646a65731cc107aa76,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -90
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
Expand Down
46 changes: 39 additions & 7 deletions Assets/Data/Prefabs/Units/Beholder.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ PrefabInstance:
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9011648103020875539, guid: 8d791e7885d8c11418ff9fcd9552c337,
type: 3}
propertyPath: m_LocalScale.x
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 9011648103020875539, guid: 8d791e7885d8c11418ff9fcd9552c337,
type: 3}
propertyPath: m_LocalScale.y
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 9011648103020875539, guid: 8d791e7885d8c11418ff9fcd9552c337,
type: 3}
propertyPath: m_LocalScale.z
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 9011648103020875539, guid: 8d791e7885d8c11418ff9fcd9552c337,
type: 3}
propertyPath: m_LocalPosition.x
Expand Down Expand Up @@ -63,10 +78,15 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9011648103020875539, guid: 8d791e7885d8c11418ff9fcd9552c337,
type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9011648103021171507, guid: 8d791e7885d8c11418ff9fcd9552c337,
type: 3}
propertyPath: m_Name
value: BeholderPolyart
value: Beholder
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
Expand Down Expand Up @@ -188,7 +208,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4e33acd68864962b94422f4866c2460, type: 3}
m_Name:
m_EditorClassIdentifier:
<side>k__BackingField: 0
<Side>k__BackingField: 1
<Damage>k__BackingField: 0
<IsDamage>k__BackingField: 0
--- !u!1 &250204643209913999 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 9011648103021171561, guid: 8d791e7885d8c11418ff9fcd9552c337,
Expand Down Expand Up @@ -228,7 +250,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4e33acd68864962b94422f4866c2460, type: 3}
m_Name:
m_EditorClassIdentifier:
<side>k__BackingField: 0
<Side>k__BackingField: 1
<Damage>k__BackingField: 0
<IsDamage>k__BackingField: 0
--- !u!1 &250204643209914003 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 9011648103021171573, guid: 8d791e7885d8c11418ff9fcd9552c337,
Expand Down Expand Up @@ -268,7 +292,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4e33acd68864962b94422f4866c2460, type: 3}
m_Name:
m_EditorClassIdentifier:
<side>k__BackingField: 0
<Side>k__BackingField: 1
<Damage>k__BackingField: 0
<IsDamage>k__BackingField: 0
--- !u!1 &250204643209914023 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 9011648103021171521, guid: 8d791e7885d8c11418ff9fcd9552c337,
Expand Down Expand Up @@ -308,7 +334,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4e33acd68864962b94422f4866c2460, type: 3}
m_Name:
m_EditorClassIdentifier:
<side>k__BackingField: 0
<Side>k__BackingField: 1
<Damage>k__BackingField: 0
<IsDamage>k__BackingField: 0
--- !u!1 &250204643209914025 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 9011648103021171535, guid: 8d791e7885d8c11418ff9fcd9552c337,
Expand Down Expand Up @@ -348,7 +376,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4e33acd68864962b94422f4866c2460, type: 3}
m_Name:
m_EditorClassIdentifier:
<side>k__BackingField: 0
<Side>k__BackingField: 1
<Damage>k__BackingField: 0
<IsDamage>k__BackingField: 0
--- !u!1 &250204643209914045 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 9011648103021171547, guid: 8d791e7885d8c11418ff9fcd9552c337,
Expand Down Expand Up @@ -388,7 +418,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4e33acd68864962b94422f4866c2460, type: 3}
m_Name:
m_EditorClassIdentifier:
<side>k__BackingField: 0
<Side>k__BackingField: 1
<Damage>k__BackingField: 0
<IsDamage>k__BackingField: 0
--- !u!1 &250204643209914065 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 9011648103021171511, guid: 8d791e7885d8c11418ff9fcd9552c337,
Expand Down
24 changes: 22 additions & 2 deletions Assets/Data/Prefabs/Units/ChestMonster.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,21 @@ PrefabInstance:
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1798744183351544606, guid: 57d21201fb2b7f546be541b5a3517c80,
type: 3}
propertyPath: m_LocalScale.x
value: 0.8
objectReference: {fileID: 0}
- target: {fileID: 1798744183351544606, guid: 57d21201fb2b7f546be541b5a3517c80,
type: 3}
propertyPath: m_LocalScale.y
value: 0.8
objectReference: {fileID: 0}
- target: {fileID: 1798744183351544606, guid: 57d21201fb2b7f546be541b5a3517c80,
type: 3}
propertyPath: m_LocalScale.z
value: 0.8
objectReference: {fileID: 0}
- target: {fileID: 1798744183351544606, guid: 57d21201fb2b7f546be541b5a3517c80,
type: 3}
propertyPath: m_LocalPosition.x
Expand Down Expand Up @@ -309,6 +324,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1798744183351544606, guid: 57d21201fb2b7f546be541b5a3517c80,
type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1798744183351544624, guid: 57d21201fb2b7f546be541b5a3517c80,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
Expand Down Expand Up @@ -422,7 +442,7 @@ PrefabInstance:
- target: {fileID: 1798744183352039230, guid: 57d21201fb2b7f546be541b5a3517c80,
type: 3}
propertyPath: m_Name
value: ChestMonsterPolyart
value: ChestMonster
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
Expand Down Expand Up @@ -664,7 +684,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a4e33acd68864962b94422f4866c2460, type: 3}
m_Name:
m_EditorClassIdentifier:
<side>k__BackingField: 0
<Side>k__BackingField: 0
--- !u!1 &3639329937985999285 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1798744183352039210, guid: 57d21201fb2b7f546be541b5a3517c80,
Expand Down
Loading

0 comments on commit 7188c87

Please sign in to comment.