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 to kill a enemy with headshot

Author
Message
Help ME ! ! !
15
Years of Service
User Offline
Joined: 29th May 2009
Location:
Posted: 27th Jan 2010 17:06
again i need some help guys...please give me some code that kill enemy with head-shot.thats mean when player shoot enemy on head enemy'll be kill instantly but if player shoot on player body part it'll damage normaly.
TerrorNation
14
Years of Service
User Offline
Joined: 18th Dec 2009
Location:
Posted: 27th Jan 2010 20:32 Edited at: 27th Jan 2010 20:33
headshot=1, headshotdamage=x (x being your enemy's health so it kills them instantly)
put that in the enemy's appear script
Help ME ! ! !
15
Years of Service
User Offline
Joined: 29th May 2009
Location:
Posted: 27th Jan 2010 20:50
great..thank u so much TerrorNation..i'll put that and do test.
TerrorNation
14
Years of Service
User Offline
Joined: 18th Dec 2009
Location:
Posted: 27th Jan 2010 21:48
No problem! Did it work?
Help ME ! ! !
15
Years of Service
User Offline
Joined: 29th May 2009
Location:
Posted: 27th Jan 2010 22:09
no actually..can u please make a simple fpi script.
rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 27th Jan 2010 22:22
Simply add this line to the start of your characters .fpi
:state=0:setalphafade=100,headshot=60

=60 is the height of your character head, this can be adjusted to suit.

Make sure you are using a recent update for FPSC. This isnt in older versions.
Help ME ! ! !
15
Years of Service
User Offline
Joined: 29th May 2009
Location:
Posted: 27th Jan 2010 22:48
actually i think it is posible in 1.8 version also.
please see this
http://www.youtube.com/watch?v=qxW_KOoHLOo
Help ME ! ! !
15
Years of Service
User Offline
Joined: 29th May 2009
Location:
Posted: 27th Jan 2010 23:11
yesssss..at last it worked:
ambideXter
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location: The Netherlands
Posted: 9th Feb 2010 14:15
yes works like a charm. n1.
since you seem to know how to use it, may i ask, how do we change the damage received from a headshot (i ask because, if you would make a end-of-level-kinda-boss, and you would give him health of say,350, but a single shot to the head would kill him you'd have a crappy boss. also, i understand you can use a default script, but that would not be very tactical, or consistent now would it?
any idea how to tackle this problem?

Help ME ! ! !
15
Years of Service
User Offline
Joined: 29th May 2009
Location:
Posted: 9th Feb 2010 15:16
yeah.,..actually if u'll see that script u'll see there is a code 'headshotdamage=xxxx'..so u can choosse what u want from that.
biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 6th Jun 2010 00:52
this is so awesome I will defently use this

don't ask untill tried everything
s0d3rb3rg
14
Years of Service
User Offline
Joined: 13th Jun 2010
Location: In your computarz
Posted: 14th Jun 2010 13:31
there is a headshot script by default in the scriptbank folder its called appearwithheadshot.fpi

<a href="http://live.xbox.com/member/s0d3rb3rg"><img src="http://www.glop.org/gamercard/card/s0d3rb3rg.png"

Login to post a reply

Server time is: 2024-11-24 23:50:29
Your offset time is: 2024-11-24 23:50:29