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.

Author
Message
Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 11th Nov 2007 12:15
Is there anyway to make it so that when my player touches the ww2 lava, he is killed instantly? Hurt zones take ages...

I am The Master. You will obey me!
Roger Wilco
19
Years of Service
User Offline
Joined: 6th Jul 2005
Location: In the Shadow of Chernobyl
Posted: 11th Nov 2007 12:18
Duplicate the hurt-zone script and change the copy to addplrhealth=-1000 or something like that. Unless your character has a thousand hit-points, it should be killed instantly.
smiley
17
Years of Service
User Offline
Joined: 16th Feb 2007
Location:
Posted: 11th Nov 2007 12:20 Edited at: 11th Nov 2007 12:21
you do know that you can drag hurt zones insed of making lots of small ones if you dont know that then i sugest that you take a look on the fpscreator website and look at all the tutorials you should learn alot i know i did (they are vid tutorials which are so much better, for me any way)

wups didnt c the post above myn anyway what i sed should still be usful

http://www.ocgames.tk
(sight in development games coming soon)
X Games
17
Years of Service
User Offline
Joined: 8th May 2007
Location: World Wide Web
Posted: 11th Nov 2007 12:31
Roger Wilco got it, just make it stronger!


Coming Soon!
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 11th Nov 2007 12:48
This is what I use:



"he is coming!..." - WIP in 'Showcase'
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 11th Nov 2007 13:48
i set the plraddhealth to -50, kills em within 3 seconds, useful to emulate a ferocious fire or something like that

You can tell i'm an old-school gamer, right?
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 11th Nov 2007 14:33
I use mine for falling into a pit of, say lava or spikes.

"he is coming!..." - WIP in 'Showcase'
KeithC
Senior Moderator
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location: Michigan
Posted: 11th Nov 2007 14:39
Better than my solution for my old Maze Levels. I just gave the player an initial 5 hit points; so when they fell on the spikes, or jumped from an unreasonably high height....they died instantly.

-Keith

Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 1st Dec 2007 11:32
Thanks i used that code snippet, works perfectly

I am The Master. You will obey me!
Goodman84
17
Years of Service
User Offline
Joined: 23rd May 2007
Location:
Posted: 1st Dec 2007 16:40
I just realized this is in the wrong section. No offense but next time I would place something like this in scripts!

hey

Login to post a reply

Server time is: 2024-11-19 22:31:48
Your offset time is: 2024-11-19 22:31:48