Destructible triggers

This commit is contained in:
Marco 2025-07-04 10:31:23 +02:00
commit 7aee230b3c
56 changed files with 1457 additions and 1106 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=68 format=4 uid="uid://diveeuoyyp7n"]
[gd_scene load_steps=69 format=4 uid="uid://diveeuoyyp7n"]
[ext_resource type="Script" uid="uid://kno58homctew" path="res://addons/func_godot/src/map/func_godot_map.gd" id="1_f0250"]
[ext_resource type="Resource" uid="uid://cx41lsryg5wpm" path="res://3D/TrenchBroom/map_settings.tres" id="2_ikl7s"]
@ -14,6 +14,7 @@
[ext_resource type="Material" uid="uid://dwopd4aihm0ct" path="res://textures/Floors/Floor132.tres" id="12_4en2s"]
[ext_resource type="PackedScene" uid="uid://ou07lptfp0d1" path="res://3D/Scenes/Props/Table_3D.tscn" id="13_yh1f8"]
[ext_resource type="PackedScene" uid="uid://d2kqcbr5rufxb" path="res://3D/Scenes/Props/Wooden_Box.tscn" id="14_5pags"]
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="15_1hit2"]
[ext_resource type="PackedScene" uid="uid://cf3kjg36q3wvd" path="res://3D/Scenes/Props/Terminal_Big_3D.tscn" id="15_4en2s"]
[ext_resource type="PackedScene" uid="uid://hak5o0k5yhn1" path="res://3D/Scenes/Props/Terminal_3D.tscn" id="16_u06t4"]
[ext_resource type="PackedScene" uid="uid://c8wwioforxms3" path="res://3D/Scenes/Props/Box_3D_Green.tscn" id="17_u06t4"]
@ -419,12 +420,15 @@ transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -11.25
[node name="entity_2_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -14, 1.25, -10.25)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_3_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -14.5, 1.25, -9.75)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_4_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(-0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, -0.707107, -14.5, 1.75, -9.75)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_5_actor_terminal_big" parent="FuncGodotMap" instance=ExtResource("15_4en2s")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -8.25, 1.75, -10)
@ -435,24 +439,31 @@ script = null
[node name="entity_7_actor_box_green" parent="FuncGodotMap" instance=ExtResource("17_u06t4")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 3.5, 1.25, -3.5)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_8_actor_box_green" parent="FuncGodotMap" instance=ExtResource("17_u06t4")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 4.5, 1.25, -3.5)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_9_actor_box_red" parent="FuncGodotMap" instance=ExtResource("18_1hit2")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 3.5, 1.75, -3.5)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_10_actor_box_red" parent="FuncGodotMap" instance=ExtResource("18_1hit2")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -9.5, 1.25, -3.5)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_11_actor_box_blue" parent="FuncGodotMap" instance=ExtResource("19_kel8i")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.5, 1.25, 2.5)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_12_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -9.5, 1.75, -3.75)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_13_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -8.5, 1.25, -3.75)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_14_actor_vendingmachine" parent="FuncGodotMap" instance=ExtResource("20_wkppo")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 2.5, 1.75, -3.5)
@ -468,15 +479,19 @@ transform = Transform3D(1, 0, 1.74846e-07, 0, 1, 0, -1.74846e-07, 0, 1, -14, 1.5
[node name="entity_18_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -14.25, 1.25, -1.5)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_19_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -13.75, 1.25, -1.5)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_20_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -14.25, 1.75, -1.5)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_21_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("14_5pags")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -14, 1.25, -0.75)
DamageResistances = Array[ExtResource("15_1hit2")]([])
[node name="entity_22_actor_table" parent="FuncGodotMap" instance=ExtResource("13_yh1f8")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -3.75, 1.25, -6.5)