WEEK6
Introduction
Goals
I have been assigned work on the enemy AI system.
Advanced AI system prototype:
game object | behaviour | scripts |
cube(1) | chasing/ run away | Take Cover Script |
. | AI6 | |
. | Advanced_AI |
- a test enemy made of Cube object in the new navmesh scene to better test the single take cover behavior
The following is the primary author and any secondary authors who assisted in completing the tasks this week.
- Primary - Serena
- Secondary -
Technologies, Tools, and Resources used
The following are the technologies, tools, and resources to assist in completing the set goals this week.
[Unity AI TAKE COVER or HIDE dynamically // 3D]-
[Enemy Shoot, Run and Hide | Unity AI Tutorial]-
Key Tasks Undertaken
The following are the key tasks that were taken to help a developer/reader understand how the tasks were completed.
- Pull all the new updates from the source tree.
- delete non-working player prefab in Enemy AI scene
- using my test scene which is a new navmesh scene, create a new platform and bake navigation
- doing research, to find the best and achievable methods
- go to unity and start learning the codes according to the research
- figure out the "take cover" behavior how it works, also what would be the triggers to switch the behaviors
- testing the methods I learned, and find out where is the problem that didn't make it work as same as the tutorials.
- write done the logical I thought and make a simulation on papers to make a clear list
- following my logic and make a new script to start over to write codes
- extract status change codes to the new script as a base
- write all the base codes there following the logic
- filling the function codes to the right part
- debug log each time to test if the last step is executing
- setting layers for the player and obstacles that AI will seek hiding spots automatically
- the test player has been set player layer, all the building have been set as an obstacle layer
- set the appropriate value to fill in
- test several times making sure it won't be crashed
- Save everything and push to the server
What I Found Out
Include any particular lessons learned, especially if this Spike was designed to cover knowledge gaps. Use Graphs, ScreenShots, Outcome Lists, or other Notes.
- Tutorials didn't always tell you the right answers
- Value sets can straight affect the effects
- Decision making is important to limit each function to be called at a proper time
Solution Justification
- start over
- write in my ways
Open Issues/Risks
List the issues and risks that you have been unable to resolve at the end of the spike. You may have uncovered a whole range of new risks as well.
- can not test it with the exact player I wanted to
Recommendations
- add the prototype To Enemy AI script
- thinking of if it is better to call the Take Cover function from cone view volume or just code a range in the script
SGD 300 FPS RPG
Status | Released |
Author | Serena.DD.Pei |
Genre | Shooter, Role Playing |
Tags | Unity |
Leave a comment
Log in with itch.io to leave a comment.