mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 07:45:33 +00:00
Destructible triggers
This commit is contained in:
parent
f013987bab
commit
7aee230b3c
56 changed files with 1457 additions and 1106 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -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)
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=19 format=4 uid="uid://xm6y2sc3qx3u"]
|
||||
[gd_scene load_steps=43 format=4 uid="uid://xm6y2sc3qx3u"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://kno58homctew" path="res://addons/func_godot/src/map/func_godot_map.gd" id="1_0nxt4"]
|
||||
[ext_resource type="Resource" uid="uid://cx41lsryg5wpm" path="res://3D/TrenchBroom/map_settings.tres" id="2_oj1gl"]
|
||||
|
|
@ -6,8 +6,35 @@
|
|||
[ext_resource type="Material" uid="uid://s8r6awwmtpt2" path="res://textures/Manual/Grid_Small_001.tres" id="4_rhkt8"]
|
||||
[ext_resource type="Material" uid="uid://dpx3rl57e8r0p" path="res://textures/Manual/Grid_002.tres" id="5_opovo"]
|
||||
[ext_resource type="Material" uid="uid://bdj1dmtiv46et" path="res://textures/Manual/Grid_005.tres" id="6_opovo"]
|
||||
[ext_resource type="PackedScene" uid="uid://c2enjjxlfb5or" path="res://3D/Scenes/Props/barrel_3d.tscn" id="7_xoc8d"]
|
||||
[ext_resource type="Texture2D" uid="uid://cyg2snr1w5xw5" path="res://addons/func_godot/textures/default_texture.png" id="7_y5qwg"]
|
||||
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="8_a76rt"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8wwioforxms3" path="res://3D/Scenes/Props/Box_3D_Green.tscn" id="9_oq1x0"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkwuuk6ctadu0" path="res://3D/Scenes/Props/Capacitor_Mini_3D.tscn" id="10_p35ay"]
|
||||
[ext_resource type="PackedScene" uid="uid://d2kqcbr5rufxb" path="res://3D/Scenes/Props/Wooden_Box.tscn" id="11_rm4i5"]
|
||||
[ext_resource type="PackedScene" uid="uid://jffyxmft3nbw" path="res://3D/Scenes/Props/Box_3D_Red.tscn" id="12_aied7"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0262d4ffxx1w" path="res://3D/Scenes/Props/Door_Path_3D.tscn" id="14_lb6lh"]
|
||||
[ext_resource type="PackedScene" uid="uid://jhdx1778ndss" path="res://3D/Scenes/Props/Ac_Unit_3D.tscn" id="15_xgap0"]
|
||||
[ext_resource type="PackedScene" uid="uid://cpx5yjfg3a2hw" path="res://3D/Scenes/Props/Alarm_Box_3D.tscn" id="16_rrcqh"]
|
||||
[ext_resource type="PackedScene" uid="uid://br01ww57uaky5" path="res://3D/Scenes/Props/Box_3D_Blue.tscn" id="17_1oxql"]
|
||||
[ext_resource type="PackedScene" uid="uid://c6cdl3y3i3axl" path="res://3D/Scenes/Props/Box_3D_Yellow.tscn" id="18_dkxgr"]
|
||||
[ext_resource type="PackedScene" uid="uid://wh668b8ospcb" path="res://3D/Scenes/Props/Capacitor_3D.tscn" id="19_imye0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dyi4ji0t3ryi4" path="res://3D/Scenes/Props/chest_3d.tscn" id="20_30bs2"]
|
||||
[ext_resource type="PackedScene" uid="uid://du6hlcoq0iip4" path="res://3D/Scenes/Props/control_pad_3d.tscn" id="21_7tbin"]
|
||||
[ext_resource type="PackedScene" uid="uid://b3io3bage2qyb" path="res://3D/Scenes/Props/Elevator_Path_3D.tscn" id="22_h1mng"]
|
||||
[ext_resource type="PackedScene" uid="uid://dioiq4nb7kiet" path="res://3D/Scenes/Props/ForceField_3D.tscn" id="23_2wjgd"]
|
||||
[ext_resource type="PackedScene" uid="uid://5jwj0xm33bfs" path="res://3D/Scenes/Props/Mainframe_3D.tscn" id="24_m3k7g"]
|
||||
[ext_resource type="PackedScene" uid="uid://cxci0rfd070sk" path="res://3D/Scenes/Props/Stairs_Mini_3D.tscn" id="25_yh25m"]
|
||||
[ext_resource type="PackedScene" uid="uid://ou07lptfp0d1" path="res://3D/Scenes/Props/Table_3D.tscn" id="26_gbnau"]
|
||||
[ext_resource type="PackedScene" uid="uid://c3w0y1513hhbi" path="res://3D/BlockbenchModels/Tank/Tank_3D_Big.tscn" id="27_j1ta1"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgy5kmem2hrps" path="res://3D/Scenes/Props/Wall_Fan_3D.tscn" id="28_nammt"]
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_opovo"]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h3dcj"]
|
||||
albedo_texture = ExtResource("7_y5qwg")
|
||||
metallic_specular = 0.0
|
||||
texture_filter = 2
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_cpobl"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-3.5, 0, -3.5, 16, 1, 8.5),
|
||||
"attribute_data": PackedByteArray("AADgQAAAAMAAAOBAAAAAAAAAEMEAAAAAAAAQwQAAAMAAAODAAAAAwAAAIEEAAADAAAAgQQAAAAAAAODAAAAAAAAA4MAAABDBAAAgQQAAEMEAACBBAADgQAAA4MAAAOBAAADgwAAAAMAAABBBAAAAwAAAEEEAAAAAAADgwAAAAAAAABDBAAAAwAAAEMEAAAAAAADIwQAAAAAAAMjBAAAAwAAA4MAAAMjBAAAgQQAAyMEAACBBAAAQwQAA4MAAABDBAADgQAAAAMAAAOBAAAAAAAAAIMEAAAAAAAAgwQAAAMAAABBBAAAAwAAAyEEAAADAAADIQQAAAAAAABBBAAAAAA=="),
|
||||
|
|
@ -44,42 +71,57 @@ _surfaces = [{
|
|||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 168,
|
||||
"vertex_data": PackedByteArray("AACAQAAAQEAAAGDAAACAQAAAgD8AAGDAAACQQAAAgD8AAGDAAACQQAAAQEAAAGDAAACAQAAAQEAAAGDAAACAQAAAQEAAAAAAAACAQAAAgD8AAAAAAACAQAAAgD8AAGDAAACQQAAAgD8AAGDAAACAQAAAgD8AAGDAAACAQAAAgD8AAAAAAACQQAAAgD8AAAAAAACQQAAAQEAAAGDAAACQQAAAQEAAAAAAAACAQAAAQEAAAAAAAACAQAAAQEAAAGDAAACQQAAAQEAAAGDAAACQQAAAgD8AAGDAAACQQAAAgD8AAAAAAACQQAAAQEAAAAAAAACAQAAAQEAAAAAAAACQQAAAQEAAAAAAAACQQAAAgD8AAAAAAACAQAAAgD8AAAAAAACAQAAAQEAAAABAAACAQAAAgD8AAABAAACQQAAAgD8AAABAAACQQAAAQEAAAABAAACAQAAAQEAAAABAAACAQAAAQEAAAKBAAACAQAAAgD8AAKBAAACAQAAAgD8AAABAAACQQAAAgD8AAABAAACAQAAAgD8AAABAAACAQAAAgD8AAKBAAACQQAAAgD8AAKBAAACQQAAAQEAAAABAAACQQAAAQEAAAKBAAACAQAAAQEAAAKBAAACAQAAAQEAAAABAAACQQAAAQEAAAABAAACQQAAAgD8AAABAAACQQAAAgD8AAKBAAACQQAAAQEAAAKBAAACAQAAAQEAAAKBAAACQQAAAQEAAAKBAAACQQAAAgD8AAKBAAACAQAAAgD8AAKBAAABgwAAAQEAAAGDAAABgwAAAgD8AAGDAAACAQAAAgD8AAGDAAACAQAAAQEAAAGDAAABgwAAAQEAAAGDAAABgwAAAQEAAAEDAAABgwAAAgD8AAEDAAABgwAAAgD8AAGDAAACAQAAAgD8AAGDAAABgwAAAgD8AAGDAAABgwAAAgD8AAEDAAACAQAAAgD8AAEDAAACAQAAAQEAAAGDAAACAQAAAQEAAAEDAAABgwAAAQEAAAEDAAABgwAAAQEAAAGDAAACAQAAAQEAAAGDAAACAQAAAgD8AAGDAAACAQAAAgD8AAEDAAACAQAAAQEAAAEDAAABgwAAAQEAAAEDAAACAQAAAQEAAAEDAAACAQAAAgD8AAEDAAABgwAAAgD8AAEDAAABgwAAAQEAAAKBAAABgwAAAAAAAAKBAAACAQAAAAAAAAKBAAACAQAAAQEAAAKBAAABgwAAAQEAAAKBAAABgwAAAQEAAALBAAABgwAAAAAAAALBAAABgwAAAAAAAAKBAAACAQAAAAAAAAKBAAABgwAAAAAAAAKBAAABgwAAAAAAAALBAAACAQAAAAAAAALBAAACAQAAAQEAAAKBAAACAQAAAQEAAALBAAABgwAAAQEAAALBAAABgwAAAQEAAAKBAAACAQAAAQEAAAKBAAACAQAAAAAAAAKBAAACAQAAAAAAAALBAAACAQAAAQEAAALBAAABgwAAAQEAAALBAAACAQAAAQEAAALBAAACAQAAAAAAAALBAAABgwAAAAAAAALBAAABgwAAAQEAAAEDAAABgwAAAgD8AAEDAAABAwAAAgD8AAEDAAABAwAAAQEAAAEDAAABgwAAAQEAAAEDAAABgwAAAQEAAAKBAAABgwAAAgD8AAKBAAABgwAAAgD8AAEDAAABAwAAAgD8AAEDAAABgwAAAgD8AAEDAAABgwAAAgD8AAKBAAABAwAAAgD8AAKBAAABAwAAAQEAAAEDAAABAwAAAQEAAAKBAAABgwAAAQEAAAKBAAABgwAAAQEAAAEDAAABAwAAAQEAAAEDAAABAwAAAgD8AAEDAAABAwAAAgD8AAKBAAABAwAAAQEAAAKBAAABgwAAAQEAAAKBAAABAwAAAQEAAAKBAAABAwAAAgD8AAKBAAABgwAAAgD8AAKBAAACQQAAAQEAAAGDAAACQQAAAgD8AAGDAAABIQQAAgD8AAGDAAABIQQAAQEAAAGDAAACQQAAAQEAAAGDAAACQQAAAQEAAAEDAAACQQAAAgD8AAEDAAACQQAAAgD8AAGDAAABIQQAAgD8AAGDAAACQQAAAgD8AAGDAAACQQAAAgD8AAEDAAABIQQAAgD8AAEDAAABIQQAAQEAAAGDAAABIQQAAQEAAAEDAAACQQAAAQEAAAEDAAACQQAAAQEAAAGDAAABIQQAAQEAAAGDAAABIQQAAgD8AAGDAAABIQQAAgD8AAEDAAABIQQAAQEAAAEDAAACQQAAAQEAAAEDAAABIQQAAQEAAAEDAAABIQQAAgD8AAEDAAACQQAAAgD8AAEDAAACAQAAAQEAAAKBAAACAQAAAAAAAAKBAAABAQQAAAAAAAKBAAABAQQAAQEAAAKBAAACAQAAAQEAAAKBAAACAQAAAQEAAALBAAACAQAAAAAAAALBAAACAQAAAAAAAAKBAAABAQQAAAAAAAKBAAACAQAAAAAAAAKBAAACAQAAAAAAAALBAAABAQQAAAAAAALBAAABAQQAAQEAAAKBAAABAQQAAQEAAALBAAACAQAAAQEAAALBAAACAQAAAQEAAAKBAAABAQQAAQEAAAKBAAABAQQAAAAAAAKBAAABAQQAAAAAAALBAAABAQQAAQEAAALBAAACAQAAAQEAAALBAAABAQQAAQEAAALBAAABAQQAAAAAAALBAAACAQAAAAAAAALBA/////wAA/7//////AAD/v/////8AAP+//////wAA/78AAP9//3//vwAA/3//f/+/AAD/f/9//78AAP9//3//v/9/AAD//////38AAP//////fwAA//////9/AAD//////3////9//7//f////3//v/9/////f/+//3////9//7////9//////////3//////////f/////////9///////9//3////+//3//f////7//f/9/////v/9//3////+//////wAA/7//////AAD/v/////8AAP+//////wAA/78AAP9//3//vwAA/3//f/+/AAD/f/9//78AAP9//3//v/9/AAD//////38AAP//////fwAA//////9/AAD//////3////9//7//f////3//v/9/////f/+//3////9//7////9//////////3//////////f/////////9///////9//3////+//3//f////7//f/9/////v/9//3////+//////wAA/7//////AAD/v/////8AAP+//////wAA/78AAP9//3//vwAA/3//f/+/AAD/f/9//78AAP9//3//v/9/AAD//////38AAP//////fwAA//////9/AAD//////3////9//7//f////3//v/9/////f/+//3////9//7////9//////////3//////////f/////////9///////9//3////+//3//f////7//f/9/////v/9//3////+//////wAA/7//////AAD/v/////8AAP+//////wAA/78AAP9//3//vwAA/3//f/+/AAD/f/9//78AAP9//3//v/9/AAD//////38AAP//////fwAA//////9/AAD//////3////9//7//f////3//v/9/////f/+//3////9//7////9//////////3//////////f/////////9///////9//3////+//3//f////7//f/9/////v/9//3////+//////wAA/7//////AAD/v/////8AAP+//////wAA/78AAP9//3//vwAA/3//f/+/AAD/f/9//78AAP9//3//v/9/AAD//////38AAP//////fwAA//////9/AAD//////3////9//7//f////3//v/9/////f/+//3////9//7////9//////////3//////////f/////////9///////9//3////+//3//f////7//f/9/////v/9//3////+//////wAA/7//////AAD/v/////8AAP+//////wAA/78AAP9//3//vwAA/3//f/+/AAD/f/9//78AAP9//3//v/9/AAD//////38AAP//////fwAA//////9/AAD//////3////9//7//f////3//v/9/////f/+//3////9//7////9//////////3//////////f/////////9///////9//3////+//3//f////7//f/9/////v/9//3////+//////wAA/7//////AAD/v/////8AAP+//////wAA/78AAP9//3//vwAA/3//f/+/AAD/f/9//78AAP9//3//v/9/AAD//////38AAP//////fwAA//////9/AAD//////3////9//7//f////3//v/9/////f/+//3////9//7////9//////////3//////////f/////////9///////9//3////+//3//f////7//f/9/////v/9//3////+/")
|
||||
}, {
|
||||
"aabb": AABB(1, -2, -16, 20, 1, 9),
|
||||
"attribute_data": PackedByteArray("AACAvgAAgD4AAIC+AAAAPwAAqMAAAAA/AACowAAAgD4AAIDAAACAPgAA4L8AAIA+AADgvwAAAD8AAIDAAAAAPwAAgEAAAKjAAACAQAAAgL4AAOA/AACAvgAA4D8AAKjAAACAwAAAqMAAAOC/AACowAAA4L8AAIC+AACAwAAAgL4AAIBAAACAPgAAgEAAAAA/AADgPwAAAD8AAOA/AACAPgAAgD4AAIA+AACoQAAAgD4AAKhAAAAAPwAAgD4AAAA/"),
|
||||
"format": 34359742487,
|
||||
"index_count": 36,
|
||||
"index_data": PackedByteArray("AAABAAIAAAACAAMABAAFAAYABAAGAAcACAAJAAoACAAKAAsADAANAA4ADAAOAA8AEAARABIAEAASABMAFAAVABYAFAAWABcA"),
|
||||
"material": SubResource("StandardMaterial3D_h3dcj"),
|
||||
"name": "__TB_empty",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 24,
|
||||
"vertex_data": PackedByteArray("AACAPwAAgL8AAIDBAACAPwAAAMAAAIDBAACoQQAAAMAAAIDBAACoQQAAgL8AAIDBAACAPwAAgL8AAIDBAACAPwAAgL8AAODAAACAPwAAAMAAAODAAACAPwAAAMAAAIDBAACoQQAAAMAAAIDBAACAPwAAAMAAAIDBAACAPwAAAMAAAODAAACoQQAAAMAAAODAAACoQQAAgL8AAIDBAACoQQAAgL8AAODAAACAPwAAgL8AAODAAACAPwAAgL8AAIDBAACoQQAAgL8AAIDBAACoQQAAAMAAAIDBAACoQQAAAMAAAODAAACoQQAAgL8AAODAAACAPwAAgL8AAODAAACoQQAAgL8AAODAAACoQQAAAMAAAODAAACAPwAAAMAAAODA/////wAA/7//////AAD/v/////8AAP+//////wAA/78AAP9//3//vwAA/3//f/+/AAD/f/9//78AAP9//3//v/9/AAD//////38AAP//////fwAA//////9/AAD//////3////9//7//f////3//v/9/////f/+//3////9//7////9//////////3//////////f/////////9///////9//3////+//3//f////7//f/9/////v/9//3////+/")
|
||||
}]
|
||||
|
||||
[sub_resource type="ArrayOccluder3D" id="ArrayOccluder3D_cllbb"]
|
||||
vertices = PackedVector3Array(-3.5, 1, -3.5, -3.5, 0, -3.5, 4.5, 0, -3.5, 4.5, 1, -3.5, -3.5, 1, -3.5, -3.5, 1, 5, -3.5, 0, 5, -3.5, 0, -3.5, 4.5, 1, -3.5, 4.5, 1, 5, -3.5, 1, 5, -3.5, 1, -3.5, -3.5, 1, 5, 4.5, 1, 5, 4.5, 0, 5, -3.5, 0, 5, 4.5, 1, -3.5, 4.5, 0, -3.5, 12.5, 0, -3.5, 12.5, 1, -3.5, 12.5, 1, -3.5, 12.5, 1, 5, 4.5, 1, 5, 4.5, 1, -3.5, 12.5, 1, -3.5, 12.5, 0, -3.5, 12.5, 0, 5, 12.5, 1, 5, 4.5, 1, 5, 12.5, 1, 5, 12.5, 0, 5, 4.5, 0, 5, -4.5, -1.5, -16, -4.5, -2.5, -16, 3.5, -2.5, -16, 3.5, -1.5, -16, -4.5, -1.5, -16, -4.5, -1.5, -8, -4.5, -2.5, -8, -4.5, -2.5, -16, 3.5, -2.5, -16, -4.5, -2.5, -16, -4.5, -2.5, -8, 3.5, -2.5, -8, 3.5, -1.5, -16, 3.5, -1.5, -8, -4.5, -1.5, -8, -4.5, -1.5, -16, 3.5, -1.5, -16, 3.5, -2.5, -16, 3.5, -2.5, -8, 3.5, -1.5, -8, -4.5, -1.5, -8, 3.5, -1.5, -8, 3.5, -2.5, -8, -4.5, -2.5, -8, 4, 3, -3.5, 4, 1, -3.5, 4.5, 1, -3.5, 4.5, 3, -3.5, 4, 3, -3.5, 4, 3, 0, 4, 1, 0, 4, 1, -3.5, 4.5, 1, -3.5, 4, 1, -3.5, 4, 1, 0, 4.5, 1, 0, 4.5, 3, -3.5, 4.5, 3, 0, 4, 3, 0, 4, 3, -3.5, 4.5, 3, -3.5, 4.5, 1, -3.5, 4.5, 1, 0, 4.5, 3, 0, 4, 3, 0, 4.5, 3, 0, 4.5, 1, 0, 4, 1, 0, 4, 3, 2, 4, 1, 2, 4.5, 1, 2, 4.5, 3, 2, 4, 3, 2, 4, 3, 5, 4, 1, 5, 4, 1, 2, 4.5, 1, 2, 4, 1, 2, 4, 1, 5, 4.5, 1, 5, 4.5, 3, 2, 4.5, 3, 5, 4, 3, 5, 4, 3, 2, 4.5, 3, 2, 4.5, 1, 2, 4.5, 1, 5, 4.5, 3, 5, 4, 3, 5, 4.5, 3, 5, 4.5, 1, 5, 4, 1, 5, -3.5, 3, -3.5, -3.5, 1, -3.5, 4, 1, -3.5, 4, 3, -3.5, -3.5, 3, -3.5, -3.5, 3, -3, -3.5, 1, -3, -3.5, 1, -3.5, 4, 1, -3.5, -3.5, 1, -3.5, -3.5, 1, -3, 4, 1, -3, 4, 3, -3.5, 4, 3, -3, -3.5, 3, -3, -3.5, 3, -3.5, 4, 3, -3.5, 4, 1, -3.5, 4, 1, -3, 4, 3, -3, -3.5, 3, -3, 4, 3, -3, 4, 1, -3, -3.5, 1, -3, -3.5, 3, 5, -3.5, 0, 5, 4, 0, 5, 4, 3, 5, -3.5, 3, 5, -3.5, 3, 5.5, -3.5, 0, 5.5, -3.5, 0, 5, 4, 0, 5, -3.5, 0, 5, -3.5, 0, 5.5, 4, 0, 5.5, 4, 3, 5, 4, 3, 5.5, -3.5, 3, 5.5, -3.5, 3, 5, 4, 3, 5, 4, 0, 5, 4, 0, 5.5, 4, 3, 5.5, -3.5, 3, 5.5, 4, 3, 5.5, 4, 0, 5.5, -3.5, 0, 5.5, -3.5, 3, -3, -3.5, 1, -3, -3, 1, -3, -3, 3, -3, -3.5, 3, -3, -3.5, 3, 5, -3.5, 1, 5, -3.5, 1, -3, -3, 1, -3, -3.5, 1, -3, -3.5, 1, 5, -3, 1, 5, -3, 3, -3, -3, 3, 5, -3.5, 3, 5, -3.5, 3, -3, -3, 3, -3, -3, 1, -3, -3, 1, 5, -3, 3, 5, -3.5, 3, 5, -3, 3, 5, -3, 1, 5, -3.5, 1, 5, 4.5, 3, -3.5, 4.5, 1, -3.5, 12.5, 1, -3.5, 12.5, 3, -3.5, 4.5, 3, -3.5, 4.5, 3, -3, 4.5, 1, -3, 4.5, 1, -3.5, 12.5, 1, -3.5, 4.5, 1, -3.5, 4.5, 1, -3, 12.5, 1, -3, 12.5, 3, -3.5, 12.5, 3, -3, 4.5, 3, -3, 4.5, 3, -3.5, 12.5, 3, -3.5, 12.5, 1, -3.5, 12.5, 1, -3, 12.5, 3, -3, 4.5, 3, -3, 12.5, 3, -3, 12.5, 1, -3, 4.5, 1, -3, 4, 3, 5, 4, 0, 5, 12, 0, 5, 12, 3, 5, 4, 3, 5, 4, 3, 5.5, 4, 0, 5.5, 4, 0, 5, 12, 0, 5, 4, 0, 5, 4, 0, 5.5, 12, 0, 5.5, 12, 3, 5, 12, 3, 5.5, 4, 3, 5.5, 4, 3, 5, 12, 3, 5, 12, 0, 5, 12, 0, 5.5, 12, 3, 5.5, 4, 3, 5.5, 12, 3, 5.5, 12, 0, 5.5, 4, 0, 5.5)
|
||||
indices = PackedInt32Array(0, 1, 2, 0, 2, 3, 4, 5, 6, 4, 6, 7, 8, 9, 10, 8, 10, 11, 12, 13, 14, 12, 14, 15, 16, 17, 18, 16, 18, 19, 20, 21, 22, 20, 22, 23, 24, 25, 26, 24, 26, 27, 28, 29, 30, 28, 30, 31, 32, 33, 34, 32, 34, 35, 36, 37, 38, 36, 38, 39, 40, 41, 42, 40, 42, 43, 44, 45, 46, 44, 46, 47, 48, 49, 50, 48, 50, 51, 52, 53, 54, 52, 54, 55, 56, 57, 58, 56, 58, 59, 60, 61, 62, 60, 62, 63, 64, 65, 66, 64, 66, 67, 68, 69, 70, 68, 70, 71, 72, 73, 74, 72, 74, 75, 76, 77, 78, 76, 78, 79, 80, 81, 82, 80, 82, 83, 84, 85, 86, 84, 86, 87, 88, 89, 90, 88, 90, 91, 92, 93, 94, 92, 94, 95, 96, 97, 98, 96, 98, 99, 100, 101, 102, 100, 102, 103, 104, 105, 106, 104, 106, 107, 108, 109, 110, 108, 110, 111, 112, 113, 114, 112, 114, 115, 116, 117, 118, 116, 118, 119, 120, 121, 122, 120, 122, 123, 124, 125, 126, 124, 126, 127, 128, 129, 130, 128, 130, 131, 132, 133, 134, 132, 134, 135, 136, 137, 138, 136, 138, 139, 140, 141, 142, 140, 142, 143, 144, 145, 146, 144, 146, 147, 148, 149, 150, 148, 150, 151, 152, 153, 154, 152, 154, 155, 156, 157, 158, 156, 158, 159, 160, 161, 162, 160, 162, 163, 164, 165, 166, 164, 166, 167, 168, 169, 170, 168, 170, 171, 172, 173, 174, 172, 174, 175, 176, 177, 178, 176, 178, 179, 180, 181, 182, 180, 182, 183, 184, 185, 186, 184, 186, 187, 188, 189, 190, 188, 190, 191, 192, 193, 194, 192, 194, 195, 196, 197, 198, 196, 198, 199, 200, 201, 202, 200, 202, 203, 204, 205, 206, 204, 206, 207, 208, 209, 210, 208, 210, 211, 212, 213, 214, 212, 214, 215, 216, 217, 218, 216, 218, 219, 220, 221, 222, 220, 222, 223)
|
||||
[sub_resource type="ArrayOccluder3D" id="ArrayOccluder3D_t3wc0"]
|
||||
vertices = PackedVector3Array(-3.5, 1, -3.5, -3.5, 0, -3.5, 4.5, 0, -3.5, 4.5, 1, -3.5, -3.5, 1, -3.5, -3.5, 1, 5, -3.5, 0, 5, -3.5, 0, -3.5, 4.5, 1, -3.5, 4.5, 1, 5, -3.5, 1, 5, -3.5, 1, -3.5, -3.5, 1, 5, 4.5, 1, 5, 4.5, 0, 5, -3.5, 0, 5, 4.5, 1, -3.5, 4.5, 0, -3.5, 12.5, 0, -3.5, 12.5, 1, -3.5, 12.5, 1, -3.5, 12.5, 1, 5, 4.5, 1, 5, 4.5, 1, -3.5, 12.5, 1, -3.5, 12.5, 0, -3.5, 12.5, 0, 5, 12.5, 1, 5, 4.5, 1, 5, 12.5, 1, 5, 12.5, 0, 5, 4.5, 0, 5, -4.5, -1.5, -16, -4.5, -2.5, -16, 3.5, -2.5, -16, 3.5, -1.5, -16, -4.5, -1.5, -16, -4.5, -1.5, -8, -4.5, -2.5, -8, -4.5, -2.5, -16, 3.5, -2.5, -16, -4.5, -2.5, -16, -4.5, -2.5, -8, 3.5, -2.5, -8, 3.5, -1.5, -16, 3.5, -1.5, -8, -4.5, -1.5, -8, -4.5, -1.5, -16, 3.5, -1.5, -16, 3.5, -2.5, -16, 3.5, -2.5, -8, 3.5, -1.5, -8, -4.5, -1.5, -8, 3.5, -1.5, -8, 3.5, -2.5, -8, -4.5, -2.5, -8, 4, 3, -3.5, 4, 1, -3.5, 4.5, 1, -3.5, 4.5, 3, -3.5, 4, 3, -3.5, 4, 3, 0, 4, 1, 0, 4, 1, -3.5, 4.5, 1, -3.5, 4, 1, -3.5, 4, 1, 0, 4.5, 1, 0, 4.5, 3, -3.5, 4.5, 3, 0, 4, 3, 0, 4, 3, -3.5, 4.5, 3, -3.5, 4.5, 1, -3.5, 4.5, 1, 0, 4.5, 3, 0, 4, 3, 0, 4.5, 3, 0, 4.5, 1, 0, 4, 1, 0, 4, 3, 2, 4, 1, 2, 4.5, 1, 2, 4.5, 3, 2, 4, 3, 2, 4, 3, 5, 4, 1, 5, 4, 1, 2, 4.5, 1, 2, 4, 1, 2, 4, 1, 5, 4.5, 1, 5, 4.5, 3, 2, 4.5, 3, 5, 4, 3, 5, 4, 3, 2, 4.5, 3, 2, 4.5, 1, 2, 4.5, 1, 5, 4.5, 3, 5, 4, 3, 5, 4.5, 3, 5, 4.5, 1, 5, 4, 1, 5, -3.5, 3, -3.5, -3.5, 1, -3.5, 4, 1, -3.5, 4, 3, -3.5, -3.5, 3, -3.5, -3.5, 3, -3, -3.5, 1, -3, -3.5, 1, -3.5, 4, 1, -3.5, -3.5, 1, -3.5, -3.5, 1, -3, 4, 1, -3, 4, 3, -3.5, 4, 3, -3, -3.5, 3, -3, -3.5, 3, -3.5, 4, 3, -3.5, 4, 1, -3.5, 4, 1, -3, 4, 3, -3, -3.5, 3, -3, 4, 3, -3, 4, 1, -3, -3.5, 1, -3, -3.5, 3, 5, -3.5, 0, 5, 4, 0, 5, 4, 3, 5, -3.5, 3, 5, -3.5, 3, 5.5, -3.5, 0, 5.5, -3.5, 0, 5, 4, 0, 5, -3.5, 0, 5, -3.5, 0, 5.5, 4, 0, 5.5, 4, 3, 5, 4, 3, 5.5, -3.5, 3, 5.5, -3.5, 3, 5, 4, 3, 5, 4, 0, 5, 4, 0, 5.5, 4, 3, 5.5, -3.5, 3, 5.5, 4, 3, 5.5, 4, 0, 5.5, -3.5, 0, 5.5, -3.5, 3, -3, -3.5, 1, -3, -3, 1, -3, -3, 3, -3, -3.5, 3, -3, -3.5, 3, 5, -3.5, 1, 5, -3.5, 1, -3, -3, 1, -3, -3.5, 1, -3, -3.5, 1, 5, -3, 1, 5, -3, 3, -3, -3, 3, 5, -3.5, 3, 5, -3.5, 3, -3, -3, 3, -3, -3, 1, -3, -3, 1, 5, -3, 3, 5, -3.5, 3, 5, -3, 3, 5, -3, 1, 5, -3.5, 1, 5, 4.5, 3, -3.5, 4.5, 1, -3.5, 12.5, 1, -3.5, 12.5, 3, -3.5, 4.5, 3, -3.5, 4.5, 3, -3, 4.5, 1, -3, 4.5, 1, -3.5, 12.5, 1, -3.5, 4.5, 1, -3.5, 4.5, 1, -3, 12.5, 1, -3, 12.5, 3, -3.5, 12.5, 3, -3, 4.5, 3, -3, 4.5, 3, -3.5, 12.5, 3, -3.5, 12.5, 1, -3.5, 12.5, 1, -3, 12.5, 3, -3, 4.5, 3, -3, 12.5, 3, -3, 12.5, 1, -3, 4.5, 1, -3, 4, 3, 5, 4, 0, 5, 12, 0, 5, 12, 3, 5, 4, 3, 5, 4, 3, 5.5, 4, 0, 5.5, 4, 0, 5, 12, 0, 5, 4, 0, 5, 4, 0, 5.5, 12, 0, 5.5, 12, 3, 5, 12, 3, 5.5, 4, 3, 5.5, 4, 3, 5, 12, 3, 5, 12, 0, 5, 12, 0, 5.5, 12, 3, 5.5, 4, 3, 5.5, 12, 3, 5.5, 12, 0, 5.5, 4, 0, 5.5, 1, -1, -16, 1, -2, -16, 21, -2, -16, 21, -1, -16, 1, -1, -16, 1, -1, -7, 1, -2, -7, 1, -2, -16, 21, -2, -16, 1, -2, -16, 1, -2, -7, 21, -2, -7, 21, -1, -16, 21, -1, -7, 1, -1, -7, 1, -1, -16, 21, -1, -16, 21, -2, -16, 21, -2, -7, 21, -1, -7, 1, -1, -7, 21, -1, -7, 21, -2, -7, 1, -2, -7)
|
||||
indices = PackedInt32Array(0, 1, 2, 0, 2, 3, 4, 5, 6, 4, 6, 7, 8, 9, 10, 8, 10, 11, 12, 13, 14, 12, 14, 15, 16, 17, 18, 16, 18, 19, 20, 21, 22, 20, 22, 23, 24, 25, 26, 24, 26, 27, 28, 29, 30, 28, 30, 31, 32, 33, 34, 32, 34, 35, 36, 37, 38, 36, 38, 39, 40, 41, 42, 40, 42, 43, 44, 45, 46, 44, 46, 47, 48, 49, 50, 48, 50, 51, 52, 53, 54, 52, 54, 55, 56, 57, 58, 56, 58, 59, 60, 61, 62, 60, 62, 63, 64, 65, 66, 64, 66, 67, 68, 69, 70, 68, 70, 71, 72, 73, 74, 72, 74, 75, 76, 77, 78, 76, 78, 79, 80, 81, 82, 80, 82, 83, 84, 85, 86, 84, 86, 87, 88, 89, 90, 88, 90, 91, 92, 93, 94, 92, 94, 95, 96, 97, 98, 96, 98, 99, 100, 101, 102, 100, 102, 103, 104, 105, 106, 104, 106, 107, 108, 109, 110, 108, 110, 111, 112, 113, 114, 112, 114, 115, 116, 117, 118, 116, 118, 119, 120, 121, 122, 120, 122, 123, 124, 125, 126, 124, 126, 127, 128, 129, 130, 128, 130, 131, 132, 133, 134, 132, 134, 135, 136, 137, 138, 136, 138, 139, 140, 141, 142, 140, 142, 143, 144, 145, 146, 144, 146, 147, 148, 149, 150, 148, 150, 151, 152, 153, 154, 152, 154, 155, 156, 157, 158, 156, 158, 159, 160, 161, 162, 160, 162, 163, 164, 165, 166, 164, 166, 167, 168, 169, 170, 168, 170, 171, 172, 173, 174, 172, 174, 175, 176, 177, 178, 176, 178, 179, 180, 181, 182, 180, 182, 183, 184, 185, 186, 184, 186, 187, 188, 189, 190, 188, 190, 191, 192, 193, 194, 192, 194, 195, 196, 197, 198, 196, 198, 199, 200, 201, 202, 200, 202, 203, 204, 205, 206, 204, 206, 207, 208, 209, 210, 208, 210, 211, 212, 213, 214, 212, 214, 215, 216, 217, 218, 216, 218, 219, 220, 221, 222, 220, 222, 223, 224, 225, 226, 224, 226, 227, 228, 229, 230, 228, 230, 231, 232, 233, 234, 232, 234, 235, 236, 237, 238, 236, 238, 239, 240, 241, 242, 240, 242, 243, 244, 245, 246, 244, 246, 247)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_xkjmb"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_c0uab"]
|
||||
points = PackedVector3Array(-3.5, 1, -3.5, -3.5, 0, -3.5, 4.5, 0, -3.5, 4.5, 1, -3.5, -3.5, 1, 5, -3.5, 0, 5, 4.5, 0, 5, 4.5, 1, 5)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_or5db"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_5wux4"]
|
||||
points = PackedVector3Array(-4.5, -1.5, -16, -4.5, -2.5, -16, 3.5, -2.5, -16, 3.5, -1.5, -16, -4.5, -1.5, -8, -4.5, -2.5, -8, 3.5, -2.5, -8, 3.5, -1.5, -8)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_ixndg"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_eqs8o"]
|
||||
points = PackedVector3Array(4, 3, -3.5, 4, 1, -3.5, 4.5, 1, -3.5, 4.5, 3, -3.5, 4, 3, 0, 4, 1, 0, 4.5, 1, 0, 4.5, 3, 0)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_nc428"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_x3jyj"]
|
||||
points = PackedVector3Array(4, 3, 2, 4, 1, 2, 4.5, 1, 2, 4.5, 3, 2, 4, 3, 5, 4, 1, 5, 4.5, 1, 5, 4.5, 3, 5)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_xoc8d"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_l8rdh"]
|
||||
points = PackedVector3Array(4.5, 1, -3.5, 4.5, 0, -3.5, 12.5, 0, -3.5, 12.5, 1, -3.5, 4.5, 1, 5, 4.5, 0, 5, 12.5, 0, 5, 12.5, 1, 5)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_a76rt"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_adfik"]
|
||||
points = PackedVector3Array(-3.5, 3, -3.5, -3.5, 1, -3.5, 4, 1, -3.5, 4, 3, -3.5, -3.5, 3, -3, -3.5, 1, -3, 4, 1, -3, 4, 3, -3)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_oq1x0"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_mwp2y"]
|
||||
points = PackedVector3Array(-3.5, 3, 5, -3.5, 0, 5, 4, 0, 5, 4, 3, 5, -3.5, 3, 5.5, -3.5, 0, 5.5, 4, 0, 5.5, 4, 3, 5.5)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_p35ay"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_4g3j7"]
|
||||
points = PackedVector3Array(-3.5, 3, -3, -3.5, 1, -3, -3, 1, -3, -3, 3, -3, -3.5, 3, 5, -3.5, 1, 5, -3, 1, 5, -3, 3, 5)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_rm4i5"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_72w6d"]
|
||||
points = PackedVector3Array(4.5, 3, -3.5, 4.5, 1, -3.5, 12.5, 1, -3.5, 12.5, 3, -3.5, 4.5, 3, -3, 4.5, 1, -3, 12.5, 1, -3, 12.5, 3, -3)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_aied7"]
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_5qenh"]
|
||||
points = PackedVector3Array(4, 3, 5, 4, 0, 5, 12, 0, 5, 12, 3, 5, 4, 3, 5.5, 4, 0, 5.5, 12, 0, 5.5, 12, 3, 5.5)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_bp2b0"]
|
||||
points = PackedVector3Array(1, -1, -16, 1, -2, -16, 21, -2, -16, 21, -1, -16, 1, -1, -7, 1, -2, -7, 21, -2, -7, 21, -1, -7)
|
||||
|
||||
[node name="Tutorial3d" type="Node3D"]
|
||||
|
||||
[node name="FuncGodotMap" type="Node3D" parent="."]
|
||||
|
|
@ -93,37 +135,110 @@ collision_mask = 0
|
|||
script = ExtResource("3_rhkt8")
|
||||
|
||||
[node name="entity_0_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
mesh = SubResource("ArrayMesh_opovo")
|
||||
mesh = SubResource("ArrayMesh_cpobl")
|
||||
|
||||
[node name="entity_0_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
occluder = SubResource("ArrayOccluder3D_cllbb")
|
||||
occluder = SubResource("ArrayOccluder3D_t3wc0")
|
||||
|
||||
[node name="entity_0_brush_0_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_xkjmb")
|
||||
shape = SubResource("ConvexPolygonShape3D_c0uab")
|
||||
|
||||
[node name="entity_0_brush_1_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_or5db")
|
||||
shape = SubResource("ConvexPolygonShape3D_5wux4")
|
||||
|
||||
[node name="entity_0_brush_2_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_ixndg")
|
||||
shape = SubResource("ConvexPolygonShape3D_eqs8o")
|
||||
|
||||
[node name="entity_0_brush_3_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_nc428")
|
||||
shape = SubResource("ConvexPolygonShape3D_x3jyj")
|
||||
|
||||
[node name="entity_0_brush_4_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_xoc8d")
|
||||
shape = SubResource("ConvexPolygonShape3D_l8rdh")
|
||||
|
||||
[node name="entity_0_brush_5_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_a76rt")
|
||||
shape = SubResource("ConvexPolygonShape3D_adfik")
|
||||
|
||||
[node name="entity_0_brush_6_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_oq1x0")
|
||||
shape = SubResource("ConvexPolygonShape3D_mwp2y")
|
||||
|
||||
[node name="entity_0_brush_7_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_p35ay")
|
||||
shape = SubResource("ConvexPolygonShape3D_4g3j7")
|
||||
|
||||
[node name="entity_0_brush_8_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_rm4i5")
|
||||
shape = SubResource("ConvexPolygonShape3D_72w6d")
|
||||
|
||||
[node name="entity_0_brush_9_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_aied7")
|
||||
shape = SubResource("ConvexPolygonShape3D_5qenh")
|
||||
|
||||
[node name="entity_0_brush_10_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_0_worldspawn"]
|
||||
shape = SubResource("ConvexPolygonShape3D_bp2b0")
|
||||
|
||||
[node name="entity_1_actor_barrel_1" parent="FuncGodotMap" instance=ExtResource("7_xoc8d")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.5, 1.5, -0.5)
|
||||
DamageResistances = Array[ExtResource("8_a76rt")]([])
|
||||
|
||||
[node name="entity_2_actor_box_green" parent="FuncGodotMap" instance=ExtResource("9_oq1x0")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 9.5, 1.25, 1.5)
|
||||
DamageResistances = Array[ExtResource("8_a76rt")]([])
|
||||
|
||||
[node name="entity_3_actor_capacitor_mini" parent="FuncGodotMap" instance=ExtResource("10_p35ay")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 7.5, 1.5, 0.5)
|
||||
TargetGroup = "door"
|
||||
|
||||
[node name="entity_4_actor_box_wood" parent="FuncGodotMap" instance=ExtResource("11_rm4i5")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 9.5, 1.25, -1.25)
|
||||
DamageResistances = Array[ExtResource("8_a76rt")]([])
|
||||
|
||||
[node name="entity_5_actor_box_red" parent="FuncGodotMap" instance=ExtResource("12_aied7")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 11.5, 1.25, -2.5)
|
||||
DamageResistances = Array[ExtResource("8_a76rt")]([])
|
||||
|
||||
[node name="entity_6_actor_door_1" parent="FuncGodotMap" instance=ExtResource("14_lb6lh")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 7, 2, -2.25)
|
||||
TargetName = &"door"
|
||||
|
||||
[node name="entity_7_actor_ac_unit" parent="FuncGodotMap" instance=ExtResource("15_xgap0")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.5, 1.5, -1.25)
|
||||
|
||||
[node name="entity_8_actor_alarmbox" parent="FuncGodotMap" instance=ExtResource("16_rrcqh")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 9.75, 1.75, -2.75)
|
||||
|
||||
[node name="entity_9_actor_box_blue" parent="FuncGodotMap" instance=ExtResource("17_1oxql")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.5, 1.25, -0.5)
|
||||
DamageResistances = Array[ExtResource("8_a76rt")]([])
|
||||
|
||||
[node name="entity_10_actor_box_yellow" parent="FuncGodotMap" instance=ExtResource("18_dkxgr")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 10.5, 1.25, 3.5)
|
||||
DamageResistances = Array[ExtResource("8_a76rt")]([])
|
||||
|
||||
[node name="entity_11_actor_capacitor" parent="FuncGodotMap" instance=ExtResource("19_imye0")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 5.5, 1.75, 3.5)
|
||||
|
||||
[node name="entity_12_actor_chest_1" parent="FuncGodotMap" instance=ExtResource("20_30bs2")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 7.5, 1.5, 3.5)
|
||||
|
||||
[node name="entity_13_actor_controlpad" parent="FuncGodotMap" node_paths=PackedStringArray("Targets") instance=ExtResource("21_7tbin")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 8.75, 1.75, -2.75)
|
||||
Targets = Array[ExtResource("8_a76rt")]([])
|
||||
|
||||
[node name="entity_14_actor_elevator_1" parent="FuncGodotMap" instance=ExtResource("22_h1mng")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1.125, 1)
|
||||
|
||||
[node name="entity_15_actor_forcefield_1" parent="FuncGodotMap" instance=ExtResource("23_2wjgd")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1, -0.5, -13.25)
|
||||
|
||||
[node name="entity_16_actor_mainframe" parent="FuncGodotMap" instance=ExtResource("24_m3k7g")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 9.5, -0.25, -12.5)
|
||||
|
||||
[node name="entity_17_actor_stairs_mini" parent="FuncGodotMap" instance=ExtResource("25_yh25m")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 17.5, -0.75, -12.5)
|
||||
|
||||
[node name="entity_18_actor_table" parent="FuncGodotMap" instance=ExtResource("26_gbnau")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 6.25, -0.75, -10.5)
|
||||
|
||||
[node name="entity_19_actor_tank" parent="FuncGodotMap" instance=ExtResource("27_j1ta1")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 18.5, -0.5, -14.5)
|
||||
|
||||
[node name="entity_20_actor_wallfan" parent="FuncGodotMap" instance=ExtResource("28_nammt")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 13.25, -0.25, -13.125)
|
||||
DamageResistances = Array[ExtResource("8_a76rt")]([])
|
||||
|
|
|
|||
|
|
@ -929,6 +929,15 @@
|
|||
( 172 52 12 ) ( 173 52 12 ) ( 172 52 13 ) Manual/Chevron [ -1 0 0 -4 ] [ 0 0 -1 0 ] 90 1 1
|
||||
( 172 96 12 ) ( 172 96 13 ) ( 172 97 12 ) Manual/Chevron [ 0 1 0 0 ] [ 0 0 -1 0 ] 180 1 1
|
||||
}
|
||||
// brush 100
|
||||
{
|
||||
( 128 88 -32 ) ( 128 89 -32 ) ( 128 88 -31 ) Manual/Chevron_2 [ 0 -1 0 8 ] [ 0 0 -1 -8 ] 180 1 1
|
||||
( 128 -56 -32 ) ( 128 -56 -31 ) ( 129 -56 -32 ) Manual/Chevron_2 [ 1 0 0 -4 ] [ 0 0 -1 -8 ] 0 1 1
|
||||
( 128 88 -32 ) ( 129 88 -32 ) ( 128 89 -32 ) Manual/Chevron_2 [ -1 0 0 4 ] [ 0 -1 0 8 ] 180 1 1
|
||||
( 132 136 -24 ) ( 132 137 -24 ) ( 133 136 -24 ) Manual/Chevron_2 [ 1 0 0 -4 ] [ 0 -1 0 8 ] 90 1 1
|
||||
( 132 136 -28 ) ( 133 136 -28 ) ( 132 136 -27 ) Manual/Chevron [ -1 0 0 4 ] [ 0 0 -1 -8 ] 180 1 1
|
||||
( 132 136 -28 ) ( 132 136 -27 ) ( 132 137 -28 ) Manual/Chevron [ 0 1 0 -8 ] [ 0 0 -1 -8 ] 180 1 1
|
||||
}
|
||||
}
|
||||
// entity 1
|
||||
{
|
||||
|
|
@ -2402,6 +2411,7 @@
|
|||
{
|
||||
"classname" "func_move"
|
||||
"move_pos" "0.0 0.0 -66.0"
|
||||
"targetname" "secret_door_1"
|
||||
// brush 0
|
||||
{
|
||||
( -8 488 8 ) ( -8 488 9 ) ( -8 487 8 ) Walls/Wall0 [ 0 -1 0 -8 ] [ 0 0 1 -8 ] 0 1 -1
|
||||
|
|
@ -2727,7 +2737,7 @@
|
|||
}
|
||||
// brush 15
|
||||
{
|
||||
( 128 136 -24 ) ( 128 -56 -24 ) ( 128 136 -32 ) __TB_empty [ 0 -1 0 -8 ] [ 0 0 1 -8 ] 180 1 -1
|
||||
( 132 136 -24 ) ( 132 -56 -24 ) ( 132 136 -32 ) __TB_empty [ 0 -1 0 -8 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
( 32 -56 -24 ) ( 168 -56 -24 ) ( 32 -56 -32 ) __TB_empty [ -1 0 0 0 ] [ 0 0 1 -8 ] 180 1 -1
|
||||
( 32 -56 -32 ) ( 168 -56 -32 ) ( 32 136 -32 ) __TB_empty [ -1 0 0 24 ] [ 0 1 0 8 ] 180 1 1
|
||||
( 32 136 -24 ) ( 168 136 -24 ) ( 32 -56 -24 ) Floors/Floor18 [ -1 0 0 24 ] [ 0 1 0 8 ] 180 1 1
|
||||
|
|
@ -4324,7 +4334,7 @@
|
|||
( 0 376 8 ) ( -1 376 8 ) ( 0 376 9 ) Various/Various14 [ -1 0 0 0 ] [ 0 0 1 -8 ] 180 1 -1
|
||||
( 128 616 -32 ) ( 127 616 -32 ) ( 128 615 -32 ) Walls/Wall0 [ -1 0 0 0 ] [ 0 1 0 -8 ] 0 1 1
|
||||
( 0 488 8 ) ( 0 487 8 ) ( -1 488 8 ) Manual/Black [ -1 0 0 0 ] [ 0 1 0 0 ] 270 1 1
|
||||
( 128 416 -24 ) ( 128 416 -23 ) ( 127 416 -24 ) Walls/Wall0 [ -1 0 0 0 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
( 128 416 -24 ) ( 128 416 -23 ) ( 127 416 -24 ) Manual/Black [ -1 0 0 0 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
( 120 616 -24 ) ( 120 615 -24 ) ( 120 616 -23 ) Walls/Wall0 [ 0 -1 0 8 ] [ 0 0 1 0 ] 270 1 -1
|
||||
}
|
||||
// brush 193
|
||||
|
|
@ -4332,7 +4342,7 @@
|
|||
( -160 280 -24 ) ( -160 280 -23 ) ( -160 279 -24 ) Floors/Floor278 [ 0 -1 0 8 ] [ 0 0 1 -8 ] 180 1 -1
|
||||
( -48 304 -24 ) ( -49 304 -24 ) ( -48 304 -23 ) Floors/Floor278 [ -1 0 0 0 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
( 80 408 -32 ) ( 79 408 -32 ) ( 80 407 -32 ) Floors/Floor278 [ -1 0 0 0 ] [ 0 1 0 -8 ] 270 1 1
|
||||
( -48 280 -24 ) ( -48 279 -24 ) ( -49 280 -24 ) Floors/Floor_Tiled_0230 [ -1 0 0 0 ] [ 0 1 0 -8 ] 90 1 1
|
||||
( -48 280 -24 ) ( -48 279 -24 ) ( -49 280 -24 ) Floors/Floor_Tiled_0132 [ -1 0 0 0 ] [ 0 1 0 -8 ] 90 1 1
|
||||
( 80 412 -56 ) ( 80 412 -55 ) ( 79 412 -56 ) Floors/Floor278 [ -1 0 0 0 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
( 112 408 -56 ) ( 112 407 -56 ) ( 112 408 -55 ) Floors/Floor278 [ 0 -1 0 8 ] [ 0 0 1 -8 ] 0 1 -1
|
||||
}
|
||||
|
|
@ -4343,7 +4353,7 @@
|
|||
( 176 384 -32 ) ( 175 384 -32 ) ( 176 383 -32 ) __TB_empty [ -1 0 0 -16 ] [ 0 1 0 0 ] 180 1 1
|
||||
( 48 256 8 ) ( 48 255 8 ) ( 47 256 8 ) Manual/Black [ -1 0 0 0 ] [ 0 1 0 0 ] 180 1 1
|
||||
( 176 264 -56 ) ( 176 264 -55 ) ( 175 264 -56 ) Walls/Wall0 [ -1 0 0 0 ] [ 0 0 1 -8 ] 180 1 -1
|
||||
( 0 384 -56 ) ( 0 383 -56 ) ( 0 384 -55 ) __TB_empty [ 0 -1 0 0 ] [ 0 0 1 -8 ] 90 1 -1
|
||||
( 0 384 -56 ) ( 0 383 -56 ) ( 0 384 -55 ) Manual/Black [ 0 -1 0 0 ] [ 0 0 1 -8 ] 90 1 -1
|
||||
}
|
||||
// brush 195
|
||||
{
|
||||
|
|
@ -4369,7 +4379,7 @@
|
|||
( 0 408 -24 ) ( -1 408 -24 ) ( 0 408 -23 ) __TB_empty [ -1 0 0 0 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
( 128 536 -32 ) ( 127 536 -32 ) ( 128 535 -32 ) __TB_empty [ -1 0 0 0 ] [ 0 1 0 8 ] 90 1 1
|
||||
( 0 408 8 ) ( 0 407 8 ) ( -1 408 8 ) Manual/Black [ -1 0 0 0 ] [ 0 1 0 0 ] 90 1 1
|
||||
( 128 416 -56 ) ( 128 416 -55 ) ( 127 416 -56 ) Walls/Wall0 [ -1 0 0 0 ] [ 0 0 1 -8 ] 90 1 -1
|
||||
( 128 416 -56 ) ( 128 416 -55 ) ( 127 416 -56 ) Manual/Black [ -1 0 0 0 ] [ 0 0 1 -8 ] 90 1 -1
|
||||
( 112 536 -56 ) ( 112 535 -56 ) ( 112 536 -55 ) __TB_empty [ 0 -1 0 -8 ] [ 0 0 1 -8 ] 90 1 -1
|
||||
}
|
||||
// brush 198
|
||||
|
|
@ -4387,7 +4397,7 @@
|
|||
( 288 408 -24 ) ( 287 408 -24 ) ( 288 408 -23 ) __TB_empty [ -1 0 0 0 ] [ 0 0 1 -8 ] 90 1 -1
|
||||
( 416 536 -32 ) ( 415 536 -32 ) ( 416 535 -32 ) __TB_empty [ -1 0 0 0 ] [ 0 1 0 8 ] 270 1 1
|
||||
( 288 408 8 ) ( 288 407 8 ) ( 287 408 8 ) Manual/Black [ -1 0 0 0 ] [ 0 1 0 0 ] 90 1 1
|
||||
( 416 416 -56 ) ( 416 416 -55 ) ( 415 416 -56 ) Walls/Wall0 [ -1 0 0 0 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
( 416 416 -56 ) ( 416 416 -55 ) ( 415 416 -56 ) Manual/Black [ -1 0 0 0 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
( 312 536 -56 ) ( 312 535 -56 ) ( 312 536 -55 ) __TB_empty [ 0 -1 0 -8 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
}
|
||||
// brush 200
|
||||
|
|
@ -4405,8 +4415,8 @@
|
|||
( 200 288 8 ) ( 199 288 8 ) ( 200 288 9 ) Walls/Wall0 [ -1 0 0 -8 ] [ 0 0 1 -8 ] 90 1 -1
|
||||
( 328 544 -32 ) ( 327 544 -32 ) ( 328 543 -32 ) Walls/Wall0 [ -1 0 0 -8 ] [ 0 1 0 0 ] 270 1 1
|
||||
( 200 416 8 ) ( 200 415 8 ) ( 199 416 8 ) Manual/Black [ -1 0 0 0 ] [ 0 1 0 0 ] 270 1 1
|
||||
( 328 416 -24 ) ( 328 416 -23 ) ( 327 416 -24 ) Walls/Wall0 [ -1 0 0 -8 ] [ 0 0 1 -8 ] 0 1 -1
|
||||
( 320 544 -24 ) ( 320 543 -24 ) ( 320 544 -23 ) Walls/Wall0 [ 0 -1 0 0 ] [ 0 0 1 0 ] 270 1 -1
|
||||
( 328 416 -24 ) ( 328 416 -23 ) ( 327 416 -24 ) Manual/Black [ -1 0 0 -8 ] [ 0 0 1 -8 ] 0 1 -1
|
||||
( 320 544 -24 ) ( 320 543 -24 ) ( 320 544 -23 ) Manual/Black [ 0 -1 0 0 ] [ 0 0 1 0 ] 270 1 -1
|
||||
}
|
||||
// brush 202
|
||||
{
|
||||
|
|
@ -4469,7 +4479,7 @@
|
|||
( 8 552 -32 ) ( 7 552 -32 ) ( 8 551 -32 ) Walls/Wall0 [ -1 0 0 8 ] [ 0 1 0 -8 ] 180 1 1
|
||||
( -120 424 8 ) ( -120 423 8 ) ( -121 424 8 ) Manual/Black [ -1 0 0 0 ] [ 0 1 0 0 ] 0 1 1
|
||||
( -120 312 8 ) ( -120 312 9 ) ( -121 312 8 ) Walls/Wall0 [ -1 0 0 8 ] [ 0 0 1 -8 ] 0 1 -1
|
||||
( 0 552 -24 ) ( 0 551 -24 ) ( 0 552 -23 ) Walls/Wall0 [ 0 -1 0 -8 ] [ 0 0 1 0 ] 0 1 -1
|
||||
( 0 552 -24 ) ( 0 551 -24 ) ( 0 552 -23 ) Manual/Black [ 0 -1 0 -8 ] [ 0 0 1 0 ] 0 1 -1
|
||||
}
|
||||
// brush 209
|
||||
{
|
||||
|
|
@ -4503,7 +4513,7 @@
|
|||
( -160 168 -24 ) ( -160 168 -23 ) ( -160 167 -24 ) Floors/Floor278 [ 0 -1 0 8 ] [ 0 0 1 -8 ] 180 1 -1
|
||||
( -48 264 -24 ) ( -49 264 -24 ) ( -48 264 -23 ) Floors/Floor278 [ -1 0 0 0 ] [ 0 0 1 -8 ] 180 1 -1
|
||||
( 80 296 -32 ) ( 79 296 -32 ) ( 80 295 -32 ) Floors/Floor278 [ -1 0 0 0 ] [ 0 1 0 -8 ] 270 1 1
|
||||
( -48 168 -24 ) ( -48 167 -24 ) ( -49 168 -24 ) Floors/Floor278 [ -1 0 0 0 ] [ 0 1 0 -8 ] 90 1 1
|
||||
( -48 168 -24 ) ( -48 167 -24 ) ( -49 168 -24 ) Floors/Floor_Tiled_0132 [ -1 0 0 0 ] [ 0 1 0 -8 ] 90 1 1
|
||||
( 80 304 -56 ) ( 80 304 -55 ) ( 79 304 -56 ) Floors/Floor278 [ -1 0 0 0 ] [ 0 0 1 -8 ] 180 1 -1
|
||||
( -8 296 -56 ) ( -8 295 -56 ) ( -8 296 -55 ) Floors/Floor278 [ 0 -1 0 8 ] [ 0 0 1 -8 ] 270 1 -1
|
||||
}
|
||||
|
|
@ -5087,3 +5097,11 @@
|
|||
"angles" "0 0 90"
|
||||
"_tb_layer" "3"
|
||||
}
|
||||
// entity 255
|
||||
{
|
||||
"classname" "actor_capacitor_mini"
|
||||
"origin" "8 320 -16"
|
||||
"target" "secret_door_1"
|
||||
"activationtype" "Open"
|
||||
"_tb_layer" "3"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,4 +95,116 @@
|
|||
( 136 192 24 ) ( 137 192 24 ) ( 136 192 25 ) Manual/Grid_005 [ -1 0 0 -8 ] [ 0 0 -1 0 ] 90 1 1
|
||||
( 88 88 24 ) ( 88 88 25 ) ( 88 89 24 ) Manual/Grid_005 [ 0 1 0 -1 ] [ 0 0 -1 0 ] 180 1 1
|
||||
}
|
||||
// brush 10
|
||||
{
|
||||
( -256 16 -32 ) ( -256 17 -32 ) ( -256 16 -31 ) __TB_empty [ 0 -1 0 0 ] [ 0 0 -1 0 ] 0 1 1
|
||||
( -256 16 -32 ) ( -256 16 -31 ) ( -255 16 -32 ) __TB_empty [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
|
||||
( -256 16 -32 ) ( -255 16 -32 ) ( -256 17 -32 ) __TB_empty [ -1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
|
||||
( -112 336 -16 ) ( -112 337 -16 ) ( -111 336 -16 ) __TB_empty [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
|
||||
( -112 336 -16 ) ( -111 336 -16 ) ( -112 336 -15 ) __TB_empty [ -1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
|
||||
( -112 336 -16 ) ( -112 336 -15 ) ( -112 337 -16 ) __TB_empty [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
|
||||
}
|
||||
}
|
||||
// entity 1
|
||||
{
|
||||
"classname" "actor_barrel_1"
|
||||
"origin" "-8 120 24"
|
||||
}
|
||||
// entity 2
|
||||
{
|
||||
"classname" "actor_box_green"
|
||||
"origin" "24 152 20"
|
||||
}
|
||||
// entity 3
|
||||
{
|
||||
"classname" "actor_capacitor_mini"
|
||||
"origin" "8 120 24"
|
||||
"target" "door"
|
||||
"activationtype" "Open"
|
||||
}
|
||||
// entity 4
|
||||
{
|
||||
"classname" "actor_box_wood"
|
||||
"origin" "-20 152 20"
|
||||
}
|
||||
// entity 5
|
||||
{
|
||||
"classname" "actor_box_red"
|
||||
"origin" "-40 184 20"
|
||||
}
|
||||
// entity 6
|
||||
{
|
||||
"classname" "actor_door_1"
|
||||
"origin" "-36 112 32"
|
||||
"targetname" "door"
|
||||
}
|
||||
// entity 7
|
||||
{
|
||||
"classname" "actor_ac_unit"
|
||||
"origin" "-20 -24 24"
|
||||
}
|
||||
// entity 8
|
||||
{
|
||||
"classname" "actor_alarmbox"
|
||||
"origin" "-44 156 28"
|
||||
}
|
||||
// entity 9
|
||||
{
|
||||
"classname" "actor_box_blue"
|
||||
"origin" "-8 184 20"
|
||||
}
|
||||
// entity 10
|
||||
{
|
||||
"classname" "actor_box_yellow"
|
||||
"origin" "56 168 20"
|
||||
}
|
||||
// entity 11
|
||||
{
|
||||
"classname" "actor_capacitor"
|
||||
"origin" "56 88 28"
|
||||
}
|
||||
// entity 12
|
||||
{
|
||||
"classname" "actor_chest_1"
|
||||
"origin" "56 120 24"
|
||||
}
|
||||
// entity 13
|
||||
{
|
||||
"classname" "actor_controlpad"
|
||||
"origin" "-44 140 28"
|
||||
}
|
||||
// entity 14
|
||||
{
|
||||
"classname" "actor_elevator_1"
|
||||
"origin" "16 -32 18"
|
||||
}
|
||||
// entity 15
|
||||
{
|
||||
"classname" "actor_forcefield_1"
|
||||
"origin" "-212 -16 -8"
|
||||
}
|
||||
// entity 16
|
||||
{
|
||||
"classname" "actor_mainframe"
|
||||
"origin" "-200 152 -4"
|
||||
}
|
||||
// entity 17
|
||||
{
|
||||
"classname" "actor_stairs_mini"
|
||||
"origin" "-200 280 -12"
|
||||
}
|
||||
// entity 18
|
||||
{
|
||||
"classname" "actor_table"
|
||||
"origin" "-168 100 -12"
|
||||
}
|
||||
// entity 19
|
||||
{
|
||||
"classname" "actor_tank"
|
||||
"origin" "-232 296 -8"
|
||||
}
|
||||
// entity 20
|
||||
{
|
||||
"classname" "actor_wallfan"
|
||||
"origin" "-210 212 -4"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bkwuuk6ctadu0"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bkwuuk6ctadu0"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dia5jpbq0ipcp" path="res://3D/BlockbenchModels/Capacitor_Mini/Capacitor_Mini.gltf" id="1_dkwt8"]
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_lyqcr"]
|
||||
[ext_resource type="Resource" uid="uid://bpreje4f8ok62" path="res://Resources/Bullets/3D/Explosion_3D.tres" id="2_kvl8b"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_dkwt8"]
|
||||
height = 0.882874
|
||||
|
|
@ -8,6 +10,10 @@ height = 0.882874
|
|||
[node name="CapacitorMini" type="StaticBody3D"]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_lyqcr")
|
||||
Health = 5.0
|
||||
ExplosionData = ExtResource("2_kvl8b")
|
||||
DamageResistances = []
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, -0.0550391, -0.000488281)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://5oos364p3wex"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://5oos364p3wex"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_uw6yr"]
|
||||
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/3D/Explosion_Harmless_Small_3D.tres" id="2_mieo6"]
|
||||
[ext_resource type="PackedScene" uid="uid://bdegfd1qsmm83" path="res://3D/BlockbenchModels/Furniture/Computer_Tower.gltf" id="3_uw6yr"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
|
|
@ -10,8 +8,6 @@ size = Vector3(0.236526, 0.255461, 0.263001)
|
|||
[node name="ComputerTower" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_uw6yr")
|
||||
ExplosionData = ExtResource("2_mieo6")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00994159, 0.00241355, 0.0024108)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://dcv3hwt7p4hgp"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dcv3hwt7p4hgp"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_rnn28"]
|
||||
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/3D/Explosion_Harmless_Small_3D.tres" id="2_1of0j"]
|
||||
[ext_resource type="PackedScene" uid="uid://cttslkvuo01s4" path="res://3D/BlockbenchModels/Furniture/Furniture_Shelf.gltf" id="3_3irlk"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
|
|
@ -10,8 +8,6 @@ size = Vector3(1.01306, 0.0779953, 0.516846)
|
|||
[node name="Shelf" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_rnn28")
|
||||
ExplosionData = ExtResource("2_1of0j")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000183113, 0.0304449, 0.000122011)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://dsppxfki3n30g"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dsppxfki3n30g"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_td6u3"]
|
||||
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/3D/Explosion_Harmless_Small_3D.tres" id="2_4teip"]
|
||||
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_4teip"]
|
||||
[ext_resource type="PackedScene" uid="uid://ca7snn0abf446" path="res://3D/BlockbenchModels/Furniture/Furniture_Triangle.gltf" id="3_td6u3"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
|
|
@ -12,6 +13,7 @@ collision_layer = 16
|
|||
collision_mask = 0
|
||||
script = ExtResource("1_td6u3")
|
||||
ExplosionData = ExtResource("2_4teip")
|
||||
DamageResistances = Array[ExtResource("3_4teip")]([])
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00994159, 0.00241355, 0.0024108)
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
script = ExtResource("1_giwth")
|
||||
classname = "ActivationType"
|
||||
description = "Activation Type"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([])
|
||||
class_properties = {
|
||||
"activationtype": {
|
||||
"Close": "Close",
|
||||
|
|
@ -20,11 +18,4 @@ class_properties = {
|
|||
class_property_descriptions = {
|
||||
"activationtype": "Type of activation"
|
||||
}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
meta_properties = {
|
||||
"color": Color(0.8, 0.8, 0.8, 1),
|
||||
"size": AABB(-8, -8, -8, 8, 8, 8)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://6o4wbl0iau0v"
|
||||
|
|
|
|||
12
3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres
Normal file
12
3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=4 format=3 uid="uid://dl5gtmotc4g6a"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://bd4h6ha84s74b" path="res://3D/TrenchBroom/EntityDefinitions/base/activation_type_base.tres" id="2_h557v"]
|
||||
[ext_resource type="Resource" uid="uid://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="3_njkdc"]
|
||||
[ext_resource type="Script" uid="uid://6o4wbl0iau0v" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="3_ql3xv"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_ql3xv")
|
||||
classname = "Destroyable"
|
||||
description = "Destroyable actor with the ability to send a signal on death"
|
||||
base_classes = Array[Resource]([ExtResource("2_h557v"), ExtResource("3_njkdc")])
|
||||
metadata/_custom_type_script = "uid://blhmvtghs553u"
|
||||
|
|
@ -7,19 +7,12 @@
|
|||
[resource]
|
||||
script = ExtResource("3_riefj")
|
||||
scene_file = ExtResource("2_77pvc")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_capacitor"
|
||||
description = "Capacitor"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_77pvc")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/Capacitor.glb\"",
|
||||
"size": AABB(-8, -8, -12, 8, 8, 12)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,31 +1,20 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://ejgmadticege"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://ejgmadticege"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_frb07"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_61nv4"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkwuuk6ctadu0" path="res://3D/Scenes/Props/Capacitor_Mini_3D.tscn" id="2_frb07"]
|
||||
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_864ca"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_864ca")
|
||||
target_map_editor = 0
|
||||
models_sub_folder = ""
|
||||
scale_expression = ""
|
||||
generate_size_property = false
|
||||
rotation_offset = Vector3(0, 180, 0)
|
||||
generate_gd_ignore_file = false
|
||||
scene_file = ExtResource("2_frb07")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_capacitor_mini"
|
||||
description = "Mini Capacitor"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_frb07")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_frb07"), ExtResource("2_61nv4")])
|
||||
meta_properties = {
|
||||
"size": AABB(-8, -8, -8, 8, 8, 8),
|
||||
"studio": "\"3D\\MapModels/actor_capacitor_mini.glb\""
|
||||
"studio": "\"3D/MapModels/actor_capacitor_mini.glb\""
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,31 +1,21 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://ocl6a6lorlxa"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://ocl6a6lorlxa"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_q0qx2"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_7m3jg"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgxq2tvdxnkil" path="res://3D/Scenes/Props/Furniture/SmallBox_3D.tscn" id="2_q0qx2"]
|
||||
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_ta5yw"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_ta5yw")
|
||||
target_map_editor = 1
|
||||
models_sub_folder = ""
|
||||
scale_expression = ""
|
||||
generate_size_property = false
|
||||
rotation_offset = Vector3(0, 180, 0)
|
||||
generate_gd_ignore_file = false
|
||||
scene_file = ExtResource("2_q0qx2")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_furniture_box"
|
||||
description = "Box"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_q0qx2")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_q0qx2"), ExtResource("2_7m3jg")])
|
||||
meta_properties = {
|
||||
"model": "\"3D\\MapModels/actor_furniture_box.glb\"",
|
||||
"model": "\"3D/MapModels/actor_furniture_box.glb\"",
|
||||
"size": AABB(-2, -2, -2, 2, 2, 2)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,31 +1,21 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://cdlo7qrub1bbd"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://cdlo7qrub1bbd"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_62adm"]
|
||||
[ext_resource type="PackedScene" uid="uid://ddi6ch3tuqqri" path="res://3D/Scenes/Props/Furniture/Can_3D.tscn" id="2_62adm"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_6885y"]
|
||||
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_8wc8b"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_8wc8b")
|
||||
target_map_editor = 1
|
||||
models_sub_folder = ""
|
||||
scale_expression = ""
|
||||
generate_size_property = false
|
||||
rotation_offset = Vector3(0, 180, 0)
|
||||
generate_gd_ignore_file = false
|
||||
scene_file = ExtResource("2_62adm")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_furniture_can"
|
||||
description = "Can"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_62adm")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_62adm"), ExtResource("2_6885y")])
|
||||
meta_properties = {
|
||||
"model": "\"3D\\MapModels/actor_furniture_can.glb\"",
|
||||
"model": "\"3D/MapModels/actor_furniture_can.glb\"",
|
||||
"size": AABB(-2, -2, -2, 2, 2, 2)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -7,25 +7,14 @@
|
|||
[resource]
|
||||
script = ExtResource("3_tppu4")
|
||||
target_map_editor = 1
|
||||
models_sub_folder = ""
|
||||
scale_expression = ""
|
||||
generate_size_property = false
|
||||
rotation_offset = Vector3(0, 180, 0)
|
||||
generate_gd_ignore_file = false
|
||||
scene_file = ExtResource("2_a11ow")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_furniture_shelf"
|
||||
description = "Vending Machine"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_a11ow")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
meta_properties = {
|
||||
"model": "\"3D\\MapModels/actor_furniture_shelf.glb\"",
|
||||
"model": "\"3D/MapModels/actor_furniture_shelf.glb\"",
|
||||
"size": AABB(-4, -8, -1, 4, 8, 1)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,31 +1,21 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://yw4443572o6u"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://yw4443572o6u"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_aw0kv"]
|
||||
[ext_resource type="PackedScene" uid="uid://dsppxfki3n30g" path="res://3D/Scenes/Props/Furniture/Triangle_Furniture_3D.tscn" id="2_aw0kv"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_iqqa2"]
|
||||
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_4hq8f"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_4hq8f")
|
||||
target_map_editor = 1
|
||||
models_sub_folder = ""
|
||||
scale_expression = ""
|
||||
generate_size_property = false
|
||||
rotation_offset = Vector3(0, 180, 0)
|
||||
generate_gd_ignore_file = false
|
||||
scene_file = ExtResource("2_aw0kv")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_furniture_triangle"
|
||||
description = "Triangle"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_aw0kv")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_aw0kv"), ExtResource("2_iqqa2")])
|
||||
meta_properties = {
|
||||
"model": "\"3D\\MapModels/actor_furniture_triangle.glb\"",
|
||||
"model": "\"3D/MapModels/actor_furniture_triangle.glb\"",
|
||||
"size": AABB(-2, -2, -2, 2, 2, 2)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,31 +1,21 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://db7vsj36v1m2e"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://db7vsj36v1m2e"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_xso68"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_bmdmp"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgy5kmem2hrps" path="res://3D/Scenes/Props/Wall_Fan_3D.tscn" id="2_xso68"]
|
||||
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_jcora"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_jcora")
|
||||
target_map_editor = 1
|
||||
models_sub_folder = ""
|
||||
scale_expression = ""
|
||||
generate_size_property = false
|
||||
rotation_offset = Vector3(0, 180, 0)
|
||||
generate_gd_ignore_file = false
|
||||
scene_file = ExtResource("2_xso68")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_wallfan"
|
||||
description = "Wall Fan"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_xso68")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_xso68"), ExtResource("2_bmdmp")])
|
||||
meta_properties = {
|
||||
"model": "\"3D\\MapModels/actor_wallfan.glb\"",
|
||||
"model": "\"3D/MapModels/actor_wallfan.glb\"",
|
||||
"size": AABB(-2, -12, -12, 2, 12, 12)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -7,19 +7,12 @@
|
|||
[resource]
|
||||
script = ExtResource("3_j0n30")
|
||||
scene_file = ExtResource("2_8qd6p")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_ac_unit"
|
||||
description = "AC Unit"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_8qd6p")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/AC_Unit.glb\"",
|
||||
"size": AABB(-4, -8, -8, 4, 8, 8)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://2j6k1gmnqqps"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://2j6k1gmnqqps"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_gqx5a"]
|
||||
[ext_resource type="Script" uid="uid://c83r7t467hm4m" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="1_mixsm"]
|
||||
[ext_resource type="PackedScene" uid="uid://c2enjjxlfb5or" path="res://3D/Scenes/Props/barrel_3d.tscn" id="2_5uiix"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_8f3nn"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_mixsm")
|
||||
|
|
@ -11,15 +12,9 @@ apply_rotation_on_map_build = false
|
|||
apply_scale_on_map_build = false
|
||||
classname = "actor_barrel_1"
|
||||
description = "Explosive Barrel Type 1"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_gqx5a")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_gqx5a"), ExtResource("2_8f3nn")])
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/Barrel3DModel.glb\"",
|
||||
"size": AABB(-8, -8, -8, 8, 8, 8)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://dwy3es5h3pdg0"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://dwy3es5h3pdg0"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_jvuvk"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_jo0qs"]
|
||||
[ext_resource type="PackedScene" uid="uid://br01ww57uaky5" path="res://3D/Scenes/Props/Box_3D_Blue.tscn" id="2_jvuvk"]
|
||||
[ext_resource type="Script" uid="uid://c83r7t467hm4m" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="3_rj0b6"]
|
||||
|
||||
|
|
@ -11,15 +12,9 @@ apply_rotation_on_map_build = false
|
|||
apply_scale_on_map_build = false
|
||||
classname = "actor_box_blue"
|
||||
description = "Blue Box"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_jvuvk")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_jvuvk"), ExtResource("2_jo0qs")])
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/Box_Blue.glb\"",
|
||||
"size": AABB(-8, -8, -4, 8, 8, 4)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,25 +1,19 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://41wnjh6ftght"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://41wnjh6ftght"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_tgkjo"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_hdwgc"]
|
||||
[ext_resource type="PackedScene" uid="uid://c6cdl3y3i3axl" path="res://3D/Scenes/Props/Box_3D_Yellow.tscn" id="2_tgkjo"]
|
||||
[ext_resource type="Script" uid="uid://c83r7t467hm4m" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="3_023jf"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_023jf")
|
||||
scene_file = ExtResource("2_tgkjo")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_box_yellow"
|
||||
description = "Yellow Box"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_tgkjo")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_tgkjo"), ExtResource("2_hdwgc")])
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/Box_Yellow.glb\"",
|
||||
"size": AABB(-8, -8, -4, 8, 8, 4)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,25 +1,19 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://cqiy7ue8nlj26"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://cqiy7ue8nlj26"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_nc5iv"]
|
||||
[ext_resource type="PackedScene" uid="uid://jffyxmft3nbw" path="res://3D/Scenes/Props/Box_3D_Red.tscn" id="2_nc5iv"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_qd7ab"]
|
||||
[ext_resource type="Script" uid="uid://c83r7t467hm4m" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="3_igeav"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_igeav")
|
||||
scene_file = ExtResource("2_nc5iv")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_box_red"
|
||||
description = "Red Box"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_nc5iv")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_nc5iv"), ExtResource("2_qd7ab")])
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/Box_Red.glb\"",
|
||||
"size": AABB(-8, -8, -4, 8, 8, 4)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,25 +1,19 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://b3ewphyir1y4q"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://b3ewphyir1y4q"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_7ewvt"]
|
||||
[ext_resource type="PackedScene" uid="uid://d2kqcbr5rufxb" path="res://3D/Scenes/Props/Wooden_Box.tscn" id="2_7ewvt"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_tuy8l"]
|
||||
[ext_resource type="Script" uid="uid://c83r7t467hm4m" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="3_uyj54"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_uyj54")
|
||||
scene_file = ExtResource("2_7ewvt")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_box_wood"
|
||||
description = "Wooden Box"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_7ewvt")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_7ewvt"), ExtResource("2_tuy8l")])
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/Wooden_Box.glb\"",
|
||||
"size": AABB(-4, -8, -4, 4, 8, 4)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -1,25 +1,19 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://dj72os2jpdl4l"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://dj72os2jpdl4l"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_8m0gw"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8wwioforxms3" path="res://3D/Scenes/Props/Box_3D_Green.tscn" id="2_3do5h"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_6f4l5"]
|
||||
[ext_resource type="Script" uid="uid://c83r7t467hm4m" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="3_6f4l5"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_6f4l5")
|
||||
scene_file = ExtResource("2_3do5h")
|
||||
apply_rotation_on_map_build = true
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_box_green"
|
||||
description = "Green Box"
|
||||
func_godot_internal = false
|
||||
base_classes = Array[Resource]([ExtResource("1_8m0gw")])
|
||||
class_properties = {}
|
||||
class_property_descriptions = {}
|
||||
auto_apply_to_matching_node_properties = false
|
||||
base_classes = Array[Resource]([ExtResource("1_8m0gw"), ExtResource("2_6f4l5")])
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/Box_Green.glb\"",
|
||||
"size": AABB(-8, -8, -4, 8, 8, 4)
|
||||
}
|
||||
node_class = ""
|
||||
name_property = ""
|
||||
metadata/_custom_type_script = "uid://c83r7t467hm4m"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ using Godot;
|
|||
using System;
|
||||
using Cirno.Scripts;
|
||||
using Cirno.Scripts.Components.FSM._3DPlayer;
|
||||
using Cirno.Scripts.Utils;
|
||||
using Godot.Collections;
|
||||
|
||||
[Tool]
|
||||
|
|
@ -68,23 +69,8 @@ public partial class TriggerArea : Area3D
|
|||
_triggerState = TriggerStates.USED;
|
||||
ToggleCollision(false);
|
||||
|
||||
UseTargets(this, Target);
|
||||
}
|
||||
}
|
||||
|
||||
private void UseTargets(Node activator, string target)
|
||||
{
|
||||
GD.Print($"Trying to use targets called: {target}");
|
||||
var targetList = GetTree().GetNodesInGroup(target);
|
||||
foreach (var t in targetList)
|
||||
{
|
||||
//string f;
|
||||
GD.Print($"Trying to use {t.Name}");
|
||||
if (t is IActivable activable)
|
||||
{
|
||||
GD.Print($"Activating {t.Name}");
|
||||
activable.Activate(ActivationType);
|
||||
}
|
||||
ActivationHelper.UseTargets(this, Target, ActivationType);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=12 format=3 uid="uid://onsfttdpojex"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=13 format=3 uid="uid://onsfttdpojex"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="1_abw2p"]
|
||||
[ext_resource type="Script" uid="uid://cknmd0lgmorx2" path="res://addons/func_godot/src/fgd/func_godot_fgd_file.gd" id="1_p3xok"]
|
||||
|
|
@ -11,12 +11,9 @@
|
|||
[ext_resource type="Resource" uid="uid://di5wnbv5icxtq" path="res://3D/TrenchBroom/EntityDefinitions/base/dialogue_base.tres" id="8_2isdf"]
|
||||
[ext_resource type="Resource" uid="uid://dwc3j47cgj78j" path="res://3D/TrenchBroom/EntityDefinitions/base/requirement_key_base.tres" id="9_htav4"]
|
||||
[ext_resource type="Resource" uid="uid://bd4h6ha84s74b" path="res://3D/TrenchBroom/EntityDefinitions/base/activation_type_base.tres" id="10_vqlk3"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="11_pydck"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_p3xok")
|
||||
export_file = false
|
||||
target_map_editor = 1
|
||||
fgd_name = "FuncGodot"
|
||||
base_fgd_files = Array[Resource]([])
|
||||
entity_definitions = Array[Resource]([ExtResource("1_abw2p"), ExtResource("2_entxp"), ExtResource("1_wfoxw"), ExtResource("5_mkw5g"), ExtResource("2_abw2p"), ExtResource("6_1xsdl"), ExtResource("7_2isdf"), ExtResource("8_2isdf"), ExtResource("9_htav4"), ExtResource("10_vqlk3")])
|
||||
entity_definitions = Array[Resource]([ExtResource("1_abw2p"), ExtResource("2_entxp"), ExtResource("1_wfoxw"), ExtResource("5_mkw5g"), ExtResource("2_abw2p"), ExtResource("6_1xsdl"), ExtResource("7_2isdf"), ExtResource("8_2isdf"), ExtResource("9_htav4"), ExtResource("10_vqlk3"), ExtResource("11_pydck")])
|
||||
metadata/_custom_type_script = "uid://cknmd0lgmorx2"
|
||||
|
|
|
|||
|
|
@ -9,8 +9,5 @@
|
|||
|
||||
[resource]
|
||||
script = ExtResource("7_m2ebq")
|
||||
export_file = false
|
||||
target_map_editor = 1
|
||||
fgd_name = "FuncGodot"
|
||||
base_fgd_files = Array[Resource]([ExtResource("1_dlwdq"), ExtResource("2_bci5m"), ExtResource("3_0gbih")])
|
||||
entity_definitions = Array[Resource]([ExtResource("1_24lxq"), ExtResource("5_6tkjn")])
|
||||
|
|
|
|||
BIN
ExternalMaterial/HexGrid/Floor_Tiled_005_BW_Source.png
(Stored with Git LFS)
Normal file
BIN
ExternalMaterial/HexGrid/Floor_Tiled_005_BW_Source.png
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://pdiyn47dfqri"
|
||||
path="res://.godot/imported/Floor_Tiled_005_BW_Source.png-692f7be6e41dc58065f251faf180c0fd.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ExternalMaterial/HexGrid/Floor_Tiled_005_BW_Source.png"
|
||||
dest_files=["res://.godot/imported/Floor_Tiled_005_BW_Source.png-692f7be6e41dc58065f251faf180c0fd.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=3
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
ExternalMaterial/HexGrid/Floor_Tiled_006_BW_Source.png
(Stored with Git LFS)
Normal file
BIN
ExternalMaterial/HexGrid/Floor_Tiled_006_BW_Source.png
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dpfov22avptcc"
|
||||
path="res://.godot/imported/Floor_Tiled_006_BW_Source.png-e3123ff94fdbb3d1d22501c6fe07497d.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://ExternalMaterial/HexGrid/Floor_Tiled_006_BW_Source.png"
|
||||
dest_files=["res://.godot/imported/Floor_Tiled_006_BW_Source.png-e3123ff94fdbb3d1d22501c6fe07497d.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=3
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://b000k1durimhn"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://8x3lrl8cuu5k" path="res://textures/Floors/Floor_Tiled_0132.png" id="1_8b8nb"]
|
||||
|
||||
[resource]
|
||||
albedo_texture = ExtResource("1_8b8nb")
|
||||
metallic_specular = 0.0
|
||||
texture_filter = 2
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using System.Linq;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Cirno.Scripts.Controllers;
|
||||
using Cirno.Scripts.Resources;
|
||||
using Cirno.Scripts.Utils;
|
||||
|
|
@ -8,6 +9,7 @@ using Godot.Collections;
|
|||
|
||||
namespace Cirno.Scripts.Actors;
|
||||
|
||||
[Tool]
|
||||
public partial class Destructible3D : StaticBody3D, IDestructible
|
||||
{
|
||||
[Export] public bool Indestructible { get; private set; }
|
||||
|
|
@ -26,6 +28,7 @@ public partial class Destructible3D : StaticBody3D, IDestructible
|
|||
public ActivationType ActivationType { get; private set; } = ActivationType.Toggle;
|
||||
[Export]
|
||||
public Node Target { get; private set;}
|
||||
[Export] public string TargetGroup { get; private set; }
|
||||
|
||||
[Signal]
|
||||
public delegate void ExplodedEventHandler();
|
||||
|
|
@ -39,6 +42,19 @@ public partial class Destructible3D : StaticBody3D, IDestructible
|
|||
_currentHealth = Health;
|
||||
}
|
||||
|
||||
public void _func_godot_apply_properties(Dictionary<string, string> props)
|
||||
{
|
||||
TargetGroup = props["target"];
|
||||
if (props.TryGetValue("activationtype", out var type))
|
||||
{
|
||||
var t = Enum.TryParse(type, true, out ActivationType activationType);
|
||||
if (t)
|
||||
{
|
||||
ActivationType = activationType;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Explode()
|
||||
{
|
||||
//ApplyExplosionDamage();
|
||||
|
|
@ -60,6 +76,11 @@ public partial class Destructible3D : StaticBody3D, IDestructible
|
|||
{
|
||||
node.Activate(ActivationType);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(TargetGroup))
|
||||
{
|
||||
ActivationHelper.UseTargets(this, TargetGroup, ActivationType);
|
||||
}
|
||||
}
|
||||
|
||||
private void CreateExplosion()
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public partial class Switch3D : Interactable3D
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(TargetGroup))
|
||||
{
|
||||
ActivationHelper.UseTargets(this, TargetGroup);
|
||||
ActivationHelper.UseTargets(this, TargetGroup, activationType);
|
||||
}
|
||||
|
||||
return Targets.Aggregate(success, (current, target) => ActivateTarget(target, activationTypeToUse) | success);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Cirno.Scripts.Utils;
|
|||
|
||||
public static class ActivationHelper
|
||||
{
|
||||
public static void UseTargets(Node activator, string target)
|
||||
public static void UseTargets(Node activator, string target, ActivationType activationType = ActivationType.Toggle)
|
||||
{
|
||||
GD.Print($"Trying to use targets called: {target}");
|
||||
var targetList = activator.GetTree().GetNodesInGroup(target);
|
||||
|
|
@ -15,7 +15,7 @@ public static class ActivationHelper
|
|||
if (t is IActivable activable)
|
||||
{
|
||||
GD.Print($"Activating {t.Name}");
|
||||
activable.Toggle();
|
||||
activable.Activate(activationType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue