NoMansSky:Reference Guides/Hazards Overview

From Step Mods | Change The Game
Nomanssky flare.png

Hazards Overview

Introduction

In NMS, hazards can take 5 forms :

  • Lack of oxygen : when swimming for too long
  • Cold exposition : cold planets and storms, void of derelict freighters
  • Heat exposition : hot planets and heat storms
  • Radiation exposition : Radioactive planets and storms
  • Toxin exposition : Toxic planets and storms

Module properties

Technological protection modules are defined like all the non procedural modules in METADATA/REALITY/TABLES/NMS_REALITY_GCTECHNOLOGYTABLE.MBIN
You can quickly find them by searching this common property in the converted .EXML file : <Property name="StatsType" value="Suit_Protection" />

Suit modules resistance

Each hazard suit module adds some resistance to one particular hazard.
Their resistance time is defined in METADATA/SIMULATION/ENVIRONMENT/HAZARDTABLE.MBIN.
This table has most of the hazard settings dealing with resistance time and damage with time due to hazards.

Planet hazards settings

Each planet type or biome type has some hazard probability, either during normal time or during storms. These settings are defined in 2 file from METADATA/SIMULATION/SOLARSYSTEM/WEATHER folder :

  • WEATHERLIST.MBIN : Weather calls and some hazard min/max values
  • SPECIFIC WEATHER FILES : Fog, storms, weather particle, planet filter and hazard settings per weather

UI Hazard effects

When you're suffering from a hazard, a special effect appears on the whole screen.
The texture called for each hazard is defined in GCUIGLOBALS.GLOBAL.MBIN file :

  <Property name="HazardTextures">
   <Property name="None" value="NMSString0x80.xml">
     <Property name="Value" value="" />
   </Property>
   <Property name="NoOxygen" value="NMSString0x80.xml">
     <Property name="Value" value="" />
   </Property>
   <Property name="ExtremeHeat" value="NMSString0x80.xml">
     <Property name="Value" value="TEXTURES/EFFECTS/FULLSCREEN/HAZARDS/HOT.DDS" />
   </Property>
   <Property name="ExtremeCold" value="NMSString0x80.xml">
     <Property name="Value" value="TEXTURES/EFFECTS/FULLSCREEN/HAZARDS/COLD.DDS" />
   </Property>
   <Property name="ToxicGas" value="NMSString0x80.xml">
     <Property name="Value" value="TEXTURES/EFFECTS/FULLSCREEN/HAZARDS/TOXIC.DDS" />
   </Property>
   <Property name="Radiation" value="NMSString0x80.xml">
     <Property name="Value" value="TEXTURES/EFFECTS/FULLSCREEN/HAZARDS/RADIATION.DDS" />
   </Property>
 </Property>