Added weapons and fixed others

This commit is contained in:
Marco 2025-08-14 10:58:54 +02:00
commit 400123a447
20 changed files with 185 additions and 67 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://br01ww57uaky5"]
[gd_scene load_steps=9 format=3 uid="uid://br01ww57uaky5"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_hsg1w"]
[ext_resource type="PackedScene" uid="uid://hxn4awevjyui" path="res://3D/BlockbenchModels/Box/Box_Blue.gltf" id="1_ropdl"]
@ -6,6 +6,12 @@
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_kh78t"]
[ext_resource type="Script" uid="uid://hkmutmmjqh1e" path="res://Scripts/Actors/3D/PropGravityModule3D.cs" id="5_0ktp8"]
[sub_resource type="Resource" id="Resource_0ktp8"]
script = ExtResource("3_kh78t")
DamageType = 4
Attribute = 2
metadata/_custom_type_script = "uid://ddsqqfx1usc3j"
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(0.763428, 0.469452, 0.77832)
@ -21,8 +27,9 @@ axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
script = ExtResource("1_hsg1w")
Health = 8.0
ExplosionData = ExtResource("2_cn5xh")
DamageResistances = Array[ExtResource("3_kh78t")]([])
DamageResistances = Array[ExtResource("3_kh78t")]([SubResource("Resource_0ktp8")])
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://c8wwioforxms3"]
[gd_scene load_steps=9 format=3 uid="uid://c8wwioforxms3"]
[ext_resource type="PackedScene" uid="uid://c5k6rsawax3gf" path="res://3D/BlockbenchModels/Box/Box_Green.gltf" id="1_03sp0"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_e6kl3"]
@ -6,6 +6,12 @@
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_fntiw"]
[ext_resource type="Script" uid="uid://hkmutmmjqh1e" path="res://Scripts/Actors/3D/PropGravityModule3D.cs" id="5_jb4do"]
[sub_resource type="Resource" id="Resource_fntiw"]
script = ExtResource("3_fntiw")
DamageType = 4
Attribute = 2
metadata/_custom_type_script = "uid://ddsqqfx1usc3j"
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(0.763428, 0.469452, 0.77832)
@ -16,8 +22,9 @@ size = Vector3(0.60668945, 0.09439087, 0.595726)
collision_layer = 16
collision_mask = 0
script = ExtResource("1_e6kl3")
Health = 8.0
ExplosionData = ExtResource("2_bguu7")
DamageResistances = Array[ExtResource("3_fntiw")]([])
DamageResistances = Array[ExtResource("3_fntiw")]([SubResource("Resource_fntiw")])
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://jffyxmft3nbw"]
[gd_scene load_steps=9 format=3 uid="uid://jffyxmft3nbw"]
[ext_resource type="PackedScene" uid="uid://ninnis3a3jbn" path="res://3D/BlockbenchModels/Box/Box_Red.gltf" id="1_fi646"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_kvqx7"]
@ -6,6 +6,12 @@
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_7px86"]
[ext_resource type="Script" uid="uid://hkmutmmjqh1e" path="res://Scripts/Actors/3D/PropGravityModule3D.cs" id="5_qq3cg"]
[sub_resource type="Resource" id="Resource_7px86"]
script = ExtResource("3_7px86")
DamageType = 4
Attribute = 2
metadata/_custom_type_script = "uid://ddsqqfx1usc3j"
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(0.763428, 0.469452, 0.77832)
@ -16,8 +22,9 @@ size = Vector3(0.60668945, 0.09439087, 0.595726)
collision_layer = 16
collision_mask = 0
script = ExtResource("1_kvqx7")
Health = 8.0
ExplosionData = ExtResource("2_jolck")
DamageResistances = Array[ExtResource("3_7px86")]([])
DamageResistances = Array[ExtResource("3_7px86")]([SubResource("Resource_7px86")])
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://c6cdl3y3i3axl"]
[gd_scene load_steps=9 format=3 uid="uid://c6cdl3y3i3axl"]
[ext_resource type="PackedScene" uid="uid://cpwolnoq46foq" path="res://3D/BlockbenchModels/Box/Box_Yellow.gltf" id="1_0rxnx"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_l0sp5"]
@ -6,6 +6,12 @@
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_6qeec"]
[ext_resource type="Script" uid="uid://hkmutmmjqh1e" path="res://Scripts/Actors/3D/PropGravityModule3D.cs" id="5_njaax"]
[sub_resource type="Resource" id="Resource_6qeec"]
script = ExtResource("3_6qeec")
DamageType = 4
Attribute = 2
metadata/_custom_type_script = "uid://ddsqqfx1usc3j"
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(0.763428, 0.469452, 0.77832)
@ -16,8 +22,9 @@ size = Vector3(0.60668945, 0.09439087, 0.595726)
collision_layer = 16
collision_mask = 0
script = ExtResource("1_l0sp5")
Health = 8.0
ExplosionData = ExtResource("2_1if0l")
DamageResistances = Array[ExtResource("3_6qeec")]([])
DamageResistances = Array[ExtResource("3_6qeec")]([SubResource("Resource_6qeec")])
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://d2kqcbr5rufxb"]
[gd_scene load_steps=9 format=3 uid="uid://d2kqcbr5rufxb"]
[ext_resource type="PackedScene" uid="uid://etmm2bm8mj06" path="res://3D/BlockbenchModels/WoodenBox/Wooden_Box.gltf" id="1_2t24b"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_nnmn3"]
@ -6,6 +6,12 @@
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_cyk87"]
[ext_resource type="Script" uid="uid://hkmutmmjqh1e" path="res://Scripts/Actors/3D/PropGravityModule3D.cs" id="5_81jt2"]
[sub_resource type="Resource" id="Resource_cyk87"]
script = ExtResource("3_cyk87")
DamageType = 4
Attribute = 2
metadata/_custom_type_script = "uid://ddsqqfx1usc3j"
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(1, 0.498138, 0.543457)
@ -16,9 +22,9 @@ size = Vector3(0.60668945, 0.1053009, 0.49469566)
collision_layer = 16
collision_mask = 0
script = ExtResource("1_nnmn3")
Health = 4.0
Health = 8.0
ExplosionData = ExtResource("2_5j3e2")
DamageResistances = Array[ExtResource("3_cyk87")]([])
DamageResistances = Array[ExtResource("3_cyk87")]([SubResource("Resource_cyk87")])
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0022127, -0.0178223)