Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Player Colormap / Add to Options Menu #238

Open
frendship-loost opened this issue Mar 21, 2024 · 1 comment
Open

Fix Player Colormap / Add to Options Menu #238

frendship-loost opened this issue Mar 21, 2024 · 1 comment
Labels
enhancement 🔧 New feature or request low priority Low prority stuff that may or may not get done.

Comments

@frendship-loost
Copy link

By default, our config.cfg has entries for player color-remapping. These are not used in-game for player model rendering it appears, and the sliders to set these values have been removed from the options menu. From looking through studiomodelrenderer.cpp, I believe that the function that enables color-remapping has been removed or never added to our codebase. The default HLSDK found in github contains code from TFC that enables the original support for this.

Valve Goldsrc SDK:
https://github.com/ValveSoftware/halflife/blob/c7240b965743a53a29491dd49320c88eecf6257b/cl_dll/StudioModelRenderer.cpp#L1106

Default config.cfg values found in MSR:
bottomcolor "6"
topcolor "30"

@greatguys1
Copy link
Contributor

The colormap was highjacked to use render flags instead, so its not as simple as just enabling the feature. Many systems seem to depend on these flags, and undoing it will take quite some effort.

@SaintWish SaintWish added enhancement 🔧 New feature or request low priority Low prority stuff that may or may not get done. labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🔧 New feature or request low priority Low prority stuff that may or may not get done.
Projects
None yet
Development

No branches or pull requests

3 participants