Jump to content

Script Function to Disable Actor Min Distance Fade


Recommended Posts

Edit: NVM Found it -> Utility.SetIniFloat("fActorFadeOutLimit:Camera"

 

Hey guys,

 

I've wrote a script for a mod I'm working on for NPC Mind Control, to 'remote' control NPCs for a certain duration. I have it working, but ran into a problem regarding game mechanics, when you are controlling the NPC, the Actor Min-Distance Fade-Out is very high for some reason, this meaning you need to have the camera zoomed out to a ridiculous distance for the NPC actor to be visible on-screen.

 

I have tried various things regarding my script to no avail, and have tried using the camera ini tweak fActorFadeOutLimit, but even at the lowest minus setting, they still fade with the camera a good distance away from the actor.

 

Just wondering if anyone would know a possible work-around for this. I would be most grateful. Thanks for reading.

 

Could be worth a mention that, this 'actor fade out' only seems to happen when I enable control of the Actor. For instance, if I swap the camera to pop onto the NPC with my script, but leave the NPC's AI off, I have no fading problems, but as soon as I enable the NPC AI to be able to control him/her the problem arises. Thanks.

 

On Effect Start Event, Code snippet below, just to show the 'order' of functions used. in the opening event

Edited by kieranh7
Link to comment
Share on other sites

  • Recently Browsing   0 members

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