• Advertisement
Sign in to follow this  

AI Actor reacting to Objects' values on Stage.

This topic is 2031 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Consider this OO game:
I. All objects have position coordinates.
II. The Stage is the game's playground.
III. Props are separated equally throughout the Stage in a grid like structure.
A. Props' position coordinates never change.
B. Props hold a number of Variables that hold value types.
1. Variables are frequently(60Hz) changed by Actors as they move across the Stage.
2. Variables reset after each Scene.
a. Scene ends when certain conditions are met.
IV. Actors are given instructions at the start of the Scene to move along a certain path.
A. Actors' position coordinates change frequently.
B. All Actors have a name, and Abilities that are defined by value types.
1. All Actors are different as can be seen by their different names and Ability values.
2. Actor abilities and names can be loaded off the ActorDatabase(excel?).
C. Actors can see (one of their Abilities).
1. Their sight has a depth and width.
2. Their sight attributes are determined by the ActorDatabase.
D. When Actors interact or collide, their Ability values need to be taken into account.
E. Actor movement/steer is based on the Variables on the Props that they:
1. Can see.
2. Are next too.
F. Actor movement is also based on its Abilities.

Questions (C#) based on the OO game described above:
1. How do I make the Actors change the Variable values on different Props as they move across the Stage?
2. How do I make the Actors respond (move differently or execute an act) and change their behavior based on the Variables that they can see?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement