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 / Boxes Moving Along Waypoints

Author
Message
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 9th Mar 2007 03:28
How do you make a box entity move along a waypoint?

I've tried everything! I've tried different types of boxes, different sizes of waypoints, different AI Main scripts, different floor surfaces, but nothing!

So, I know it's possible, but how?

Need web design help with PHP or XHTML? E-mail me!
http://veron.sitesled.com Visit Veron! Free games, programs and applications! Made in DBPRO, FPSC, and C++!
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 9th Mar 2007 04:24
You need to give it some AI. You need to make a relative simple script for the box to make it do what you want when you want it to. The simpliest method I guess is to give it a player proximity command in script. i.e. plyrdistwithin=yourdistance.

Then you may need to activate it, if necessary using an object (can be invisible) as a trigger and utilise the activate if used functions of FPSC.

It can be a little tricky if you are new to this, but is not really hard to achieve and the excercise of getting it to work will teach you agreat deal about working with scripts/AI and FPSC. Well worth a little effort.

Study of any FPSC script for a door which opens relative to player proximity will show you how to do this.



"There are those who said this day would never come - What have they to say Now?"
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 9th Mar 2007 04:38
Ok, I'll give it a go, then. Thanks for such a quick reply, and your help, uman.

Need web design help with PHP or XHTML? E-mail me!
http://veron.sitesled.com Visit Veron! Free games, programs and applications! Made in DBPRO, FPSC, and C++!
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 12th Mar 2007 03:47
Hmm, i've given it a go, but nothing's happening still, does anybody here already have this type of script, because im sure somebody must.

All help is appreciated.

Need web design help with PHP or XHTML? E-mail me!
http://veron.sitesled.com Visit Veron! Free games, programs and applications! Made in DBPRO, FPSC, and C++!
The Hawkeye Guy
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: My Mind
Posted: 16th Mar 2007 23:42
Well what I did was made it into a charachter with no sounds, and followed a waypoint, unfortunatly I somehow lost the file, I think I might have deleted it because sometimes I would get errors, but you could try that.

Get out of my mind you 1337 h4x0r!
sgrunt
17
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 17th Mar 2007 13:06
You don't need to make it as a character.
set physics to "no" and the item will move along the waypoints.
I've tried with the humvee and it works, although the humvee seems to follow the waypoints with the...rear gear!

Login to post a reply

Server time is: 2024-11-23 12:09:37
Your offset time is: 2024-11-23 12:09:37