2025-07-06 16:34:00 -06:00
|
|
|
[gd_scene load_steps=12 format=3 uid="uid://drm5dspi48pf5"]
|
2025-07-03 18:05:06 -06:00
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://sksndhqyo2bn" path="res://src/props/physics/persistent_prop.gd" id="1_q4djj"]
|
|
|
|
[ext_resource type="ArrayMesh" uid="uid://cd7vwjss7qytk" path="res://assets/props/crate_long/crate_long.obj" id="1_sao54"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cd0w8eqpount3" path="res://assets/props/crate_long/crate_long_C.png" id="2_rlyiq"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://da5p04vbiy3xe" path="res://assets/props/crate_long/crate_long_M.png" id="3_p8srg"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="4_q4djj"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="5_eb8p8"]
|
2025-07-04 01:47:17 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="6_064yj"]
|
2025-09-04 11:06:44 -06:00
|
|
|
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/grunk_overlays/lowrez_overlay.material" id="7_rlyiq"]
|
2025-07-03 18:05:06 -06:00
|
|
|
[ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="8_p8srg"]
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8j27j"]
|
|
|
|
albedo_texture = ExtResource("2_rlyiq")
|
2025-03-17 18:09:27 -06:00
|
|
|
metallic = 1.0
|
2025-07-03 18:05:06 -06:00
|
|
|
metallic_texture = ExtResource("3_p8srg")
|
|
|
|
roughness_texture = ExtResource("5_eb8p8")
|
2025-03-17 18:09:27 -06:00
|
|
|
normal_enabled = true
|
2025-07-03 18:05:06 -06:00
|
|
|
normal_texture = ExtResource("4_q4djj")
|
2025-03-17 18:09:27 -06:00
|
|
|
ao_enabled = true
|
|
|
|
texture_filter = 2
|
|
|
|
|
2025-07-06 16:34:00 -06:00
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_q4djj"]
|
|
|
|
points = PackedVector3Array(0.375, 0.149961, 0.75, 0.375, -0.15001, 0.75, 0.375, 0.149961, -0.75, 0.274936, 0.25, 0.75, 0.274936, -0.25, 0.75, 0.375, -0.15001, -0.75, 0.274936, 0.25, -0.75, -0.275083, 0.25, 0.75, -0.275083, -0.25, 0.75, 0.274936, -0.25, -0.75, -0.275083, 0.25, -0.75, -0.375, 0.149961, 0.75, -0.375, -0.15001, 0.75, -0.275083, -0.25, -0.75, -0.375, 0.149961, -0.75, -0.375, -0.15001, -0.75)
|
2025-03-17 18:09:27 -06:00
|
|
|
|
2025-07-03 18:05:06 -06:00
|
|
|
[node name="PhysCrateLong" type="RigidBody3D" groups=["Persistent", "PlasticMaterial"]]
|
2025-07-07 10:27:05 -06:00
|
|
|
collision_layer = 71
|
2025-07-03 18:05:06 -06:00
|
|
|
collision_mask = 73
|
2025-07-07 11:18:56 -06:00
|
|
|
mass = 60.0
|
2025-07-03 18:05:06 -06:00
|
|
|
script = ExtResource("1_q4djj")
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
|
|
mesh = ExtResource("1_sao54")
|
|
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_8j27j")
|
|
|
|
|
2025-07-06 16:34:00 -06:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
shape = SubResource("ConvexPolygonShape3D_q4djj")
|
2025-03-17 18:09:27 -06:00
|
|
|
|
2025-07-06 16:34:00 -06:00
|
|
|
[node name="Gunkable" parent="." node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("6_064yj")]
|
2025-05-02 20:08:28 -06:00
|
|
|
mask_dim = 128
|
2025-07-03 18:05:06 -06:00
|
|
|
body = NodePath("..")
|
2025-07-06 16:34:00 -06:00
|
|
|
mesh_instance = NodePath("../MeshInstance3D")
|
2025-07-03 18:05:06 -06:00
|
|
|
source_gunk_material = ExtResource("7_rlyiq")
|
2025-03-17 18:09:27 -06:00
|
|
|
|
2025-07-03 18:05:06 -06:00
|
|
|
[node name="Holdable" type="Node" parent="."]
|
|
|
|
script = ExtResource("8_p8srg")
|
|
|
|
hold_distance = 2.0
|
|
|
|
metadata/_custom_type_script = "uid://040xta01xqxd"
|