. . . Posted April 2, 2021 Share Posted April 2, 2021 I tried overriding the asset with empty 2x2 pixel but it didnt work, does somebody know another way? Link to comment https://forums.kleientertainment.com/forums/topic/128541-how-to-get-rid-of-bg_vignette/ Share on other sites More sharing options...
-LukaS- Posted April 2, 2021 Share Posted April 2, 2021 Which vignette are you talking about exactly? 1 Link to comment https://forums.kleientertainment.com/forums/topic/128541-how-to-get-rid-of-bg_vignette/#findComment-1444706 Share on other sites More sharing options...
. . . Posted April 3, 2021 Author Share Posted April 3, 2021 1 hour ago, -t- said: Which vignette are you talking about exactly? bg_vignette the one which if you look closely in game you notice there's a vignette around your character always Spoiler Link to comment https://forums.kleientertainment.com/forums/topic/128541-how-to-get-rid-of-bg_vignette/#findComment-1444725 Share on other sites More sharing options...
-LukaS- Posted April 3, 2021 Share Posted April 3, 2021 I think the vignette you're trying to remove is in the PlayerHud widget. You can easily Kill() it to remove it however it's not created on creation of the widget but rather in a function called 'CreateOverlays' so you'd have to override that function to Kill() the vignette right after its creation. AddClassPostConstruct("screens/playerhud", function(self) -- Override the PlayerHud class local oldCreateOverlays = self.CreateOverlays -- Create a local 'oldCreateOverlays', because we don't want to completely override this function function self:CreateOverlays(owner) -- Override the 'CreateOverlays' function oldCreateOverlays(self, owner) -- Firstly do the original function self.vig:Kill() -- Then kill the 'vig' end end) This will Kill() the vignette on creation. Unfortunately this will also remove the veiny insanity effect since it's the same entity but with a different animation. If you want to remove only the vignette without removing insanity veins you would have to create a new animation file. 1 1 Link to comment https://forums.kleientertainment.com/forums/topic/128541-how-to-get-rid-of-bg_vignette/#findComment-1444954 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now