- Skill card and W/S/E target menu drawn as CCSCustomHudLayout panels via PanoramaManager (panorama/ sources), replacing PrintToCenterHtml and WASDMenuAPI; WASDMenuAPI.dll dropped - Custom status lines (cooldowns, charges) overwrite the description on the card; Medic keeps its description with the charge count below - css_setoverride toggles a per-player cooldown bypass - YourSkillChatInfo also gates the round-start skill description in chat - Language: "[css_useSkill]" becomes the configured button name, "Press ... key" wording, welcome message trimmed to its first line - Build against CounterStrikeSharp.API 1.0.375
31 lines
1.4 KiB
XML
31 lines
1.4 KiB
XML
<root>
|
|
<styles>
|
|
<include src="s2r://panorama/styles/gamestyles.vcss_c" />
|
|
<include src="s2r://panorama/styles/custom_game/skill_hud.vcss_c" />
|
|
</styles>
|
|
|
|
<!--
|
|
Stage 1 of the jRandomSkills HUD replacement (see CLAUDE.md's "Panorama HUD" section) - a
|
|
real CCSCustomHudLayout panel driving Event.UpdateSkillHUD in PlayerEvents.cs, for the ~119
|
|
skills that don't set a custom PrintHTML override. The 36 skills that do (custom bars/
|
|
cooldown visuals) still go through the original PrintToCenterHtml path untouched - that's
|
|
stage 2, not built yet.
|
|
|
|
Real per-skill hex colors (from skillsInfo.json) can't be sent here - the server can only
|
|
toggle a class, never a color value. skill_hud.css defines 5 rarity classes instead
|
|
(rarity-common..rarity-legendary), and PlayerEvents.cs picks one from the skill's own
|
|
configured Rarity.
|
|
|
|
No captured mouse, no row pool - this is a passive always-on display, same shape as
|
|
PanoramaHudDemo's panel_demo.xml. Same structural rules: root has no id (compiler-assigned),
|
|
authored hidden, PanoramaManager toggles it per player.
|
|
-->
|
|
<Panel class="skillhud-viewport" hittest="false">
|
|
<Panel id="SkillHudRoot" class="skillhud-root hidden" hittest="false">
|
|
<Panel id="skillhud_card" class="skillhud-card">
|
|
<Label id="skillhud_skill" class="skillhud-skill" text="{s:hud_skill}" />
|
|
<Label id="skillhud_extra" class="skillhud-extra" text="{s:hud_extra}" />
|
|
</Panel>
|
|
</Panel>
|
|
</Panel>
|
|
</root>
|