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 / Hostage Script

Author
Message
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 17th Mar 2009 09:31 Edited at: 17th Mar 2009 18:59
OK guys, does anyone have a working or idea for a script that makes a player follow you and he will take dammage if you shoot him and if his health reaches 0 then it starts game over??? it doesnt matter if enemys kill him or not....

Is it then possible to have it so you cant complete the game until the hostage entres the same zone as you.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 18th Mar 2009 01:49
Why not just add "plraddhealth=-9999" to the hostages death script?


The one and only,


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 18th Mar 2009 09:31
OMG

That was really quite obvious!!!! (You are making it so the hostage has the same health as me right? Or is my scripting that bad?)

Do you think that it would be possible to display the hostages health in a hud beneath mine. I could make it so that the hostages health is half my own, then could you make it so that he takes the same dammage?
General Jackson
User Banned
Posted: 18th Mar 2009 22:56
no ur making it so when he dies, u die. u could make a script though where if u hoot him, u lose health too.

It is well that war is so terrible or we should grow too fond of it- Robert E Lee
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 18th Mar 2009 23:03
could i make a code that basically does this:

1) His halth is decreased every time yours is,
2) As your health increases his doesn't,
3) It displays his health beneath your own health.

On an off topic note, Jackson, i downloaded your optional weapon pick-up script and for some reason when ever i use it in test game all the writing is enlarged Just thought id mention it.
General Jackson
User Banned
Posted: 18th Mar 2009 23:11
i know about the weap pickup thing. if you make a text hud the debug text is the same as the hud text for some reason.
Yes its possible to make that script. if i get the time i think i'll try it (you'll have to make the hud images for me, cuz i wont)

It is well that war is so terrible or we should grow too fond of it- Robert E Lee
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 18th Mar 2009 23:59
Lol I will sometime but right now i need to think about this hostage script
General Jackson
User Banned
Posted: 19th Mar 2009 00:18
OK i decided i WILL have a shot at making the script. do you want him to follow the plr?

It is well that war is so terrible or we should grow too fond of it- Robert E Lee
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 19th Mar 2009 00:36
Well iv already downloaded a script that akes hm follow th player. Here it is:



Not all of the code works how it should do according to me. The guy said it should do loads more stuff but i just use it for following the player Ill mention your name in the credits of the game - That is if your successful
General Jackson
User Banned
Posted: 22nd Mar 2009 22:21
I'm working on the script and its coming along nicely. next friday i'm going to wisconsin, and since i have a laptop, i'm gonna be scripting the whole way up. So if you have any script requests, please post them here

It is well that war is so terrible or we should grow too fond of it- Robert E Lee
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 23rd Mar 2009 09:56 Edited at: 23rd Mar 2009 15:14
Erm I have loads mate

1) Weapon swapping, dont need to be able to pick up after dropping,
2) Limit ammo,
3) Max slots, assault, SMG, shotgun, melee (ect),
4) Any zombie models/scripts would be greatly appreciated,
5) A working allied script would rock!!!!
6) Any decent scripts that would improve game quality because i cant think of any right now
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 25th Mar 2009 18:31 Edited at: 28th Apr 2009 09:12
Thanks for the help guys, i think that i will be able to take it from here

Login to post a reply

Server time is: 2024-11-24 23:10:23
Your offset time is: 2024-11-24 23:10:23