. . . Posted November 4, 2021 Share Posted November 4, 2021 (edited) I really want to remove it or lower the effect if possible it really drives my OCD completely insane for as long as I've played DST... If don't know what I'm talking about is this (the one on the right's being hovered over and appears tinted whiter/brighter) I looked very hard in a lot of lua files and I can't find it after hours Edited November 4, 2021 by . . . Link to comment Share on other sites More sharing options...
CarlZalph Posted November 4, 2021 Share Posted November 4, 2021 14 hours ago, . . . said: I really want to remove it or lower the effect if possible it really drives my OCD completely insane for as long as I've played DST... It's controlled by the 'highlight' component that's added in the 'playercontroller' component, and removed by itself. The highlight sets the AnimState:SetHighlightColour function to the appropriate values. 1 1 Link to comment Share on other sites More sharing options...
. . . Posted November 4, 2021 Author Share Posted November 4, 2021 Thanks a lot! I finally managed to change it so less of effect now, wouldn't have been able to find it without you lol Spoiler AddComponentPostInit("playercontroller", function(self) local _OnUpdate = self.OnUpdate self.OnUpdate = function(self, dt, ...) if _OnUpdate then _OnUpdate(self, dt, ...) end if self.highlight_guy ~= nil and self.highlight_guy:IsValid() and self.highlight_guy.components.highlight ~= nil then if not self.highlight_guy:HasTag("burnt") then self.highlight_guy.components.highlight:Highlight(.1, .1, .1) end end end end) Link to comment 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