Please help me i am desperate. I am doing terrible with this assignment. Here is the instructions. it is two separate parts 1st part is this
Create a method to calculate the steering force on an entity for each of the following movement algorithms:
Seek
Flee
Arrive
Wander
Collision Avoidance
Step 2: For help, refer to Chapter 3.4 in the text.
Create a Weighted Blending technique for combining the various steering algorithms coded above. The method should calculate the total steering force acting upon an AI bot.
Second part is this.
Create a program that will perform the following using the methods described below.
Create an Entity Generator Class - This class should:
Create entities to be used in the game
Have the ability to handle different types of entities
AI Bot Type 1 (i.e. Person)
AI Bot Type 2 (i.e. Car)
Create a unique ID for each entity
Create an Entity Manager – The Entity Manager should:
have the ability to add entities to an entity map;
have the ability to remove entities from the entity map;
have the ability to obtain a pointer to any entity in the entity map; and
be created using a singleton design pattern.
The program should have the ability to create more entities during run time.
The program should contain a Message Dispatcher that will sort messages based upon dispatch time, and deliver messages to AI entities at the appropriate time.
Each entity should have message-handling capabilities – should have the ability to:
dispatch messages
receive messages
send messages
AI units should be controlled by a Finite State Machine (FSM).
The FSM should have an enter(), execute(), and exit() method for each state.
The FSM should incorporate the message handling system developed in the project.
A single FSM class should be created along with a State class, which will contain the specifics for each state to be executed in the FSM.
AI entities should have the following states.
Birth
This state should last five seconds.
Upon exit, AI entity should move to Death State.
Death
This state should last eight seconds.
Upon entry, a second AI entity should be created and put into the Birth State.
Upon exit of this state, the AI entity should be removed from memory.
The program should run for a total of one minute.
Upon completion of program, the following statistics should be displayed.
Number of AI entities created
Amount of AI entities that were deleted
Total elapsed run time of program
Messaging should be used to tell entity to change state.
Upon entering a state, send a message to self to show the amount of time delay that the state uses.
Upon dispatch and receiving of message, entity will then update to the appropriate following state.
Send output to the screen upon the completion of each state. This output should state:
Which entity is talking
What the entity has finished doing
Where the entity is going
The project should be created using a graphical API (DirectX, DarkGDK, etc) and should give visual confirmation of the AI entities moving from states. PLEASE HELP!!!
Could you be a bit more specific? Which part are you having problems with? What code have you written so far? What, specifically, is the problem you have with your current code?
Too be honest, i have no idea where to start. i tried and failed miserable to the point that i did full delete and start over twice now im running out of time.