mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
408 lines
12 KiB
Plaintext
408 lines
12 KiB
Plaintext
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.watrbx.wtf/roblox.xsd" version="4">
|
|
<External>null</External>
|
|
<External>nil</External>
|
|
<Item class="Workspace" referent="RBX0">
|
|
<Properties>
|
|
<Ref name="CurrentCamera">RBX1</Ref>
|
|
<double name="DistributedGameTime">0.80000004172325134</double>
|
|
<CoordinateFrame name="ModelInPrimary">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
<R00>1</R00>
|
|
<R01>0</R01>
|
|
<R02>0</R02>
|
|
<R10>0</R10>
|
|
<R11>1</R11>
|
|
<R12>0</R12>
|
|
<R20>0</R20>
|
|
<R21>0</R21>
|
|
<R22>1</R22>
|
|
</CoordinateFrame>
|
|
<string name="Name">Workspace</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
<Item class="Camera" referent="RBX1">
|
|
<Properties>
|
|
<Ref name="CameraSubject">null</Ref>
|
|
<token name="CameraType">0</token>
|
|
<CoordinateFrame name="CoordinateFrame">
|
|
<X>39.7117958</X>
|
|
<Y>45.3780594</Y>
|
|
<Z>-53.1418304</Z>
|
|
<R00>-0.801044881</R00>
|
|
<R01>-0.328649551</R01>
|
|
<R02>0.500316501</R02>
|
|
<R10>-1.49011612e-008</R10>
|
|
<R11>0.835805058</R11>
|
|
<R12>0.54902637</R12>
|
|
<R20>-0.598604321</R20>
|
|
<R21>0.439794749</R21>
|
|
<R22>-0.669517338</R22>
|
|
</CoordinateFrame>
|
|
<CoordinateFrame name="Focus">
|
|
<X>0</X>
|
|
<Y>1.80000007</Y>
|
|
<Z>0</Z>
|
|
<R00>1</R00>
|
|
<R01>0</R01>
|
|
<R02>0</R02>
|
|
<R10>0</R10>
|
|
<R11>1</R11>
|
|
<R12>0</R12>
|
|
<R20>0</R20>
|
|
<R21>0</R21>
|
|
<R22>1</R22>
|
|
</CoordinateFrame>
|
|
<string name="Name">Camera</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="WedgePart" referent="RBX2">
|
|
<Properties>
|
|
<bool name="Anchored">false</bool>
|
|
<float name="BackParamA">-0.5</float>
|
|
<float name="BackParamB">0.5</float>
|
|
<token name="BackSurface">0</token>
|
|
<token name="BackSurfaceInput">0</token>
|
|
<float name="BottomParamA">-0.5</float>
|
|
<float name="BottomParamB">0.5</float>
|
|
<token name="BottomSurface">4</token>
|
|
<token name="BottomSurfaceInput">0</token>
|
|
<int name="BrickColor">194</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>9.53674316e-006</X>
|
|
<Y>20.5999985</Y>
|
|
<Z>0</Z>
|
|
<R00>0</R00>
|
|
<R01>0</R01>
|
|
<R02>1</R02>
|
|
<R10>-1</R10>
|
|
<R11>0</R11>
|
|
<R12>0</R12>
|
|
<R20>0</R20>
|
|
<R21>-1</R21>
|
|
<R22>0</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<bool name="DraggingV1">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<token name="FormFactor">1</token>
|
|
<float name="Friction">0.300000012</float>
|
|
<float name="FrontParamA">-0.5</float>
|
|
<float name="FrontParamB">0.5</float>
|
|
<token name="FrontSurface">0</token>
|
|
<token name="FrontSurfaceInput">0</token>
|
|
<float name="LeftParamA">-0.5</float>
|
|
<float name="LeftParamB">0.5</float>
|
|
<token name="LeftSurface">0</token>
|
|
<token name="LeftSurfaceInput">0</token>
|
|
<bool name="Locked">false</bool>
|
|
<token name="Material">256</token>
|
|
<string name="Name">Part1</string>
|
|
<float name="Reflectance">0</float>
|
|
<float name="RightParamA">-0.5</float>
|
|
<float name="RightParamB">0.5</float>
|
|
<token name="RightSurface">0</token>
|
|
<token name="RightSurfaceInput">0</token>
|
|
<Vector3 name="RotVelocity">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<float name="TopParamA">-0.5</float>
|
|
<float name="TopParamB">0.5</float>
|
|
<token name="TopSurface">3</token>
|
|
<token name="TopSurfaceInput">0</token>
|
|
<float name="Transparency">0</float>
|
|
<Vector3 name="Velocity">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<bool name="archivable">true</bool>
|
|
<Vector3 name="size">
|
|
<X>30</X>
|
|
<Y>10.8000002</Y>
|
|
<Z>20</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX3">
|
|
<Properties>
|
|
<bool name="Disabled">true</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Succeeded</string>
|
|
<ProtectedString name="Source">print("Run this code to check the success condition for this test.")
|
|
succeeded = False
|
|
print(succeeded)</ProtectedString>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX4">
|
|
<Properties>
|
|
<string name="Name">StopTime</string>
|
|
<int name="Value">5</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX5">
|
|
<Properties>
|
|
<string name="Name">TestCriteria</string>
|
|
<int name="Value">1</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
<Item class="StringValue" referent="RBX6">
|
|
<Properties>
|
|
<string name="Name">Value</string>
|
|
<string name="Value">ans = game:GetChildren()[1]:GetChildren()[3].Velocity.magnitude < 1.0</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="StringValue" referent="RBX7">
|
|
<Properties>
|
|
<string name="Name">Value</string>
|
|
<string name="Value">ans = false</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX8">
|
|
<Properties>
|
|
<bool name="Anchored">true</bool>
|
|
<float name="BackParamA">-0.5</float>
|
|
<float name="BackParamB">0.5</float>
|
|
<token name="BackSurface">0</token>
|
|
<token name="BackSurfaceInput">0</token>
|
|
<float name="BottomParamA">-0.5</float>
|
|
<float name="BottomParamB">0.5</float>
|
|
<token name="BottomSurface">4</token>
|
|
<token name="BottomSurfaceInput">0</token>
|
|
<int name="BrickColor">194</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2</X>
|
|
<Y>0.600000024</Y>
|
|
<Z>4.5</Z>
|
|
<R00>1</R00>
|
|
<R01>0</R01>
|
|
<R02>0</R02>
|
|
<R10>0</R10>
|
|
<R11>1</R11>
|
|
<R12>0</R12>
|
|
<R20>0</R20>
|
|
<R21>0</R21>
|
|
<R22>1</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<bool name="DraggingV1">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<token name="FormFactor">1</token>
|
|
<float name="Friction">0.300000012</float>
|
|
<float name="FrontParamA">-0.5</float>
|
|
<float name="FrontParamB">0.5</float>
|
|
<token name="FrontSurface">0</token>
|
|
<token name="FrontSurfaceInput">0</token>
|
|
<float name="LeftParamA">-0.5</float>
|
|
<float name="LeftParamB">0.5</float>
|
|
<token name="LeftSurface">0</token>
|
|
<token name="LeftSurfaceInput">0</token>
|
|
<bool name="Locked">false</bool>
|
|
<token name="Material">256</token>
|
|
<string name="Name">Part</string>
|
|
<float name="Reflectance">0</float>
|
|
<float name="RightParamA">-0.5</float>
|
|
<float name="RightParamB">0.5</float>
|
|
<token name="RightSurface">0</token>
|
|
<token name="RightSurfaceInput">0</token>
|
|
<Vector3 name="RotVelocity">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<float name="TopParamA">-0.5</float>
|
|
<float name="TopParamB">0.5</float>
|
|
<token name="TopSurface">3</token>
|
|
<token name="TopSurfaceInput">0</token>
|
|
<float name="Transparency">0</float>
|
|
<Vector3 name="Velocity">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<bool name="archivable">true</bool>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>58</X>
|
|
<Y>1.20000005</Y>
|
|
<Z>31</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX9">
|
|
<Properties>
|
|
<string name="Name">Result</string>
|
|
<int name="Value">0</int>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX10">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">print("Running embedded script...")
|
|
while time() < Workspace.StopTime.Value do
|
|
wait()
|
|
print(time())
|
|
end
|
|
|
|
success = Workspace.Part1.Velocity.magnitude < 0.02
|
|
|
|
if success
|
|
then
|
|
Workspace.Result.Value = 1
|
|
else
|
|
Workspace.Result.Value = -1
|
|
end
|
|
</ProtectedString>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="RunService" referent="RBX11">
|
|
<Properties>
|
|
<string name="Name">Run Service</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<External>RBX12</External>
|
|
<External>RBX13</External>
|
|
<Item class="ContentProvider" referent="RBX14">
|
|
<Properties>
|
|
<string name="Name">Instance</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="ContentFilter" referent="RBX15">
|
|
<Properties>
|
|
<string name="Name">ContentFilter</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="KeyframeSequenceProvider" referent="RBX16">
|
|
<Properties>
|
|
<string name="Name">Instance</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Players" referent="RBX17">
|
|
<Properties>
|
|
<int name="MaxPlayers">12</int>
|
|
<string name="Name">Players</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="StarterPack" referent="RBX18">
|
|
<Properties>
|
|
<string name="Name">StarterPack</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="StarterGui" referent="RBX19">
|
|
<Properties>
|
|
<string name="Name">StarterGui</string>
|
|
<bool name="ShowDevelopmentGui">true</bool>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="SoundService" referent="RBX20">
|
|
<Properties>
|
|
<token name="AmbientReverb">0</token>
|
|
<float name="DistanceFactor">10</float>
|
|
<float name="DopplerScale">1</float>
|
|
<string name="Name">Soundscape</string>
|
|
<float name="RolloffScale">1</float>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
<External>RBX21</External>
|
|
<External>RBX22</External>
|
|
<External>RBX23</External>
|
|
<External>RBX24</External>
|
|
<External>RBX25</External>
|
|
<External>RBX26</External>
|
|
<External>RBX27</External>
|
|
<External>RBX28</External>
|
|
<External>RBX29</External>
|
|
<External>RBX30</External>
|
|
<External>RBX31</External>
|
|
<External>RBX32</External>
|
|
<External>RBX33</External>
|
|
<External>RBX34</External>
|
|
</Item>
|
|
<Item class="PhysicsService" referent="RBX35">
|
|
<Properties>
|
|
<string name="Name">PhysicsService</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="BadgeService" referent="RBX36">
|
|
<Properties>
|
|
<string name="Name">BadgeService</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Geometry" referent="RBX37">
|
|
<Properties>
|
|
<string name="Name">Geometry</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<External>RBX38</External>
|
|
<Item class="Debris" referent="RBX39">
|
|
<Properties>
|
|
<int name="MaxItems">300</int>
|
|
<string name="Name">Debris</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Timer" referent="RBX40">
|
|
<Properties>
|
|
<string name="Name">Instance</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="ScriptInformationProvider" referent="RBX41">
|
|
<Properties>
|
|
<string name="Name">Instance</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<External>RBX42</External>
|
|
<Item class="Selection" referent="RBX43">
|
|
<Properties>
|
|
<string name="Name">Selection</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<External>RBX44</External>
|
|
<Item class="Lighting" referent="RBX45">
|
|
<Properties>
|
|
<Color3 name="Ambient">4293848814</Color3>
|
|
<float name="Brightness">1</float>
|
|
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
|
<Color3 name="ColorShift_Top">4278190080</Color3>
|
|
<float name="GeographicLatitude">41.7332993</float>
|
|
<string name="Name">Lighting</string>
|
|
<Color3 name="ShadowColor">4294967295</Color3>
|
|
<string name="TimeOfDay">14:00:00</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="ChangeHistoryService" referent="RBX46">
|
|
<Properties>
|
|
<string name="Name">ChangeHistoryService</string>
|
|
<bool name="archivable">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
</roblox> |