by date
AI cinematics
AI cinematics
| Name: | Treb Connell (formerlyMasterTreb | |
|---|---|---|
| Date Posted: | Mar 14, 2006 | |
| Rating: | 3.5 out of 5 | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Treb Connell (formerlyMasterTreb |
Blog post
I should probably start by defining what I mean by "AI cinematics" for this is the best term I could find. It is basically a list of commands for an AI player to do. For example. you walk into a building and a squad of soldiers rush through a door, hide behind a counter and open fire on ninjas that landed on the upper balcony.
another example: a football team hikes the ball two recievers cut out and run for a pass while everybody else protects the quarterback.
It is pretty much a series of commands that gets run one after the other. The game I'm creating well tend towards the football example.
But my theory of games is to give the user as many options as is possible so I decided to create an easy editor for me to use and the user so that they may create their own play's. I click on the locations for the AI to run to and it saves it to a document that looks like this.
that is the code to make two bots run around and shoot at each other. It was written by the editor and saved to a file. Each bot is assigned ID numbers so there is a way to tell the bots apart if you want to use the same tactic on different missions.
I created this just so I could get it out on the table and see if people would use it because I have been thinking of making a resource out of it. I'm still working on it and of course the things that my game needs to do might not be what other peoples games need it to do so it would require changing to fit you're game.
There have been a couple of threads about football games which this would work very well in. I hope I explained exactly what this does because I have had problems with that in the past. If you don't understand what this does post or wait for the video that I well inevitably create.
another example: a football team hikes the ball two recievers cut out and run for a pass while everybody else protects the quarterback.
It is pretty much a series of commands that gets run one after the other. The game I'm creating well tend towards the football example.
But my theory of games is to give the user as many options as is possible so I decided to create an easy editor for me to use and the user so that they may create their own play's. I click on the locations for the AI to run to and it saves it to a document that looks like this.
function tacticstart(%obj){
if (%obj.idnumber==5){
if(%obj.tacticdelay == 0)
move(%obj, 147.923, -67.0465, 101.442);
if(%obj.tacticdelay == 1)
attack(%obj, 6);
if(%obj.tacticdelay == 2)
TimedAttack(%obj, 7, 1);
if(%obj.tacticdelay == 3)
move(%obj, 176.706, 92.9276, -2.15029e-006);
}
if (%obj.idnumber==6){
if(%obj.tacticdelay == 0)
Waiting(%obj, 2);
if(%obj.tacticdelay == 1)
Miss(%obj, 5, 17);
}
}that is the code to make two bots run around and shoot at each other. It was written by the editor and saved to a file. Each bot is assigned ID numbers so there is a way to tell the bots apart if you want to use the same tactic on different missions.
I created this just so I could get it out on the table and see if people would use it because I have been thinking of making a resource out of it. I'm still working on it and of course the things that my game needs to do might not be what other peoples games need it to do so it would require changing to fit you're game.
There have been a couple of threads about football games which this would work very well in. I hope I explained exactly what this does because I have had problems with that in the past. If you don't understand what this does post or wait for the video that I well inevitably create.
Recent Blog Posts
| List: | 06/02/07 - Lots of Buildings (with lots of pics) 03/14/06 - AI cinematics |
|---|
Submit your own resources!| James (Mar 14, 2006 at 11:44 GMT) |
| Tim Muenstermann (Mar 14, 2006 at 13:57 GMT) |
-Tim
| Jared Coliadis (Mar 14, 2006 at 16:42 GMT) |

Edited on Mar 14, 2006 16:42 GMT
| Treb Connell (formerlyMasterTreb (Mar 14, 2006 at 16:58 GMT) |

Edited on Mar 14, 2006 17:06 GMT
| Phil Carlisle (Mar 14, 2006 at 17:29 GMT) |
Phil.
| Treb Connell (formerlyMasterTreb (Mar 15, 2006 at 01:49 GMT) |
Edited on Jun 02, 2007 22:47 GMT
You must be a member and be logged in to either append comments or rate this resource.


3.5 out of 5


