Asteroid generation

Discussion in 'Planetary Annihilation General Discussion' started by polygonal, December 20, 2014.

  1. polygonal

    polygonal New Member

    Messages:
    13
    Likes Received:
    10
    Just had an idea while watching the old kickstarter video...what if...
    instead of rendering asteroids as planets (in the system)...
    we just render them as particles until someone lands on them and begins to colonize, when they would turn back into planets *radius under 50*??

    It would help make this a reality without tons of optimization patches.
    bengeocth likes this.
  2. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    ? It's not that simple lol.
  3. bengeocth

    bengeocth Post Master General

    Messages:
    1,285
    Likes Received:
    657
    Actually, it would need to be a particle when no one is looking at it- it would render as a planet when someone was looking at it- to show metal.

    The way programming works, its absolutely possible to make it render on one person's game and not another's.

    But the transition from particle to planet would be a lot more complicated than you think.
    That would cause an insane bit of lag, whenever moving back in forth between the asteroid and the other planets.
    Last edited: December 20, 2014
  4. polygonal

    polygonal New Member

    Messages:
    13
    Likes Received:
    10
    XD I have no idea how to code.
  5. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    Not the way @bengeocth described.
    bengeocth likes this.
  6. Dementiurge

    Dementiurge Post Master General

    Messages:
    1,094
    Likes Received:
    693
    I think the funky way the game plays on radius 50 objects is a more serious issue than having asteroids to begin with. If they're truly radius 50...

    A. You couldn't fit a halley on them. Could you?
    B. I doubt that ten of them would be as demanding as a single radius 200 planet.
    xankar, bengeocth and cptconundrum like this.
  7. duncane

    duncane Active Member

    Messages:
    364
    Likes Received:
    191
    Currently Halleys are Halley V. Maybe for asteroid you could have a smaller Halley IV ?

    Also I think asteroid belts should be largely cosmetic with 2 to 3 launchable size 75 roids.
    kayonsmit101 likes this.
  8. meir22344

    meir22344 Active Member

    Messages:
    258
    Likes Received:
    112
    we could have pre-created asteroid shaped particles that have similar layers as planets close to them for buildings, units and orbital

    the difference between a planet and asteroid with this method is that the planet is randomly generated at the start of each match where as the asteroid particle was created by devs or modders prior to the start of the match and stays the same every time said particle is generated in system so the asset is loaded only once and used multiple times

    so if you want to draw a majora's mask moon face on an asteroid particle you could do that with a particle texture creator and every asteroid the is generated would have a face textured on the particle(the picture of the majora's mask moon face is below)
    moon-stares-at-link-in-the-legend-of-zelda-majoras-mask_288x288.jpg

    because the asteroid particle is a stock particle like explosions the simulator should not have to re-render the asteroid every time an asteroid is generated in system it becomes like cutting and pasting the same asteroid every time basically
    bengeocth and wilhelmvx like this.

Share This Page