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 / Free Halo life recharger for all!

Author
Message
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 17th Feb 2006 23:40 Edited at: 18th Feb 2006 00:10
I made a script that recharges your life after 8 seconds like the one in Halo and I am in a good mood right now so I decided to share it with you guys.



It is not perfect but im sure that merranvo or conjured can make it more effective if they want to. Just put it in a triggerzone.

Have fun!

-Half Death- A game like Half Life 2 in progress...
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 18th Feb 2006 00:13 Edited at: 18th Feb 2006 00:15
Im throwing in this too. Its a triggerzone script that will play up a heartbeat sound when you get hurt. It works quite well to the life recharger.



The sound is in the download.

Please put my name in your credits if you use these scripts, you dont have to but i would appreciate it.

Have fun!

-Half Death- A game like Half Life 2 in progress...

Attachments

Login to view attachments
Klick
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: ANGEL COMMANDing...
Posted: 18th Feb 2006 05:08
which part of the script can i change to make the script work even for enemies?
Eg. the trigger zone expands throughout the map, so enemies can redeem their health if the player runs out of bullets.

Thanks,
A.C.

[A]NJL`s [N]on-[G]oody-goody [E]xtermination [L]eague [C]arrying [O]ut [M]ass [M]urdering of [A]NJL`s [N]efarious [D]evotees -Essence of ANGEL COMMAND
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 18th Feb 2006 06:00
Thanks-these will come in handy for me. Can we use these in commercial games???

Support your local Riker 9 Chapter.
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 18th Feb 2006 10:04
@angel command

Sorry but that is not possible. At least not yet. I there was a entity ad health it would be possible but merranvo thought he gave cellblock some script for that so it would be possible with riker 9. You would change the "plrhealth" commands to "entityhealth".

@tom 0001

Of course!

Quote: "these will come in handy for me."


Yeah, i thought that.

-Half Death- A game like Half Life 2 in progress...
flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 18th Feb 2006 19:29
does this go in a trigger zone, i cant get it to work...

dont assume cause ull make an ass out of you and me!
Gamz
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: A bubble!
Posted: 18th Feb 2006 19:45
Quote: "Just put it in a triggerzone."


/.,.\-Meh? Everyone loves fat penguins!
((_ _)) Support your local Riker 9 Chapter.
flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 18th Feb 2006 21:35
but, it didnt work, i got under 100 health, and i didnt heal....

dont assume cause ull make an ass out of you and me!
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 18th Feb 2006 22:04 Edited at: 18th Feb 2006 22:05
Hmm, thats odd. Ive tried it many times and it always works for me. Does anyone else have this problem?

-Half Death- A game like Half Life 2 in progress...
Lizblizz
18
Years of Service
User Offline
Joined: 13th Dec 2005
Location:
Posted: 18th Feb 2006 22:16
hey annimatter do you have milkshapes? i like the script its great

Silent Hill
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 18th Feb 2006 22:22
I had the trial but its expired now. Thanks for the feedback.

-Half Death- A game like Half Life 2 in progress...
Lizblizz
18
Years of Service
User Offline
Joined: 13th Dec 2005
Location:
Posted: 18th Feb 2006 22:30
your welcome. i had a trial to it expierd as well i didnt under stand it at all is it easy for beginers or just hard.

Silent Hill
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 18th Feb 2006 22:37
Well i read a tutorial on [href]www.tutorials.com[/href]

-Half Death- A game like Half Life 2 in progress...
Lizblizz
18
Years of Service
User Offline
Joined: 13th Dec 2005
Location:
Posted: 18th Feb 2006 22:39
ooohh. i think ill just get milkshapes insted of 3d canvas

Silent Hill
himynameisali
20
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 19th Feb 2006 11:27
Ah! Nice This'll do well in my upcoming game if that's alright to use it? ...

Knock me down I'll get right back up again, Come back stronger than a powered up pacman...
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 19th Feb 2006 12:24
Yes of course its alright to use it, why do you think i gave it to you.

-Half Death- A game like Half Life 2 in progress...
himynameisali
20
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 19th Feb 2006 13:23
lol

oh by the way - where do you put the script so it'd work ?

Knock me down I'll get right back up again, Come back stronger than a powered up pacman...
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 19th Feb 2006 15:15
In a triggerzone.

