Merge remote-tracking branch 'upstream/master' into develop
This commit is contained in:
+5
@@ -45,6 +45,11 @@
|
||||
<Inventory slots="Any, Any, Any, Any" accessiblewhenalive="False" commonness="50">
|
||||
<Item identifier="alienblood" />
|
||||
</Inventory>
|
||||
|
||||
<StatusEffect type="OnDeconstructed" target="Character">
|
||||
<SpawnItem identifiers="alienblood" spawnposition="ThisInventory" count="3" />
|
||||
</StatusEffect>
|
||||
|
||||
<ai CombatStrength="100" Sight="1" Hearing="1" AggressionHurt="200" AggressionGreed="10" FleeHealthThreshold="10" AttackWhenProvoked="False" AvoidGunfire="True" DamageThreshold="0" AvoidTime="3" MinFleeTime="20" AggressiveBoarding="True" EnforceAggressiveBehaviorForMissions="True" TargetOuterWalls="True" RandomAttack="False" CanOpenDoors="False" KeepDoorsClosed="False" AvoidAbyss="True" StayInAbyss="False" PatrolFlooded="False" PatrolDry="False" StartAggression="0" MaxAggression="100" AggressionCumulation="0" WallTargetingMethod="Target">
|
||||
<target Tag="decoy" State="Attack" Priority="500" ReactDistance="0" AttackDistance="0" Timer="0" IgnoreContained="False" IgnoreInside="False" IgnoreOutside="False" IgnoreIfNotInSameSub="True" IgnoreIncapacitated="False" Threshold="0" ThresholdMin="-1" ThresholdMax="-1" Offset="0,0" AttackPattern="Straight" PrioritizeSubCenter="False" SweepDistance="0" SweepStrength="10" SweepSpeed="1" CircleStartDistance="5000" CircleRotationSpeed="1" CircleStrikeDistanceMultiplier="5" CircleMaxRandomOffset="0" />
|
||||
<target Tag="stronger" State="Avoid" Priority="200" ReactDistance="2000" AttackDistance="0" Timer="0" IgnoreContained="False" IgnoreInside="False" IgnoreOutside="False" IgnoreIfNotInSameSub="False" IgnoreIncapacitated="False" Threshold="0" ThresholdMin="-1" ThresholdMax="-1" Offset="0,0" AttackPattern="Straight" PrioritizeSubCenter="False" SweepDistance="0" SweepStrength="10" SweepSpeed="1" CircleStartDistance="5000" CircleRotationSpeed="1" CircleStrikeDistanceMultiplier="5" CircleMaxRandomOffset="0" />
|
||||
|
||||
BIN
Binary file not shown.
+4
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<contentpackage name="Lighting stress (10000 lights)" modversion="1.0.0" corepackage="False" gameversion="1.11.5.0">
|
||||
<Submarine file="%ModDir%/Lighting stress (10000 lights).sub" />
|
||||
</contentpackage>
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
+23
@@ -0,0 +1,23 @@
|
||||
<Items>
|
||||
<Item
|
||||
name="Oxygen Dispenser Test"
|
||||
identifier="oxygendispensertest"
|
||||
tags="oxygengenerator,refuelableitem,donttakeitemstorefill"
|
||||
category="Machine"
|
||||
scale="0.5"
|
||||
isshootable="true" GrabWhenSelected="true">
|
||||
|
||||
<Sprite texture="%ModDir%/EthanolPowerGenerator.png" depth="0.55" sourcerect="0,336,112,128"/>
|
||||
|
||||
<Body width="112" height="128" density="25" />
|
||||
<Holdable selectkey="Select" pickkey="Use" slots="RightHand+LeftHand" msg="ItemMsgDetach" MsgWhenDropped="ItemMsgPickupSelect" PickingTime="5.0" holdpos="0,-80" handle1="-30,14" handle2="30,14" attachable="true" aimable="true" AttachesToFloor="true"
|
||||
AttachedByDefault="true" DisallowAttachingOverTags="container,planter,refuelableitem" DisallowAttachingOverSize="115,130">
|
||||
</Holdable>
|
||||
|
||||
<ItemContainer hideitems="false" drawinventory="true" ItemsUseInventoryPlacement="true" capacity="1" maxstacksize="1" canbeselected="true" itempos="-25,-20" iteminterval="0,0" itemrotation="0" msg="ItemMsgOxygenRefill" containedspritedepth="0.1">
|
||||
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
|
||||
<SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="64,448,64,64" origin="0.5,0.5" />
|
||||
<Containable items="oxygensource" />
|
||||
</ItemContainer>
|
||||
</Item>
|
||||
</Items>
|
||||
BIN
Binary file not shown.
+36
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Items>
|
||||
<Item name="fliptestholdable" identifier="fliptestholdable" Category="Misc" Tags="smallitem" health="35" maxstacksize="1" scale="0.5" isshootable="true" requireaimtouse="true">
|
||||
<sprite texture="Content/Map/Outposts/Art/FactionItems.png" sourcerect="263,193,38,39" depth="0.2" origin="0.5,0.5" />
|
||||
<Body radius="28" density="15" />
|
||||
<LightComponent LightColor="220,150,30,150" range="15" IsOn="true" castshadows="false" lightoffset="40,20" vulnerabletoemp="false" >
|
||||
<IsActiveConditional HasStatusTag="smoking" />
|
||||
<StatusEffect OffsetCopiesEntityTransform="true" offset="40,20" type="OnUse" target="This" statuseffecttags="smoking" duration="0.1" stackable="false">
|
||||
<ParticleEmitter particle="blooddrop" particlespersecond="10" scalemin="3" scalemax="3" velocitymin="0" velocitymax="0" colormultiplier="255,255,255,180" lifetimemultiplier="2"/>
|
||||
<ParticleEmitter particle="smoke" particlespersecond="3" scalemin="0.35" scalemax="0.5" velocitymin="0" velocitymax="10" colormultiplier="255,255,255,200" />
|
||||
</StatusEffect>
|
||||
</LightComponent>
|
||||
<Holdable slots="Any,RightHand,LeftHand" aimable="false" aimpos="32,21" handle1="0,-22" holdangle="0" aimangle="-25" swingamount="0,0" swingspeed="0.5" swingwhenusing="true" msg="ItemMsgPickUpSelect">
|
||||
<StatusEffect type="OnUse" target="This" Condition="-4.0" />
|
||||
<StatusEffect type="OnUse" target="This">
|
||||
<Conditional InWater="false" />
|
||||
<Sound file="Content/Items/Medical/ITEM_cigarette.ogg" range="250" loop="true" selectionmode="Random" />
|
||||
</StatusEffect>
|
||||
<StatusEffect type="OnBroken" target="This">
|
||||
<SpawnItem identifier="bananapeel" spawnposition="SameInventory"/>
|
||||
<Remove />
|
||||
</StatusEffect>
|
||||
</Holdable>
|
||||
</Item>
|
||||
|
||||
<Item name="fliptestlight" identifier="fliptestlighttower" width="176" height="352" texturescale="1.0,1.0" scale="0.5" category="Decorative" subcategory="mining" noninteractable="true">
|
||||
<sprite texture="Content/Map/Outposts/Art/TunnelWalls.png" sourcerect="849,1697,176,352" depth="0.97" premultiplyalpha="false" origin="0.5,0.5" />
|
||||
<LightComponent range="160.0" lightcolor="255,234,181,200" IsOn="true" castshadows="false" LightOffset="200,147" allowingameediting="false">
|
||||
<sprite texture="Content/Map/Outposts/Art/TunnelWalls.png" sourcerect="671,1697,176,62" depth="0.1" origin="0.5,0.5" alpha="1.0" />
|
||||
<StatusEffect OffsetCopiesEntityTransform="true" offset="200,147" type="OnActive" target="This" duration="0.1" stackable="false">
|
||||
<ParticleEmitter particle="blooddrop" particlespersecond="10" scalemin="3" scalemax="3" velocitymin="0" velocitymax="0" colormultiplier="255,255,255,180" lifetimemultiplier="2"/>
|
||||
<ParticleEmitter particle="smoke" particlespersecond="3" scalemin="0.35" scalemax="0.5" velocitymin="0" velocitymax="10" colormultiplier="255,255,255,200" />
|
||||
</StatusEffect>
|
||||
</LightComponent>
|
||||
</Item>
|
||||
</Items>
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<contentpackage name="[DebugOnlyTest]RotationAndFlippingTests" modversion="1.0.2" corepackage="False" gameversion="1.7.6.0">
|
||||
<contentpackage name="[DebugOnlyTest]RotationAndFlippingTests" modversion="1.0.3" corepackage="False" gameversion="1.11.5.0">
|
||||
<Item file="%ModDir%/OxygenDispenserTest.xml" />
|
||||
<Item file="%ModDir%/StatusEffectAndLightTest.xml" />
|
||||
<Submarine file="%ModDir%/RotationAndFlippingTests.sub" />
|
||||
</contentpackage>
|
||||
@@ -0,0 +1,159 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RandomEvents>
|
||||
<EventPrefabs>
|
||||
|
||||
<ScriptedEvent identifier="testpathfinding1" tags="testpathfinding_colony">
|
||||
|
||||
<SpawnAction NPCSetIdentifier="customnpcs1" NPCIdentifier="artiedolittle" TargetTag="npc1" SpawnPointTag="spawnpoint1" />
|
||||
<SpawnAction NPCSetIdentifier="customnpcs1" NPCIdentifier="clownmessenger" TargetTag="npc2" SpawnPointTag="spawnpoint2" />
|
||||
<SpawnAction NPCSetIdentifier="customnpcs1" NPCIdentifier="jacovsubra" TargetTag="npc3" SpawnPointTag="spawnpoint3" />
|
||||
<SpawnAction NPCSetIdentifier="customnpcs1" NPCIdentifier="coalitionspy" TargetTag="npc4" SpawnPointTag="spawnpoint4" />
|
||||
<SpawnAction NPCSetIdentifier="customnpcs1" NPCIdentifier="raptorowner" TargetTag="npc5" SpawnPointTag="spawnpoint5" />
|
||||
<SpawnAction NPCSetIdentifier="customnpcs1" NPCIdentifier="hognose" TargetTag="npc6" SpawnPointTag="spawnpoint6" />
|
||||
<SpawnAction NPCSetIdentifier="customnpcs1" NPCIdentifier="drugdealer" TargetTag="npc7" SpawnPointTag="spawnpoint7" />
|
||||
|
||||
<TagAction criteria="hullname:goalroom" tag="goal" />
|
||||
|
||||
<NPCFollowAction NPCTag="npc1" TargetTag="goal" />
|
||||
<NPCFollowAction NPCTag="npc2" TargetTag="goal" />
|
||||
<NPCFollowAction NPCTag="npc3" TargetTag="goal" />
|
||||
<NPCFollowAction NPCTag="npc4" TargetTag="goal" />
|
||||
<NPCFollowAction NPCTag="npc5" TargetTag="goal" forcewalk="true" />
|
||||
<NPCFollowAction NPCTag="npc6" TargetTag="goal" forcewalk="true" />
|
||||
<NPCFollowAction NPCTag="npc7" TargetTag="goal" forcewalk="true" />
|
||||
|
||||
<ConversationAction Text="Spawned 7 test NPCs. They should now navigate to the furthest module at the right side of the outpost. You may fast-forward by 60 seconds to skip to the end of the test." />
|
||||
|
||||
<WaitAction time="60" />
|
||||
|
||||
<CheckVisibilityAction EntityTag="npc1" TargetTag="goal" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 1 (Artie Dolittle) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc2" TargetTag="goal" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 2 (Clown Messenger) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc3" TargetTag="goal" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 3 (Jacov Subra) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc4" TargetTag="goal" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 4 (Coalition Operative) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc5" TargetTag="goal" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 5 (Severo Ruiz) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc6" TargetTag="goal" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 6 (Captain Hognose) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc7" TargetTag="goal" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 7 (Drug Dealer) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<!-- ALL SUCCEEDED ******************************* -->
|
||||
<ConversationAction Text="NPC test successful! All NPCs made it to the target module in time." />
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
|
||||
<ConversationAction Text="Starting second test: making the NPCs navigate back to the left side of the outpost." />
|
||||
|
||||
<TagAction criteria="hullname:goalroom2" tag="goal2" />
|
||||
|
||||
<NPCFollowAction NPCTag="npc1" TargetTag="goal2" forcewalk="true" />
|
||||
<WaitAction time="2" />
|
||||
|
||||
<NPCFollowAction NPCTag="npc2" TargetTag="goal2" forcewalk="true" />
|
||||
<WaitAction time="2" />
|
||||
<!-- follow another NPC instead of going directly for the goal! -->
|
||||
<NPCFollowAction NPCTag="npc3" TargetTag="npc2" forcewalk="true" />
|
||||
<WaitAction time="2" />
|
||||
<NPCFollowAction NPCTag="npc4" TargetTag="goal2" />
|
||||
<WaitAction time="2" />
|
||||
<NPCFollowAction NPCTag="npc5" TargetTag="goal2" />
|
||||
<WaitAction time="2" />
|
||||
<NPCFollowAction NPCTag="npc6" TargetTag="goal2" />
|
||||
<WaitAction time="2" />
|
||||
<!-- follow another NPC instead of going directly for the goal! -->
|
||||
<NPCFollowAction NPCTag="npc7" TargetTag="npc4" />
|
||||
|
||||
<WaitAction time="100" />
|
||||
|
||||
<CheckVisibilityAction EntityTag="npc1" TargetTag="goal2" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 1 (Artie Dolittle) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc2" TargetTag="goal2" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 2 (Clown Messenger) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc3" TargetTag="goal2" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 3 (Jacov Subra) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc4" TargetTag="goal2" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 4 (Coalition Operative) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc5" TargetTag="goal2" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 5 (Severo Ruiz) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc6" TargetTag="goal2" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 6 (Captain Hognose) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<CheckVisibilityAction EntityTag="npc7" TargetTag="goal2" MaxDistance="500">
|
||||
<Failure>
|
||||
<ConversationAction Text="Test failed. NPC 7 (Drug Dealer) did not make it to the target module in time." />
|
||||
</Failure>
|
||||
<Success>
|
||||
<!-- ALL SUCCEEDED ******************************* -->
|
||||
<ConversationAction Text="NPC test successful! All NPCs made it to the target module in time." />
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
</Success>
|
||||
</CheckVisibilityAction>
|
||||
|
||||
</ScriptedEvent>
|
||||
</EventPrefabs>
|
||||
|
||||
</RandomEvents>
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<contentpackage name="[DebugOnlyTest]TestPathFinding" modversion="1.0.0" corepackage="False" gameversion="1.12.4.0">
|
||||
<Outpost file="%ModDir%/[DebugOnlyTest]TestPathFinding.sub" />
|
||||
|
||||
<RandomEvents file="%ModDir%/Events.xml" />
|
||||
|
||||
|
||||
</contentpackage>
|
||||
Reference in New Issue
Block a user