spawning chests in csg boxes, working on making them root of scene so they aren't cleared with the scene on exit
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://db7xqf12sayj0"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_nbeyo"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3gsvj"]
|
||||
|
||||
[sub_resource type="CylinderMesh" id="CylinderMesh_cbsxv"]
|
||||
top_radius = 0.1
|
||||
bottom_radius = 0.1
|
||||
height = 1.0
|
||||
|
||||
[node name="ChestSpawner" type="Node3D" groups=["chest_spawner"]]
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_nbeyo")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_3gsvj")
|
||||
|
||||
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 1.01635)
|
||||
mesh = SubResource("CylinderMesh_cbsxv")
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://bdecyikiye08i" path="res://scripts/die_particles.gd" id="1_frf2k"]
|
||||
[ext_resource type="AudioStream" uid="uid://wd061pl0d7rl" path="res://assets/Audio/deep-low-explosion-SBA-300054677.wav" id="2_ddmln"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmyn4eq2r12ue" path="res://assets/Models/spider1.albedoRAW.png" id="3_81mhs"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6nvp1khihvhj" path="res://assets/Models/spider1.albedoRAW.png" id="3_81mhs"]
|
||||
[ext_resource type="Texture2D" uid="uid://dqhke14ulten2" path="res://assets/Models/spider1.roughnessRAW.png" id="4_ahnbu"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4s3w1qnqcmgq" path="res://assets/Models/spider1.gunbarrel.albedo.png" id="4_pb8pm"]
|
||||
[ext_resource type="Texture2D" uid="uid://d4l5wf34qdvli" path="res://assets/Models/spider1.turret.png" id="5_hogev"]
|
||||
|
||||
Reference in New Issue
Block a user