v1.32.0
FEAT
- Reveal banner and spin frames are now sized (
fontSize-ltitle,fontSize-xxlname) instead of default size, so a reveal reads as a reveal. Both share the same constants so the spin doesn't resize when it lands. - Gauges render in a real monospace font (
stratum-regular-mono) with distinct filled/empty glyphs (█/░). This retires the workaround of drawing every cell with the same#glyph and expressing fill purely through colour — which existed only because the default proportional font made a mixed-glyph bar change width as it filled. Shape contrast also makes bars readable without relying on lime-vs-grey. - Optional reveal logo via
SpinReveal.RevealImageUrl, off by default. When empty, no<img>is emitted at all — default behaviour is byte-identical to before and no client makes any outbound request. - Optional screen flash on reveal via
SpinReveal.FadeOnReveal(CCSUsrMsg_Fade), off by default.
BUGFIXES
- Bold was never actually applied anywhere. All 24 uses were
class="fontWeight-bold", but Valve'scsgostyles.cssonly definesfontWeight-Bold/Medium/Normal/Light— capitalised — so every "bold" title in every popup silently rendered at normal weight. Verified by downloading Valve's shipped stylesheet. The lowercase form came from SwiftlyS2's own docs. - Corrected the comment claiming CS2 center HTML is parsed as strict XML and that a bare
<br>breaks the parser. It is a lenient HTML parser — Valve's own shipped strings contain hundreds of bare<br>and several unbalanced<b>tags that render fine.<br/>remains valid so no markup changed, but that constraint does not exist.
The reveal image is evidenced by other live plugins making the same call, but is not verified first-hand — hence off by default.
fontStyle-*andCriticalText, both recommended by SwiftlyS2's docs, exist in no CS2 stylesheet and are deliberately unused.