p2sr / SourceAutoRecord

Speedrun plugin for Source engine games.
MIT License
89 stars 27 forks source link

[Feature] Change Portal Color #233

Open NoName50 opened 2 months ago

NoName50 commented 2 months ago

Addresses are included in the cheat table below (Also include lua scripts to change colors to achieve the effect in the video: https://youtu.be/4xB08fw5BYc)

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 tring to learn C++, but it's too hard for me😞)

CheatTable: portal2_portalcolor_release_1.1EN.zip

ThisAMJ commented 1 month ago

see also https://discord.com/channels/146404426746167296/811780246608281650/1011584350229373019

ThisAMJ commented 1 week ago

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