Life Support

From GMod Wiki

Jump to: navigation, search
Deletion.pngThis page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here.
Reason for deletion: Not what Garry wants the wiki to be used for
Last Edit was made on 11/16/2011

This page is about Life Support 2. Life Support 3 information.

Contents


What is Life Support?

Life Support is an addon created by Shanjaq. From the Life Support page:

Original Version: This mod brings back the old drowning effect for players who stay underwater too long, but now you can survive a bit longer if you use a personal respirator (up to 7 minutes without surfacing). The larger tanks can be welded into submarines or underwater bases and hooked up to atmospheric exchangers to create a breathable space in which air is distributed among nearby players drawing from a storage tank. You can refill empty tanks by hooking them up to an Air Compressor. You can hook these devices up in pretty much any way you want, like temporarily attaching a sub to a floating air compressor farm to refill before a long deep sea voyage, or take a fresh supply down to a base camp. The Atmospheric Exchanger unit will emit a warning sound when its supply is exhausted, so keep an eye on pressure levels or you might find yourself stranded and suffocating in some remote corner of abyss...

Newer Versions (works with Spacebuild): Survive in the vacuum of space with Exchangers and Respirators. Air Compressors won't work without a breathable atmosphere so they just shut down(as opposed to blowing up if run underwater!) Heat Exchangers prevent you from freezing or burning to death in hostile environments, they draw an amount of Energy or Coolant proportional to the temperature difference. Also, Air Exchangers are absolutely necessary to survival on planets like Venus with a heavy atmosphere that would crush you instantly! As long as you're within the range of an Air Exchanger your atmospheric pressure will be stabilized. All temperature and pressure-related features are removed for non-spacebuild gameplay, so you'll have only the air and energy related systems when you play in Sandbox to avoid cluttering the list with devices that are not needed.

Life Support Entities

Environmental Control

Suit Dispenser
Air Exchangers
Climate Regulator
Air Hydroponics
Heat Exchangers
Atmospheric Probe

Suit Dispenser

The Suit Dispenser fills up the player's personal reserves of Air, Coolant, and Energy (up to 2000 units of each) when used.

Air Exchangers

The Air Exchangers make a "bubble" of breathable air when underwater (or outside of Earth when playing Spacebuild) within a certain radius as long as there is sufficient air and energy. When playing Spacebuild, Air Exchangers also stabilize your pressure on Venus, where the atmospheric pressure would otherwise crush you instantly. The Small and Large Air Exchangers have a radius of 250 and 800 units, respectively.

Heat Exchangers

(Spacebuild only) The Heat Exchangers ensure a comfortable temperature within a certain radius. When on a hot planet (like Venus or Mercury), Heat Exchangers use Energy and Coolant. When on a cold planet (like Mars), they use only Energy. The Small and Large Heat Exchangers have a radius of 250 and 800 units, respectively.

Climate Regulator

(Spacebuild only) The Climate Regulator is a combined Air Exchanger and Heat Exchanger with a radius of 1200 units.

Atmospheric Probe

(Spacebuild only) The Atmospheric Probe collects data from planets, and is meant to be used with Wire (see Life Support and Wire for more info). The Atmospheric Probe requires Energy to run and outputs:

Air Hydroponics

(Spacebuild only) Air Hydroponics is meant to used with Oxygen Scrubbers. It creates Air from nearby players and adds 1 unit of Air per second to a single Oxygen Scrubber. It does not need to be linked to the system, just within range of players and an Oxygen Scrubber. Air Hydroponics slowly die over time and must be periodically re-watered ("watered", with the use key, or repaired).

Generators

Air Compressor
Wind Generator
Oxygen Scrubber
Coolant Compressor
Solar Panel
Hydro Generator
Fusion Generator

Air Compressor

The Air Compressor compresses air for storage in Air Tanks. It only works in habitable environments (like Earth), does not work underwater, and requires Energy to run. The Air Compressor outputs 80 units of air per second.

Coolant Compressor

(Spacebuild only) The Coolant Compressor compresses coolant for storage in Coolant Tanks. It will work anywhere as long as there is sufficient Energy to operate it. The Coolant Compressor outputs 80 units of coolant per second.

Hydro Generator

The Hydro Generator generates energy for storage in Energy Cells. It only works underwater. The Hydro Generator outputs a constant 60 units of energy per second.

Solar Panel

The Solar Panel generates energy for storage in Energy Cells. It must have direct line-of-sight to the sun to work and will not work underwater. The energy produced depends on atmospheric conditions. The Solar Panel will generate 10 units of energy per second on Earth, 20 in space, and 2 on Venus.

Wind Generator

The Wind Generator generates energy for storage in Energy Cells. It will not work underwater. The energy produced is random and depends on atmospheric conditions. The Wind Generator will generate from 1 to 40 units of energy per second on Earth, none in space, and up to 400 on Venus.

Oxygen Scrubber

The Oxygen Scrubber generates air for storage in Air Tanks. It will only work on planets with an atmosphere and requires energy to run. The Oxygen Scrubber randomly produces from 1 to 3 units of air per second. Using Air Hydroponics will increase the output of a single Oxygen Scrubber.

