Digital Paint Discussion Board

Development => Mapping => Topic started by: jitspoe on June 29, 2005, 01:13:57 AM

Title: func_getoutofjail
Post by: jitspoe on June 29, 2005, 01:13:57 AM
This is an undocumented entity that I figured I should point out.  It's pretty straightforward. Make a brush entity with the classname func_getoutofjail.  If a jailed person touches it, he becomes a live player again.  You can also have a sound associated with an escape with the "noise" key, for example "noise" "player/wee.wav"

Useful for making jails with jumping puzzles that you can escape from, or even doing jailbreak style maps.
Title: Re: func_getoutofjail
Post by: jitspoe on June 29, 2005, 01:53:17 AM
Put together a sample map for it, too:

http://dpball.com/files/mapmaking/samples/func_getoutofjail.map
Title: Re: func_getoutofjail
Post by: Cobo on June 29, 2005, 11:21:06 AM
is there some way that instead of the eliminated person being the one that touches the button and gets out, the one that touches the button is a non-eliminated person and a eliminated person gets  out.
Title: Re: func_getoutofjail
Post by: jitspoe on June 29, 2005, 12:39:45 PM
It isn't a button.  It's an invisible trigger.  You could put it just outside of the door to the jail and have a button on the outside of the door that opens the door.
Title: Re: func_getoutofjail
Post by: RuiNeR on July 22, 2005, 02:59:15 PM
Jailbreak for Q2 was sweet, the Q3 version just never did it for me. Hell Q3 just sucked all together. A jailbreak map for dp would be cool. You could even make it so when a player is freed form jail, he still has to make it back to his base in order to be alive again..... So who's up for makin a map?
Title: Re: func_getoutofjail
Post by: jitspoe on July 22, 2005, 03:27:01 PM
Hmm, I'd have to make some team-specific func_getoutofjails then, but it could certainly be done.
Title: Re: func_getoutofjail
Post by: Eiii on July 22, 2005, 09:18:43 PM
Do it. NOW!!!!
:P

Also, make it so you can choose weather it'd be like he just respawned or if he's just back in play.
Title: Re: func_getoutofjail
Post by: RuiNeR on August 03, 2005, 02:28:36 PM
I started a crappy map to test this baby boy out. Only problem is there aren't team specific buttons (you can open your own jail and let the other team out), and if someone alive gets thier idiot self stuck in the jail the round won't end until people start respawning. I guess I could make the jail physically inaccessable to alive people..... Ill attatch the map later when im home.
Title: Re: func_getoutofjail
Post by: jitspoe on August 03, 2005, 02:36:28 PM
Team-specific buttons/doors shouldn't be too hard to do.  I should add that.  I think it's somewhere on my todo list already. ;)
Title: Re: func_getoutofjail
Post by: jitspoe on August 03, 2005, 04:36:32 PM
Done.
Title: Re: func_getoutofjail
Post by: SdC.Captin on August 03, 2005, 05:02:56 PM
where is the map cause that sounds sweet..>?
Title: Re: func_getoutofjail
Post by: loial21 on August 03, 2005, 07:19:38 PM
MAP!! MAP!!!
Title: Re: func_getoutofjail
Post by: Cobo on August 03, 2005, 09:12:50 PM
dont we need the entity for dp so we can play a map?
Title: Re: func_getoutofjail
Post by: RuiNeR on August 04, 2005, 09:27:54 AM
Does "done" mean it will be in the next build? That would be sweet..... I forgot to upload the map yesterday, I'll try to remember today after work.
Title: Re: func_getoutofjail
Post by: jitspoe on August 04, 2005, 12:13:27 PM
Well, it's done for func_door and func_button -- any other entities that should have it?  And yes, done means it will be in the next version.