Uber Power Plant [bug?]

Discussion in 'Support!' started by TimeDrawsNigh, September 7, 2013.

  1. TimeDrawsNigh

    TimeDrawsNigh New Member

    Messages:
    6
    Likes Received:
    2
    My friend and I decided to play a allied game - he disconnects so after the two minute mark he spawns on his own little private island. I decided to build a couple power plants around him and we got this. Not sure what happened, possibly a graphical bug.
    Capture.PNG
  2. garat

    garat Cat Herder Uber Alumni

    Messages:
    3,344
    Likes Received:
    5,376
    Not a bug. They're different models, using the same JSON. ;) One is on water, one is on land, hence, different models.

    If there is a bug, it's that the scales are off by quite a bit.. we do need to bring those more inline.
  3. ghostflux

    ghostflux Active Member

    Messages:
    389
    Likes Received:
    108
    Great to hear things like the scale are still being tweaked. I've always found it weird how they were so much bigger.
  4. infuscoletum

    infuscoletum Active Member

    Messages:
    606
    Likes Received:
    37
    If I remember correct the land version has gone through like 3 art changes while the sea ones the original model!
    For some reason this thread has me thinking that a trippy color/scale mod should be a thing. everything you build is a different size and color!
  5. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    To see how this is done, take a look at part of the blueprint code for the metal extractor:

    Code:
    "model": [
      {
        "animations": {
          "idle": "/pa/units/land/metal_extractor/metal_extractor_anim_work.papa"
        },
        "animtree": "/pa/anim/anim_trees/simple_building.json",
        "filename": "/pa/units/land/metal_extractor/metal_extractor.papa",
        "layer": "WL_Land"
      },
      {
        "animations": {
          "idle": "/pa/units/sea/sea_metal_extractor/sea_metal_extractor_anim_work.papa"
        },
        "animtree": "/pa/anim/anim_trees/simple_building.json",
        "filename": "/pa/units/sea/sea_metal_extractor/sea_metal_extractor.papa",
        "layer": "WL_Water"
      }
    ],
    "spawn_layers": "AnySurface",
    The "spawn_layers" attribute determines where the structure can be built, in this case anywhere. The "model" attribute then has two sections, one for water and one for land (specified by the "layer" attribute within). Separate models and animation files can be seen for the land & water layers.
    infuscoletum likes this.

Share This Page