mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 10:51:16 +00:00
Made capacitors and emitters destroyable
This commit is contained in:
parent
08c7a9dbd1
commit
9dd4b6d6e1
5 changed files with 458 additions and 387 deletions
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://d4ek8xjuh6y11"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://d4ek8xjuh6y11"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dpibtd73awwp7" path="res://Scripts/Actors/ScriptableBulletsEmitter3D.cs" id="1_dtfaj"]
|
||||
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="2_dtfaj"]
|
||||
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/3D/Explosion_Harmless_Small_3D.tres" id="2_o5sow"]
|
||||
[ext_resource type="PackedScene" uid="uid://sy821kigcoqx" path="res://3D/BlockbenchModels/FloorEmitter/Floor_Emitter.gltf" id="3_ro7iq"]
|
||||
[ext_resource type="Script" uid="uid://bf5f2phitdqw8" path="res://Scripts/Actors/BulletSpawner3D.cs" id="4_0cjnq"]
|
||||
|
||||
|
|
@ -9,12 +10,13 @@
|
|||
height = 0.297607
|
||||
radius = 0.277344
|
||||
|
||||
[node name="FloorEmitter" type="StaticBody3D"]
|
||||
[node name="FloorEmitter" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_dtfaj")
|
||||
EmitOnStart = true
|
||||
Health = 10.0
|
||||
ExplosionData = ExtResource("2_o5sow")
|
||||
DamageResistances = Array[ExtResource("2_dtfaj")]([])
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue