Be sure to DELETE any previous versions of Life Support(pre-1.7) before installing this version, or there will be conflicts.
Here is a tutorial on how to use many of the components, brought to you by Field Medic:
If you run eHud, here is a more detailed HUD(also by Field Medic) to show your suit systems status:
HUD Download:
http://home.comcast.net/~gatcomb/ls.txt
eHud Thread:
http://forums.facepunchstudios.com/s...d.php?t=292615
To install the HUD, drop the .txt file in your garrysmod/data/hud/base folder. Then load up eHud through the console command hud_edit. Right click on the screen and use the left and right arrows in the context manual to select ls.txt. Edit the properties to set it to visible. Go back to the console and type hud_edit and you're all set!
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...
Also for SpaceBuild Gamemode:
http://forums.facepunchstudios.com/s...d.php?t=289298
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 Exchagners 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.
I got the idea to make this mod when playing on the huge abyss found in this map:
http://forums.facepunchstudios.com/s...d.php?t=281790


Update: Version 1.8:
-Added: Air and Coolant compressors now have "Overdrive" mode
-Fixed: Atmospheric Probe spamming console with "grav"
-Added: full duplicator support
-Added: Resource Cache
-Fixed: Air and Heat Exchangers not consuming resources
-Fixed: More weird behavior...

