NoMansSky:Reference Guides/TkPhysicsComponentData: Difference between revisions

From Step Mods | Change The Game
(Created page with "== TkPhysicsComponentData == The ''TkPhysicsComponentData'' Property adds physics effects to entities. TkPhysicsComponentData has the following form (example taken from the h...")
 
m (Text replacement - "\[\[Category:NMS-Index-.*\]\]" to "")
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== TkPhysicsComponentData ==
{{#set:
NMSIndex=Entity
}}{{PageTitle|logo=nomanssky|title=TkPhysicsComponentData}}
{{NMSPage}}
{{TOC}}
 
The ''TkPhysicsComponentData'' Property adds physics effects to entities.
The ''TkPhysicsComponentData'' Property adds physics effects to entities.


Line 36: Line 41:
* VolumeTriggerType allows the following settings:
* VolumeTriggerType allows the following settings:
:* Open
:* Open
:* GenericInterior - Hides storm effects, enables hazard protection
:* GenericInterior - Hides storm effects, enables hazard protection, protects from sentinels
:* GenericGlassInterior
:* GenericGlassInterior
:* Corridor
:* Corridor
:* SmallRoom
:* SmallRoom
:* LargeRoom
:* LargeRoom
:* OpenCovered
:* OpenCovered - storm effects visible, enables hazard protection
:* HazardProtection - Enables hazard protection
:* HazardProtection - storm effects visible, enables hazard protection
:* FieldBoundary
:* FieldBoundary
:* Custom_Biodome
:* Custom_Biodome
Line 50: Line 55:
:* NexusCommunityHub
:* NexusCommunityHub
:* NexusHangar
:* NexusHangar
{{NMSPageClose}}
[[Category:No Man's Sky]][[Category:NMS-Reference]][[Category:NMS-Reference-XML]]

Latest revision as of 19:07, August 5, 2021

Nomanssky flare.png

TkPhysicsComponentData

The TkPhysicsComponentData Property adds physics effects to entities.

TkPhysicsComponentData has the following form (example taken from the heater entity):

<Property value="TkPhysicsComponentData.xml">
  <Property name="Data" value="TkPhysicsData.xml">
	<Property name="Mass" value="0" />
	<Property name="Friction" value="0.5" />
	<Property name="RollingFriction" value="0.2" />
	<Property name="AngularDamping" value="0.2" />
	<Property name="LinearDamping" value="0.1" />
	<Property name="Gravity" value="20" />
  </Property>
  <Property name="VolumeTriggerType" value="TkVolumeTriggerType.xml">
	<Property name="VolumeTriggerType" value="HazardProtection" />
  </Property>
  <Property name="SurfaceProperties" value="None" />
  <Property name="TriggerVolume" value="True" />
  <Property name="Climbable" value="False" />
  <Property name="Floor" value="False" />
  <Property name="IgnoreModelOwner" value="False" />
  <Property name="NoVehicleCollide" value="False" />
  <Property name="NoPlayerCollide" value="False" />
  <Property name="CameraInvisible" value="False" />
  <Property name="InvisibleForInteraction" value="False" />
  <Property name="AllowTeleporter" value="False" />
  <Property name="BlockTeleporter" value="False" />
  <Property name="DisableGravity" value="False" />
  <Property name="SpinOnCreate" value="0" />
</Property>

Many of the properties are self explanatory.

  • If TriggerVolume is set to "True", it will enable the VolumeTriggerType in the applicable volume (area of space).
  • VolumeTriggerType allows the following settings:
  • Open
  • GenericInterior - Hides storm effects, enables hazard protection, protects from sentinels
  • GenericGlassInterior
  • Corridor
  • SmallRoom
  • LargeRoom
  • OpenCovered - storm effects visible, enables hazard protection
  • HazardProtection - storm effects visible, enables hazard protection
  • FieldBoundary
  • Custom_Biodome
  • Portal
  • VehicleBoost
  • NexusPlaza
  • NexusCommunityHub
  • NexusHangar