Advertisement
Mjjstral

No Man's Sky Action + Event code examples

Sep 4th, 2019
541
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   <Property name="Trigger" value="GcPlayerNearbyEvent.xml">
  2.     <Property name="RequirePlayerAction" value="OnFoot" />
  3.     <Property name="Distance" value="15" />
  4.     <Property name="Angle" value="360" />
  5.     <Property name="AnglePlayerRelative" value="False" />
  6.     <Property name="AngleOffset" value="0" />
  7.     <Property name="AngleReflected" value="False" />
  8.     <Property name="AngleMinDistance" value="1" />
  9.     <Property name="DistanceCheckType" value="Radius" />
  10.     <Property name="Inverse" value="True" />
  11.     <Property name="OnlyForLocalPlayer" value="False" />
  12.     <Property name="IncludeAllPhysics" value="False" />
  13.     <Property name="IncludeMobileNPCs" value="False" />
  14.     <Property name="TeleporterCountsAsPlayer" value="True" />
  15.   </Property>
  16.  
  17. <Property value="GcCreatureNearbyEvent.xml">
  18.   <Property name="AlertTable">
  19.     <Property value="GcCreatureAlertData.xml">
  20.       <Property name="AlertTarget" value="GcCreatureTypes.xml">
  21.         <Property name="CreatureType" value="Prey" />
  22.       </Property>
  23.       <Property name="AlertInitiator" value="GcCreatureTypes.xml">
  24.         <Property name="CreatureType" value="Drone" />
  25.       </Property>
  26.       <Property name="HearingRange" value="15" />
  27.       <Property name="SightRange" value="15" />
  28.       <Property name="SightAngle" value="60" />
  29.       <Property name="FleeRange" value="10" />
  30.     </Property>
  31.     <Property value="GcCreatureAlertData.xml">
  32.       <Property name="AlertTarget" value="GcCreatureTypes.xml">
  33.         <Property name="CreatureType" value="Passive" />
  34.       </Property>
  35.       <Property name="AlertInitiator" value="GcCreatureTypes.xml">
  36.         <Property name="CreatureType" value="Drone" />
  37.       </Property>
  38.       <Property name="HearingRange" value="15" />
  39.       <Property name="SightRange" value="15" />
  40.       <Property name="SightAngle" value="60" />
  41.       <Property name="FleeRange" value="10" />
  42.     </Property>
  43.   </Property>
  44.   <Property name="Inverse" value="False" />
  45. </Property>
  46.  
  47. CreatureType =
  48. {
  49. None, Bird, FlyingLizard, FlyingSnake, Butterfly, Beetle, Fish, Shark, Crab, Snake, Dino, Antelope, Rodent,
  50. Cat, Fiend, Drone, Quad, Walker, Predator, PlayerPredator, Prey, Passive, FishPredator, FishPrey, FiendFishSmall, FiendFishBig, Jellyfish,
  51. RockCreature, MiniFiend, Weird, Brainless
  52. }
  53.  
  54.   <Property name="Trigger" value="GcAnimFrameEvent.xml">
  55.     <Property name="Anim" value="IDLE" />
  56.     <Property name="FrameStart" value="1270" />
  57.     <Property name="StartFromEnd" value="False" />
  58.   </Property>
  59.  
  60. <Property value="GcGoToStateAction.xml">
  61.   <Property name="State" value="START" />
  62.   <Property name="Broadcast" value="False" />
  63.   <Property name="BroadcastLevel" value="Scene" />
  64. </Property>
  65.  
  66. <Property value="GcNodeActivationAction.xml">
  67.   <Property name="NodeActiveState" value="Deactivate" />
  68.   <Property name="Name" value="Steamer" />
  69.   <Property name="SceneToAdd" value="" />
  70.   <Property name="IncludePhysics" value="False" />
  71.   <Property name="NotifyNPC" value="False" />
  72.   <Property name="UseMasterModel" value="True" />
  73.   <Property name="UseLocalNode" value="False" />
  74.   <Property name="RestartEmitters" value="False" />
  75.   <Property name="AffectModels" value="False" />
  76. </Property>
  77.  
  78. <Property value="GcDestroyAction.xml">
  79.   <Property name="DestroyAll" value="True" />
  80.   <Property name="UseDestructables" value="False" />
  81.   <Property name="PlayEffect" value="FIREWORKEND" />
  82. </Property>
  83.  
  84. <Property value="GcParticleAction.xml">
  85.   <Property name="Effect" value="FIREWORKEXP03" />
  86.   <Property name="Joint" value="ExplodeLOC" />
  87.   <Property name="Exact" value="True" />
  88.   <Property name="FindRange" value="GcBroadcastLevel.xml">
  89.     <Property name="GalaxyMarkerType" value="Scene" />
  90.   </Property>
  91. </Property>
  92.  
  93. <Property value="GcPlayAudioAction.xml">
  94.   <Property name="Sound" value="Gas_Bastard_Pop" />
  95.   <Property name="UseOcclusion" value="False" />
  96.   <Property name="OcclusionRadius" value="2" />
  97. </Property>
  98.  
  99. <Property value="GcPainAction.xml">
  100.   <Property name="Damage" value="GASPLANT" />
  101.   <Property name="Radius" value="7" />
  102.   <Property name="RadiusBasedDamage" value="False" />
  103.   <Property name="AffectsPlayer" value="True" />
  104.   <Property name="RetriggerTime" value="5" />
  105. </Property>
  106.  
  107. <Property value="GcHazardAction.xml">
  108.   <Property name="Hazard" value="GcHazardModifiers.xml">
  109.     <Property name="HazardModifier" value="4" />
  110.   </Property>
  111.   <Property name="Strength" value="202" />
  112.   <Property name="Radius" value="15" />
  113.   <Property name="RadiusBasedStrength" value="False" />
  114. </Property>
  115.  
  116. <Property value="GcPlayAnimAction.xml">
  117.   <Property name="Anim" value="INFLATE" />
  118. </Property>
Advertisement
RAW Paste Data Copied
Advertisement