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 / [LOCKED] Chase10 AI script problem

Author
Message
Camm
17
Years of Service
User Offline
Joined: 20th Oct 2007
Location:
Posted: 24th Oct 2007 01:05
I have been using the Chase10 and shootclose10 AI scripts that come with FPSC for enemies.

The script works well, but sometimes when the enemies is far away and running towards me, they run on the spot and do not move. If I then get closer they run normally again.

Do all the standard AI scripts do this, and can you let me know what standard scripts do not do this, or point me in the direction of some good AI scripts that are similar without this problem.

Thankyou
Camm
17
Years of Service
User Offline
Joined: 20th Oct 2007
Location:
Posted: 24th Oct 2007 02:20
Infact it doesn't seem to matter what standard AI script I use, the enemies have regular problems with running on the spot. They should be running towards me but they are just running but not moving.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 24th Oct 2007 02:52
If I had to guess, I'd say in the chase10.fpi script, these two lines may be causing trouble with each other:



If the player were to be between 100 and 400 units from the enemy, the enemy is being told to movetotarget as well as freeze, so that's causing some contradiction.

You may be better off making your own AI, or finding a better one, I've seen people post some pretty good AI on this board, perhaps you could search for one.


The one and only,
~PlystirE~

Dammit, Jim! I'm a programmer not a graphic designer!!!

(P)suedo code (L)inguist, (Y)ou (Sti)ll (R)eap (E)verything
Camm
17
Years of Service
User Offline
Joined: 20th Oct 2007
Location:
Posted: 24th Oct 2007 07:16
Solved!! I had a similar problem with my Waypoint, the enemies kept walking on the spot.

So I raised the enemies up a fraction in the entity editor (page up) and the enemies stopped running and walking on the spot.

Problem solved.

Login to post a reply

Server time is: 2024-11-24 00:01:41
Your offset time is: 2024-11-24 00:01:41