-Half Death- A game like Half Life 2 in progress...
flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 21st Feb 2006 02:39
doesnt work...
i put in a hurt zone, and a trigger zone, thenm i put your script in trigger zone, then i testewd, trhe trigger zone did nothing...

dont assume cause ull make an ass out of you and me!
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 21st Feb 2006 02:59
The script adds health 8 seconds after youve lost health...are you sure yuo waited 8 seconds and got hurt?

-The Human Takeovers- Coming Summer 2006
flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 21st Feb 2006 03:27
ive waited 20? can you plz just takle me through what you need to do? i really need this.

dont assume cause ull make an ass out of you and me!
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 21st Feb 2006 11:37
OK, look at the picture and do like it shows.

-The Human Takeovers- Coming Summer 2006

Attachments

Login to view attachments
flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 21st Feb 2006 16:09
OH!!!!!!!!!!!!!!!! uh, i found out why it wasnt working, i acsidently saved as a .txt instead of .fpi!!!!!!!!!!! im so dumb, thanks alot for the help.

dont assume cause ull make an ass out of you and me!
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 22nd Feb 2006 01:35
Haha! Do you like it?

-The Human Takeovers- Coming Summer 2006
Lizblizz
18
Years of Service
User Offline
Joined: 13th Dec 2005
Location:
Posted: 22nd Feb 2006 01:46
i do! its great!

Silent Hill
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 22nd Feb 2006 02:43
Thanks!

-The Human Takeovers- Coming Summer 2006
Lizblizz
18
Years of Service
User Offline
Joined: 13th Dec 2005
Location:
Posted: 22nd Feb 2006 02:47
your welcome hey anitimatter do you know were i can purchase comercial or non-comercial music? man i so wish i can put a silent hill song in my game like that one die from part one thats was my favriot!!!!

Silent Hill
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 22nd Feb 2006 12:46
I dont know any. Try to search google for free commersial music.

-The Human Takeovers- Coming Summer 2006
Gamz
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: A bubble!
Posted: 22nd Feb 2006 21:49
does it add health after EVERY 8 seconds? because I'd like to use it in my game but it would be quite easy if it continuously recharged yur health every 8 seconds.

/.,.\-Meh? Everyone loves fat penguins!
((_ _)) Support your local Riker 9 Chapter.
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 22nd Feb 2006 21:51
It works like this: first you get hurt, then it takes 8 seconds and then it recharges 10 health every second. Of course you can change the timer so it takes longer for the health to charge.

-Dusk of the Dead- Coming Summer 2006
Gamz
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: A bubble!
Posted: 22nd Feb 2006 21:53 Edited at: 22nd Feb 2006 21:53
Wow thanks, what a quick reply!I usually wait hours or days

/.,.\-Meh? Everyone loves fat penguins!
((_ _)) Support your local Riker 9 Chapter.
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 22nd Feb 2006 22:51
Yeah im on vacation now and spend most of the time with the computer.

-Dusk of the Dead- Coming Summer 2006
Doctor Evil
18
Years of Service
User Offline
Joined: 29th Sep 2005
Location: California, USA.
Posted: 24th Feb 2006 08:33
Hey Lizblizz, did you get the one I sent ya?

Sledge Hammer's pick-up lines: Your ammo dump or mine? /I feel connected to you... by handcuffs. /Where have you been all my life? Incarcerated? /How about some fine wine and pork chops?
=ChrisB=
18
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: starring into a viewfinder
Posted: 24th Feb 2006 09:14
too bad ya cant get zones into MP, i'm doing a halo spinnoff.
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 24th Feb 2006 12:51
Yeah, maybe another upgrade question.

-Stavros the Zombie Slayer- Coming Summer 2006
Les Horribres
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 24th Feb 2006 21:10 Edited at: 24th Feb 2006 21:12
FYI:
As you get further away from the triggerzone, the script speed decreases... thus, a small entity using the "followplr" (i think that is it) would be better.
I haven't checked that for triggerzones, but I believe it will follow the same process, easier for tgc just to call the zone an entity.

Also, you have a small error in your script
:state=1,timergreater=8000,plrhealthless=100:,sound=audiobankitemshealthup.wav,plraddhealth=10,state=2

The comma after the : in particular... just pointing it out.

And as a notice, you don't really need to heal the plr for 10 states, you can just have it loop a single state like so