Note: From now on this mod
REQUIRES the
Resource Distribution Addon, found here:
http://forums.facepunchstudios.com/s...d.php?t=311224
Unit Maintenance
All Life Support Devices can be damaged, and when their health falls below a certain point they become defective. For example, an air tank can take a slight beating, but eventually it'll start leaking and at last explode alltogether. Same with coolant tanks. The energy cells fail in a different way. When they are damaged to the point of defectiveness, they occasionally discharge a random amount of energy while in air, but if they are underwater they will short out and dump the full contents of one battery into the surrounding water, hurting nearby players. The pumps and exchangers will randomly turn off if already on when damaged while in a defective state, and energy generators will provide diminished or erratic output.
Pod Link
If you just want to make a small fighter, there's no need for bulky Air and Heat Exchangers, you can link a pod directly to the Air, Energy and Coolant receptacles and receive life support at its most efficient(totally contained within a small space, your suit makes the best use of resources, the pod link capitalizes on this.)
Storage Units
Receptacles to store and transport resources. They come in Large or Small sizes. The Resource Cache is a consolidated storage unit, Small and Large containers for all 3 resource types(Air, Energy and Coolant.)
Solar Panel
Works well as long as it has direct sunlight, its output is diminished by the atmospheric density. On Earth you'll get maybe 10 units per second, while in space you'll get 20. On Venus though you'll be lucky to get 2 units per second.. They will not function underwater.
Wind Turbine
Works well in dense atmosphere, and not at all in space. The weather is random so you'll get sporradic output ranging from 1 unit per second to 60 on Earth, and nearly 10x that on Venus due to its extreme atmospheric density. Wind Generators will fail catastrophically if immersed in water!
Hydro Generator
Only works under water, provides a steady 80 units per second.
Fusion Reactor
This will put out 3000 energy per tick, but it requires a constant flow of coolant to keep from overheating. If it does not have coolant, a warning signal will beep and it will start to smoke, losing health every tick. If the reactor becomes defective while a large amount of energy is stored in the circuit, it will go into a critical state, blaring a loud siren and occasionally shooting off massive arcs. This is a bad sign, if it is destroyed in this state, it will have devastating consequences for your ship/base and nearby objects.
Coolant Compressor
This device maintains the pressure of a refrigerant as it is recycled through your system.
Supports Overdrive
Air Compressor
This device rapidly refills air tanks with gas taken directly from breathable atmosphere. The compressor will shut off when run in a vacuum, though if it is run underwater it will overload and break down.
Supports Overdrive
Oxygen Scrubber
This device actively absorbs trace amounts of Oxygen from any gas or liquid medium. It works a bit like the Air Compressor, only it's smaller and gives much less air. Its main advantage is that it will run anywhere there is atmosphere, even if it's unbreathable.
Hydroponics
These are plants that work in conjunction with O2 Scrubbers and the presence of players providing carbon dioxide. One plant will provide 1 unit of oxygen per tick, which is absorbed by the O2 Scrubber and transferred to your tanks. You'll need at least 5 of them near a scrubber to support 1 player, and also the plants will stop producing and begin to die if there is nobody around to produce Co2 for them to use.
Suit Dispenser
This will link to Air Tanks, Energy Cells and Coolant Tanks to provide an access port for you to refill your Suit Systems. With enough Air, Energy and Coolant you can survive inhospitable environments to a varying degree. Keep an eye on your Temperature Indicator and Air Gauge. The Temperature Indicator has a small box with a frame around it, the frame indicates external temperature and the inner box shows your body temperature. The white halo around the inner box is the amount of juice left in your suit systems to protect you. When they run out, the box in the middle becomes the same color/temperature as the frame on the outside, indicating you're beginning to suffer the effects(along with health loss!)
Air Exchagner
While active and sufficiently supplied with air, this device creates a breathable space within its radius of effect. It also stabilizes atmospheric pressure to protect players from compression damage.
Heat Exchanger
While active and sufficiently supplied with Energy or Refrigerant, this device sustains a habitable temperature within its radius of effect. Due to the need to regulate conditions in a large area, it is quite inefficient while immersed in atmosphere; However this is not the case in a vacuum, as the only heat losses are due to black-body radiation emanating from the ship hull.
Climate Regulator
This acts like a large version of the Air and Heat Exchanger combined into one unit, simplifies your Heating, Ventilation and AC layout for stations and large vessels.
Gravity Plates
This is designed to provide a walkable surface under any gravitational conditions. As long as a prop covered in gravity plating is at most 8 player-heights below your feet you'll feel normal gravity. Great for space stations and large ships with traversible interiors.
Atmospheric Probe
Since all these environments pretty much guarantee death to the unprepared, you'll probably want to know what to bring before venturing onto the surface. To gather information about atmospheric conditions you can launch an Atmospheric Probe and use a Wired Radio to relay information back to your safe location on a ship in orbit or HQ back on Earth.
*
Overdrive Mode
To activate this mode, either press "Use" again immediately after activation of the compressor, or use the "Overdrive" Wire Input(recommended.) This mode will boost the output and energy consumption, but will slowly wear down the system. Best used only in emergencies.
The SpaceBuild Gamemode thread can be found here:
http://forums.facepunchstudios.com/s...d.php?t=289298
Changelog:
Code:
Update: Version 1.7:
updated eHud Support in cl_lifesupport.lua
all units destructible
added full duplicator support
added fusion reactor
added hydroponics
added burning death
added Resource Distribution Compatibility
UPDATE: Version 1.6:
added eHud Support to cl_lifesupport.lua
fixed divide by zero error and its evil cousin..
fixed duplicator registration most likely
fixed plug deletion while retracting
fixed probe showing stats momentarily when unpowered
UPDATE: Version 1.5:
added Climate Regulator(air + heat in 1 unit)
added Link Tool(with rope detail options)
added Retractable Supply Connector
added Gravity Plating Tool
added Pod Link
fixed a lot of lag...
fixed a lot of other stuff...
UPDATE: Version 1.4b:
fixed: Heat Exchangers showing 0 Coolant
fixed: Air Exchangers failing under water
fixed: HUD Interface not showing up for some players
fixed: other weird behavior...
UPDATE: Version 1.4:
complete overhaul of linking system
added Oxygen Scrubbers
fixed air exchangers giving free air with lots of tanks
fixed breathable space after using exchanger(hopefully!)
UPDATE: Version 1.3b:
fixed crash error with suit dispenser(woops!)
fixed duplicator registry
UPDATE: Version 1.3:
added Wire Support: http://www.gmodforge.com/projects/wire/
added Gravity Plate
added Heat Exchangers
added Energy Cells
added Solar, Wind and Hydro Generators
added Coolant Tanks
added Coolant Compressor
added Atmospheric Probe
added Suit Dispenser
added Temperature Parameters for SpaceBuild Gamemode
added Temperature Indicator HUD
UPDATE: Version 1.2
added SpaceBuild Gamemode Support
added Small/Large Air Exchangers
fixed pods avoiding suffocation
UPDATE: Version 1.1
added: simple bar HUD readout for personal air supply
added: Compressor now shuts off then explodes if submerged while active
added: only Respirator Refill can refill your Personal Respirator
fixed: sound looping after deleting active equipment
fixed: more efficient
todo: fix savegames....