[REL] Surface Area 1.3.1 [86765]

Discussion in 'Released Mods' started by wondible, August 5, 2014.

  1. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Show the total and planet surface area in the system editor.

    Screen Shot 2014-08-28 at 20.52.58 .png Screen Shot 2014-08-06 at 18.59.40 .png

    - https://github.com/JustinLove/surface_area (issues)
    - http://wondible.com/pa/surface_area_v1.3.1.zip
    - PAMM

    Version 1.3.1

    - Fix current-planet area display
    - Make current-planet interactive with slider

    Version 1.3: Report gas surface area separately. Currently hardcoded for gas, so it will need an update if people start making other terrainless biomes

    Version 1.2: Move the system surface area out of the version div, since that div disappeared in the last PTE.

    Version 1.1: Change units to km^2

    Lots of room for expansion - estimating playable land and water area, adding info to server browser, etc. Probably won't get to that for a while, but this offers some tools to judge the 'weight' (perf, number of players, etc) of a system.
    Last edited: August 29, 2015
  2. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    First. Love this mod.:D
  3. vackillers

    vackillers Well-Known Member

    Messages:
    838
    Likes Received:
    360
  4. Brokenshakles

    Brokenshakles Active Member

    Messages:
    239
    Likes Received:
    143
    Fantastic, this will be very useful for testing and optimization.
  5. Dementiurge

    Dementiurge Post Master General

    Messages:
    1,094
    Likes Received:
    693
    Between 'M m²' and 'km²', what's your preference?
  6. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I started with km^2, wanted to add commas, and then remembered the multi-unit code from the economy bar and game-over stats. In practice all playable planets are in the mega-range, so it may be overkill (as much fun as it is to see the T when what-iffing an earth sized planet).
  7. aevs

    aevs Post Master General

    Messages:
    1,051
    Likes Received:
    1,150
    I prefer km². You would need more than 55 planets of radius 1200 before you'd hit 1000 km² anyway, so the comma probably isn't important.
    (Also, have you considered making the 'surface area' a field that can be modified? Letting the user set the area value and then have the mod compute the radius needed and update the radius field with that value, as well as vice-versa? Not sure if it's do-able, I've never dealt with knockoutjs before, but it seems like it would be.)
  8. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Ah, I see - user error. K m^2 != km^2. That would actually work out nicely.

    https://github.com/JustinLove/surface_area/issues/3
    tatsujb and aevs like this.
  9. aevs

    aevs Post Master General

    Messages:
    1,051
    Likes Received:
    1,150
    Oh, I thought we were all on the same page that 1 M m² = 1 km². :p
    (pronounced: one mega square meter equals one square kilometer)
  10. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Surface Area 1.1: change units to km^2
    tatsujb and aevs like this.
  11. siefer101

    siefer101 Active Member

    Messages:
    369
    Likes Received:
    171
    "I WANT CUSTOMARY UNITS!!!!"

    -No One Ever
    stuart98 likes this.
  12. aevs

    aevs Post Master General

    Messages:
    1,051
    Likes Received:
    1,150
    I think km² is considerably more recognizable than M m² for most people. If I tell someone to picture a million square meters, or tell them to picture a square kilometer, I think we both know which one will be easier for them (even if they are actually the same thing). It just makes more sense to give the map scale in square kilometers ;)
    lokiCML likes this.
  13. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    No. Imperial is only for construction or some vehicles.:mad::p
    a joke
  14. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Surface Area version 1.2: Move the system surface area out of the version div, since that div disappeared in the last PTE.
    tatsujb likes this.
  15. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Surface Area version 1.3: Report gas surface area separately. Currently hardcoded for gas, so it will need an update if people start making other terrainless biomes

    [​IMG]
  16. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Surface Area 1.3.1

    - Fix current-planet area display
    - Make current-planet interactive with slider

Share This Page