weapon display
This commit is contained in:
parent
553f8ea77a
commit
8fadd143c3
26 changed files with 491 additions and 46 deletions
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
[ext_resource type="PackedScene" uid="uid://cxdgk74ln5xpn" path="res://weapons/bomb/droppable_bomb.tscn" id="1_sbnmj"]
|
||||
[ext_resource type="Script" uid="uid://bvnn2eiwqbu7t" path="res://systems/weapon_system/weapon_resource.gd" id="1_w2ux2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dnxw4x3cmu7io" path="res://icon.svg" id="2_vkfbs"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckdb8s2bj2wix" path="res://textures/icons/icons_bomb.png" id="2_sbnmj"]
|
||||
[ext_resource type="PackedScene" uid="uid://bxdatd1ilfgmc" path="res://weapons/bomb/bomb.tscn" id="4_shxvo"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_w2ux2")
|
||||
preview = ExtResource("2_vkfbs")
|
||||
preview = ExtResource("2_sbnmj")
|
||||
dropped_scene = ExtResource("1_sbnmj")
|
||||
weapon_system_scene = ExtResource("4_shxvo")
|
||||
slot = &"bomb"
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ properties/1/replication_mode = 1
|
|||
[node name="DroppableBomb" type="RigidBody3D" node_paths=PackedStringArray("weapon")]
|
||||
collision_layer = 8
|
||||
collision_mask = 9
|
||||
continuous_cd = true
|
||||
script = ExtResource("1_hsebh")
|
||||
slot = &"bomb"
|
||||
weapon = NodePath("BombWeapon")
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ properties/1/replication_mode = 1
|
|||
[node name="DroppableStartingPistol" type="RigidBody3D" node_paths=PackedStringArray("weapon")]
|
||||
collision_layer = 8
|
||||
collision_mask = 9
|
||||
continuous_cd = true
|
||||
script = ExtResource("1_jym52")
|
||||
slot = &"secondary"
|
||||
weapon = NodePath("StartingPistol")
|
||||
|
|
|
|||
13
weapons/knife.tres
Normal file
13
weapons/knife.tres
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="WeaponResource" load_steps=4 format=3 uid="uid://chfehphisjn2u"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dep78xhc8iq06" path="res://textures/icons/icons_knife.png" id="1_52p4f"]
|
||||
[ext_resource type="Script" uid="uid://bvnn2eiwqbu7t" path="res://systems/weapon_system/weapon_resource.gd" id="2_ld5j5"]
|
||||
[ext_resource type="PackedScene" uid="uid://ts4xccpkjd3g" path="res://weapons/knife/knife.tscn" id="3_ld5j5"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_ld5j5")
|
||||
cost = 300
|
||||
preview = ExtResource("1_52p4f")
|
||||
weapon_system_scene = ExtResource("3_ld5j5")
|
||||
slot = &"knife"
|
||||
metadata/_custom_type_script = "uid://bvnn2eiwqbu7t"
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
[node name="Knife" type="Node" node_paths=PackedStringArray("enter_state")]
|
||||
script = ExtResource("1_2xf1r")
|
||||
animation_prefix = &"baked_knife_"
|
||||
registry_entry = &"knife"
|
||||
visibility_target = &"knife"
|
||||
ammo_mags = 0
|
||||
slot = &"knife"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="WeaponResource" load_steps=4 format=3 uid="uid://b081hg7uxx1wu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bmnqvop2dy5pm" path="res://textures/prototype_yellow_256x256.png" id="1_hmyxe"]
|
||||
[ext_resource type="Texture2D" uid="uid://d257ki2or3i3m" path="res://textures/icons/icons_mm_molik.png" id="1_6mu31"]
|
||||
[ext_resource type="Script" uid="uid://bvnn2eiwqbu7t" path="res://systems/weapon_system/weapon_resource.gd" id="1_ktfgd"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5q7e5dj86187" path="res://weapons/molikman/molik/molikman_molik.tscn" id="3_6mu31"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ktfgd")
|
||||
cost = 300
|
||||
preview = ExtResource("1_hmyxe")
|
||||
preview = ExtResource("1_6mu31")
|
||||
weapon_system_scene = ExtResource("3_6mu31")
|
||||
slot = &"ability"
|
||||
metadata/_custom_type_script = "uid://bvnn2eiwqbu7t"
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
[gd_resource type="Resource" script_class="WeaponResource" load_steps=5 format=3 uid="uid://2jxguk5jxlim"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dgfqppi21c2u0" path="res://weapons/gun/sp/droppable_sp.tscn" id="1_vpohq"]
|
||||
[ext_resource type="Texture2D" uid="uid://dnxw4x3cmu7io" path="res://icon.svg" id="2_c0lu7"]
|
||||
[ext_resource type="Texture2D" uid="uid://cg7j6uxv3wtn0" path="res://textures/icons/icons_starting_pistol.png" id="2_vpohq"]
|
||||
[ext_resource type="Script" uid="uid://bvnn2eiwqbu7t" path="res://systems/weapon_system/weapon_resource.gd" id="3_eyl1o"]
|
||||
[ext_resource type="PackedScene" uid="uid://djwjl8xll53vn" path="res://weapons/gun/sp/starting_pistol.tscn" id="4_vpohq"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_eyl1o")
|
||||
cost = 200
|
||||
preview = ExtResource("2_c0lu7")
|
||||
preview = ExtResource("2_vpohq")
|
||||
dropped_scene = ExtResource("1_vpohq")
|
||||
weapon_system_scene = ExtResource("4_vpohq")
|
||||
slot = &"secondary"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue