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

[Feature] Change Portal Color #233

Open
NoName50 opened this issue May 5, 2024 · 2 comments
Open

[Feature] Change Portal Color #233

NoName50 opened this issue May 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@NoName50
Copy link

NoName50 commented May 5, 2024

Addresses are included in the cheat table below
Also included LUA scripts to change colors to achieve the effect in the Krzyhau video.

Convar suggestions:

Variable hud_sp_quickinfo_leftcolor("hud_sp_quickinfo_leftcolor", "64 160 255", "Changes the color of the singleplayer left quickinfo hud.\n");
Variable hud_sp_quickinfo_rightcolor("hud_sp_quickinfo_rightcolor", "255 160 32", "Changes the color of the singleplayer right quickinfo hud.\n");
Variable cl_sp_portalonecolor("cl_sp_portalonecolor", "0 60 255", "Changes the color of the singleplayer primary portal.\n");
Variable cl_sp_portaltwocolor("cl_sp_portaltwocolor", "233 78 2", "Changes the color of the singleplayer second portal.\n");
Variable cl_coop_blue_portalonecolor("cl_coop_blue_portalonecolor", "32 128 210", "Changes the color of Blue's primary portal.\n");
Variable cl_coop_blue_portaltwocolor("cl_coop_blue_portaltwocolor", "19 0 210", "Changes the color of Blue's second portal.\n");
Variable cl_coop_orange_portalonecolor("cl_coop_orange_portalonecolor", "255 180 32", "Changes the color of Orange's primary portal.\n");
Variable cl_coop_orange_portaltwocolor("cl_coop_orange_portaltwocolor", "57 3 3", "Changes the color of Orange's second portal.\n");

(I was trying to learn C++, but it's too hard for me😞)

@ThisAMJ
Copy link
Member

ThisAMJ commented May 11, 2024

@ThisAMJ
Copy link
Member

ThisAMJ commented Jun 27, 2024

Name Default Description
sar_portalcolor_enable 0 Enable custom portal colors.
sar_portalcolor_mp1_1 31 127 210 Portal color for Atlas (blue)'s left portal.
sar_portalcolor_mp1_2 19 0 210 Portal color for Atlas (blue)'s right portal.
sar_portalcolor_mp2_1 255 179 31 Portal color for P-Body (orange)'s left portal.
sar_portalcolor_mp2_2 57 2 2 Portal color for P-Body (orange)'s right portal.
sar_portalcolor_sp_1 64 160 255 Portal color for Chell's left portal.
sar_portalcolor_sp_2 255 160 32 Portal color for Chell's right portal.

Crosshair ("quickinfo") colors come for free when changing the portal colors.

Mostly implemented by 5541017, but changing the color of sp portals is yet to be done.

@ThisAMJ ThisAMJ added the enhancement New feature or request label Jul 21, 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
Projects
None yet
Development

No branches or pull requests

2 participants