How do you make actors do stuff on their own?

Game Editor comments and discussion.

How do you make actors do stuff on their own?

Postby j2graves » Sat Sep 29, 2007 1:33 pm

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.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

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

Postby Troodon » Sun Sep 30, 2007 6:18 pm

You are requesting AI (artificial intelligence). What kind of actor it is and what is should do?
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

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

Postby Bee-Ant » Mon Oct 01, 2007 12:10 pm

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
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

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

Postby Kalladdolf » Mon Oct 01, 2007 3:28 pm

or an opponent in a racing game???
:lol:
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

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

Postby supa-tails » Mon Oct 01, 2007 9:58 pm

Or could it be a simulation??? and depending on how there stats are depends on there random animation??? :D
................................................................................................ www.freewebs.com/thebiverse .....................................................................................




c'ya on the other side
User avatar
supa-tails
 
Posts: 269
Joined: Fri Jul 27, 2007 3:03 pm
Location: In an aliens tummy... Or in cumming Georgia USA
Score: 17 Give a positive score

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

Postby j2graves » Thu Oct 04, 2007 5:53 pm

I need this for boss actors mainly. But I also want to make a kind of "a-life" (artaficial life) actor.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

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

Postby supa-tails » Thu Oct 04, 2007 11:53 pm

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:
................................................................................................ www.freewebs.com/thebiverse .....................................................................................




c'ya on the other side
User avatar
supa-tails
 
Posts: 269
Joined: Fri Jul 27, 2007 3:03 pm
Location: In an aliens tummy... Or in cumming Georgia USA
Score: 17 Give a positive score

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

Postby Bee-Ant » Fri Oct 05, 2007 12:49 pm

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...
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

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

Postby j2graves » Fri Oct 05, 2007 1:49 pm

Thank you! I'll check it out.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

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

Postby j2graves » Sat Oct 06, 2007 1:38 pm

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?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

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

Postby Kalladdolf » Sat Oct 06, 2007 1:54 pm

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
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

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

Postby j2graves » Thu Oct 11, 2007 3:09 pm

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?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

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

Postby Kalladdolf » Thu Oct 11, 2007 4:30 pm

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
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

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

Postby j2graves » Wed Oct 17, 2007 10:48 am

Thanks, Kalladdolf! That sure helped out a lot! how do you give people points?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

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

Postby j2graves » Sat Nov 10, 2007 2:12 pm

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?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Next

Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron