Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Simulate bots using Waypoints

Author
Message
GLI Games
17
Years of Service
User Offline
Joined: 12th Mar 2007
Location: Fontana CA
Posted: 3rd Mar 2008 09:20
is it possible to simulate bots using waypoints? Basically, I wanna make the enemies follow waypoints and when the player is in range, fire at him. Is this possible?

Visit us on the web at http://www.gli-games.co.nr/

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 4th Mar 2008 10:28
Is this supposed to be for a multiplayer game?

If so, then no. Scripts don't work in multiplayer.


If it's for single player, then that's exactly how the AI works. So, yes.


The one and only,
~PlystirE~

GLI Games
17
Years of Service
User Offline
Joined: 12th Mar 2007
Location: Fontana CA
Posted: 4th Mar 2008 16:50 Edited at: 4th Mar 2008 16:50
Yes it is for singleplayer, so thanks for the confirmation!!!

Can I make an enemie follow a series of Waypoints or is it just from One to another with a total of 2 waypoints?

Visit us on the web at http://www.gli-games.co.nr/

Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 4th Mar 2008 18:03
I recommend Airslide's AI, The stock AI doesn't always follow waypoints for me. Yes, the AI can follow a series of waypoints.


Image made by the overworked Biggadd.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 8th Mar 2008 00:16
Hallo GLI Games...of course you can do something like that...and not only 2 waypoint but thousands... try this piece of code and approach your player to yellow one...

cheers.



oh my god
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 8th Mar 2008 00:56
@Chafari

What? That's DBP not FPI!

chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 8th Mar 2008 01:10
Sorry...I made a mess myself...

oh my god
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 8th Mar 2008 01:23
Lol....It happens.....

Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 8th Mar 2008 04:11
Quote: "I recommend Airslide's AI"


Awesome, people recognizing its existence

Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 8th Mar 2008 04:25
Quote: "Awesome, people recognizing its existence "

It's the only AI with reliable waypoint usage!


Image made by the overworked Biggadd.

Login to post a reply

Server time is: 2024-11-24 06:42:44
Your offset time is: 2024-11-24 06:42:44