Is it possible to make a pedestrian entity?(Actually several pedestrian entities?) for my game?
Thanx for ur help!
Pedestrian Entity?
- vrageprogrammer
- Posts: 566
- Joined: Wed Oct 31, 2007 2:59 pm
- Location: On top of a tree
- Contact:
-
- Posts: 866
- Joined: Fri Jul 08, 2005 4:27 am
- Location: PA, USA
To make a pedestrian for your game you will have them actually use the pawn entity.
You will have to write a pedestrian script as its AI or find one that functions the same but anytime the word "pawn" is used, it means a "thinking" entity that is not the player. (Thinking meaning that the object uses a script to perform actions)
*Pawns can be controlled by the player too, and thats commonly used for things like possessing enemies or creating a scripted player for better animations or a more robust player.
I hope that made sense. If not just say so and I'll try for a better explanation.
You will have to write a pedestrian script as its AI or find one that functions the same but anytime the word "pawn" is used, it means a "thinking" entity that is not the player. (Thinking meaning that the object uses a script to perform actions)
*Pawns can be controlled by the player too, and thats commonly used for things like possessing enemies or creating a scripted player for better animations or a more robust player.
I hope that made sense. If not just say so and I'll try for a better explanation.
Think outside the box.
To go on an adventure, one must discard the comforts and safety of the known and trusted.
To go on an adventure, one must discard the comforts and safety of the known and trusted.
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA
Write down a set of features that your pedestrian should have.
For example, I think a pedestrian should
basicly:
- Walk around
- Stop and rest (humming, looking around...)
and, depending by your game genre:
- talk each other (RGP)
- jump to avoid crazy cars (midton madness)
- show fear if they see guns (fps) and hide themselves or surrender
- alert your enemies if they see your gun (stealth games)
With scripting you can do all those things but the basic first list should come first: start there.
For example, I think a pedestrian should
basicly:
- Walk around
- Stop and rest (humming, looking around...)
and, depending by your game genre:
- talk each other (RGP)
- jump to avoid crazy cars (midton madness)
- show fear if they see guns (fps) and hide themselves or surrender
- alert your enemies if they see your gun (stealth games)
With scripting you can do all those things but the basic first list should come first: start there.