[REL] Hide for Streaming v1.0

Discussion in 'Mod Discussions' started by elitedanzel, November 9, 2013.

  1. elitedanzel

    elitedanzel Active Member

    Messages:
    151
    Likes Received:
    137
    As suggested by @ZaphodX in todays stream, here is a mod that hides things that just get in the way when live streaming.

    Adds a button to the very top right, clicking it toggles visibility of things that you want to hide when casting.
    upload_2013-11-10_10-19-45.png
    NOTE: When you click it. the button itself will hide, but it is still clickable.

    Requires mods to add support for it, I'm uploading updates for commander health and reminder timer now for it.


    Installation

    Step 1:
    Download the dHideCast_v1.0.zip attachment, and extract it to <PA Install directory>/PA/media/ui/mods/
    Step 2:
    Install the PA UI Mod Manager: https://forums.uberent.com/threads/rel-ui-mod-manager-v1-2.50726/
    Tick the box for "Hide Things for casting" to enable the mod.

    Or add these lines to your
    ui_mod_list.js in the live_game section:
    '../../mods/dHideCast/dHideCast.css',
    '../../mods/dHideCast/dHideCast.js'

    Source code for this and all of my mods is on github:
    https://github.com/danzel/planetary-annihilation-ui-mods/tree/master/dHideCast

    Enjoy :)

    Modders:
    When the button is clicked it toggles the class 'hide-for-cast' on the body, so you can use css as follows to hide when desired:

    .hide-for-cast #remindertimers {
    display: none;
    }



    Edit: At the moment we don't hide the economic bar, could add it but sort of hoping it will show the selected players eco at some stage :)

    Attached Files:

    Last edited: November 9, 2013
    zaphodx likes this.

Share This Page