Difference between revisions of "Resurrecting the Player"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Wrye
imported>Qazaaq
(moved to category solutions)
Line 20: Line 20:


::[[SetGhost]] doesn't have any visual effects aside from causing weapons to slide right through the calling object. Think about using [[SetActorAlpha]] to make the actor semi-transparent, along with an Effect Shader to turn him white. I assume this is how the Forlorn Watchman was done, so taking a look at him in the CS should give you some clues.
::[[SetGhost]] doesn't have any visual effects aside from causing weapons to slide right through the calling object. Think about using [[SetActorAlpha]] to make the actor semi-transparent, along with an Effect Shader to turn him white. I assume this is how the Forlorn Watchman was done, so taking a look at him in the CS should give you some clues.
:::As for your other questions: [[setUnconscious]] only affects the NPC's AI. To have him fall down as well, you want to paralyze him or set his fatigue below zero. Note that after using [[setUnconscious 1]] the NPC can't be looted or activated until you reset it to 0. For your dialog issue and any other questions you have I'd suggest heading on over to the [http://www.elderscrolls.com/forums/index.php?act=SF&s=&f=24]CS-Forums.  
:::As for your other questions: [[setUnconscious]] only affects the NPC's AI. To have him fall down as well, you want to paralyze him or set his fatigue below zero. Note that after using [[setUnconscious]] 1 the NPC can't be looted or activated until you reset it to 0. For your dialog issue and any other questions you have I'd suggest heading on over to the [http://www.elderscrolls.com/forums/index.php?act=SF&s=&f=24 CS-Forums]].
 
 
::::<code>Player.pms GhostEffect</code>
::::<code>Player.pms GhostEffect</code>
::::<code>player.setghost 1</code>
::::<code>player.setghost 1</code>
:::worked for me. God, this formatting is difficult. Sorry, guys. -- [[User:Scruggs|Scruggs]] 09:11, 30 August 2006 (EDT)
:::worked for me. God, this formatting is difficult. Sorry, guys. -- [[User:Scruggs|Scruggs]] 09:11, 30 August 2006 (EDT)
[[Category: Solutions]]

Revision as of 10:27, 7 August 2007

Resurrecting the Player

I am trying to make a script that will kill the player then teleport him to a place and recurrect him there without having the gameover screen show up. Is this possible and can you provide me with the script. --Saveron 18:04, 24 August 2006 (EDT)

Resurrect doesn't work properly in the console (try it, you can move around while your body still lies there...) You can try using GetActorValue to test if the player's health is below 10 or so, and then do stuff. Another idea (though I doubt that it works) would be using SetEssential player 1 --JOG 11:41, 26 August 2006 (EDT)
FlyFightFlea reports that setessential works okay, except that the camera is screwed up afterwards. Haven't tried it, but I assume that it means that you're stuck in "fatality cam" mode. --Wrye 19:20, 25 May 2007 (EDT)

Both Resurrect and SetEssential have camera problems that require user to quit out of Oblivion and then restart it. In addition, Resurrect is almost unusable because it loses the players abilities. However, an alternate approach combining a health buffer with SetEssential as a backup works fairly well.

See full analysis and description at UESP: Resurrecting the Player. --Wrye 19:53, 6 August 2007 (EDT)

Unconscious State, Ghost Effects

Is there a function that makes the character go into that "unconsious" state, i was looking in the function part of the wiki but the closest i got was SetUnconsious and from reading it, it doesnt seem like it kocksout the player only stops them from doing things. Also on an unrealted case(i put this here couse its a small problem) On the quest i am making I added dremora and i added custom dialog to them but when testing in game they do not say the custom dialog, other people i added do say custom dialog i added to them, i did the same things to the people that say custom dialog as i did to the dremora, so i cant figure out why the dremora whont say the dialog, can anyone help me with that? -- Saveron 18:07, 26 August 2006 (EDT)

Ghost Effects

Is it possible to make the player a transparent white, just like the actor in The Forlorn Watchman quest? --Saveron 18:11, 29 August 2006 (EDT)

SetGhost 1? --Dragoon Wraith TALK 02:45, 30 August 2006 (EDT)
SetGhost doesn't have any visual effects aside from causing weapons to slide right through the calling object. Think about using SetActorAlpha to make the actor semi-transparent, along with an Effect Shader to turn him white. I assume this is how the Forlorn Watchman was done, so taking a look at him in the CS should give you some clues.
As for your other questions: setUnconscious only affects the NPC's AI. To have him fall down as well, you want to paralyze him or set his fatigue below zero. Note that after using setUnconscious 1 the NPC can't be looted or activated until you reset it to 0. For your dialog issue and any other questions you have I'd suggest heading on over to the CS-Forums].


Player.pms GhostEffect


player.setghost 1


worked for me. God, this formatting is difficult. Sorry, guys. -- Scruggs 09:11, 30 August 2006 (EDT)