Jump to content

Recommended Posts

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.

  • Thanks 1
  • Sanity 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...