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 / call of duty cod health hud script

Author
Message
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 20th Sep 2011 17:27 Edited at: 2nd Jul 2013 02:12
Put these scripts into trigger zones that are inaccessible to the player:

Each script works on it's own
Example 1: using only script 1 your health will go down and HUDs will correspond
Example 2: using only script 2 your health will regen but no huds will be shown
Example 3: using only 1 and 2 your health will be closely similar to the Call of Duty health system

Some of these scripts require FPSC V1.19 or higher which you can get here: FPS Creator Files Download Page

As of July 1st, 2013, I have decided to Refine the scripts and put them all into a convenient package which you can download here:

Convenient Package



First bit of code (Requires v1.17+ and HUD pack linked below)
used for HUD management


HUD pack: http://www.mediafire.com/?nlxzt5g4kjo4eqv

Second bit of code (Requires v1.17+)
used for regen



Third bit of code (requires v119) 12/11/11
handles bond1 blurring while health is below 50



Fourth bit of code (requires v119) 12/11/11
Wobbles the camera while health is below 25



Fifth bit of code (requires v117+ and hide HUD pack linked below) 12/26/11
shows the text "YOU ARE HURT. FIND COVER" in red stencil standard font



hide HUD pack: http://www.mediafire.com/?lb1e5547dlu91dd
place in the same folder as the other huds

Remember: each bit of code (due to using states like this) needs it's own trigger zone


Put the huds "hurt1-10, and "bloodscreen3-7" into "Files\gamecore\huds\CODHud"

then put the eyehud into "Files\gamecore\huds" or just replace the eyehud with a transparent image (preferrable)

I might improve this in the future with smoother animations and stuff.

Thanks to Bibo4pc for making the original hud for this
Thanks to bond1 for making the shaders
and of course, Thanks to everyone involved in the integration of WASPmod into FPSC vanilla, your efforts have made FPSC far more versatile than ever before.

http://www.youtube.com/watch?v=AfFa6uPv_8o
I appear to have burst into flames...
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 22nd Sep 2011 18:02 Edited at: 28th Dec 2011 20:55
alternative scripts:

Regen requires stimpaks script:
(replace script #2)



stimpak item script:


I appear to have burst into flames...
szempek555
13
Years of Service
User Offline
Joined: 9th Apr 2011
Location:
Posted: 24th Sep 2011 23:12
Thank you for the script I'm using it in my game it's very cool.
Section 812
16
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 25th Sep 2011 06:13
just tried it out. nice work.
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 27th Sep 2011 07:35
I updated this, if anyone is interested

I appear to have burst into flames...
Help bugs!
15
Years of Service
User Offline
Joined: 1st Sep 2009
Location:
Posted: 3rd Oct 2011 09:57
Going to test this out now

Cross Hair Games
15
Years of Service
User Offline
Joined: 26th Jan 2009
Location: Canada Eh\'
Posted: 10th Dec 2011 06:59
How fast does this regenerate the players health? And is it very difficult to make? I'm thinking of making a pack with different speeds and HUD types for different game types. It looks as though the main parts to it are the first where it initiat's all the HUD's, and hides them. Then the second is just an animated progression of blood splattering? And the third is the main part where the health is winding down. And the last is when the player dies so it initiat's a death animated HUD. Is this correct? If so then I don't understand this line in the dead animation:

Is this so that when the player respawns it removes the death HUD? Thanks for your help

angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 10th Dec 2011 18:26
on death it removes all of the huds and after fully regenerating to 100hp it removes all of the huds, that's what all the hudunshow's are
I put all of them there just to make sure that none of the huds will be there if the player suddenly jumps to 100hp for some reason

I appear to have burst into flames...
Cross Hair Games
15
Years of Service
User Offline
Joined: 26th Jan 2009
Location: Canada Eh\'
Posted: 10th Dec 2011 20:24
Ohk cool, would I be able to base my scripts off yours or use yours as a template? I'd give you full credit

angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 11th Dec 2011 02:42
of course, remember to give credit to Bibo4pc for the huds if you use them too!

I appear to have burst into flames...
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 11th Dec 2011 18:01 Edited at: 15th Dec 2011 02:56
updated scripts for 1.19 beta

I appear to have burst into flames...
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 15th Dec 2011 03:24


button heal, replace regen bit with this to heal with a button press (great for testing)

I appear to have burst into flames...
NIlooc223
14
Years of Service
User Offline
Joined: 27th Aug 2010
Location: Heaven
Posted: 26th Dec 2011 21:21 Edited at: 26th Dec 2011 22:09
Hey I keep getting an error when using the blur below 50 health...

please help me figure out the problem... im running on V119 newest beta version

EDIT: fixed it

Your signature has been erased by a mod - no affiliate links thanks
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 27th Dec 2011 06:25
please post your solution so that others can solve the problem if they have it Thank you for using!

I appear to have burst into flames...
z0mbie6amer
12
Years of Service
User Offline
Joined: 2nd Jan 2012
Location:
Posted: 3rd Jan 2012 00:04
Sorry Im new to FPSC but can someone tell me where I put the scripts?

IDK what to put here! LOL
z0mbie6amer
12
Years of Service
User Offline
Joined: 2nd Jan 2012
Location:
Posted: 3rd Jan 2012 00:05
I am new.

IDK what to put here! LOL
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 3rd Jan 2012 15:18
you put each of them in their own .txt files and save them as healthhud1.fpi, healthhud2.fpi etc

I appear to have burst into flames...
z0mbie6amer
12
Years of Service
User Offline
Joined: 2nd Jan 2012
Location:
Posted: 3rd Jan 2012 16:29
I thought that much, but then do you put them in as a trigger?

IDK what to put here! LOL
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 3rd Jan 2012 23:38
you put them in trigger zones where the player will not step into them

I appear to have burst into flames...
z0mbie6amer
12
Years of Service
User Offline
Joined: 2nd Jan 2012
Location:
Posted: 4th Jan 2012 13:26
Thanks, kind of figured that out too.

IDK what to put here! LOL
Shooter4313
13
Years of Service
User Offline
Joined: 26th Sep 2011
Location: Latvia
Posted: 6th Jan 2012 08:57
Ermmm... I got a problem. For me, only first 2 scripts work! Others won't work. I am using v1.18. Any help?

Need WW2 Models!
z0mbie6amer
12
Years of Service
User Offline
Joined: 2nd Jan 2012
Location:
Posted: 6th Jan 2012 13:36
I got the same problem to.


IDK what to put here! LOL
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 6th Jan 2012 23:58 Edited at: 7th Jan 2012 19:10
It says right on them
"Third section of code (requires v119) *NEW 12/11/11"

it requires the 1.19 beta which you can get here:
http://forum.thegamecreators.com/?m=forum_view&t=191591&b=21

I'll put that in bold from now on

hope that helps : )

I appear to have burst into flames...
washburnrover
13
Years of Service
User Offline
Joined: 4th Oct 2011
Location:
Posted: 6th Mar 2012 09:01
is there a way to run this in the setuplevel.fpi using runfpi=x

I'd like to skip over the posteffects because i'm already using those for visual effect, and I'd like health regen for multiplayer... soooo
thanks in advance

That Big Idea guy that can't find the time...
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 8th Mar 2012 17:01
It sounds possible, but you'd just have to try it to know, using custom scripts in multiplayer was a bit difficult the last time I tried, but you may be onto something with this setuplevel.fpi thing

I appear to have burst into flames...

Login to post a reply

Server time is: 2024-11-24 02:37:56
Your offset time is: 2024-11-24 02:37:56