Minor Changes
NEW:

-The NPC agent can now take cover to a cover spot;
-The Cover Animation (Stand to Cover) was added;

FUTURE CHANGES:

-Fix the cover action: sometimes the Agent NPC tries to go for the target
instead for the cover spot;

-Fix the FSM on the Agent NPC: sometimes doesn't trigger the Combat state;

-Add Locomotion Animations when the NPC is in Cover;

-Testing multiple situations to find potential bugs and flaws in code;
1 parent ed2ecc9 commit 4e8206aaad10799d5c96e00015684e27bfd9e95d
@Rackday Rackday authored on 18 Aug
Showing 21 changed files
View
Assets/3D Models/VillainGuy/Animations/Cover.meta 0 → 100644
View
Assets/3D Models/VillainGuy/Animations/Cover/Stand To Cover.fbx 0 → 100644
Not supported
View
Assets/3D Models/VillainGuy/Animations/Cover/Stand To Cover.fbx.meta 0 → 100644
View
Assets/3D Models/VillainGuy/VillainGuyController.controller
View
Assets/Editor/AwarenessEditor.cs
View
Assets/OutdoorsScene.unity
View
Assets/Scripts/NPC/FSM/Actions/Combat/Ranged/Cover.meta 0 → 100644
View
Assets/Scripts/NPC/FSM/Actions/Combat/Ranged/Cover/EnableCoverAction.cs 0 → 100644
View
Assets/Scripts/NPC/FSM/Actions/Combat/Ranged/Cover/EnableCoverAction.cs.meta 0 → 100644
View
Assets/Scripts/NPC/FSM/Actions/Combat/Ranged/Cover/GetCover.asset 0 → 100644
View
Assets/Scripts/NPC/FSM/Actions/Combat/Ranged/Cover/GetCover.asset.meta 0 → 100644
View
Assets/Scripts/NPC/FSM/Actions/Combat/Ranged/GoToCoverLocation.asset
View
Assets/Scripts/NPC/FSM/Actions/Combat/Ranged/GoToLocationCoverAction.cs
View
Assets/Scripts/NPC/FSM/Conditions/Combat/TryToFindCoverLocation.cs
View
Assets/Scripts/NPC/FSM/FSM.cs
View
Assets/Scripts/NPC/FSM/State.cs
View
Assets/Scripts/NPC/FSM/States/Alive/Combat/RangedCombat/CoveredState.asset
View
Assets/Scripts/NPC/FSM/States/Alive/Combat/RangedCombat/EngagePlayerState.asset
View
Assets/Scripts/NPC/FSM/States/Alive/Combat/RangedCombat/RangeCombatState.asset
View
Assets/Scripts/NPC/NPCController.cs
View
Assets/Scripts/NPC/Sensors/Awareness.cs