Overview
https://steamcommunity.com/sharedfiles/filedetails/?id=122760829 see this guide for how to setup modifications for Alien VisionsThis guide details the changes made in 325 for Alien VisionEntities are now able to be distinguished individually.The new changes are as follows:
BaseModelMixin Changes
* Marines Players are now set to a depth.g of 1
* Marine Structures have a depth.g of 0.98
* Alien Players are 0.96 (excluding Gorges and Babblers)
* Gorges are now 0.94
* All other entities (Alien Structures) now have a depth.g of 0.90
These changes can be found in core/lua/Mixins/BaseModelMixin.lua
What this file does is specifies the depth.g of the different entities, as well as adds a functions BaseModelMixin:GetIsHighlightEnabled()
This function allows you to do modifications such as the following
The above code can used with the file hooks system to allow for client side modifications of Alien Vision.
DarkVision.hlsl Changes
For any custom additions you make with GetIsHighlightEnabled(), you add a case in DarkVision in the series of if statements above. For example, if we wanted to add a custom case for the rifle, we could do the below code