mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 21:27:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,340 @@
|
||||
<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.3666666857898235321</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>
|
||||
</Properties>
|
||||
<Item class="Camera" referent="RBX1">
|
||||
<Properties>
|
||||
<Ref name="CameraSubject">null</Ref>
|
||||
<token name="CameraType">0</token>
|
||||
<CoordinateFrame name="CoordinateFrame">
|
||||
<X>-1.28055739</X>
|
||||
<Y>2.85404038</Y>
|
||||
<Z>4.71323586</Z>
|
||||
<R00>0.965016544</R00>
|
||||
<R01>0.13228178</R01>
|
||||
<R02>-0.226372868</R02>
|
||||
<R10>-7.4505806e-09</R10>
|
||||
<R11>0.863395393</R11>
|
||||
<R12>0.504528046</R12>
|
||||
<R20>0.26218915</R20>
|
||||
<R21>-0.486877918</R21>
|
||||
<R22>0.833190739</R22>
|
||||
</CoordinateFrame>
|
||||
<float name="FieldOfView">70</float>
|
||||
<CoordinateFrame name="Focus">
|
||||
<X>2.34140849</X>
|
||||
<Y>-5.21840858</Y>
|
||||
<Z>-8.61781597</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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Terrain" referent="RBX2">
|
||||
<Properties>
|
||||
<bool name="Anchored">true</bool>
|
||||
<bool name="Archivable">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>126</Y>
|
||||
<Z>-2</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>
|
||||
<string name="ClusterGridV2"></string>
|
||||
<float name="Elasticity">0.5</float>
|
||||
<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">true</bool>
|
||||
<token name="Material">256</token>
|
||||
<string name="Name">Terrain</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>
|
||||
<Vector3 name="size">
|
||||
<X>2044</X>
|
||||
<Y>252</Y>
|
||||
<Z>2044</Z>
|
||||
</Vector3>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="StarterPack" referent="RBX3">
|
||||
<Properties>
|
||||
<string name="Name">StarterPack</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="StarterGui" referent="RBX4">
|
||||
<Properties>
|
||||
<string name="Name">StarterGui</string>
|
||||
<bool name="ShowDevelopmentGui">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SoundService" referent="RBX5">
|
||||
<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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CollectionService" referent="RBX6">
|
||||
<Properties>
|
||||
<string name="Name">CollectionService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="PhysicsService" referent="RBX7">
|
||||
<Properties>
|
||||
<string name="Name">PhysicsService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="BadgeService" referent="RBX8">
|
||||
<Properties>
|
||||
<string name="Name">BadgeService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Geometry" referent="RBX9">
|
||||
<Properties>
|
||||
<string name="Name">Geometry</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="RenderHooksService" referent="RBX10">
|
||||
<Properties>
|
||||
<string name="Name">RenderHooksService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SocialService" referent="RBX11">
|
||||
<Properties>
|
||||
<string name="Name">SocialService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Debris" referent="RBX12">
|
||||
<Properties>
|
||||
<int name="MaxItems">1000</int>
|
||||
<string name="Name">Debris</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TimerService" referent="RBX13">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ScriptInformationProvider" referent="RBX14">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CookiesService" referent="RBX15">
|
||||
<Properties>
|
||||
<string name="Name">CookiesService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TeleportService" referent="RBX16">
|
||||
<Properties>
|
||||
<string name="Name">Teleport Service</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Players" referent="RBX17">
|
||||
<Properties>
|
||||
<bool name="CharacterAutoLoads">true</bool>
|
||||
<string name="Name">Players</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Selection" referent="RBX18">
|
||||
<Properties>
|
||||
<string name="Name">Selection</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TestService" referent="RBX19">
|
||||
<Properties>
|
||||
<bool name="AutoRuns">true</bool>
|
||||
<string name="Description"></string>
|
||||
<bool name="Is30FpsThrottleEnabled">true</bool>
|
||||
<bool name="IsPhysicsEnvironmentalThrottled">true</bool>
|
||||
<bool name="IsSleepAllowed">true</bool>
|
||||
<string name="Name">TestService</string>
|
||||
<double name="Timeout">10</double>
|
||||
</Properties>
|
||||
<Item class="Script" referent="RBX20">
|
||||
<Properties>
|
||||
<bool name="Disabled">false</bool>
|
||||
<Content name="LinkedSource"><null></null></Content>
|
||||
<string name="Name">Script</string>
|
||||
<ProtectedString name="Source">print 'Test Started!'
|
||||
|
||||
Instance.new("Part", workspace)
|
||||
|
||||
TestPart = game.Workspace.Part
|
||||
|
||||
----------------------
|
||||
--Part Appearance test
|
||||
----------------------
|
||||
|
||||
--Materials test
|
||||
|
||||
TestPart.Material = "Wood"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.Wood)
|
||||
|
||||
TestPart.Material = "Slate"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.Slate)
|
||||
|
||||
TestPart.Material = "Concrete"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.Concrete)
|
||||
|
||||
TestPart.Material = "CorrodedMetal"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.CorrodedMetal)
|
||||
|
||||
TestPart.Material = "DiamondPlate"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.DiamondPlate)
|
||||
|
||||
TestPart.Material = "Foil"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.Foil)
|
||||
|
||||
TestPart.Material = "Grass"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.Grass)
|
||||
|
||||
TestPart.Material = "Ice"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.Ice)
|
||||
|
||||
TestPart.Material = "Plastic"
|
||||
RBX_CHECK_EQUAL(TestPart.Material, Enum.Material.Plastic)
|
||||
|
||||
|
||||
--Colors test
|
||||
|
||||
|
||||
TestPart.BrickColor = BrickColor.new("White")
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.BrickColor.Name, "White")
|
||||
|
||||
TestPart.BrickColor = BrickColor.new("Black")
|
||||
RBX_CHECK_EQUAL(TestPart.BrickColor.Name,"Black")
|
||||
|
||||
TestPart.BrickColor = BrickColor.new("Really red")
|
||||
RBX_CHECK_EQUAL(TestPart.BrickColor.Name, "Really red")
|
||||
|
||||
TestPart.BrickColor = BrickColor.new("Lime green")
|
||||
RBX_CHECK_EQUAL(TestPart.BrickColor.Name, "Lime green")
|
||||
|
||||
TestPart.BrickColor = BrickColor.new("Really blue")
|
||||
RBX_CHECK_EQUAL(TestPart.BrickColor.Name, "Really blue")
|
||||
|
||||
TestPart.BrickColor = BrickColor.new("Hot pink")
|
||||
RBX_CHECK_EQUAL(TestPart.BrickColor.Name,"Hot pink")
|
||||
|
||||
TestPart.BrickColor = BrickColor.new("New Yeller")
|
||||
RBX_CHECK_EQUAL(TestPart.BrickColor.Name, "New Yeller")
|
||||
|
||||
|
||||
--Reflectance
|
||||
|
||||
TestPart.Reflectance = 1
|
||||
RBX_CHECK_EQUAL(TestPart.Reflectance, 1)
|
||||
|
||||
TestPart.Reflectance = 0
|
||||
RBX_CHECK_EQUAL(TestPart.Reflectance, 0)
|
||||
|
||||
|
||||
--Transparency
|
||||
|
||||
|
||||
TestPart.Transparency = 1
|
||||
RBX_CHECK_EQUAL(TestPart.Transparency, 1)
|
||||
|
||||
TestPart.Transparency = 0
|
||||
RBX_CHECK_EQUAL(TestPart.Transparency, 0)
|
||||
</ProtectedString>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="Lighting" referent="RBX21">
|
||||
<Properties>
|
||||
<Color3 name="Ambient">4286611584</Color3>
|
||||
<float name="Brightness">1</float>
|
||||
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
||||
<Color3 name="ColorShift_Top">4278190080</Color3>
|
||||
<Color3 name="FogColor">4290822336</Color3>
|
||||
<float name="FogEnd">100000</float>
|
||||
<float name="FogStart">0</float>
|
||||
<float name="GeographicLatitude">41.7332993</float>
|
||||
<string name="Name">Lighting</string>
|
||||
<Color3 name="ShadowColor">4289967032</Color3>
|
||||
<string name="TimeOfDay">14:00:00</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ChangeHistoryService" referent="RBX22">
|
||||
<Properties>
|
||||
<string name="Name">ChangeHistoryService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
Binary file not shown.
@@ -0,0 +1,357 @@
|
||||
<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">10.533333882689476</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>
|
||||
</Properties>
|
||||
<Item class="Camera" referent="RBX1">
|
||||
<Properties>
|
||||
<Ref name="CameraSubject">null</Ref>
|
||||
<token name="CameraType">0</token>
|
||||
<CoordinateFrame name="CoordinateFrame">
|
||||
<X>0.737178564</X>
|
||||
<Y>12.1969004</Y>
|
||||
<Z>21.4028587</Z>
|
||||
<R00>0.971961021</R00>
|
||||
<R01>-0.1111167</R01>
|
||||
<R02>0.207231432</R02>
|
||||
<R10>-7.45057971e-009</R10>
|
||||
<R11>0.881303132</R11>
|
||||
<R12>0.472551405</R12>
|
||||
<R20>-0.235142052</R20>
|
||||
<R21>-0.459301561</R21>
|
||||
<R22>0.856592298</R22>
|
||||
</CoordinateFrame>
|
||||
<float name="FieldOfView">70</float>
|
||||
<CoordinateFrame name="Focus">
|
||||
<X>0.322715759</X>
|
||||
<Y>11.2517977</Y>
|
||||
<Z>19.6896744</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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Terrain" referent="RBX2">
|
||||
<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>126</Y>
|
||||
<Z>-2</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>
|
||||
<string name="ClusterGridV2"></string>
|
||||
<float name="Elasticity">0.300000012</float>
|
||||
<float name="Friction">0.5</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">true</bool>
|
||||
<token name="Material">256</token>
|
||||
<string name="Name">Terrain</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>
|
||||
<Vector3 name="size">
|
||||
<X>2044</X>
|
||||
<Y>252</Y>
|
||||
<Z>2044</Z>
|
||||
</Vector3>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="StarterPack" referent="RBX3">
|
||||
<Properties>
|
||||
<string name="Name">StarterPack</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="StarterGui" referent="RBX4">
|
||||
<Properties>
|
||||
<string name="Name">StarterGui</string>
|
||||
<bool name="ShowDevelopmentGui">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SoundService" referent="RBX5">
|
||||
<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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CollectionService" referent="RBX6">
|
||||
<Properties>
|
||||
<string name="Name">CollectionService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="PhysicsService" referent="RBX7">
|
||||
<Properties>
|
||||
<string name="Name">PhysicsService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="BadgeService" referent="RBX8">
|
||||
<Properties>
|
||||
<string name="Name">BadgeService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Geometry" referent="RBX9">
|
||||
<Properties>
|
||||
<string name="Name">Geometry</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="RenderHooksService" referent="RBX10">
|
||||
<Properties>
|
||||
<string name="Name">RenderHooksService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SocialService" referent="RBX11">
|
||||
<Properties>
|
||||
<string name="Name">SocialService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="GamePassService" referent="RBX12">
|
||||
<Properties>
|
||||
<string name="Name">GamePassService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Debris" referent="RBX13">
|
||||
<Properties>
|
||||
<int name="MaxItems">1000</int>
|
||||
<string name="Name">Debris</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TimerService" referent="RBX14">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ScriptInformationProvider" referent="RBX15">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CookiesService" referent="RBX16">
|
||||
<Properties>
|
||||
<string name="Name">CookiesService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TeleportService" referent="RBX17">
|
||||
<Properties>
|
||||
<string name="Name">Teleport Service</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Players" referent="RBX18">
|
||||
<Properties>
|
||||
<bool name="CharacterAutoLoads">true</bool>
|
||||
<string name="Name">Players</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="FWService" referent="RBX19">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="UserInputService" referent="RBX20">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ContextActionService" referent="RBX21">
|
||||
<Properties>
|
||||
<string name="Name">ContextActionService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ScriptService" referent="RBX22">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Selection" referent="RBX23">
|
||||
<Properties>
|
||||
<string name="Name">Selection</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TestService" referent="RBX24">
|
||||
<Properties>
|
||||
<bool name="AutoRuns">true</bool>
|
||||
<string name="Description"></string>
|
||||
<bool name="Is30FpsThrottleEnabled">true</bool>
|
||||
<bool name="IsPhysicsEnvironmentalThrottled">true</bool>
|
||||
<bool name="IsSleepAllowed">true</bool>
|
||||
<string name="Name">TestService</string>
|
||||
<double name="Timeout">10</double>
|
||||
</Properties>
|
||||
<Item class="Script" referent="RBX25">
|
||||
<Properties>
|
||||
<bool name="Disabled">false</bool>
|
||||
<Content name="LinkedSource"><null></null></Content>
|
||||
<string name="Name">Script</string>
|
||||
<ProtectedString name="Source">print 'Test Started!'
|
||||
|
||||
Instance.new("Part", workspace)
|
||||
|
||||
TestPart = game.Workspace.Part
|
||||
|
||||
-----------------
|
||||
--Part Data test
|
||||
-----------------
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.ClassName, "Part")
|
||||
|
||||
TestPart.Name = "Isabella"
|
||||
RBX_CHECK_EQUAL(TestPart.Name, "Isabella")
|
||||
|
||||
game.Workspace.Isabella.Name = "Part"
|
||||
RBX_CHECK_EQUAL(TestPart.Name, "Part")
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.Parent, game.Workspace)
|
||||
|
||||
Instance.new('Part', Workspace).Name = "Brick"
|
||||
|
||||
TestPart.Parent = game.Workspace.Brick
|
||||
RBX_CHECK_EQUAL(TestPart.Parent, game.Workspace.Brick)
|
||||
|
||||
game.Workspace.Brick.Part.Parent = game.Workspace
|
||||
|
||||
game.Workspace.Brick:Destroy()
|
||||
|
||||
for index, child in pairs(Workspace:GetChildren()) do
|
||||
RBX_CHECK_NE(child,"Brick")
|
||||
end
|
||||
|
||||
---------------
|
||||
--Position test
|
||||
---------------
|
||||
|
||||
TestPart.Position = Vector3.new(50, 5.5, 50)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.Position, Vector3.new(50, 5.5, 50))
|
||||
|
||||
TestPart.Position = Vector3.new(0, 0, 0)
|
||||
RBX_CHECK_EQUAL(TestPart.Position, Vector3.new(0, 0.0, 0))
|
||||
|
||||
---------------
|
||||
--Ground Plane Position test
|
||||
---------------
|
||||
|
||||
TestPart.Position = Vector3.new(0, -400, 0)
|
||||
RBX_CHECK_EQUAL(TestPart.Position.x, 0)
|
||||
RBX_CHECK_GT(TestPart.Position.y, -400) -- Should be -399.3 but we have floating point issues...
|
||||
RBX_CHECK_LT(TestPart.Position.y, -399)
|
||||
RBX_CHECK_EQUAL(TestPart.Position.z, 0)
|
||||
|
||||
--------------
|
||||
--RotVelocity
|
||||
--------------
|
||||
|
||||
TestPart.RotVelocity = Vector3.new(50, 5.5, 50)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.RotVelocity, Vector3.new(50, 5.5, 50))
|
||||
|
||||
TestPart.RotVelocity = Vector3.new(0, 0, 0)
|
||||
RBX_CHECK_EQUAL(TestPart.RotVelocity, Vector3.new(0, 0, 0))
|
||||
|
||||
---------------
|
||||
--Velocity
|
||||
---------------
|
||||
|
||||
TestPart.Velocity = Vector3.new(50, 5.5, 50)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.Velocity, Vector3.new(50, 5.5, 50))
|
||||
|
||||
TestPart.Velocity = Vector3.new(0, 0, 0)
|
||||
RBX_CHECK_EQUAL(TestPart.RotVelocity, Vector3.new(0, 0, 0))
|
||||
|
||||
</ProtectedString>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="Lighting" referent="RBX26">
|
||||
<Properties>
|
||||
<Color3 name="Ambient">4286611584</Color3>
|
||||
<float name="Brightness">1</float>
|
||||
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
||||
<Color3 name="ColorShift_Top">4278190080</Color3>
|
||||
<Color3 name="FogColor">4290822336</Color3>
|
||||
<float name="FogEnd">100000</float>
|
||||
<float name="FogStart">0</float>
|
||||
<float name="GeographicLatitude">41.7332993</float>
|
||||
<string name="Name">Lighting</string>
|
||||
<Color3 name="ShadowColor">4289967032</Color3>
|
||||
<string name="TimeOfDay">14:00:00</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ChangeHistoryService" referent="RBX27">
|
||||
<Properties>
|
||||
<string name="Name">ChangeHistoryService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
@@ -0,0 +1,337 @@
|
||||
<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">9.9000005163252353668</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>
|
||||
</Properties>
|
||||
<Item class="Camera" referent="RBX1">
|
||||
<Properties>
|
||||
<Ref name="CameraSubject">null</Ref>
|
||||
<token name="CameraType">0</token>
|
||||
<CoordinateFrame name="CoordinateFrame">
|
||||
<X>23.7713146</X>
|
||||
<Y>13.0315809</Y>
|
||||
<Z>-43.4618149</Z>
|
||||
<R00>-0.848045647</R00>
|
||||
<R01>-0.174273074</R01>
|
||||
<R02>0.500447392</R02>
|
||||
<R10>-1.4901163e-08</R10>
|
||||
<R11>0.944377184</R11>
|
||||
<R12>0.328864664</R12>
|
||||
<R20>-0.52992332</R20>
|
||||
<R21>0.278892249</R21>
|
||||
<R22>-0.800874829</R22>
|
||||
</CoordinateFrame>
|
||||
<float name="FieldOfView">70</float>
|
||||
<CoordinateFrame name="Focus">
|
||||
<X>-0.664607048</X>
|
||||
<Y>-3.02627182</Y>
|
||||
<Z>-4.3565731</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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Terrain" referent="RBX2">
|
||||
<Properties>
|
||||
<bool name="Anchored">true</bool>
|
||||
<bool name="Archivable">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>126</Y>
|
||||
<Z>-2</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>
|
||||
<string name="ClusterGridV2"></string>
|
||||
<float name="Elasticity">0.5</float>
|
||||
<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">true</bool>
|
||||
<token name="Material">256</token>
|
||||
<string name="Name">Terrain</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>
|
||||
<Vector3 name="size">
|
||||
<X>2044</X>
|
||||
<Y>252</Y>
|
||||
<Z>2044</Z>
|
||||
</Vector3>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="StarterPack" referent="RBX3">
|
||||
<Properties>
|
||||
<string name="Name">StarterPack</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="StarterGui" referent="RBX4">
|
||||
<Properties>
|
||||
<string name="Name">StarterGui</string>
|
||||
<bool name="ShowDevelopmentGui">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SoundService" referent="RBX5">
|
||||
<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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CollectionService" referent="RBX6">
|
||||
<Properties>
|
||||
<string name="Name">CollectionService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="PhysicsService" referent="RBX7">
|
||||
<Properties>
|
||||
<string name="Name">PhysicsService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="BadgeService" referent="RBX8">
|
||||
<Properties>
|
||||
<string name="Name">BadgeService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Geometry" referent="RBX9">
|
||||
<Properties>
|
||||
<string name="Name">Geometry</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="RenderHooksService" referent="RBX10">
|
||||
<Properties>
|
||||
<string name="Name">RenderHooksService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SocialService" referent="RBX11">
|
||||
<Properties>
|
||||
<string name="Name">SocialService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Debris" referent="RBX12">
|
||||
<Properties>
|
||||
<int name="MaxItems">1000</int>
|
||||
<string name="Name">Debris</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TimerService" referent="RBX13">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ScriptInformationProvider" referent="RBX14">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CookiesService" referent="RBX15">
|
||||
<Properties>
|
||||
<string name="Name">CookiesService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TeleportService" referent="RBX16">
|
||||
<Properties>
|
||||
<string name="Name">Teleport Service</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Players" referent="RBX17">
|
||||
<Properties>
|
||||
<bool name="CharacterAutoLoads">true</bool>
|
||||
<string name="Name">Players</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Selection" referent="RBX18">
|
||||
<Properties>
|
||||
<string name="Name">Selection</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TestService" referent="RBX19">
|
||||
<Properties>
|
||||
<bool name="AutoRuns">true</bool>
|
||||
<string name="Description"></string>
|
||||
<bool name="Is30FpsThrottleEnabled">true</bool>
|
||||
<bool name="IsPhysicsEnvironmentalThrottled">true</bool>
|
||||
<bool name="IsSleepAllowed">true</bool>
|
||||
<string name="Name">TestService</string>
|
||||
<double name="Timeout">10</double>
|
||||
</Properties>
|
||||
<Item class="Script" referent="RBX20">
|
||||
<Properties>
|
||||
<bool name="Disabled">false</bool>
|
||||
<Content name="LinkedSource"><null></null></Content>
|
||||
<string name="Name">Script</string>
|
||||
<ProtectedString name="Source">print 'Test Started!'
|
||||
|
||||
Instance.new("Part", workspace)
|
||||
|
||||
TestPart = game.Workspace.Part
|
||||
|
||||
-----------------
|
||||
--Part Part test
|
||||
-----------------
|
||||
|
||||
TestPart.Elasticity = 1
|
||||
RBX_CHECK_EQUAL(TestPart.Elasticity, 1)
|
||||
|
||||
TestPart.Elasticity = 0.5
|
||||
RBX_CHECK_EQUAL(TestPart.Elasticity, 0.5)
|
||||
|
||||
TestPart.Elasticity = 0
|
||||
RBX_CHECK_EQUAL(TestPart.Elasticity, 0)
|
||||
|
||||
TestPart.Friction = 1
|
||||
RBX_CHECK_EQUAL(TestPart.Friction, 1)
|
||||
|
||||
TestPart.Friction = 0.5
|
||||
RBX_CHECK_EQUAL(TestPart.Friction, 0.5)
|
||||
|
||||
TestPart.Friction = 0
|
||||
RBX_CHECK_EQUAL(TestPart.Friction, 0)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.FormFactor, Enum.FormFactor.Brick)
|
||||
|
||||
TestPart.Size = Vector3.new(20, 6, 10)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(20, 6, 10))
|
||||
|
||||
TestPart.Size = Vector3.new(4, 1.2, 2)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(4, 1.2, 2))
|
||||
|
||||
|
||||
TestPart.FormFactor = 2
|
||||
RBX_CHECK_EQUAL(TestPart.FormFactor, Enum.FormFactor.Plate)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(4, 0.400000006, 2))
|
||||
TestPart.Size = Vector3.new(20, 2, 10)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(20, 2, 10))
|
||||
|
||||
|
||||
TestPart.FormFactor = 3
|
||||
RBX_CHECK_EQUAL(TestPart.FormFactor, Enum.FormFactor.Custom)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(20, 2, 10))
|
||||
TestPart.Size = Vector3.new(0.2, 0.2, 0.2)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(0.2, 0.2, 0.2))
|
||||
|
||||
TestPart.Size = Vector3.new(10, 1, 5)
|
||||
|
||||
TestPart.FormFactor = 0
|
||||
RBX_CHECK_EQUAL(TestPart.FormFactor, Enum.FormFactor.Symmetric)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(10, 1, 5))
|
||||
|
||||
TestPart.FormFactor = 1
|
||||
RBX_CHECK_EQUAL(TestPart.FormFactor, Enum.FormFactor.Brick)
|
||||
TestPart.Size = Vector3.new(4, 1.2, 2)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(4, 1.2, 2))
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.Shape, Enum.PartType.Block)
|
||||
|
||||
TestPart.Shape = 0
|
||||
RBX_CHECK_EQUAL(TestPart.Shape, Enum.PartType.Ball)
|
||||
RBX_CHECK_EQUAL(TestPart.FormFactor, Enum.FormFactor.Symmetric)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(4, 4, 4))
|
||||
|
||||
TestPart.Shape = 2
|
||||
RBX_CHECK_EQUAL(TestPart.Shape, Enum.PartType.Cylinder)
|
||||
RBX_CHECK_EQUAL(TestPart.FormFactor, Enum.FormFactor.Symmetric)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(4, 4, 4))
|
||||
|
||||
TestPart.Shape = 1
|
||||
RBX_CHECK_EQUAL(TestPart.Shape, Enum.PartType.Block)
|
||||
TestPart.FormFactor = 1
|
||||
RBX_CHECK_EQUAL(TestPart.FormFactor, Enum.FormFactor.Brick)
|
||||
TestPart.Size = Vector3.new(4, 1.2, 2)
|
||||
RBX_CHECK_EQUAL(TestPart.Size, Vector3.new(4, 1.2, 2))</ProtectedString>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="Lighting" referent="RBX21">
|
||||
<Properties>
|
||||
<Color3 name="Ambient">4286611584</Color3>
|
||||
<float name="Brightness">1</float>
|
||||
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
||||
<Color3 name="ColorShift_Top">4278190080</Color3>
|
||||
<Color3 name="FogColor">4290822336</Color3>
|
||||
<float name="FogEnd">100000</float>
|
||||
<float name="FogStart">0</float>
|
||||
<float name="GeographicLatitude">41.7332993</float>
|
||||
<string name="Name">Lighting</string>
|
||||
<Color3 name="ShadowColor">4289967032</Color3>
|
||||
<string name="TimeOfDay">14:00:00</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ChangeHistoryService" referent="RBX22">
|
||||
<Properties>
|
||||
<string name="Name">ChangeHistoryService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
@@ -0,0 +1,395 @@
|
||||
<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">2.8000001460313797</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>
|
||||
</Properties>
|
||||
<Item class="Camera" referent="RBX1">
|
||||
<Properties>
|
||||
<Ref name="CameraSubject">null</Ref>
|
||||
<token name="CameraType">0</token>
|
||||
<CoordinateFrame name="CoordinateFrame">
|
||||
<X>1.45023704</X>
|
||||
<Y>1.13287139</Y>
|
||||
<Z>6.74033165</Z>
|
||||
<R00>0.977627397</R00>
|
||||
<R01>-0.034105055</R01>
|
||||
<R02>0.20756115</R02>
|
||||
<R10>-0</R10>
|
||||
<R11>0.986767948</R11>
|
||||
<R12>0.162139073</R12>
|
||||
<R20>-0.210344464</R20>
|
||||
<R21>-0.158511594</R21>
|
||||
<R22>0.964691281</R22>
|
||||
</CoordinateFrame>
|
||||
<float name="FieldOfView">70</float>
|
||||
<CoordinateFrame name="Focus">
|
||||
<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">Camera</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Terrain" referent="RBX2">
|
||||
<Properties>
|
||||
<bool name="Anchored">true</bool>
|
||||
<bool name="Archivable">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>126</Y>
|
||||
<Z>-2</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>
|
||||
<string name="ClusterGridV2"></string>
|
||||
<float name="Elasticity">0.5</float>
|
||||
<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">true</bool>
|
||||
<token name="Material">256</token>
|
||||
<string name="Name">Terrain</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>
|
||||
<Vector3 name="size">
|
||||
<X>2044</X>
|
||||
<Y>252</Y>
|
||||
<Z>2044</Z>
|
||||
</Vector3>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="StarterPack" referent="RBX3">
|
||||
<Properties>
|
||||
<string name="Name">StarterPack</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="StarterGui" referent="RBX4">
|
||||
<Properties>
|
||||
<string name="Name">StarterGui</string>
|
||||
<bool name="ShowDevelopmentGui">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SoundService" referent="RBX5">
|
||||
<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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CollectionService" referent="RBX6">
|
||||
<Properties>
|
||||
<string name="Name">CollectionService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="PhysicsService" referent="RBX7">
|
||||
<Properties>
|
||||
<string name="Name">PhysicsService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="BadgeService" referent="RBX8">
|
||||
<Properties>
|
||||
<string name="Name">BadgeService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Geometry" referent="RBX9">
|
||||
<Properties>
|
||||
<string name="Name">Geometry</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="RenderHooksService" referent="RBX10">
|
||||
<Properties>
|
||||
<string name="Name">RenderHooksService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SocialService" referent="RBX11">
|
||||
<Properties>
|
||||
<string name="Name">SocialService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Debris" referent="RBX12">
|
||||
<Properties>
|
||||
<int name="MaxItems">1000</int>
|
||||
<string name="Name">Debris</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TimerService" referent="RBX13">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ScriptInformationProvider" referent="RBX14">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CookiesService" referent="RBX15">
|
||||
<Properties>
|
||||
<string name="Name">CookiesService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TeleportService" referent="RBX16">
|
||||
<Properties>
|
||||
<string name="Name">Teleport Service</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Players" referent="RBX17">
|
||||
<Properties>
|
||||
<bool name="CharacterAutoLoads">true</bool>
|
||||
<string name="Name">Players</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Selection" referent="RBX18">
|
||||
<Properties>
|
||||
<string name="Name">Selection</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TestService" referent="RBX19">
|
||||
<Properties>
|
||||
<bool name="AutoRuns">true</bool>
|
||||
<string name="Description"></string>
|
||||
<bool name="Is30FpsThrottleEnabled">true</bool>
|
||||
<bool name="IsPhysicsEnvironmentalThrottled">true</bool>
|
||||
<bool name="IsSleepAllowed">true</bool>
|
||||
<string name="Name">TestService</string>
|
||||
<double name="Timeout">10</double>
|
||||
</Properties>
|
||||
<Item class="Script" referent="RBX20">
|
||||
<Properties>
|
||||
<bool name="Disabled">false</bool>
|
||||
<Content name="LinkedSource"><null></null></Content>
|
||||
<string name="Name">Script</string>
|
||||
<ProtectedString name="Source">print 'Test Started!'
|
||||
|
||||
Instance.new("Part", workspace)
|
||||
|
||||
TestPart = game.Workspace.Part
|
||||
|
||||
-------------------
|
||||
--SurfaceInput test
|
||||
-------------------
|
||||
|
||||
function SurfaceInputTest(arg)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.NoInput)
|
||||
|
||||
TestPart[arg] = 1
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.LeftTread)
|
||||
|
||||
TestPart[arg] = 2
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.RightTread)
|
||||
|
||||
TestPart[arg] = 3
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Steer)
|
||||
|
||||
TestPart[arg] = 4
|
||||
--There is a typo bug here in the Enum name
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Throtle)
|
||||
|
||||
TestPart[arg] = 6
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.UpDown)
|
||||
|
||||
TestPart[arg] = 7
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Action1)
|
||||
|
||||
TestPart[arg] = 8
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Action2)
|
||||
|
||||
TestPart[arg] = 9
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Action3)
|
||||
|
||||
TestPart[arg] = 10
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Action4)
|
||||
|
||||
TestPart[arg] = 11
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Action5)
|
||||
|
||||
TestPart[arg] = 12
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Constant)
|
||||
|
||||
TestPart[arg] = 13
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.Sin)
|
||||
|
||||
TestPart[arg] = 0
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.InputType.NoInput)
|
||||
|
||||
end
|
||||
|
||||
--ParamTest
|
||||
|
||||
function ParamAParamBTest(arg1, arg2)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart[arg1], -0.5)
|
||||
|
||||
TestPart[arg1] = -1
|
||||
RBX_CHECK_EQUAL(TestPart[arg1], -1)
|
||||
|
||||
TestPart[arg1] = 0.5
|
||||
RBX_CHECK_EQUAL(TestPart[arg1], 0.5)
|
||||
|
||||
TestPart[arg1] = 2
|
||||
RBX_CHECK_EQUAL(TestPart[arg1], 2)
|
||||
|
||||
TestPart[arg1] = -0.5
|
||||
RBX_CHECK_EQUAL(TestPart[arg1], -0.5)
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart[arg2], 0.5)
|
||||
|
||||
TestPart[arg2] = 1
|
||||
RBX_CHECK_EQUAL(TestPart[arg2], 1)
|
||||
|
||||
TestPart[arg2] = -2
|
||||
RBX_CHECK_EQUAL(TestPart[arg2], -2)
|
||||
|
||||
TestPart[arg2] = -0.5
|
||||
RBX_CHECK_EQUAL(TestPart[arg2], -0.5)
|
||||
|
||||
TestPart[arg2] = 0.5
|
||||
RBX_CHECK_EQUAL(TestPart[arg2], 0.5)
|
||||
|
||||
end
|
||||
|
||||
---BackSurfaceInput
|
||||
|
||||
SurfaceInputTest("BackSurfaceInput")
|
||||
|
||||
---BottomSurfaceInput
|
||||
|
||||
SurfaceInputTest("BottomSurfaceInput")
|
||||
|
||||
---FrontSurfaceInput
|
||||
|
||||
SurfaceInputTest("FrontSurfaceInput")
|
||||
|
||||
---LeftSurfaceInput
|
||||
|
||||
SurfaceInputTest("LeftSurfaceInput")
|
||||
|
||||
---RightSurfaceInput
|
||||
|
||||
SurfaceInputTest("RightSurfaceInput")
|
||||
|
||||
---TopSurfaceInput
|
||||
|
||||
SurfaceInputTest("TopSurfaceInput")
|
||||
|
||||
---BackParamA BackParamB
|
||||
|
||||
ParamAParamBTest("BackParamA", "BackParamB")
|
||||
|
||||
---BottomParamA BottomParamB
|
||||
|
||||
ParamAParamBTest("BottomParamA", "BottomParamB")
|
||||
|
||||
|
||||
---FrontParamA FrontParamB
|
||||
|
||||
ParamAParamBTest("FrontParamA", "FrontParamB")
|
||||
|
||||
---LeftParamA LeftParamB
|
||||
|
||||
ParamAParamBTest("LeftParamA", "LeftParamB")
|
||||
|
||||
---RightParamA
|
||||
|
||||
ParamAParamBTest("RightParamA", "RightParamB")
|
||||
|
||||
---TopParamA
|
||||
|
||||
ParamAParamBTest("TopParamA", "TopParamB")
|
||||
</ProtectedString>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="Lighting" referent="RBX21">
|
||||
<Properties>
|
||||
<Color3 name="Ambient">4286611584</Color3>
|
||||
<float name="Brightness">1</float>
|
||||
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
||||
<Color3 name="ColorShift_Top">4278190080</Color3>
|
||||
<Color3 name="FogColor">4290822336</Color3>
|
||||
<float name="FogEnd">100000</float>
|
||||
<float name="FogStart">0</float>
|
||||
<float name="GeographicLatitude">41.7332993</float>
|
||||
<string name="Name">Lighting</string>
|
||||
<Color3 name="ShadowColor">4289967032</Color3>
|
||||
<string name="TimeOfDay">14:00:00</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ChangeHistoryService" referent="RBX22">
|
||||
<Properties>
|
||||
<string name="Name">ChangeHistoryService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
@@ -0,0 +1,347 @@
|
||||
<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">29.833334889262915</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>
|
||||
</Properties>
|
||||
<Item class="Camera" referent="RBX1">
|
||||
<Properties>
|
||||
<Ref name="CameraSubject">null</Ref>
|
||||
<token name="CameraType">0</token>
|
||||
<CoordinateFrame name="CoordinateFrame">
|
||||
<X>-1.82716751</X>
|
||||
<Y>-3.38334775</Y>
|
||||
<Z>-4.02585697</Z>
|
||||
<R00>-0.889413834</R00>
|
||||
<R01>-0.148065642</R01>
|
||||
<R02>0.432457805</R02>
|
||||
<R10>1.4901163e-008</R10>
|
||||
<R11>0.946083963</R11>
|
||||
<R12>0.3239218</R12>
|
||||
<R20>-0.457103074</R20>
|
||||
<R21>0.288100541</R21>
|
||||
<R22>-0.84145999</R22>
|
||||
</CoordinateFrame>
|
||||
<float name="FieldOfView">70</float>
|
||||
<CoordinateFrame name="Focus">
|
||||
<X>-6.2555232</X>
|
||||
<Y>-6.70029783</Y>
|
||||
<Z>4.59066963</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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Terrain" referent="RBX2">
|
||||
<Properties>
|
||||
<bool name="Anchored">true</bool>
|
||||
<bool name="Archivable">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>126</Y>
|
||||
<Z>-2</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>
|
||||
<string name="ClusterGridV2"></string>
|
||||
<float name="Elasticity">0.5</float>
|
||||
<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">true</bool>
|
||||
<token name="Material">256</token>
|
||||
<string name="Name">Terrain</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>
|
||||
<Vector3 name="size">
|
||||
<X>2044</X>
|
||||
<Y>252</Y>
|
||||
<Z>2044</Z>
|
||||
</Vector3>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="StarterPack" referent="RBX3">
|
||||
<Properties>
|
||||
<string name="Name">StarterPack</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="StarterGui" referent="RBX4">
|
||||
<Properties>
|
||||
<string name="Name">StarterGui</string>
|
||||
<bool name="ShowDevelopmentGui">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SoundService" referent="RBX5">
|
||||
<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>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CollectionService" referent="RBX6">
|
||||
<Properties>
|
||||
<string name="Name">CollectionService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="PhysicsService" referent="RBX7">
|
||||
<Properties>
|
||||
<string name="Name">PhysicsService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="BadgeService" referent="RBX8">
|
||||
<Properties>
|
||||
<string name="Name">BadgeService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Geometry" referent="RBX9">
|
||||
<Properties>
|
||||
<string name="Name">Geometry</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="RenderHooksService" referent="RBX10">
|
||||
<Properties>
|
||||
<string name="Name">RenderHooksService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SocialService" referent="RBX11">
|
||||
<Properties>
|
||||
<string name="Name">SocialService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Debris" referent="RBX12">
|
||||
<Properties>
|
||||
<int name="MaxItems">1000</int>
|
||||
<string name="Name">Debris</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TimerService" referent="RBX13">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ScriptInformationProvider" referent="RBX14">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CookiesService" referent="RBX15">
|
||||
<Properties>
|
||||
<string name="Name">CookiesService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TeleportService" referent="RBX16">
|
||||
<Properties>
|
||||
<string name="Name">Teleport Service</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Players" referent="RBX17">
|
||||
<Properties>
|
||||
<bool name="CharacterAutoLoads">true</bool>
|
||||
<string name="Name">Players</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Selection" referent="RBX18">
|
||||
<Properties>
|
||||
<string name="Name">Selection</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TestService" referent="RBX19">
|
||||
<Properties>
|
||||
<bool name="AutoRuns">true</bool>
|
||||
<string name="Description"></string>
|
||||
<bool name="Is30FpsThrottleEnabled">true</bool>
|
||||
<bool name="IsPhysicsEnvironmentalThrottled">true</bool>
|
||||
<bool name="IsSleepAllowed">true</bool>
|
||||
<string name="Name">TestService</string>
|
||||
<double name="Timeout">10</double>
|
||||
</Properties>
|
||||
<Item class="Script" referent="RBX20">
|
||||
<Properties>
|
||||
<bool name="Disabled">false</bool>
|
||||
<Content name="LinkedSource"><null></null></Content>
|
||||
<string name="Name">Script</string>
|
||||
<ProtectedString name="Source">print 'Test Started!'
|
||||
|
||||
Instance.new("Part", workspace)
|
||||
|
||||
TestPart = game.Workspace.Part
|
||||
|
||||
-----------------
|
||||
--Part Surface test
|
||||
-----------------
|
||||
function SurfaceTypeTest(arg)
|
||||
|
||||
if (arg == "BottomSurface") then
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.BottomSurface, Enum.SurfaceType.Inlet)
|
||||
|
||||
TestPart[arg] = 0
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Smooth)
|
||||
|
||||
elseif (arg == "TopSurface") then
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart.TopSurface, Enum.SurfaceType.Studs)
|
||||
|
||||
TestPart[arg] = 0
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Smooth)
|
||||
|
||||
end
|
||||
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Smooth)
|
||||
|
||||
TestPart[arg] = 0
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Smooth)
|
||||
|
||||
TestPart[arg] = 1
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Glue)
|
||||
|
||||
TestPart[arg] = 2
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Weld)
|
||||
|
||||
TestPart[arg] = 3
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Studs)
|
||||
|
||||
TestPart[arg] = 4
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Inlet)
|
||||
|
||||
TestPart[arg] = 5
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Universal)
|
||||
|
||||
TestPart[arg] = 6
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Hinge)
|
||||
|
||||
TestPart[arg] = 7
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Motor)
|
||||
|
||||
TestPart[arg] = 8
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.SteppingMotor)
|
||||
|
||||
TestPart[arg] = 9
|
||||
RBX_CHECK_EQUAL(TestPart[arg], Enum.SurfaceType.Unjoinable)
|
||||
|
||||
end
|
||||
|
||||
---BackSurface
|
||||
|
||||
SurfaceTypeTest("BackSurface")
|
||||
|
||||
|
||||
---FrontSurface
|
||||
|
||||
SurfaceTypeTest("FrontSurface")
|
||||
|
||||
---LeftSurface
|
||||
|
||||
SurfaceTypeTest("LeftSurface")
|
||||
|
||||
---RightSurface
|
||||
|
||||
SurfaceTypeTest("RightSurface")
|
||||
|
||||
---BottomSurface
|
||||
|
||||
SurfaceTypeTest("BottomSurface")
|
||||
|
||||
TestPart.BottomSurface = 4
|
||||
RBX_CHECK_EQUAL(TestPart.BottomSurface, Enum.SurfaceType.Inlet)
|
||||
|
||||
---TopSurface
|
||||
|
||||
SurfaceTypeTest("TopSurface")
|
||||
|
||||
TestPart.TopSurface = 3
|
||||
RBX_CHECK_EQUAL(TestPart.TopSurface, Enum.SurfaceType.Studs)</ProtectedString>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="Lighting" referent="RBX21">
|
||||
<Properties>
|
||||
<Color3 name="Ambient">4286611584</Color3>
|
||||
<float name="Brightness">1</float>
|
||||
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
||||
<Color3 name="ColorShift_Top">4278190080</Color3>
|
||||
<Color3 name="FogColor">4290822336</Color3>
|
||||
<float name="FogEnd">100000</float>
|
||||
<float name="FogStart">0</float>
|
||||
<float name="GeographicLatitude">41.7332993</float>
|
||||
<string name="Name">Lighting</string>
|
||||
<Color3 name="ShadowColor">4289967032</Color3>
|
||||
<string name="TimeOfDay">14:00:00</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ChangeHistoryService" referent="RBX22">
|
||||
<Properties>
|
||||
<string name="Name">ChangeHistoryService</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
Reference in New Issue
Block a user