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 / HELP! Modify this FPSFREE.com AI Script.

Author
Message
Serious Sam P
16
Years of Service
User Offline
Joined: 6th Nov 2008
Location:
Posted: 22nd Nov 2008 15:40
Hi,
I have recently started scripting but could do with a little help here.


My problem is that I don't like the way he randomly rotates when he cannot see the player. Is there a way to make him walk down corridors etc rather than just randomly rotating often towards walls?

Thanks for any help,
Sam
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 23rd Nov 2008 00:55
Yes and no.

You can script it to make him follow nearby waypoints when he cannot see the player, but you cannot make him RECOGNISE corridors and follow them without waypoints.

To have him follow along ALL the corridors would require a lot of waypoints, but it's possible.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Killer666
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: Inside your Emails causing a VIRUS!
Posted: 24th Nov 2008 23:49
I have a good idea but Im not sure how to do it:

-Select you character that you want to be you AI.
-Give him a way point in the direction you want him to go.
-At the end of the waypoint make him stop and the use the script that make them shoot forward.
-Then when all enemys are dead move to another waypoint to the next place.

Could this be possible because if so easy and effective.

http://killer-fps.weebly.com

Login to post a reply

Server time is: 2024-11-24 16:24:17
Your offset time is: 2024-11-24 16:24:17