p2sr / SourceAutoRecord

Speedrun plugin for Source engine games.
https://sar.portal2.sr/
MIT License
94 stars 32 forks source link

feat: improve input HUD #34

Closed Krzyhau closed 3 years ago

Krzyhau commented 3 years ago

The major thing in this branch, even though it's named fix/tastoolsfix, is a complete rewrite of sar_ihud. Now, every visual aspect of input HUD can be modified using sar_ihud_modify command. Example: sar_ihud_modify angles "enabled=1" "pos=0 0 5 5" will turn on the visibility of view analog element, position it on grid cell 0,0 and scale it to fill the area of 5x5 grid cells.

Additionally, there's a small fix that sorts TAS tools execution depending on which ones was lastly executed, and string-to-color conversion has been modified for unknown reason (mlugg has held me at a gunpoint with a watergun to do this)