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 with zombie waypoint script please

Author
Message
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 20th May 2009 20:35 Edited at: 20th May 2009 23:03
(EDIT)

IGNORE THIS I GOT IT WORKING

I adress this to all of you. no one is safe.
Tim is watching.
he wants your cake.
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 20th May 2009 22:04
oooh, and also, if i wanted to run the zombie surgeon script with the command runfpi=, what would i have to type?
(it's in scriptbank people)

I adress this to all of you. no one is safe.
Tim is watching.
he wants your cake.
Nomad Soul
Moderator
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location: United Kingdom
Posted: 20th May 2009 23:15
Hi shadowfire

Glad you got it working but its useful if you add an edit comment rather than deleting the original post as other people wont be able to learn from it.
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 21st May 2009 18:20
ok, sorry.

Anyway, i have created a script for the zombie surgeon to follow waypoints.

basically, it follows a waypoint around until it sees you, then it follows you and attacks you until it dies.
it's perfect for c0d5 style zombie games

Quote: "desc = Hunt And Pace Waypoints

;Triggers

:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointstop,state=3
:waypointstate=999:animate=2,waypointstop,state=5
:nearactivatable=0:settarget,activatetarget=2,animate=1,state=0

:state=0:state=1
:state=1,plrcanbeseen:settarget,state=2

:state=1,noiseheard=5:rotateheadrandom=85

:state=2:state=3
:state=3:waypointstop,state=5

:state=4,plrcanbeseen=3000:settarget,state=2

:state=5,plrdistwithin=3000:state=6
:state=6,plrdistfurther=40:rotatetoplr,movefore=2,animate=2
:state=6,plrdistfurther=3000:animate=1,state=5
:state=6,plrdistwithin=40,rateoffire:rotatetoplr,animate=92,plraddhealth=-20
:state=6,shotdamage=1:,state=7
:state=7,plrdistwithin=3000:state=8
:state=8,plrdistfurther=40:rotatetoplr,movefore=2,animate=2
:state=8,plrdistfurther=3000:animate=1,state=7
:state=8,plrdistwithin=40,rateoffire:rotatetoplr,animate=92,plraddhealth=-20

;End of Script


"


I adress this to all of you. no one is safe.
Tim is watching.
he wants your cake.

Login to post a reply

Server time is: 2024-11-25 01:57:37
Your offset time is: 2024-11-25 01:57:37