:state=2,timergreater=1000,plrhealthless=100:plraddhealth=10,timerstart


Nice job though... it is nice to see people contributing more then ideas.
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 25th Feb 2006 01:57
Thanks for helping and for feedback.

-Stavros the Zombie Slayer- Coming Summer 2006
Lizblizz
18
Years of Service
User Offline
Joined: 13th Dec 2005
Location:
Posted: 25th Feb 2006 02:10
Hey antimatter there is this free model of some needels you should check it out it would be good of that injecting thing remember!

Silent Hill
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 25th Feb 2006 11:14
Yeah maybe i can use them in some way.

-Stavros the Zombie Slayer- Coming Summer 2006
=ChrisB=
18
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: starring into a viewfinder
Posted: 26th Feb 2006 00:28
Use a dds file with all alpha and transparincy set to, mmmmmm, 1.
Halfling 990
18
Years of Service
User Offline
Joined: 17th Apr 2006
Location: Planet Udigidi
Posted: 26th Apr 2006 16:26
ummm late post but ... is there a way u can show something happening like in halo
say like blue lights surround him or a small yellow grid appears arround him... btw it works great
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 26th Apr 2006 18:50 Edited at: 26th Apr 2006 22:20
The decal=x command doesnt work as it should, but you could use a sprite(theres some really good sprite pack coming up soon. check the media section.).This will not follow you as fast as the player is running so it will not look like Halo but its something. Make it a character by adding character=1 in the fpe and attach this script:



EDIT: I changed the code a little so it works better. And also, I tested this code so forget about the flashlight incident.

K Jah
18
Years of Service
User Offline
Joined: 13th Jun 2005
Location: UK
Posted: 28th Apr 2006 18:55
V late post, do you mind if I mirror this on my website:
http://kwgamestudios.proboards62.com

brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 28th Apr 2006 23:01
Yeah you can do that, i would like to have the credits too!

K Jah
18
Years of Service
User Offline
Joined: 13th Jun 2005
Location: UK
Posted: 30th Apr 2006 01:40
Mallex
18
Years of Service
User Offline
Joined: 11th Jul 2005
Location: Sweden
Posted: 8th May 2006 19:21
Were shoud i put the sound file?
300 win mag
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: USA
Posted: 9th May 2006 04:32
you put it in the sound of a trigger zone P.S the script is cooler than a three doller bill

TAKEN a gane like pray in the making
Rick M
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Behind Bars
Posted: 13th May 2006 05:24
I made a script that recharges your life after 8 seconds like the one in Halo and I am in a good mood right now so I decided to share it with you guys.

+ Code Snippet

.::Scripted by Antimatter Games::.

;Artificial Intelligence Script

;Header

desc = Add health to player if health is low

;Triggers

:state=0,plrhealthless=100:timerstart,state=1
:state=1,timergreater=8000,plrhealthless=100:,sound=audiobank\items\healthup.wav,plraddhealth=10,state=2
:state=2,timergreater=9000,plrhealthless=100:plraddhealth=10,state=3
:state=3,timergreater=10000,plrhealthless=100:plraddhealth=10,state=4
:state=4,timergreater=11000,plrhealthless=100:plraddhealth=10,state=5
:state=5,timergreater=12000,plrhealthless=100:plraddhealth=10,state=6
:state=6,timergreater=13000,plrhealthless=100:plraddhealth=10,state=7
:state=7,timergreater=14000,plrhealthless=100:plraddhealth=10,state=8
:state=8,timergreater=15000,plrhealthless=100:plraddhealth=10,state=9
:state=9,timergreater=16000,plrhealthless=100:plraddhealth=10,state=10
:state=10,timergreater=17000,plrhealthless=100:plraddhealth=10,state=11
:state=11,plrhealthless=110:timerstart,state=0
:plrhealthless=5,timergreater=5000:state=0

.::Scripted by Antimatter Games::.



It is not perfect but im sure that merranvo or conjured can make it more effective if they want to. Just put it in a triggerzone.

Have fun!

-Half Death- A game like Half Life 2 in progress...
Back to top

can someone attatch it to an object, like heath, instead of a triggerzone, and please post it....if this is possible....

In Russia, Zombie Shoots You!

Login to post a reply

Server time is: 2024-05-04 20:28:39
Your offset time is: 2024-05-04 20:28:39