Artificial Intelligence
NPC intelligence
About
Yes, I use this format too much.
This is a topic I've been glossing over a bit recently. Ever since I began making maps on StarCraft seven years ago, I've always been fascinated about the possibility of collaboration/battle with semi-intelligent NPC units. There really isn't a map out there that triggers intelligence into units. I'm not talking about melee AI scripts, but I am talking about triggered AI. For some samples of this, go down to the "Examples" section. For example, I'm tired of seeing the player being able to run into a building while being chased by enemies and not having the enemies follow them inside. It would be so easy to show some extra effort and allow the enemies to enter the building, possibly leaving it if they manage to kill the player inside.
Examples
"Shank Shank"
A simple sample map I made for this topic. There are enemies laid out throughout the entire map. Teal is a computer controlled Civilian that follows the player (who is also a Civilian) and can have two personalities set to it. These are "aggressive" and "guardian".
- Aggressive: Teal will attack/target any enemies nearby himself regardless of if the player is being attacked or not.
- Guardian: Teal will only target enemies near the player, choosing him/her as the first priority. It will attack enemies that are chasing it while it is running towards the player.
The player has three actions that they can do by making units at a Gateway.
Zealot: Uses a knife attack on nearby enemies. It takes three hits to kill one.
Dragoon: Sets teal's personality to "Aggressive" (default).
High Templar: Sets teal's personality to "Guardian".
Note that your hits and teal's hits will not combine. This is because I was lazy .
"Shooter"
A test map made by Kenoli showing a shooting system. I was more interested in the enemy you face, however. It roams around and when it spots you it will stop in its place, just like a player most likely would, and activates the shooting system. It's the sort of thing that you have to see in order to understand it.
"Hive System"
Custom artificial intelligence created by A_of-s_t that sends an Observer to roam around and gather zombies. When enough zombies are gathered, the Observer relentlessly follows you, making for interesting battles and emphasizing enemy teamwork as well as allied teamwork in order to take the threat down together. After the hoard is demolished, the cycle loops.
Conclusion
If you have the opportunity, I think you should show some extra effort and implement triggered AI into your map. I'm using my own brand of it in a map I'm currently working on and it's going great; seeing as it's single player you would need AI surrounding you in order to give the feel that you aren't alone.
Discuss. I may change this topic around later...
Post has been edited 4 time(s), last time on Nov 2 2009, 2:11 am by lil-Inferno.