Page 1 of 2

How do you make actors do stuff on their own?

PostPosted: Sat Sep 29, 2007 1:33 pm
by j2graves
I need help figuring out how to make actors do stuff without having to command them to. I don't want them to go through the same animation over and over though.

Re: How do you make actors do stuff on their own?

PostPosted: Sun Sep 30, 2007 6:18 pm
by Troodon
You are requesting AI (artificial intelligence). What kind of actor it is and what is should do?

Re: How do you make actors do stuff on their own?

PostPosted: Mon Oct 01, 2007 12:10 pm
by Bee-Ant
j2graves wrote:I need help figuring out how to make actors do stuff without having to command them to. I don't want them to go through the same animation over and over though.

You mean that how to make enemies or boss???or partner??? :D

Re: How do you make actors do stuff on their own?

PostPosted: Mon Oct 01, 2007 3:28 pm
by Kalladdolf
or an opponent in a racing game???
:lol:

Re: How do you make actors do stuff on their own?

PostPosted: Mon Oct 01, 2007 9:58 pm
by supa-tails
Or could it be a simulation??? and depending on how there stats are depends on there random animation??? :D

Re: How do you make actors do stuff on their own?

PostPosted: Thu Oct 04, 2007 5:53 pm
by j2graves
I need this for boss actors mainly. But I also want to make a kind of "a-life" (artaficial life) actor.

Re: How do you make actors do stuff on their own?

PostPosted: Thu Oct 04, 2007 11:53 pm
by supa-tails
Well, I know there is a script for randomness, but I dont know how to do those kind of things... :( Try asking Sgt. Sparky, DSD, or Game A Gogo. :mrgreen:

Re: How do you make actors do stuff on their own?

PostPosted: Fri Oct 05, 2007 12:49 pm
by Bee-Ant
supa-tails wrote:Try asking Sgt. Sparky, DSD, or Game A Gogo. :mrgreen:

They aren't here now...
TRY TO ASK ME!!! :D Hahahahah...nonono...just kidding...See the MORTAL KOMBAT Topic in General...I have some code there to make random movement...

Re: How do you make actors do stuff on their own?

PostPosted: Fri Oct 05, 2007 1:49 pm
by j2graves
Thank you! I'll check it out.

Re: How do you make actors do stuff on their own?

PostPosted: Sat Oct 06, 2007 1:38 pm
by j2graves
That looked good, but I need to know how to make an actor that will respond to your actions. Can anyone tell me about that?

Re: How do you make actors do stuff on their own?

PostPosted: Sat Oct 06, 2007 1:54 pm
by Kalladdolf
Well, there are many ways an actor can respond and there are many actions it can respond to.

anyway here's an example: when u hit the enemy with a bullet, he shoots back. but randomly :D

example.zip
jumping and "Game over message"" turtorial included :-)
(108.55 KiB) Downloaded 88 times

Re: How do you make actors do stuff on their own?

PostPosted: Thu Oct 11, 2007 3:09 pm
by j2graves
Well' It's a bit more complex than that. I want the boss actor to do the following;
-move towards my main actor BUT still be affected by gravity
-change animation when close to the main actor
-jump
-change animations when going left and right
-fight quicker temporaraly after I attack him

Can anyone tell me how to do any of those things?

Re: How do you make actors do stuff on their own?

PostPosted: Thu Oct 11, 2007 4:30 pm
by Kalladdolf
here u got a start, a boss which does almost all of those things, but jump. u can add that to it. (I trust u can :D )
You can't die in this turtorial, but the boss can! just jump on him some times. he'll go quicker and faster !
he also shoots.
what am i saying? try for yourself! :D
boss.zip
;-)
(1.08 MiB) Downloaded 143 times

Re: How do you make actors do stuff on their own?

PostPosted: Wed Oct 17, 2007 10:48 am
by j2graves
Thanks, Kalladdolf! That sure helped out a lot! how do you give people points?

Re: How do you make actors do stuff on their own?

PostPosted: Sat Nov 10, 2007 2:12 pm
by j2graves
don't worry, I know how to give points now. but 1 important question for kalladdolf, may I use the music from the "boss.zip" for my own game or would you prefer I don't?