2026-03-01 21:16:49 +01:00
|
|
|
[gd_scene format=3 uid="uid://bcoq4lutgg70g"]
|
2025-10-10 10:15:08 +02:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_wc4m3"]
|
|
|
|
|
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/3D/Explosion_Harmless_Small_3D.tres" id="2_x35ai"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_5ubxx"]
|
2026-03-01 21:16:49 +01:00
|
|
|
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="4_5ubxx"]
|
2025-10-10 10:15:08 +02:00
|
|
|
[ext_resource type="Script" uid="uid://hkmutmmjqh1e" path="res://Scripts/Actors/3D/PropGravityModule3D.cs" id="5_ukcbt"]
|
2026-03-01 21:16:49 +01:00
|
|
|
[ext_resource type="Resource" uid="uid://dy53gia1tmkah" path="res://Resources/Items/Points_Pickup.tres" id="5_vwer7"]
|
2025-10-10 10:15:08 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c2xp2n3rv4euj" path="res://3D/BlockbenchModels/Box_Wood_Big/Box_Wood_Big.gltf" id="5_wc4m3"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_0ktp8"]
|
|
|
|
|
script = ExtResource("3_5ubxx")
|
|
|
|
|
DamageType = 4
|
|
|
|
|
Attribute = 2
|
|
|
|
|
metadata/_custom_type_script = "uid://ddsqqfx1usc3j"
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[sub_resource type="Resource" id="Resource_ukcbt"]
|
|
|
|
|
script = ExtResource("4_5ubxx")
|
|
|
|
|
Item = ExtResource("5_vwer7")
|
|
|
|
|
Chance = 70.0
|
|
|
|
|
Count = 3
|
|
|
|
|
metadata/_custom_type_script = "uid://cq65aed620ijo"
|
|
|
|
|
|
2025-10-10 10:15:08 +02:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
|
|
|
|
size = Vector3(1.0160522, 1.0134869, 1.0269775)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_0ktp8"]
|
|
|
|
|
size = Vector3(1.0121155, 0.09439087, 1.1526518)
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="BoxWoodTall" type="StaticBody3D" unique_id=2001896947 groups=["Destroyable"]]
|
2025-10-10 10:15:08 +02:00
|
|
|
collision_layer = 16
|
|
|
|
|
collision_mask = 0
|
|
|
|
|
axis_lock_linear_x = true
|
|
|
|
|
axis_lock_linear_z = true
|
|
|
|
|
axis_lock_angular_x = true
|
|
|
|
|
axis_lock_angular_y = true
|
|
|
|
|
axis_lock_angular_z = true
|
|
|
|
|
script = ExtResource("1_wc4m3")
|
|
|
|
|
Health = 8.0
|
|
|
|
|
ExplosionData = ExtResource("2_x35ai")
|
|
|
|
|
DamageResistances = Array[ExtResource("3_5ubxx")]([SubResource("Resource_0ktp8")])
|
2026-03-01 21:16:49 +01:00
|
|
|
LootDrops = Array[ExtResource("4_5ubxx")]([SubResource("Resource_ukcbt")])
|
2025-10-10 10:15:08 +02:00
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=136435975]
|
2025-10-10 10:15:08 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.003509529, -0.00034826994, 0.0022582859)
|
|
|
|
|
shape = SubResource("BoxShape3D_hsg1w")
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="Node" type="Area3D" parent="." unique_id=1640864510]
|
2025-10-10 10:15:08 +02:00
|
|
|
collision_layer = 0
|
|
|
|
|
collision_mask = 17
|
|
|
|
|
script = ExtResource("5_ukcbt")
|
|
|
|
|
FallingSpeed = -2.0
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Node" unique_id=522918839]
|
2025-10-10 10:15:08 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.01399231, -0.5570252, 0.0049414635)
|
|
|
|
|
shape = SubResource("BoxShape3D_0ktp8")
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="blockbench_export" parent="." unique_id=935240156 instance=ExtResource("5_wc4m3")]
|
2025-10-10 10:15:08 +02:00
|
|
|
|
|
|
|
|
[connection signal="body_entered" from="Node" to="Node" method="OnBodyEntered"]
|
|
|
|
|
[connection signal="body_exited" from="Node" to="Node" method="OnBodyExited"]
|