mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-30 22:51:16 +00:00
Trenchbroom support for health and destruction
This commit is contained in:
parent
e23d337a16
commit
823886b4ce
19 changed files with 2064 additions and 1398 deletions
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://yath5bvxo3cn"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://yath5bvxo3cn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dpibtd73awwp7" path="res://Scripts/Actors/ScriptableBulletsEmitter3D.cs" id="1_3n1ol"]
|
||||
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="2_eoje4"]
|
||||
[ext_resource type="PackedScene" uid="uid://lwpt32xplrjw" path="res://3D/BlockbenchModels/WallEmitter/Wall_Emitter.gltf" id="3_3n1ol"]
|
||||
[ext_resource type="Script" uid="uid://bf5f2phitdqw8" path="res://Scripts/Actors/BulletSpawner3D.cs" id="3_g6b3n"]
|
||||
|
||||
|
|
@ -13,6 +14,8 @@ collision_layer = 64
|
|||
collision_mask = 0
|
||||
script = ExtResource("1_3n1ol")
|
||||
EmitOnStart = true
|
||||
Health = 10.0
|
||||
DamageResistances = Array[ExtResource("2_eoje4")]([])
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.116073, -0.000488281)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue