Results 1 to 10 of 27

Thread: ideas for TAtmosphere

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    Sorry, I missed the bit about your planet starting with 0% O2. You A* walk out from your oxygen-sources with a maximum fixed radius. You can stop walking at 'outer-space' blocks and stop walking at other 100% blocks.

    But you'd also have to process all 'leak' blocks and get them to decrease the O2 levels of blocks they touch.

    remember you want a given block to have a given level of oxygen, but you're not simulating oxygen levels, only storing them.

    You're simulating air pressure and you want leaks to empty whole volumes, a simulation of how heat spreads across a surface is ideal.

    Colder regions (low air pressure) will cause adjacent regions to loose heat more quickly (loose more O2) than regions with more air pressure. So if your O2 gen in a room can't pump out O2 faster than it's leaking, then there will eventually be no oxygen in the room except for very low levels near the O2 generator (basically nothing, as the pressure is rapidly dispersing due to the 'cold' (low air pressure) surroundings)

    if in a room, your O2 gen pumps out oxygen at a faster rate than it leaks, then the whole room will be at near %100 oxygen levels, and near the leak things will be much less.

    outer-space blocks simply 'delete' this 'heat' rather than accumulate it, thereby providing a bounds to the simulation.

    --

    This provides a very realistic simulation of air pressure, levels can raise and fall etc you just have to keep the whole system pressurized, so inputing more 'heat energy' than is being lost to leaks. No matter where in your rooms you do this, it'll propagate and work across the whole accessible space but obviously it'll take more time for O2 to travel long distances etc

    You will need fixed radi of effect for O2 Generators if you're planning to pump O2 into a big interconnected cave system but then you can just tell the player that the metals in the rock are oxidizing having been exposed to O2 for the very first time, or the rock is pourus or something.
    Last edited by phibermon; 04-07-2013 at 04:39 PM.
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •