Jump to content

Swapping in one npc for another--seamlessly


csbx

Recommended Posts

Looking to accomplish the following for a quest I'm working on: have an npc fade out as a replacement version fades in--obviously at the same position so it at least resembles a transition.

 

A dumb first approach would I guess be to disable the stage 1 npc, and then place the stage 2 npc at its position. Or I guess having the transition / swap take place while in furniture would keep the positions matched fairly well and I also wouldn't have to fidget with getpos etc.

 

What would your approach be ?

Link to comment
Share on other sites

The only way this could be done, is if you have two effects play at once, one for each NPC, with both NPCs being frozen into the same position.

 

How to create the effect? No idea. But it would essentially be a reversed version of the disintegration effect, played at the same time as the other NPC plays the disintegration effect.

Link to comment
Share on other sites

Thanks, man. Yeah, I'm not so concerned that the effect looks legit--lots of stuff happens in the game that isn't exactly realistic. But was mostly curious about whether or not there was an easier way to do the swap other than disabling and using getpos to place the replacement.

 

EDIT: e.g. is it possible to keep the same npc but dynamically apply another set of body / face settings ?

 

Just for background--a part of the quest I'm working on has the npc suddenly advance in age--so the second version would just be an older looking version of the first.

 

The only way this could be done, is if you have two effects play at once, one for each NPC, with both NPCs being frozen into the same position.

 

How to create the effect? No idea. But it would essentially be a reversed version of the disintegration effect, played at the same time as the other NPC plays the disintegration effect.

Edited by csbx
Link to comment
Share on other sites

I'm doing this with the PC being replaced by an NPC which comes with some additional complexities.

 

It should be fairly straight forward with NPC. The easiest way I see would be to use TranslateTo with an imperceptibly slow rotation to hold them in place on a common marker location.

 

A marker furniture would also work. But, would be more code/setup.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...