Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
friendly AI player #11785
02/07/03 22:29
02/07/03 22:29

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



not getting much more help on beginners topics, decided to try here. Does anyone, ANYONE, know of a script or tell me how to modify an EXISTING script so that I can have a friendly AI player that follows the player around and attacks enemies. It doesn't have to throw grenades, run away, etc, just follow and shoot. PLEASE! Thanks

Re: friendly AI player #11786
02/08/03 05:19
02/08/03 05:19
Joined: Apr 2002
Posts: 1,927
photon_ Offline
Expert
photon_  Offline
Expert

Joined: Apr 2002
Posts: 1,927
Why dont you take the manual an try to write the code by yourself? its not that difficult and with not too much WORK you should come to an good result....

Sorry but if you want to make a game you have to work for, not to let work for.....

Re: friendly AI player #11787
02/08/03 08:20
02/08/03 08:20

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I have been trying to write one, and it still doesn't work, don't think I'm lazy it's just that I've spent the past MONTH trying to get it to work. I know I've got to try to combine the ACTOR_FOLLOW script with a few TRACE commands and use IF to evaluate the response but I can't get anything to work.

Re: friendly AI player #11788
02/08/03 09:03
02/08/03 09:03
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
I don't think you are lazy but you are underestimating the work required to create even a simple AI.

Looking for an example from somebody else is a good idea (do a search, I think there was one floating around a while back). You should also take a good long look at the tutorial in the user manual. It has a simple enemy AI example. Once you figure out how the enemy AI works (preferably by writing your own) then you should be able to modify it to fight for the player.

Programming AI is not easy, but it can be very rewarding. Good luck.


Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Re: friendly AI player #11789
02/08/03 15:10
02/08/03 15:10

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Thanks Doug.

I tried an AI tutorial and got errors, ent_cycle was mucking up the animation and nothing would work.

I'm trying to combine the FlyingSword script (from Acknex Mag) and ACTOR_FOLLOW to get that to work.

Everyone keeps saying that this is easy to program but I don't see how it's so easy...

Re: friendly AI player #11790
02/09/03 23:58
02/09/03 23:58

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



man, don't use scripts pre-fabricated, write all script that you will use..its betther and allow you control much better your game.


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