It there any way to resurrect player w/o respawning?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
Falcor
Posts: 16
Joined: Tue Jan 05, 2010 4:47 am

It there any way to resurrect player w/o respawning?

Post by Falcor »

Subject. I tried a lot, but I still didn't do that. Is that possible?
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: It there any way to resurrect player w/o respawning?

Post by XutaWoo »

No.

Well, I've never testing giving the player a Raise state and using Thing_Raise, but in all likelihood it'd do nothing save creating a meatshield best case scenario or cause bugs that cause the engine to shit itself in the worst case.
Falcor
Posts: 16
Joined: Tue Jan 05, 2010 4:47 am

Re: It there any way to resurrect player w/o respawning?

Post by Falcor »

Hmmm... maybe I can prevent dropping player's HP down to zero?
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: It there any way to resurrect player w/o respawning?

Post by NeuralStunner »

Falcor wrote:Hmmm... maybe I can prevent dropping player's HP down to zero?
[wiki]SetPlayerProperty[/wiki], PROP_Buddha.
User avatar
SFJake
Posts: 531
Joined: Sat Nov 03, 2007 11:28 am

Re: It there any way to resurrect player w/o respawning?

Post by SFJake »

The console does have a resurrect command... and it does work, but I've heard before it had.. hum... potential problems. To me this indicate resurrecting the player is already possible, just not the wisest thing to do.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: It there any way to resurrect player w/o respawning?

Post by Xaser »

This is actually a good feature suggestion. There's a cheat for resurrection, so an ACS feature for the same doesn't seem totally impossible.
Falcor
Posts: 16
Joined: Tue Jan 05, 2010 4:47 am

Re: It there any way to resurrect player w/o respawning?

Post by Falcor »

SetPlayerProperty, PROP_Buddha.
Nice, I've been looking for this.
The console does have a resurrect command... and it does work, but I've heard before it had.. hum... potential problems. To me this indicate resurrecting the player is already possible, just not the wisest thing to do.
Hmmm... kinda interesting. Totally forgot about this, I'll "play" with console commands then.

Also I've found one more way with real player dying. You see, I'd like to use Hexen-like hub-system for my project. So when player dies, death-type script teleports player to the central map with "neutral" territory (w/o monsters), where he can heal and restore his ammunition. Just like Stronghold, you know. -_-
Locked

Return to “Editing (Archive)”