mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 12:23:48 +00:00
Implemented battery weapons
This commit is contained in:
parent
d5c22045b7
commit
54fa750bca
20 changed files with 372 additions and 264 deletions
|
|
@ -202,8 +202,9 @@ collision_mask = 17
|
|||
script = ExtResource("1_cc7e7")
|
||||
PlayerFSM = NodePath("StateMachine")
|
||||
|
||||
[node name="StateMachine" type="Node" parent="."]
|
||||
[node name="StateMachine" type="Node" parent="." node_paths=PackedStringArray("Storage")]
|
||||
script = ExtResource("1_vsywg")
|
||||
Storage = NodePath("../Storage")
|
||||
|
||||
[node name="Init" type="Node" parent="StateMachine"]
|
||||
script = ExtResource("2_3oyrx")
|
||||
|
|
@ -288,9 +289,10 @@ Deceleration = 20.0
|
|||
Gravity = -20.0
|
||||
FallSpeed = 4.0
|
||||
|
||||
[node name="Storage" type="Node" parent="." node_paths=PackedStringArray("Root")]
|
||||
[node name="Storage" type="Node" parent="." node_paths=PackedStringArray("Root", "Shield")]
|
||||
script = ExtResource("6_habpy")
|
||||
Root = NodePath("..")
|
||||
Shield = NodePath("../DamageReceiver/ShieldProvider")
|
||||
|
||||
[node name="MouseAimProvider" type="Node3D" parent="."]
|
||||
script = ExtResource("9_2ffwi")
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cfgc6ik8vb08c"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cfgc6ik8vb08c"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dutroqc0grqyv" path="res://Scripts/Weapons/Weapon3D.cs" id="1_gdxml"]
|
||||
[ext_resource type="Resource" uid="uid://b8apu0l5fm4k" path="res://Resources/Weapons/IcicleGun.tres" id="2_s6td3"]
|
||||
[ext_resource type="Texture2D" uid="uid://duwiasewxvcb5" path="res://Sprites/Items/Icicle_Gun.png" id="3_6jcxd"]
|
||||
|
||||
[node name="Weapon" type="Node3D" node_paths=PackedStringArray("Muzzle", "Pivot", "Sprite")]
|
||||
script = ExtResource("1_gdxml")
|
||||
WeaponData = ExtResource("2_s6td3")
|
||||
Muzzle = NodePath("Muzzle")
|
||||
Pivot = NodePath("Pivot")
|
||||
Sprite = NodePath("Sprite3D")
|
||||
|
|
@ -19,6 +17,8 @@ Sprite = NodePath("Sprite3D")
|
|||
one_shot = true
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
visible = false
|
||||
pixel_size = 0.05
|
||||
billboard = 1
|
||||
texture_filter = 0
|
||||
texture = ExtResource("3_6jcxd")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue