Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Ayumi, NewbieZorro, TipmyPip), 13,887 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to set AI?? #100269
11/27/06 17:07
11/27/06 17:07
Joined: Nov 2006
Posts: 47
V
viva Offline OP
Newbie
viva  Offline OP
Newbie
V

Joined: Nov 2006
Posts: 47
How to set AI to attack player, walk around, etc. i used to use template but it's unacceptable, AI just walk a few steps then it doesn't walk and attack the player (Maybe i'm not capable to use it).So who has tutorials about this please upload it for me. thanks a lots. But if u have code bout this please post it here.

**P.S.** AI for third person game and no gun, no shooting just punch, kick, and martial arts.

Re: How to set AI?? [Re: viva] #100270
11/29/06 15:09
11/29/06 15:09
Joined: Nov 2006
Posts: 47
V
viva Offline OP
Newbie
viva  Offline OP
Newbie
V

Joined: Nov 2006
Posts: 47
็ำHelp me plz.. i really need to know about this

Re: How to set AI?? [Re: viva] #100271
12/02/06 01:14
12/02/06 01:14
Joined: Sep 2003
Posts: 281
Arkansas\USA
raiden Offline
Member
raiden  Offline
Member

Joined: Sep 2003
Posts: 281
Arkansas\USA
I can help you some, but AI is a huge topic and there are tons of posts on this forum to prove it.

Before you realize the end result of what it is your wanting, your going to have to realize everything that goes into to making a good ai, basically the "brains" of it all.

I agree with you on the template ai, but believe me it is certainly a better start than having no ai at all, and it's very easy to implement. If you have the latest wed version and the latest templates, it's simply a matter of selecting the Map Properties in the File menu and creating a new script that is a "shooter". Once you do that, you will have actions ready to go, to attach to your enemies with no ai scripting at all.

If your not willing to use the templates, then you better buckle up and get ready for some serious studying if you want to be a good ai programmer because it is definately one of the most difficult areas of programming.

If you want to write custom script, start simple and work your way up. Begin with what is called FSM(finite state machine). This ai logic is based on the "state" of your enemy, which can change upon certain events.

But even with FSM logic, you will still need to learn a good pathfinding technique or your ai will suffer visually by walking blind. There are wed paths that can be used, Astar Easy Astar and other techniques as well, just google up programming AI and I bet you find tons of resources.

Remember if your totally new to ai, start simple and small. Document the details of your enemies on what you expect them to do. Think about how they are supposed to travel and where they can or cannot go. How they are expected to find the player. You must take care of of those details before even thinking about melee fighting, unless its turn based ai .

Well... I could go on and on. So maybe I have either motivated you, or scared you away from ai programming, lol, hope not wasn't my intent. Happy AI coding.

-raiden


"It doesn't matter if we win or lose, it's how we make the game."
--------------------
Links: 3DGS for Dummies

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1