NoMansSky:Reference Guides/HazardTable: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) |
TechAngel85 (talk | contribs) |
||
Line 5: | Line 5: | ||
=== Data Structure === | === Data Structure === | ||
The following the the structure of | The following the the completed structure of an entry in the HazardTable. Below it, the structure is broken down for explanation. | ||
<pre> | <pre> | ||
<Property name=" | <Property name="NoOxygen" value="GcPlayerHazardData.xml"> | ||
<Property name="ProtectionInitialTime" value=" | <Property name="ProtectionInitialTime" value="10" /> | ||
<Property name="ProtectionTime" value="Vector2f.xml"> | <Property name="ProtectionTime" value="Vector2f.xml"> | ||
<Property name="x" value=" | <Property name="x" value="90" /> | ||
<Property name="y" value=" | <Property name="y" value="90" /> | ||
</Property> | </Property> | ||
<Property name="DamageRate" value="Vector2f.xml"> | <Property name="DamageRate" value="Vector2f.xml"> | ||
<Property name="x" value=" | <Property name="x" value="10" /> | ||
<Property name="y" value=" | <Property name="y" value="10" /> | ||
</Property> | </Property> | ||
<Property name="WoundRate" value="Vector2f.xml"> | <Property name="WoundRate" value="Vector2f.xml"> | ||
<Property name="x" value=" | <Property name="x" value="10" /> | ||
<Property name="y" value=" | <Property name="y" value="10" /> | ||
</Property> | </Property> | ||
<Property name="RechargeInitialTime" value=" | <Property name="RechargeInitialTime" value="1" /> | ||
<Property name="RechargeTime" value=" | <Property name="RechargeTime" value="10" /> | ||
<Property name="Damage" value="" /> | <Property name="Damage" value="NOOXYDAMAGE" /> | ||
<Property name="Increases" value=" | <Property name="Increases" value="False" /> | ||
<Property name="Curve" value="TkCurveType.xml"> | <Property name="Curve" value="TkCurveType.xml"> | ||
<Property name="Curve" value="Linear" /> | <Property name="Curve" value="Linear" /> | ||
</Property> | </Property> | ||
<Property name="TriggerValue" value=" | <Property name="TriggerValue" value="0.5" /> | ||
<Property name="CapValue" value=" | <Property name="CapValue" value="1" /> | ||
<Property name="CriticalValue" value=" | <Property name="CriticalValue" value="1" /> | ||
<Property name="OutputMultiplier" value="1" /> | <Property name="OutputMultiplier" value="1" /> | ||
<Property name="OutputMinAddition" value="0" /> | <Property name="OutputMinAddition" value="0" /> | ||
Line 36: | Line 36: | ||
</Property> | </Property> | ||
</pre> | </pre> | ||
<pre> | |||
<Property name="NoOxygen" value="GcPlayerHazardData.xml"> | |||
</pre> | |||
; Name | |||
: The name of the hazard. | |||
{{NMSPageClose}} | {{NMSPageClose}} | ||
[[Category:No Man's Sky]][[Category:NMS-Reference]][[Category:NMS-Reference-MBIN]] | [[Category:No Man's Sky]][[Category:NMS-Reference]][[Category:NMS-Reference-MBIN]] |
Revision as of 02:36, August 18, 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 gas.
Data Structure
The following the the completed structure of an entry in the HazardTable. Below it, the structure is broken down for explanation.
<Property name="NoOxygen" value="GcPlayerHazardData.xml"> <Property name="ProtectionInitialTime" value="10" /> <Property name="ProtectionTime" value="Vector2f.xml"> <Property name="x" value="90" /> <Property name="y" value="90" /> </Property> <Property name="DamageRate" value="Vector2f.xml"> <Property name="x" value="10" /> <Property name="y" value="10" /> </Property> <Property name="WoundRate" value="Vector2f.xml"> <Property name="x" value="10" /> <Property name="y" value="10" /> </Property> <Property name="RechargeInitialTime" value="1" /> <Property name="RechargeTime" value="10" /> <Property name="Damage" value="NOOXYDAMAGE" /> <Property name="Increases" value="False" /> <Property name="Curve" value="TkCurveType.xml"> <Property name="Curve" value="Linear" /> </Property> <Property name="TriggerValue" value="0.5" /> <Property name="CapValue" value="1" /> <Property name="CriticalValue" value="1" /> <Property name="OutputMultiplier" value="1" /> <Property name="OutputMinAddition" value="0" /> <Property name="OutputMaxAddition" value="0" /> </Property>
<Property name="NoOxygen" value="GcPlayerHazardData.xml">
- Name
- The name of the hazard.