NoMansSky:Reference Guides/HazardTable: Difference between revisions

From Step Mods | Change The Game
(Created page with "__NOTITLE__ {{NMSPage|contentTitle=Game Structure // HazardTable MBIN}} == Hazard Table == Handles the environmental hazards that affect the player/suit. === Data Structure ...")
 
Line 2: Line 2:
{{NMSPage|contentTitle=Game Structure // HazardTable MBIN}}
{{NMSPage|contentTitle=Game Structure // HazardTable MBIN}}
== Hazard Table ==
== Hazard Table ==
Handles the environmental hazards that affect the player/suit.  
Handles the environmental hazards that affect the player/suit. This currently includes: No hazards, no oxygen, extreme cold and heat, radiation, and toxic.


=== Data Structure ===
=== Data Structure ===

Revision as of 17:51, August 17, 2020

Hazard Table

Handles the environmental hazards that affect the player/suit. This currently includes: No hazards, no oxygen, extreme cold and heat, radiation, and toxic.

Data Structure

The following the the structure of each entry in the HazardTable:

    <Property name="None" value="GcPlayerHazardData.xml">
      <Property name="ProtectionInitialTime" value="0" />
      <Property name="ProtectionTime" value="Vector2f.xml">
        <Property name="x" value="0" />
        <Property name="y" value="0" />
      </Property>
      <Property name="DamageRate" value="Vector2f.xml">
        <Property name="x" value="0" />
        <Property name="y" value="0" />
      </Property>
      <Property name="WoundRate" value="Vector2f.xml">
        <Property name="x" value="0" />
        <Property name="y" value="0" />
      </Property>
      <Property name="RechargeInitialTime" value="0" />
      <Property name="RechargeTime" value="0" />
      <Property name="Damage" value="" />
      <Property name="Increases" value="True" />
      <Property name="Curve" value="TkCurveType.xml">
        <Property name="Curve" value="Linear" />
      </Property>
      <Property name="TriggerValue" value="100" />
      <Property name="CapValue" value="100" />
      <Property name="CriticalValue" value="100" />
      <Property name="OutputMultiplier" value="1" />
      <Property name="OutputMinAddition" value="0" />
      <Property name="OutputMaxAddition" value="0" />
    </Property>

Template:NMSPageClose