[REL] Display "Advanced" Planet Info in New Game - 51118

Discussion in 'Mod Discussions' started by sneakyness, July 24, 2013.

  1. sneakyness

    sneakyness Member

    Messages:
    106
    Likes Received:
    5
    This one was a bit of a freebie, noticed that the new game UI was also missing some much needed planet information.

    in ui\alpha\new_game\new_game_alpha.html, replace the next two divs starting at line 180 with the following:
    Code:
    <div>
        <span class="input_label">RADIUS:</span>
        <span class="input_field_static" data-bind="text: loadedPlanet().radius"></span>
        <span class="input_label">| HEIGHT:</span>
        <span class="input_field_static" data-bind="text: loadedPlanet().heightRange"></span>
        <div style="display: block; float: left;">
        <span class="input_label">WATER:</span>
        <span class="input_field_static" data-bind="text: loadedPlanet().waterHeight"></span>
        <span class="input_label">| TEMP:</span>
        <span class="input_field_static" data-bind="text: loadedPlanet().temperature"></span></div>
    </div><br/>
    <div style="float: left;">
        <a href="#" class="text_link_btn text_link_btn_small" data-bind="click: function () { model.loadRandomPlanet(); }">Generate new</a>  |  
        <a href="#" class="text_link_btn text_link_btn_small" data-bind="click: navToEditPlanet">Load custom</a>
    </div>

    Attached Files:

    thetrophysystem likes this.
  2. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    JESUS you've been a busy buger!

    keep at it!
  3. dbiton

    dbiton Member

    Messages:
    81
    Likes Received:
    1
    can you put a pic or something? im aint really sure what its supposed to do
  4. sneakyness

    sneakyness Member

    Messages:
    106
    Likes Received:
    5
    As seen in the code in the OP, it shows you the radius/height range/water height/temperature instead of just the "class" of the planet.

Share This Page