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 / How would one code this enemy?

Author
Message
Mynx
17
Years of Service
User Offline
Joined: 17th Jun 2007
Location:
Posted: 21st Mar 2009 18:49
I wanted to make an enemy that was tall, had unlimited health, could kill you in one hit, would slowly lumber towards you, and, when shot, stumble backwards slightly.
Arachnos
15
Years of Service
User Offline
Joined: 20th Mar 2009
Location:
Posted: 21st Mar 2009 21:22
Ok, i know i might be rude and brutal but, What the bloody hell are you talking about? First You would need base animations for it like walk,or run but in your case stumble,lumber. the heigth has nothin to do with the script, and all you really need is:

1: the model
2: correct programs
3: basic knowledge of c++ or other programming codes
4: and animations

note: when you use a npc maker it automatically generates a code which you can edit.

-sincerely arachnos

--Low Budget Signature--
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 21st Mar 2009 23:48
Quote: "tall"


Model it to be tall.

Quote: "had unlimited health"


use "entityaddhealth=9999" in it's script

Quote: "could kill you in one hit"


If the player is close, animate it to attack, when frame reaches point of dealing damage use "plraddhealth=-9999"

Quote: "would slowly lumber towards you"


Difficult to do a "slow" walk in FPSC, since Lee hardcoded how fast they move. Just use "movefore"

Quote: "when shot, stumble backwards slightly"


"shotdamage=1" and then "moveback"


There, I've told you how one would go about coding it. Now go about coding it.


The one and only,


Login to post a reply

Server time is: 2024-11-24 21:24:57
Your offset time is: 2024-11-24 21:24:57