mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 15:11:15 +00:00
Added weapons and fixed others
This commit is contained in:
parent
8d5f1783e9
commit
400123a447
20 changed files with 185 additions and 67 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue