[FIXED PENDING RELEASE] Use SC1 remastered console HUD and APM meter (Feature Request) #28


Closed
  • sylandro78 created this issue May 26, 2018

    Bug Map

    SCMRCore

    Bug Description

    (not an issue) A while ago Blizzard released a SC1 Remastered console as a custom HUD for multiplayer games. It'd be nice to use it in this campaign because it fits perfectly with the rest of Remastered assets. I've managed to do it personally so here are some instructions on how to achieve it:

    Remastered console
    Add this to Base.SC2Data/GameData/Assets.txt:

    UI/ConsoleModelCommandPanel=Assets/UI/Console/Terran/ConsoleTerran_Classic/ConsoleTerran_Classic_02.m3
    UI/ConsoleModelInfopanel=Assets/UI/Console/Terran/ConsoleTerran_Classic/ConsoleTerran_Classic_01.m3
    UI/ConsoleModelMinimapPanel=Assets/UI/Console/Terran/ConsoleTerran_Classic/ConsoleTerran_Classic_00.m3
    UI/ConsoleModelCommandPanel_Prot=Assets/UI/Console/Protoss/ConsoleProtoss_Classic/ConsoleProtoss_Classic_02.m3
    UI/ConsoleModelInfopanel_Prot=Assets/UI/Console/Protoss/ConsoleProtoss_Classic/ConsoleProtoss_Classic_01.m3
    UI/ConsoleModelMinimapPanel_Prot=Assets/UI/Console/Protoss/ConsoleProtoss_Classic/ConsoleProtoss_Classic_00.m3
    UI/ConsoleModelCommandPanel_Terr=Assets/UI/Console/Terran/ConsoleTerran_Classic/ConsoleTerran_Classic_02.m3
    UI/ConsoleModelInfopanel_Terr=Assets/UI/Console/Terran/ConsoleTerran_Classic/ConsoleTerran_Classic_01.m3
    UI/ConsoleModelMinimapPanel_Terr=Assets/UI/Console/Terran/ConsoleTerran_Classic/ConsoleTerran_Classic_00.m3
    UI/ConsoleModelCommandPanel_Zerg=Assets/UI/Console/Zerg/ConsoleZerg_Classic/ConsoleZerg_Classic_02.m3
    UI/ConsoleModelInfopanel_Zerg=Assets/UI/Console/Zerg/ConsoleZerg_Classic/ConsoleZerg_Classic_01.m3
    UI/ConsoleModelMinimapPanel_Zerg=Assets/UI/Console/Zerg/ConsoleZerg_Classic/ConsoleZerg_Classic_00.m3

    Add the APM meter:

    In the UI editor, add a frame in SCMRConsole/GameUI/UIContainer/ConsolePanel called APMMeter, and put this in the contents:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
    <Frame type="ConsolePanel" name="GameUI/UIContainer/ConsolePanel" template="ConsolePanel/ConsolePanelTemplate" file="GameUI">
    <Frame type="Frame" name="APMMeter">
    <Anchor side="Bottom" relative="$parent" pos="Max" offset="-234"/>
    <Anchor side="Right" relative="$parent" pos="Max" offset="-683"/>
    <Width val="90"/>
    <Height val="25"/>
    <Visible val="false"/>

    <Frame type="Image" name="TestImage">
    <Anchor relative="$parent"/>
    <Color val="255,0,0"/>
    <Alpha val="0"/>
    </Frame>

    <Frame type="Label" name="APMValueLabel">
    <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
    <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
    <Anchor side="Left" relative="$parent" pos="Max" offset="8"/>
    <Anchor side="Right" relative="$parent" pos="Max" offset="200"/>
    <Style val="ConsoleSkin_RemasteredTerran_APMMeter_Normal"/>
    <Text val="@UI/Console/APMCount"/>
    </Frame>

    <Frame type="Label" name="APMLabel">
    <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
    <Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
    <Anchor side="Left" relative="$parent" pos="Min" offset="8"/>
    <Anchor side="Right" relative="$parent" pos="Max" offset="-8"/>
    <Style val="ConsoleSkin_RemasteredTerran_APMMeter_Normal"/>
    <Text val="@UI/Console/APMCount"/>
    </Frame>

    <StateGroup name="DisplayState">
    <DefaultState val="NotVisible"/>
    <State name="RemasteredTerran">
    <When type="Property" frame="$parent/PortraitPanel/Background" Texture="assets\textures\terranblankportrait_static.dds" Index="0"/>
    <Action type="SetProperty" frame="$this" Visible="True"/>
    <Action type="SetAnchor" frame="$this" side="Bottom" relative="$parent" pos="Max" offset="-234"/>
    <Action type="SetAnchor" frame="$this" side="Right" relative="$parent" pos="Max" offset="-683"/>
    <Action type="SetProperty" frame="$this/APMLabel" Style="ConsoleSkin_RemasteredTerran_APMMeter_Normal"/>
    </State>
    <State name="RemasteredZerg">
    <When type="Property" frame="$parent/PortraitPanel/Background" Texture="assets\textures\zergblankportrait_static.dds" Index="0"/>
    <Action type="SetProperty" frame="$this" Visible="True"/>
    <Action type="SetAnchor" frame="$this" side="Bottom" relative="$parent" pos="Max" offset="-232"/>
    <Action type="SetAnchor" frame="$this" side="Right" relative="$parent" pos="Max" offset="-718"/>
    <Action type="SetProperty" frame="$this/APMLabel" Style="ConsoleSkin_RemasteredZerg_APMMeter_Normal"/>
    </State>
    <State name="RemasteredProtoss">
    <When type="Property" frame="$parent/PortraitPanel/Background" Texture="assets\textures\protossblankportrait_static.dds" Index="0"/>
    <Action type="SetProperty" frame="$this" Visible="True"/>
    <Action type="SetAnchor" frame="$this" side="Bottom" relative="$parent" pos="Max" offset="-234"/>
    <Action type="SetAnchor" frame="$this" side="Right" relative="$parent" pos="Max" offset="-735"/>
    <Action type="SetProperty" frame="$this/APMLabel" Style="ConsoleSkin_RemasteredProtoss_APMMeter_Normal"/>
    </State>
    <State name="NotVisible">
    <Action type="SetProperty" frame="$this" Visible="False"/>
    </State>
    </StateGroup>
    </Frame>
    </Frame>
    </Desc>

     

  • OmegaWeaponX posted a comment May 29, 2018

    Very cool stuff.  I'd be interested in getting a toggle going in the options menu to enable/disable these.  I'll play around with it

  • TokiWartooth1871 posted a comment Oct 1, 2018

    Thank you for the addition.  I may try this sometime if I'm up to it.

  • Forge_User_85838387 posted a comment Jul 16, 2019

    Can you provide instructions on how to get this to work on 7.1 version? I've been trying to do it using the old instructions but it doesn't work on my end (perhaps I'm doing something wrong?).

    Edit:

    If anyone wants, here's modified SCMRmod.SC2Mod file (for version 7.1) that will enable the SC1 Remastered UIs with APM Counter:

    https://drive.google.com/open?id=1i-pDit2guuFTqGrEOIIqNk2IhLu-lHHN

    Link updated for version 7.1.1:

    https://drive.google.com/open?id=1Paw4XKaBWIfhGBM8gTMKfaMjyWh6-Uul

     


    Edited Jul 30, 2019
  • OmegaWeaponX posted a comment Aug 19, 2019

    I think we're ok with making the SCMR default race console's the Blizzard-approved Retro versions for SC2.  That said - we really would love to find a way to make this an optional toggle to get users to choose if they want default SC2, retro, or individual faction consoles.

     

    But I think we can include this in the next update.  Great job researching this!

  • OmegaWeaponX edited title Aug 19, 2019
  • sylandro78 posted a comment Aug 19, 2019

    I haven't had a chance to review Canzah's implementation, but the xml I provided in the original post had some issues with how the APM text was rendered, as it was not using the race styles properly.

     

    I'm sharing the file I used personally to make it work in my game:

     

    https://drive.google.com/file/d/19n4sbQGjgH2n_FaM1N4ffn5iH4XA3Szh/view?usp=sharing

     

    It contains an isolated mod file that contains the Console HUD. To make it work ingame, I just add it as a dependency of SCMRmod.

     

    Since this was my "personal patch", I also added some lines that appeared unlocalized on my end in the tech tree, so it might be useful if @OmegaWeaponX wants to fix them.

  • OmegaWeaponX closed issue Oct 31, 2019

To post a comment, please login or register a new account.