Fusion Generator

The Fusion Generator generates energy for storage in Energy Cells. It requires Coolant to operate correctly and will become damaged over time without it. The Fusion Generator will eventually explode without Coolant, catastrophically if there is enough Energy attached to the system. The Fusion Generator uses 80 units of Coolant per second and generates 3000 units of Energy per second.

Storage Devices

Note: all Storage Devices are empty when first created.

Air Tanks
Coolant Tanks
Energy Cells
Supply Connector linked to an Air Compressor

Air Tanks

Air Tanks store air for use in Air Exchangers and Climate Regulators. The Small and Large Air Tanks store 6000 and 12000 units of air, respectively.

Coolant Tanks

(Spacebuild only) Coolant Tanks store coolant for use in Heat Exchangers and Climate Regulators. The Small and Large Coolant Tanks store 4000 and 12000 units of coolant, respectively.

Energy Cells

Energy Cells store energy for use in powering many environmental control and generator systems. The Small and Large Energy Cells store 4000 and 50000 units of energy, respectively.

Supply Connector

The Supply Connector allows a quick attach and detach method for linking Life Support systems without using the Link Tool. It can be linked to more than one type of system to process several resource types (for instance, using one Supply Connector to fill Energy Cells, Air Tanks, and Coolant Tanks at the same time).

Using a Supply Connector will make it release a plug and hose. Pick up the plug with the Gravity Gun and walk over to an unused Supply Connector. When the plug is close enough, it will automatically plug in. To retract the hose, use the Supply Connector again. The Physics Gun can be used to pull the plug out of the socket, but it is not necessary to do so to retract the hose.

Life Support Tools

Link Tool

The Link Tool is used to link together Life Support systems. Click on the first device, then click on the second device to link them. Note that storage devices cannot be directly linked to other devices that use different resources (for instance, Air Tanks and Energy Cells cannot be linked, and Coolant Tanks cannot be linked to Air Exchangers). Other items can generally be linked, however, and storage devices can be indirectly linked to one another in many different ways.

Gravity Plating

The Gravity Plating tool makes any surface walkable when in low- or zero-gravity conditions. Just click on any prop to apply gravity plating, and right click to remove it. As long as the player is at most eight player heights directly above a gravity-plated prop, he will feel normal gravity.

Repair

The Repair function is not a seperate STool, but an alternate function of the Environmental Control, Generator, and Storage Devices. Just right-click with any of these STools on an object to repair it.

Life Support and Wire

All Life Support systems can be used with Wire. If you have a very old version of wire, you must manually add a compatibility line by opening wire/lua/autorun/server/wirelib.lua, and adding "WireAddon = 1", like this:

AddCSLuaFile( "autorun/client/cl_wirelib.lua" )
-- Compatibility Global, Add This
WireAddon = 1
-- End Compatibility Global
 
-- extra table functions
 
local orig_table = table
 
-- Compacts an array by rejecting entries according to cb.
function table.Compact(tbl, cb, n)
    n = n or table.getn(tbl)
... 

If you have a recent SVN Version of Wire, this line should already be there.

Some information about using Wire with Life Support systems:

Life Support for dummies

This is only a joke and is not meant to degrade anyone.

Since all of this has been said, let me show you my favorite recipe for a all in one resource cache.

Obviously, spawn a resource cache. Now 2-4 fusion generators (for the sake of more power, 4). If you simply turn them on, the fusion generators will overheat! Now you know where I'm going :D. spawn as many coolant compressors in the same general area as the fusion reactors and resource cache as there are fusion reactors +3. Here is the last part. People who have played life support know where I'm going. Why the heck am I stalling like this? Well anyway spawn 3-4 air compressors and link them all to the cache. Do the same with all of the rest of stuff (as an alternative link the resource groups together so there will be 3 linked groups, then link them to the resource cache). Now turn on one of the fusion reactors and quickly go turn on a coolant compressor. If turning on doesn't work, try getting closer/farther/bombard the use key button. turn two more coolant machines and fusion reactors then turn on all the coolants and all fusions. Simply turn on the air compressors and you have yourself a full resource cache in no time.


Uses

This makes an excellent suit machine for land, can be a storage system in space (as the cache will still hold its contents when the generators are detached or off) and even put on ships! If you have been struggling looking for grav pad tool (so you can walk in your ship) its in the regular tool menu. If you don't know whatever the heck I'm talking about, update your life support. I have made a ship named the S.S. Sausage. I will have the design soon on here and some screen shots with it.


Errr, coming soon?

I have not put this up (even though no one really reads this) so now here is a fraction of it. I will not get the rest for a time (short time promised)

You need PHX models to make this!

Spawn 1 glass tube and 2 glass domes. Make them indestructable. I do not have the time right now to tell the rest, though your mind will wander with this starting idea. To get you started, set material flesh to the glass, make one dome transparent enough to see sausage but to see through good enough. Thats all for now!

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox