123
This commit is contained in:
1 parent
b6f4ce020a
commit
bae57661a9
13 files changed
+2802
-516
No files matched your search
+610
-251
@@ -127,6 +127,108 @@
|
||||
<SharedString name="Tags">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<UniqueId name="UniqueId">5241aa4869bd12870afb1bfc00000002</UniqueId>
|
||||
</Properties>
|
||||
<Item class="Part" referent="RBXCE72ED07866A4425B71B855084974D80">
|
||||
<Properties>
|
||||
<token name="shape">1</token>
|
||||
<token name="formFactorRaw">1</token>
|
||||
<bool name="Anchored">true</bool>
|
||||
<bool name="AudioCanCollide">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">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>-5.80000019</X>
|
||||
<Y>14.1499996</Y>
|
||||
<Z>1561.01501</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="CanQuery">true</bool>
|
||||
<bool name="CanTouch">true</bool>
|
||||
<bool name="CastShadow">true</bool>
|
||||
<string name="CollisionGroup">Default</string>
|
||||
<int name="CollisionGroupId">0</int>
|
||||
<Color3uint8 name="Color3uint8">4282399017</Color3uint8>
|
||||
<PhysicalProperties name="CustomPhysicalProperties">
|
||||
<CustomPhysics>false</CustomPhysics>
|
||||
</PhysicalProperties>
|
||||
<bool name="EnableFluidForces">true</bool>
|
||||
<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>
|
||||
<bool name="Massless">false</bool>
|
||||
<token name="Material">1088</token>
|
||||
<string name="MaterialVariantSerialized"></string>
|
||||
<CoordinateFrame name="PivotOffset">
|
||||
<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>
|
||||
<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>
|
||||
<int name="RootPriority">0</int>
|
||||
<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">0</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>1.5</X>
|
||||
<Y>0.300000012</Y>
|
||||
<Z>1.5</Z>
|
||||
</Vector3>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
<SecurityCapabilities name="Capabilities">0</SecurityCapabilities>
|
||||
<bool name="DefinesCapabilities">false</bool>
|
||||
<UniqueId name="HistoryId">00000000000000000000000000000000</UniqueId>
|
||||
<string name="Name">LanternCap</string>
|
||||
<BinaryString name="SerializedOverrides"></BinaryString>
|
||||
<int64 name="SourceAssetId">-1</int64>
|
||||
<SharedString name="Tags">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<UniqueId name="UniqueId">593ba5d2841d14f80afbdf11000094cb</UniqueId>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Model" referent="RBX82D0C80973C84FD89C7A84E31964EAA1">
|
||||
<Properties>
|
||||
<token name="LevelOfDetail">0</token>
|
||||
@@ -59164,27 +59266,27 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<Item class="Camera" referent="RBX01E056795B054370B5DD08C0B49C7462">
|
||||
<Properties>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>45.1410828</X>
|
||||
<Y>9.86957645</Y>
|
||||
<Z>11.3241625</Z>
|
||||
<R00>-0.191271946</R00>
|
||||
<R01>-0.0767916068</R01>
|
||||
<R02>0.978528619</R02>
|
||||
<R10>1.86264515e-09</R10>
|
||||
<R11>0.99693495</R11>
|
||||
<R12>0.0782360733</R12>
|
||||
<R20>-0.981537104</R20>
|
||||
<R21>0.0149643682</R21>
|
||||
<R22>-0.190685675</R22>
|
||||
<X>47.2727432</X>
|
||||
<Y>41.9268837</Y>
|
||||
<Z>-32.9533653</Z>
|
||||
<R00>-0.371816188</R00>
|
||||
<R01>-0.395115107</R01>
|
||||
<R02>0.840021908</R02>
|
||||
<R10>-0</R10>
|
||||
<R11>0.904897392</R11>
|
||||
<R12>0.425630033</R12>
|
||||
<R20>-0.92830646</R20>
|
||||
<R21>0.158256143</R21>
|
||||
<R22>-0.336455464</R22>
|
||||
</CoordinateFrame>
|
||||
<Ref name="CameraSubject">null</Ref>
|
||||
<token name="CameraType">0</token>
|
||||
<float name="FieldOfView">70</float>
|
||||
<token name="FieldOfViewMode">0</token>
|
||||
<CoordinateFrame name="Focus">
|
||||
<X>43.1840248</X>
|
||||
<Y>9.71310425</Y>
|
||||
<Z>11.705534</Z>
|
||||
<X>45.5927048</X>
|
||||
<Y>41.0756264</Y>
|
||||
<Z>-32.2804565</Z>
|
||||
<R00>1</R00>
|
||||
<R01>0</R01>
|
||||
<R02>0</R02>
|
||||
@@ -824574,18 +824676,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<Properties>
|
||||
<token name="LevelOfDetail">0</token>
|
||||
<CoordinateFrame name="ModelMeshCFrame">
|
||||
<X>-5.9120636</X>
|
||||
<Y>13.5201721</Y>
|
||||
<Z>61.0541649</Z>
|
||||
<R00>0.105101645</R00>
|
||||
<R01>-0.00800853409</R01>
|
||||
<R02>-0.994429231</R02>
|
||||
<R10>0.0182325132</R10>
|
||||
<R11>0.999814928</R11>
|
||||
<R12>-0.00612490624</R12>
|
||||
<R20>0.994294226</R20>
|
||||
<R21>-0.0174872056</R21>
|
||||
<R22>0.105228238</R22>
|
||||
<X>-3.18729401</X>
|
||||
<Y>14.9516335</Y>
|
||||
<Z>55.5543213</Z>
|
||||
<R00>-0.0330417752</R00>
|
||||
<R01>-1.72991399e-10</R01>
|
||||
<R02>-0.99956274</R02>
|
||||
<R10>0</R10>
|
||||
<R11>0.99999994</R11>
|
||||
<R12>-1.28056854e-09</R12>
|
||||
<R20>0.999562144</R20>
|
||||
<R21>1.8584414e-09</R21>
|
||||
<R22>-0.0330423415</R22>
|
||||
</CoordinateFrame>
|
||||
<SharedString name="ModelMeshData">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<Vector3 name="ModelMeshSize">
|
||||
@@ -824600,18 +824702,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<SharedString name="SlimHash">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<OptionalCoordinateFrame name="WorldPivotData">
|
||||
<CFrame>
|
||||
<X>46.2298737</X>
|
||||
<Y>21.6579094</Y>
|
||||
<Z>66.7582245</Z>
|
||||
<R00>0.105101645</R00>
|
||||
<R01>-0.00800853409</R01>
|
||||
<R02>-0.994429231</R02>
|
||||
<R10>0.0182325132</R10>
|
||||
<R11>0.999814987</R11>
|
||||
<R12>-0.00612490624</R12>
|
||||
<R20>0.994294286</R20>
|
||||
<R21>-0.0174872074</R21>
|
||||
<R22>0.105228215</R22>
|
||||
<X>47.7179413</X>
|
||||
<Y>22.5705357</Y>
|
||||
<Z>68.5446548</Z>
|
||||
<R00>-0.033038646</R00>
|
||||
<R01>0</R01>
|
||||
<R02>-0.999454021</R02>
|
||||
<R10>0</R10>
|
||||
<R11>1</R11>
|
||||
<R12>0</R12>
|
||||
<R20>0.999454021</R20>
|
||||
<R21>0</R21>
|
||||
<R22>-0.033038646</R22>
|
||||
</CFrame>
|
||||
</OptionalCoordinateFrame>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
@@ -824675,18 +824777,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<token name="BottomSurface">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>46.7225494</X>
|
||||
<Y>18.5166588</Y>
|
||||
<Z>67.142189</Z>
|
||||
<R00>0.105101645</R00>
|
||||
<R01>-0.00800853409</R01>
|
||||
<R02>-0.994429231</R02>
|
||||
<R10>0.0182325132</R10>
|
||||
<R11>0.999814987</R11>
|
||||
<R12>-0.00612490624</R12>
|
||||
<R20>0.994294286</R20>
|
||||
<R21>-0.0174872074</R21>
|
||||
<R22>0.105228215</R22>
|
||||
<X>48.1355591</X>
|
||||
<Y>19.4192066</Y>
|
||||
<Z>68.9349442</Z>
|
||||
<R00>-0.0330386348</R00>
|
||||
<R01>9.92353311e-10</R01>
|
||||
<R02>-0.999454021</R02>
|
||||
<R10>-1.86264515e-09</R10>
|
||||
<R11>1</R11>
|
||||
<R12>-9.31322575e-10</R12>
|
||||
<R20>0.999453902</R20>
|
||||
<R21>-1.83085858e-09</R21>
|
||||
<R22>-0.0330386534</R22>
|
||||
</CoordinateFrame>
|
||||
<bool name="CanCollide">true</bool>
|
||||
<bool name="CanQuery">true</bool>
|
||||
@@ -824813,18 +824915,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<token name="BottomSurface">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>45.8873215</X>
|
||||
<Y>25.9213238</Y>
|
||||
<Z>67.5625</Z>
|
||||
<R00>0.105101645</R00>
|
||||
<R01>-0.00800853409</R01>
|
||||
<R02>-0.994429231</R02>
|
||||
<R10>0.0182325132</R10>
|
||||
<R11>0.999814987</R11>
|
||||
<R12>-0.00612490624</R12>
|
||||
<R20>0.994294286</R20>
|
||||
<R21>-0.0174872074</R21>
|
||||
<R22>0.105228215</R22>
|
||||
<X>47.2911987</X>
|
||||
<Y>26.8218403</Y>
|
||||
<Z>69.3724213</Z>
|
||||
<R00>-0.0330386348</R00>
|
||||
<R01>9.92353311e-10</R01>
|
||||
<R02>-0.999454021</R02>
|
||||
<R10>-1.86264515e-09</R10>
|
||||
<R11>1</R11>
|
||||
<R12>-9.31322575e-10</R12>
|
||||
<R20>0.999453902</R20>
|
||||
<R21>-1.83085858e-09</R21>
|
||||
<R22>-0.0330386534</R22>
|
||||
</CoordinateFrame>
|
||||
<bool name="CanCollide">true</bool>
|
||||
<bool name="CanQuery">true</bool>
|
||||
@@ -824951,18 +825053,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<token name="BottomSurface">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>46.0903015</X>
|
||||
<Y>28.0218697</Y>
|
||||
<Z>65.8102798</Z>
|
||||
<R00>0.105101645</R00>
|
||||
<R01>-0.00800853409</R01>
|
||||
<R02>-0.994429231</R02>
|
||||
<R10>0.0182325132</R10>
|
||||
<R11>0.999814987</R11>
|
||||
<R12>-0.00612490624</R12>
|
||||
<R20>0.994294286</R20>
|
||||
<R21>-0.0174872074</R21>
|
||||
<R22>0.105228215</R22>
|
||||
<X>47.7456665</X>
|
||||
<Y>28.9510136</Y>
|
||||
<Z>67.7039337</Z>
|
||||
<R00>-0.0330386348</R00>
|
||||
<R01>9.92353311e-10</R01>
|
||||
<R02>-0.999454021</R02>
|
||||
<R10>-1.86264515e-09</R10>
|
||||
<R11>1</R11>
|
||||
<R12>-9.31322575e-10</R12>
|
||||
<R20>0.999453902</R20>
|
||||
<R21>-1.83085858e-09</R21>
|
||||
<R22>-0.0330386534</R22>
|
||||
</CoordinateFrame>
|
||||
<bool name="CanCollide">true</bool>
|
||||
<bool name="CanQuery">true</bool>
|
||||
@@ -854725,18 +854827,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<Properties>
|
||||
<token name="LevelOfDetail">0</token>
|
||||
<CoordinateFrame name="ModelMeshCFrame">
|
||||
<X>-60.1146049</X>
|
||||
<Y>17.6046791</Y>
|
||||
<Z>90.5039673</Z>
|
||||
<R00>0.518627703</R00>
|
||||
<R01>0.0668599382</R01>
|
||||
<R02>-0.852382004</R02>
|
||||
<R10>-0.0223709568</R10>
|
||||
<R11>0.997657657</R11>
|
||||
<R12>0.064643696</R12>
|
||||
<R20>0.854707778</R20>
|
||||
<R21>-0.0144574009</R21>
|
||||
<R22>0.518908501</R22>
|
||||
<X>-62.2992477</X>
|
||||
<Y>15.2551842</Y>
|
||||
<Z>80.8110962</Z>
|
||||
<R00>0.290593088</R00>
|
||||
<R01>1.00118331e-08</R01>
|
||||
<R02>-0.95686084</R02>
|
||||
<R10>3.72528985e-09</R10>
|
||||
<R11>0.999999881</R11>
|
||||
<R12>-1.39698364e-09</R12>
|
||||
<R20>0.956897318</R20>
|
||||
<R21>3.72548836e-09</R21>
|
||||
<R22>0.290603906</R22>
|
||||
</CoordinateFrame>
|
||||
<SharedString name="ModelMeshData">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<Vector3 name="ModelMeshSize">
|
||||
@@ -854751,18 +854853,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<SharedString name="SlimHash">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<OptionalCoordinateFrame name="WorldPivotData">
|
||||
<CFrame>
|
||||
<X>-13.4031219</X>
|
||||
<Y>21.7914429</Y>
|
||||
<Z>79.6211853</Z>
|
||||
<R00>0.518627644</R00>
|
||||
<R01>0.0668599382</R01>
|
||||
<R02>-0.852382064</R02>
|
||||
<R10>-0.0223709568</R10>
|
||||
<R11>0.997657657</R11>
|
||||
<R12>0.064643696</R12>
|
||||
<R20>0.854707599</R20>
|
||||
<R21>-0.0144574028</R21>
|
||||
<R22>0.518908501</R22>
|
||||
<X>-14.7463799</X>
|
||||
<Y>22.7126045</Y>
|
||||
<Z>81.8695221</Z>
|
||||
<R00>0.290589035</R00>
|
||||
<R01>0</R01>
|
||||
<R02>-0.956848025</R02>
|
||||
<R10>0</R10>
|
||||
<R11>1</R11>
|
||||
<R12>0</R12>
|
||||
<R20>0.956848264</R20>
|
||||
<R21>0</R21>
|
||||
<R22>0.290589124</R22>
|
||||
</CFrame>
|
||||
</OptionalCoordinateFrame>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
@@ -854826,18 +854928,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<token name="BottomSurface">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>-13.2195244</X>
|
||||
<Y>19.6437988</Y>
|
||||
<Z>79.6296158</Z>
|
||||
<R00>0.518627644</R00>
|
||||
<R01>0.0668599382</R01>
|
||||
<R02>-0.852382064</R02>
|
||||
<R10>-0.0223709568</R10>
|
||||
<R11>0.997657657</R11>
|
||||
<R12>0.064643696</R12>
|
||||
<R20>0.854707599</R20>
|
||||
<R21>-0.0144574028</R21>
|
||||
<R22>0.518908501</R22>
|
||||
<X>-14.4242611</X>
|
||||
<Y>20.5821438</Y>
|
||||
<Z>81.9289474</Z>
|
||||
<R00>0.290589094</R00>
|
||||
<R01>5.71313441e-09</R01>
|
||||
<R02>-0.956848025</R02>
|
||||
<R10>2.79396772e-09</R10>
|
||||
<R11>1</R11>
|
||||
<R12>-5.12227416e-09</R12>
|
||||
<R20>0.956848502</R20>
|
||||
<R21>1.18492616e-09</R21>
|
||||
<R22>0.290589124</R22>
|
||||
</CoordinateFrame>
|
||||
<bool name="CanCollide">true</bool>
|
||||
<bool name="CanQuery">true</bool>
|
||||
@@ -854964,18 +855066,18 @@ gReA/4D/gP+A54EXgP+A/4D/gOeBF4D/gP+A/4DngReA/4D/gP+A5w==]]></BinaryString>
|
||||
<token name="BottomSurface">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>-13.2606792</X>
|
||||
<Y>23.916914</Y>
|
||||
<Z>79.5903854</Z>
|
||||
<R00>0.518627644</R00>
|
||||
<R01>0.0668599382</R01>
|
||||
<R02>-0.852382064</R02>
|
||||
<R10>-0.0223709568</R10>
|
||||
<R11>0.997657657</R11>
|
||||
<R12>0.064643696</R12>
|
||||
<R20>0.854707599</R20>
|
||||
<R21>-0.0144574028</R21>
|
||||
<R22>0.518908501</R22>
|
||||
<X>-14.7463846</X>
|
||||
<Y>24.8430653</Y>
|
||||
<Z>81.8695221</Z>
|
||||
<R00>0.290589094</R00>
|
||||
<R01>5.71313441e-09</R01>
|
||||
<R02>-0.956848025</R02>
|
||||
<R10>2.79396772e-09</R10>
|
||||
<R11>1</R11>
|
||||
<R12>-5.12227416e-09</R12>
|
||||
<R20>0.956848502</R20>
|
||||
<R21>1.18492616e-09</R21>
|
||||
<R22>0.290589124</R22>
|
||||
</CoordinateFrame>
|
||||
<bool name="CanCollide">true</bool>
|
||||
<bool name="CanQuery">true</bool>
|
||||
@@ -2753995,108 +2754097,6 @@ AAAAU2hpcnRDb2xvcg/n5mY/8fDwPvHw8D0JAAAAU2tpbkNvbG9yD+fmZj+/vj4/oaAgPw==]]></Bin
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="Part" referent="RBXCE72ED07866A4425B71B855084974D80">
|
||||
<Properties>
|
||||
<token name="shape">1</token>
|
||||
<token name="formFactorRaw">1</token>
|
||||
<bool name="Anchored">true</bool>
|
||||
<bool name="AudioCanCollide">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">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>-5.80000019</X>
|
||||
<Y>14.1499996</Y>
|
||||
<Z>1561.01501</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="CanQuery">true</bool>
|
||||
<bool name="CanTouch">true</bool>
|
||||
<bool name="CastShadow">true</bool>
|
||||
<string name="CollisionGroup">Default</string>
|
||||
<int name="CollisionGroupId">0</int>
|
||||
<Color3uint8 name="Color3uint8">4282399017</Color3uint8>
|
||||
<PhysicalProperties name="CustomPhysicalProperties">
|
||||
<CustomPhysics>false</CustomPhysics>
|
||||
</PhysicalProperties>
|
||||
<bool name="EnableFluidForces">true</bool>
|
||||
<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>
|
||||
<bool name="Massless">false</bool>
|
||||
<token name="Material">1088</token>
|
||||
<string name="MaterialVariantSerialized"></string>
|
||||
<CoordinateFrame name="PivotOffset">
|
||||
<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>
|
||||
<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>
|
||||
<int name="RootPriority">0</int>
|
||||
<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">0</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>1.5</X>
|
||||
<Y>0.300000012</Y>
|
||||
<Z>1.5</Z>
|
||||
</Vector3>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
<SecurityCapabilities name="Capabilities">0</SecurityCapabilities>
|
||||
<bool name="DefinesCapabilities">false</bool>
|
||||
<UniqueId name="HistoryId">00000000000000000000000000000000</UniqueId>
|
||||
<string name="Name">LanternCap</string>
|
||||
<BinaryString name="SerializedOverrides"></BinaryString>
|
||||
<int64 name="SourceAssetId">-1</int64>
|
||||
<SharedString name="Tags">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<UniqueId name="UniqueId">593ba5d2841d14f80afbdf11000094cb</UniqueId>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="TimerService" referent="RBX86D4CB23EF7F45068E86411F0F3A4445">
|
||||
<Properties>
|
||||
@@ -2754299,13 +2754299,16 @@ local gui = new("ScreenGui", {
|
||||
Name = "LoadingScreen", ResetOnSpawn = false, IgnoreGuiInset = true, DisplayOrder = 200,
|
||||
ZIndexBehavior = Enum.ZIndexBehavior.Sibling, Parent = player:WaitForChild("PlayerGui"),
|
||||
})
|
||||
-- фон: арт лобби (временная заглушка); пока картинка грузится, виден тёплый закатный градиент
|
||||
local BG_IMAGE = "rbxassetid://118616665961176"
|
||||
local root = new("CanvasGroup", { Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.fromRGB(255, 190, 120), BorderSizePixel = 0, Parent = gui })
|
||||
-- фон: заставка «Рыболовная лихорадка»; пока картинка грузится, виден голубой градиент.
|
||||
-- Градиент — на отдельной подложке: UIGradient на самой CanvasGroup тонирует всё содержимое и затемнял картинку.
|
||||
-- Свет и цветокоррекция сцены на экранный интерфейс не действуют, их не трогаем.
|
||||
local BG_IMAGE = "rbxassetid://82266337853896" -- осветлённая и более насыщенная версия заставки
|
||||
local root = new("CanvasGroup", { Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0, Parent = gui })
|
||||
local backdrop = new("Frame", { Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.new(1, 1, 1), BorderSizePixel = 0, Parent = root })
|
||||
new("UIGradient", {
|
||||
Rotation = 90,
|
||||
Color = ColorSequence.new(Color3.fromRGB(120, 200, 255), Color3.fromRGB(255, 170, 110)),
|
||||
Parent = root,
|
||||
Color = ColorSequence.new(Color3.fromRGB(70, 140, 230), Color3.fromRGB(40, 70, 150)),
|
||||
Parent = backdrop,
|
||||
})
|
||||
local bg = new("ImageLabel", {
|
||||
Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, Image = BG_IMAGE,
|
||||
@@ -2754318,13 +2754321,14 @@ end)
|
||||
-- плашка снизу: куда идём, полоска загрузки, совет
|
||||
local panel = new("Frame", {
|
||||
AnchorPoint = Vector2.new(0.5, 1), Position = UDim2.new(0.5, 0, 1, -28), Size = UDim2.fromOffset(560, 118),
|
||||
BackgroundColor3 = Color3.fromRGB(70, 40, 22), BackgroundTransparency = 0.18, BorderSizePixel = 0, Parent = root,
|
||||
BackgroundColor3 = Color3.new(1, 1, 1), BackgroundTransparency = 0.12, BorderSizePixel = 0, Parent = root,
|
||||
})
|
||||
new("UICorner", { CornerRadius = UDim.new(0, 18), Parent = panel })
|
||||
new("UIStroke", { Color = GOLD, Thickness = 3, Transparency = 0.1, Parent = panel })
|
||||
-- тёмно-синяя плашка под ночное небо заставки, золотая обводка — как у заголовка
|
||||
new("UIGradient", {
|
||||
Rotation = 90,
|
||||
Color = ColorSequence.new(Color3.fromRGB(150, 95, 50), Color3.fromRGB(95, 55, 28)),
|
||||
Color = ColorSequence.new(Color3.fromRGB(40, 66, 140), Color3.fromRGB(20, 32, 78)),
|
||||
Parent = panel,
|
||||
})
|
||||
local float = new("TextLabel", {
|
||||
@@ -2754336,10 +2754340,10 @@ local title = new("TextLabel", {
|
||||
Text = "", TextColor3 = Color3.fromRGB(255, 240, 200), TextScaled = true, TextXAlignment = Enum.TextXAlignment.Left,
|
||||
Font = Enum.Font.FredokaOne, Parent = panel,
|
||||
})
|
||||
new("UIStroke", { Color = Color3.fromRGB(60, 30, 10), Thickness = 2, Parent = title })
|
||||
new("UIStroke", { Color = Color3.fromRGB(15, 22, 55), Thickness = 2, Parent = title })
|
||||
local barBack = new("Frame", {
|
||||
AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 62), Size = UDim2.new(1, -36, 0, 16),
|
||||
BackgroundColor3 = Color3.fromRGB(40, 22, 10), BackgroundTransparency = 0.15, BorderSizePixel = 0, Parent = panel,
|
||||
BackgroundColor3 = Color3.fromRGB(10, 16, 40), BackgroundTransparency = 0.15, BorderSizePixel = 0, Parent = panel,
|
||||
})
|
||||
new("UICorner", { CornerRadius = UDim.new(1, 0), Parent = barBack })
|
||||
local bar = new("Frame", { Size = UDim2.fromScale(0, 1), BackgroundColor3 = GOLD, BorderSizePixel = 0, Parent = barBack })
|
||||
@@ -2754347,7 +2754351,7 @@ new("UICorner", { CornerRadius = UDim.new(1, 0), Parent = bar })
|
||||
new("UIGradient", { Color = ColorSequence.new(Color3.fromRGB(255, 230, 120), Color3.fromRGB(255, 160, 60)), Parent = bar })
|
||||
local tip = new("TextLabel", {
|
||||
Position = UDim2.fromOffset(18, 86), Size = UDim2.new(1, -36, 0, 22), BackgroundTransparency = 1,
|
||||
Text = "", TextColor3 = Color3.fromRGB(255, 228, 185), TextScaled = true,
|
||||
Text = "", TextColor3 = Color3.fromRGB(205, 222, 255), TextScaled = true,
|
||||
Font = Enum.Font.GothamMedium, Parent = panel,
|
||||
})
|
||||
|
||||
@@ -2754378,7 +2754382,7 @@ end)
|
||||
local hiding = false
|
||||
gui:GetAttributeChangedSignal("Visible"):Connect(function()
|
||||
-- новый телепорт мог прийти, пока экран ещё уходил: тогда возвращаем его
|
||||
if gui:GetAttribute("Visible") and (hiding or not gui.Enabled) then
|
||||
if gui:GetAttribute("Visible") then
|
||||
hiding = false
|
||||
showTip()
|
||||
gui.Enabled = true
|
||||
@@ -2757584,6 +2757588,361 @@ remote:FireServer("RequestInventory")
|
||||
<UniqueId name="UniqueId">5241aa4869bd12870afb1bfc000003e6</UniqueId>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="LocalScript" referent="RBX760E748CA3A44990823113A20374A610">
|
||||
<Properties>
|
||||
<ProtectedString name="Source"><![CDATA[-- Ambience (LocalScript) -> StarterPlayer > StarterPlayerScripts
|
||||
-- Атмосфера у этого игрока: время суток, ночной свет, тучи, дождь/снег, молнии, музыка и звуки окружения,
|
||||
-- плашка «погода и время» на экране. Время и погоду задаёт сервер (WeatherServer) атрибутами workspace.
|
||||
-- Свет локации (Config.Worlds[*].look) ставит FishingClient; здесь всё накладывается поверх:
|
||||
-- свои эффекты цвета живут в камере, поэтому не мешают настройкам локаций.
|
||||
|
||||
local Players = game:GetService("Players")
|
||||
local ReplicatedStorage = game:GetService("ReplicatedStorage")
|
||||
local RunService = game:GetService("RunService")
|
||||
local TweenService = game:GetService("TweenService")
|
||||
local Lighting = game:GetService("Lighting")
|
||||
|
||||
local Config = require(ReplicatedStorage:WaitForChild("FishConfig"))
|
||||
local Audio = require(script.Parent:WaitForChild("Audio"))
|
||||
|
||||
local player = Players.LocalPlayer
|
||||
local terrain = workspace.Terrain
|
||||
local rng = Random.new()
|
||||
local WHITE = Color3.new(1, 1, 1)
|
||||
|
||||
local function new(class, props)
|
||||
local o = Instance.new(class)
|
||||
for k, v in pairs(props) do
|
||||
if k ~= "Parent" then
|
||||
o[k] = v
|
||||
end
|
||||
end
|
||||
o.Parent = props.Parent
|
||||
return o
|
||||
end
|
||||
|
||||
local function clockNow()
|
||||
return Config.ClockAt(workspace:GetServerTimeNow(), workspace:GetAttribute("DayStart"))
|
||||
end
|
||||
|
||||
local function currentPlace()
|
||||
local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
|
||||
if not hrp then
|
||||
return nil, "Lobby"
|
||||
end
|
||||
local w = Config.WorldAt(hrp.Position)
|
||||
return w, w and w.id or "Lobby"
|
||||
end
|
||||
|
||||
local function currentWeather()
|
||||
return Config.WeatherById(workspace:GetAttribute("Weather"))
|
||||
end
|
||||
|
||||
---------------------------------------------------------------- вид погоды
|
||||
|
||||
-- cc — поправка цвета поверх света локации; cover/density/cloud — облака; rain — частиц в секунду
|
||||
local LOOK = {
|
||||
Clear = { cover = 0.4, density = 0.45, cloud = Color3.fromRGB(255, 255, 255), rain = 0,
|
||||
cc = { Brightness = 0, Saturation = 0, Contrast = 0, TintColor = WHITE } },
|
||||
Cloudy = { cover = 0.78, density = 0.6, cloud = Color3.fromRGB(215, 218, 226), rain = 0,
|
||||
cc = { Brightness = -0.03, Saturation = -0.1, Contrast = 0, TintColor = Color3.fromRGB(236, 239, 246) } },
|
||||
Rain = { cover = 0.88, density = 0.75, cloud = Color3.fromRGB(165, 170, 182), rain = 350, rainSound = "rainLight",
|
||||
cc = { Brightness = -0.06, Saturation = -0.18, Contrast = 0.02, TintColor = Color3.fromRGB(214, 224, 240) } },
|
||||
Storm = { cover = 0.96, density = 0.9, cloud = Color3.fromRGB(105, 110, 124), rain = 900, rainSound = "rainHeavy", lightning = true,
|
||||
cc = { Brightness = -0.12, Saturation = -0.3, Contrast = 0.06, TintColor = Color3.fromRGB(190, 200, 226) } },
|
||||
Fog = { cover = 0.6, density = 0.5, cloud = Color3.fromRGB(232, 232, 238), rain = 0,
|
||||
cc = { Brightness = 0.02, Saturation = -0.22, Contrast = -0.05, TintColor = Color3.fromRGB(234, 238, 242) } },
|
||||
}
|
||||
|
||||
-- эффекты в камере: действуют только у этого игрока и не путаются с эффектами Lighting
|
||||
local camera = workspace.CurrentCamera
|
||||
local weatherCC = new("ColorCorrectionEffect", { Name = "WeatherCC", Parent = camera })
|
||||
local nightCC = new("ColorCorrectionEffect", { Name = "NightCC", Parent = camera })
|
||||
-- цветокоррекция действует только на 3D-сцену, экран загрузки она не затемняет — выключать её на время загрузки не нужно
|
||||
workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
|
||||
camera = workspace.CurrentCamera
|
||||
weatherCC.Parent = camera
|
||||
nightCC.Parent = camera
|
||||
end)
|
||||
|
||||
local clouds = terrain:FindFirstChildOfClass("Clouds") or new("Clouds", { Parent = terrain })
|
||||
|
||||
-- дождь (а во фьорде — снег) сыплется из невидимой плиты над камерой
|
||||
local rainPart = new("Part", {
|
||||
Name = "RainFX", Anchored = true, CanCollide = false, CanQuery = false, CanTouch = false,
|
||||
Transparency = 1, Size = Vector3.new(110, 1, 110), Parent = workspace,
|
||||
})
|
||||
local rain = new("ParticleEmitter", {
|
||||
Texture = "rbxasset://textures/SelfView/whiteRect.png",
|
||||
Rate = 0, Lifetime = NumberRange.new(1.1, 1.4), Speed = NumberRange.new(55, 70),
|
||||
EmissionDirection = Enum.NormalId.Bottom, SpreadAngle = Vector2.new(4, 4),
|
||||
Orientation = Enum.ParticleOrientation.VelocityParallel,
|
||||
Size = NumberSequence.new(0.07), Squash = NumberSequence.new(2.5),
|
||||
Color = ColorSequence.new(Color3.fromRGB(200, 215, 235)), Transparency = NumberSequence.new(0.45),
|
||||
LightInfluence = 1,
|
||||
Parent = rainPart,
|
||||
})
|
||||
|
||||
local function rainStyle(snowy)
|
||||
if snowy then
|
||||
rain.Speed = NumberRange.new(6, 10)
|
||||
rain.Lifetime = NumberRange.new(5, 7)
|
||||
rain.Size = NumberSequence.new(0.22)
|
||||
rain.Squash = NumberSequence.new(0)
|
||||
rain.SpreadAngle = Vector2.new(25, 25)
|
||||
rain.Orientation = Enum.ParticleOrientation.FacingCamera
|
||||
rain.Color = ColorSequence.new(WHITE)
|
||||
rain.Transparency = NumberSequence.new(0.1)
|
||||
else
|
||||
rain.Speed = NumberRange.new(55, 70)
|
||||
rain.Lifetime = NumberRange.new(1.1, 1.4)
|
||||
rain.Size = NumberSequence.new(0.07)
|
||||
rain.Squash = NumberSequence.new(2.5)
|
||||
rain.SpreadAngle = Vector2.new(4, 4)
|
||||
rain.Orientation = Enum.ParticleOrientation.VelocityParallel
|
||||
rain.Color = ColorSequence.new(Color3.fromRGB(200, 215, 235))
|
||||
rain.Transparency = NumberSequence.new(0.45)
|
||||
end
|
||||
end
|
||||
|
||||
local appliedWeather, appliedPlace = nil, nil
|
||||
local function applyWeather(instant)
|
||||
local w = currentWeather()
|
||||
local _, placeId = currentPlace()
|
||||
if appliedWeather == w.id and appliedPlace == placeId and not instant then
|
||||
return
|
||||
end
|
||||
appliedWeather, appliedPlace = w.id, placeId
|
||||
local look = LOOK[w.id] or LOOK.Clear
|
||||
local info = TweenInfo.new(instant and 0 or 6)
|
||||
TweenService:Create(weatherCC, info, look.cc):Play()
|
||||
TweenService:Create(clouds, info, { Cover = look.cover, Density = look.density }):Play() -- цвет туч ставит главный цикл (с учётом ночи)
|
||||
local snowy = placeId == "World3"
|
||||
rainStyle(snowy)
|
||||
rain.Rate = snowy and look.rain * 0.35 or look.rain
|
||||
end
|
||||
|
||||
---------------------------------------------------------------- молнии
|
||||
|
||||
task.spawn(function()
|
||||
while true do
|
||||
task.wait(rng:NextNumber(6, 16))
|
||||
local w = currentWeather()
|
||||
local _, placeId = currentPlace()
|
||||
if LOOK[w.id] and LOOK[w.id].lightning and placeId ~= "World3" then
|
||||
-- двойная вспышка, гром приходит чуть позже (молния далеко)
|
||||
local base = weatherCC.Brightness
|
||||
for _ = 1, 2 do
|
||||
weatherCC.Brightness = base + 0.45
|
||||
task.wait(0.06)
|
||||
weatherCC.Brightness = base
|
||||
task.wait(0.09)
|
||||
end
|
||||
local far = rng:NextNumber()
|
||||
task.delay(0.2 + far * 1.4, function()
|
||||
local list = Config.Sounds.thunder
|
||||
Audio.playId(list[rng:NextInteger(1, #list)], 0.9 - far * 0.5, "ambient")
|
||||
end)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
---------------------------------------------------------------- музыка
|
||||
|
||||
local tracks = {}
|
||||
local function track(name)
|
||||
if not tracks[name] then
|
||||
tracks[name] = Audio.loop(name, "music")
|
||||
end
|
||||
return tracks[name]
|
||||
end
|
||||
|
||||
local currentTrack = nil
|
||||
local function musicFor(placeId, night)
|
||||
if night and placeId ~= "World2" then
|
||||
return "musicNight"
|
||||
end
|
||||
if placeId == "Lobby" then
|
||||
return (math.floor(workspace:GetServerTimeNow() / 600) % 2 == 0) and "musicLobby" or "musicLobby2"
|
||||
elseif placeId == "World1" then
|
||||
return (math.floor(workspace:GetServerTimeNow() / 600) % 2 == 0) and "musicLake" or "musicLake2"
|
||||
elseif placeId == "World3" then
|
||||
return "musicNight"
|
||||
end
|
||||
return "musicLake2"
|
||||
end
|
||||
|
||||
---------------------------------------------------------------- звуки окружения
|
||||
|
||||
local ambient = {}
|
||||
for _, name in ipairs({ "birdsLake", "birdsPark", "birdsJungle", "crickets", "lakeWater", "wind", "rainLight", "rainHeavy" }) do
|
||||
ambient[name] = Audio.loop(name, "ambient")
|
||||
end
|
||||
|
||||
-- какие петли и насколько громко звучат сейчас
|
||||
local function ambientMix(placeId, night, w)
|
||||
local mix = {}
|
||||
local day = not night
|
||||
mix.birdsLake = (day and placeId == "World1") and 1 or 0
|
||||
mix.birdsPark = (day and placeId == "Lobby") and 1 or 0
|
||||
mix.birdsJungle = (day and placeId == "World2") and 1 or 0
|
||||
mix.crickets = (night and placeId ~= "World3") and 1 or 0
|
||||
mix.lakeWater = (placeId == "World1" or placeId == "World2") and 1 or 0
|
||||
local wind = 1
|
||||
if placeId == "World3" then
|
||||
wind = 2.5
|
||||
end
|
||||
if w.id == "Storm" then
|
||||
wind *= 2
|
||||
end
|
||||
mix.wind = wind
|
||||
local wet = placeId ~= "World3"
|
||||
mix.rainLight = (wet and w.id == "Rain") and 1 or 0
|
||||
mix.rainHeavy = (wet and w.id == "Storm") and 1 or 0
|
||||
-- в дождь птицы прячутся
|
||||
if w.id == "Rain" or w.id == "Storm" then
|
||||
mix.birdsLake, mix.birdsPark, mix.birdsJungle = 0, 0, 0
|
||||
end
|
||||
return mix
|
||||
end
|
||||
|
||||
-- треск у каждого костра на карте (звук в самом костре: слышно только рядом)
|
||||
task.spawn(function()
|
||||
local map = workspace:WaitForChild("FishingMap", 60)
|
||||
if not map then
|
||||
return
|
||||
end
|
||||
task.wait(3)
|
||||
local def = Config.Sounds.fire
|
||||
for _, d in ipairs(map:GetDescendants()) do
|
||||
if d:IsA("Fire") and d.Parent and d.Parent:IsA("BasePart") then
|
||||
new("Sound", {
|
||||
Name = "FireCrackle", SoundId = def.id, Volume = def.volume, Looped = true, Playing = true,
|
||||
RollOffMode = Enum.RollOffMode.InverseTapered, RollOffMinDistance = 6, RollOffMaxDistance = def.roll or 30,
|
||||
SoundGroup = Audio.groups.ambient, Parent = d.Parent,
|
||||
})
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
---------------------------------------------------------------- плашка «погода и время»
|
||||
|
||||
-- в стиле интерфейса (UiTheme): тёмное дерево с золотой рамкой; масштаб — как у основного интерфейса
|
||||
local Theme = require(script.Parent:WaitForChild("UiTheme"))
|
||||
local hud = new("ScreenGui", { Name = "WeatherHud", ResetOnSpawn = false, IgnoreGuiInset = false, Parent = player:WaitForChild("PlayerGui") })
|
||||
local pill = new("Frame", {
|
||||
Size = UDim2.fromOffset(230, 48), AnchorPoint = Vector2.new(1, 0), Position = UDim2.new(1, -12, 0, 74),
|
||||
BackgroundColor3 = Theme.C.woodDark, BackgroundTransparency = 0.08, Parent = Theme.followScale(hud),
|
||||
})
|
||||
new("UICorner", { CornerRadius = UDim.new(0, 8), Parent = pill })
|
||||
local pillStroke = new("UIStroke", { Color = Theme.C.goldDark, Thickness = 2, Transparency = 0, Parent = pill })
|
||||
local line1 = new("TextLabel", {
|
||||
Size = UDim2.new(1, -16, 0, 24), Position = UDim2.fromOffset(10, 3), BackgroundTransparency = 1,
|
||||
FontFace = Theme.TITLE_FACE, TextSize = 16, TextColor3 = Theme.C.parchment, TextXAlignment = Enum.TextXAlignment.Left,
|
||||
Text = "", Parent = pill,
|
||||
})
|
||||
local line2 = new("TextLabel", {
|
||||
Size = UDim2.new(1, -16, 0, 16), Position = UDim2.fromOffset(10, 27), BackgroundTransparency = 1,
|
||||
FontFace = Theme.BODY2_FACE, TextSize = 12, TextColor3 = Color3.fromRGB(170, 215, 140), TextXAlignment = Enum.TextXAlignment.Left,
|
||||
Text = "", Parent = pill,
|
||||
})
|
||||
|
||||
local function weatherName(w, placeId)
|
||||
return (w.names and w.names[placeId]) or w.name
|
||||
end
|
||||
|
||||
local lastShownWeather = nil
|
||||
local function refreshPill(clock, night, w, placeId)
|
||||
local h = math.floor(clock)
|
||||
local m = math.floor((clock - h) * 60)
|
||||
line1.Text = ("%s %s · %s %02d:%02d"):format(w.icon, weatherName(w, placeId), night and "🌙" or "☀", h, m)
|
||||
local bonus = {}
|
||||
if w.desc then
|
||||
table.insert(bonus, w.desc)
|
||||
end
|
||||
if night then
|
||||
table.insert(bonus, ("Ночь: удача +%d%%"):format(math.floor(Config.DayNight.nightLuck * 100 + 0.5)))
|
||||
end
|
||||
line2.Text = #bonus > 0 and table.concat(bonus, " · ") or "Спокойная погода"
|
||||
if lastShownWeather ~= w.id then
|
||||
-- погода сменилась: плашка вспыхивает
|
||||
if lastShownWeather ~= nil then
|
||||
pillStroke.Color = Color3.fromRGB(255, 220, 120)
|
||||
pillStroke.Transparency = 0
|
||||
TweenService:Create(pillStroke, TweenInfo.new(2.5), { Color = Theme.C.goldDark, Transparency = 0 }):Play()
|
||||
end
|
||||
lastShownWeather = w.id
|
||||
end
|
||||
end
|
||||
|
||||
---------------------------------------------------------------- главный цикл
|
||||
|
||||
-- часы двигаются каждый кадр (плавно), остальное проверяется раз в полсекунды
|
||||
RunService.RenderStepped:Connect(function()
|
||||
if Config.DayNight.enabled then
|
||||
Lighting.ClockTime = clockNow()
|
||||
end
|
||||
if camera then
|
||||
rainPart.CFrame = CFrame.new(camera.CFrame.Position + Vector3.new(0, 35, 0))
|
||||
end
|
||||
end)
|
||||
|
||||
workspace:GetAttributeChangedSignal("Weather"):Connect(function()
|
||||
applyWeather(false)
|
||||
end)
|
||||
applyWeather(true)
|
||||
|
||||
task.spawn(function()
|
||||
while true do
|
||||
local clock = clockNow()
|
||||
local nightness = Config.DayNight.enabled and Config.Nightness(clock) or 0
|
||||
local night = nightness >= 0.5
|
||||
local w = currentWeather()
|
||||
local _, placeId = currentPlace()
|
||||
|
||||
-- ночь: темнее, холоднее, менее насыщенно
|
||||
nightCC.Brightness = -0.1 * nightness
|
||||
nightCC.Saturation = -0.18 * nightness
|
||||
nightCC.TintColor = WHITE:Lerp(Color3.fromRGB(165, 185, 255), nightness)
|
||||
clouds.Color = (LOOK[w.id] or LOOK.Clear).cloud:Lerp(Color3.fromRGB(40, 45, 60), nightness * 0.8)
|
||||
|
||||
applyWeather(false) -- смена локации меняет дождь на снег и обратно
|
||||
|
||||
-- музыка: плавная смена трека, в грозу тише
|
||||
local want = musicFor(placeId, night)
|
||||
local duck = (w.id == "Storm") and 0.5 or 1
|
||||
if currentTrack ~= want then
|
||||
if currentTrack then
|
||||
Audio.fade(track(currentTrack), 0, 3)
|
||||
end
|
||||
currentTrack = want
|
||||
end
|
||||
Audio.fade(track(want), duck, 3)
|
||||
|
||||
for name, factor in pairs(ambientMix(placeId, night, w)) do
|
||||
Audio.fade(ambient[name], factor, 3)
|
||||
end
|
||||
|
||||
refreshPill(clock, night, w, placeId)
|
||||
task.wait(0.5)
|
||||
end
|
||||
end)
|
||||
]]></ProtectedString>
|
||||
<bool name="Disabled">false</bool>
|
||||
<Content name="LinkedSource"><null></null></Content>
|
||||
<token name="RunContext">0</token>
|
||||
<string name="ScriptGuid">{15F1BDC7-1541-4C1E-BB78-A86DE23B7533}</string>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
<SecurityCapabilities name="Capabilities">0</SecurityCapabilities>
|
||||
<bool name="DefinesCapabilities">false</bool>
|
||||
<UniqueId name="HistoryId">00000000000000000000000000000000</UniqueId>
|
||||
<string name="Name">Ambience</string>
|
||||
<BinaryString name="SerializedOverrides"></BinaryString>
|
||||
<int64 name="SourceAssetId">-1</int64>
|
||||
<SharedString name="Tags">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<UniqueId name="UniqueId">7d5633f4c280c36c0afca57d00001884</UniqueId>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="StarterCharacterScripts" referent="RBX0FE933A93C2644989CA238292A56C9B5">
|
||||
<Properties>
|
||||
@@ -2757868,21 +2758227,6 @@ remote:FireServer("RequestInventory")
|
||||
<UniqueId name="UniqueId">5241aa4869bd12870afb1bfc000003b7</UniqueId>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ServiceVisibilityService" referent="RBX538AFE071E6B4D8A929FA88833330649">
|
||||
<Properties>
|
||||
<BinaryString name="HiddenServices">AAAAAA==</BinaryString>
|
||||
<BinaryString name="VisibleServices">AAAAAA==</BinaryString>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
<SecurityCapabilities name="Capabilities">0</SecurityCapabilities>
|
||||
<bool name="DefinesCapabilities">false</bool>
|
||||
<UniqueId name="HistoryId">00000000000000000000000000000000</UniqueId>
|
||||
<string name="Name">ServiceVisibilityService</string>
|
||||
<BinaryString name="SerializedOverrides"></BinaryString>
|
||||
<int64 name="SourceAssetId">-1</int64>
|
||||
<SharedString name="Tags">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<UniqueId name="UniqueId">5241aa4869bd12870afb1bfc000003b9</UniqueId>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="LuaWebService" referent="RBX194A4925D61147F89E0E3EDC7B40DF56">
|
||||
<Properties>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
@@ -3670004,6 +3670348,21 @@ gP+A/4D/gP+A/4D/gP+A/4D/gP+A/4D/gP+A/4D/gP+AHg==]]></BinaryString>
|
||||
</Item>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="ServiceVisibilityService" referent="RBX538AFE071E6B4D8A929FA88833330649">
|
||||
<Properties>
|
||||
<BinaryString name="HiddenServices">AAAAAA==</BinaryString>
|
||||
<BinaryString name="VisibleServices">AAAAAA==</BinaryString>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
<SecurityCapabilities name="Capabilities">0</SecurityCapabilities>
|
||||
<bool name="DefinesCapabilities">false</bool>
|
||||
<UniqueId name="HistoryId">00000000000000000000000000000000</UniqueId>
|
||||
<string name="Name">ServiceVisibilityService</string>
|
||||
<BinaryString name="SerializedOverrides"></BinaryString>
|
||||
<int64 name="SourceAssetId">-1</int64>
|
||||
<SharedString name="Tags">yuZpQdnvvUBOTYh1jqZ2cA==</SharedString>
|
||||
<UniqueId name="UniqueId">5241aa4869bd12870afb1bfc000003b9</UniqueId>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="VideoService" referent="RBXBE404AE8E6D645FA8862E33790CEF364">
|
||||
<Properties>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
|
||||
Reference in new issue
Block a user