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 / Better AI for Ralfys Large Spiders

Author
Message
wayne davis rocks
16
Years of Service
User Offline
Joined: 10th May 2008
Location: US Liberty In
Posted: 20th May 2008 15:33
The script below will add more realistic features to the awsome spiders in the Ralfys spider pack 1st no more getting pushed through walls, 2nd spiders only bite when they get right up to you and they go into a pulsing animation instead of walking, 3rd after you run away a certain distance they stop chasing you and go back to waiting for your return instead of constantly walking......no offense intended on the original script this is my first attempt at any scripting though I have tested it for many hours before posting with perfect results everytime, if you find any bugs please let me know......Mass props to everybody who had anything to do with the Ralfys Spider pack and thanks again for the spiders they scare the hell out of everybody....lol






desc = Spider is calm then within range chace/attacks then backs off and
calms back down after you get a certain distance away
also can only bite when it is right up on top of you


;Triggers


:state=0,plrdistwithin=250:state=1
:state=1,plrdistfurther=90:rotatetoplr,movefore=10,animate=1
:state=1,plrdistfurther=250:animate=0,state=0
:state=1,plrdistwithin=90,rateoffire:rotatetoplr,state=2
:state=2,framebeyond=8 60,plrdistwithin=90:animate=0,plraddhealth=-10,sound=audiobank\misc\bite.wav,state=3
:state=2:incframe=8,rotatetoplr
:state=2,frameatend=8:state=1
:state=3:incframe=8
:state=3,frameatend=8:state=1

Wayne Davis Band
rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 21st May 2008 00:07 Edited at: 21st May 2008 00:11
Oh I got no problem with this at all
I very much doubt Butterfingers or Benjamin got any worries either this was a free pack and any additions are welcome.
In fact I re-wrote the spider script in a similar way for Eldora,nice work.
wayne davis rocks
16
Years of Service
User Offline
Joined: 10th May 2008
Location: US Liberty In
Posted: 21st May 2008 09:33
Thanks Bloodhound 2 for the concern and to Ralfy, Butterfingers and Benjamin for the awsome models and cool animations I hope this works out for some of you as I am new to Scripting very new this is my first script please comment to let me know how well it worked out for you as I have noticed some variances in fpsc sometimes the enemy walks to the door sometimes he just stands there go figure oh well just got 1.09 and am having fun with all the new stuff thanks again for an awsome model to do my first script for ........

Wayne Davis Band

Login to post a reply

Server time is: 2024-11-24 08:44:27
Your offset time is: 2024-11-24 08:44:27