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 / Regenerative health

Author
Message
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 14th Mar 2009 20:10
Ok, i have searched the forums, but i havent found what i want

So can someone help me with a script to regenerate health, without any hud like call of duty or anithyng like that, just regenerate health

So whrn you are hurt it regenerates 5 health every 2 seconds until health is complete

Hope you can help me, good luck

Just me and a friend tring to do a game deploment team i am the one who creates the levels and he creates the history
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 14th Mar 2009 20:16
Search God Mode or find it in the Community Guide. You should easily be able to adjust that script to do what you want.

Best.

Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 14th Mar 2009 20:17 Edited at: 14th Mar 2009 20:18


Apply to a trigger zone somewhere in the level. This is un-tested, but should work. You may need to modify the plrhealthless, plrhealthgreater, and plrsethealth commands to accomidate for your maximum health; set them to the player's maximum health.

Best,
Crusader2

Some people say that I'm crazy... And I agree.
USE PLY'S MOD!
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 14th Mar 2009 20:48
ok, thanks, but can i use it on multiplayer, i know i cant use scripts on multiplayer, but a trigger zone can i put it on multiplayer?

Just me and a friend tring to do a game deploment team i am the one who creates the levels and he creates the history
Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 14th Mar 2009 20:50
No; all entities besides the characters that the players use and weapons are forced to be static, and any scripts applied to them will not run.

Some people say that I'm crazy... And I agree.
USE PLY'S MOD!
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 14th Mar 2009 21:05
ohh,
if i apply them on a weapon that a player cant pick up¿

Just me and a friend tring to do a game deploment team i am the one who creates the levels and he creates the history
Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 14th Mar 2009 21:13
No.

Some people say that I'm crazy... And I agree.
USE PLY'S MOD!
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 14th Mar 2009 21:18
ohh, great, thanks anyway

And a flashing light like fire effect or a bad light ?

Just me and a friend tring to do a game deploment team i am the one who creates the levels and he creates the history
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 16th Mar 2009 17:55 Edited at: 16th Mar 2009 17:58
Quote: "if i apply them on a weapon that a player cant pick up¿"


...actually, I believe this is totally possible:



I haven't tested it, but I'm confident that it should work. Could someone please take it for a test drive, and confirm?


Attachments

Login to view attachments
Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 16th Mar 2009 18:00
Hm... Maybe it will.

Some people say that I'm crazy... And I agree.
USE PLY'S MOD!
Wazoo117
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location: Coarsegold, CA
Posted: 8th Jul 2009 06:30
I have AWESOME news....


I WORKS!!!!

Seth you are amazing!!!!

"There are very few problems in life that cannot be solved by the proper application of high explosives"
Wazoo117
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location: Coarsegold, CA
Posted: 8th Jul 2009 06:40
Now if only I could get one weapon to cover the entire map.....

(It seems that plrdistancewithin=40 only works)

"There are very few problems in life that cannot be solved by the proper application of high explosives"
Wazoo117
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location: Coarsegold, CA
Posted: 8th Jul 2009 08:25 Edited at: 8th Jul 2009 08:27
Ok, I might have jumped the gun (no pun intended) because of my excitement.

When you go to pickup the weapon, it doesn't continually give you health, it only gives you health when you get close to it, and stops when you get too far away from it (the weapon).

So now if we could get the plrdiswithin to a large enough number to cover the entire map, then we would be ready for some fraggin'!

(COD4 Status, of course )

"There are very few problems in life that cannot be solved by the proper application of high explosives"
Wazoo117
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location: Coarsegold, CA
Posted: 8th Jul 2009 23:51
bump

"There are very few problems in life that cannot be solved by the proper application of high explosives"

Login to post a reply

Server time is: 2024-11-25 03:31:46
Your offset time is: 2024-11-25 03:31:46