Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 482 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Suggestions? #189082
03/17/08 13:58
03/17/08 13:58
Joined: Jan 2007
Posts: 59
C
Creepinbox Offline OP
Junior Member
Creepinbox  Offline OP
Junior Member
C

Joined: Jan 2007
Posts: 59
I'm Trying to Create A Flying ai( a bie ).
This ai needs to avoid obsticles like stolps and If im on a platform above it it will find me .. or .. eh .. avoid the platform to get to me. an its all node less and simple..

So what im wondering is how should i go about this? what is the best way to make this ai ?

I hope you understand ^^

Re: Suggestions? [Re: Creepinbox] #189083
03/17/08 16:26
03/17/08 16:26
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
There is a aeroplane demo around somewhere. Can't remember if it was in the
AUM or in some old demo I downloaded. I deleted it because it was early A6 or late A5. Maybe that will get you started?
Either do a search in these forums or goto the AUM resources or wilkii and
I'm sure you will find it.

Good luck..


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: Suggestions? [Re: Nidhogg] #189084
03/17/08 17:12
03/17/08 17:12
Joined: Jan 2007
Posts: 59
C
Creepinbox Offline OP
Junior Member
Creepinbox  Offline OP
Junior Member
C

Joined: Jan 2007
Posts: 59
there is very litle to be found on flying ai any where , but i know its been done .. like .. umm inago rage had flying enemyes.. that avoid obsticles.. i want my bie to be able to follow me around ^^

Re: Suggestions? [Re: Creepinbox] #189085
03/17/08 20:47
03/17/08 20:47
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
This would be a perfect problem to solve with a neural-net approach.
Thanks for the Idea.

Re: Suggestions? [Re: Damocles] #189086
03/18/08 14:00
03/18/08 14:00
Joined: Jan 2007
Posts: 59
C
Creepinbox Offline OP
Junior Member
Creepinbox  Offline OP
Junior Member
C

Joined: Jan 2007
Posts: 59
neural-net? thanks ? mind filling me in ?eh ? ^^

Re: Suggestions? [Re: Creepinbox] #189087
03/20/08 13:33
03/20/08 13:33
Joined: Oct 2004
Posts: 1,655
T
testDummy Offline
Serious User
testDummy  Offline
Serious User
T

Joined: Oct 2004
Posts: 1,655
Quoting Damocles.
Quote:

This would be a perfect problem to solve with a neural-net approach.
Thanks for the Idea.




Ha ha.

Re: Suggestions? [Re: testDummy] #189088
03/21/08 15:28
03/21/08 15:28
Joined: Oct 2002
Posts: 799
Germany->Bavaria->Nuremberg
C
Christian__A Offline
User
Christian__A  Offline
User
C

Joined: Oct 2002
Posts: 799
Germany->Bavaria->Nuremberg
You should search for "steering behavior" - or look at the "open steer"-project. 2 links i found quickly: http://www.red3d.com/cwr/steer/
http://www.galaxygoo.org/blogs/2006/07/steering_behavior_hunting_and_1.html


MfG, Christian__A. Visit my Site: www.chris-a.de


Re: Suggestions? [Re: testDummy] #189089
03/21/08 22:34
03/21/08 22:34
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
Not sure what you are laughing about, Neural-nets can solve any problem (at least in theory). The downside is, you may go crazy trying to debug them.

Assuming you are talking about an entity that can move freely in all directions (e.g. "zero-g" jet-pack, not an airplane), the simple method is "crash-and-glide". Move directly towards your target, when you hit something, drag along it (yes, this looks dumb).

An advanced version is to do the same thing but trace out ahead of your AI a set number of units. When that trace hits an object, calculate a glide.

The best method is normally using way-points and path-finding (which isn't as bad as you may think).


Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Re: Suggestions? [Re: Doug] #189090
03/22/08 01:26
03/22/08 01:26
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Quote:

the simple method is "crash-and-glide"



This reminds me, that a bee and similar insects indeed bump into things sometimes.
Let them bounce, when they hit a surface, and let them trace for the target a short amount of time later.
Or, let them try to achieve the same height as the target first, if they hit the plate at its downside, let them bounce in a random direction for a very short time and fly up again. When they reached the height of the player/target, trace for the player.


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | 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