Make it possible to dynamically set weapon parans
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=55 format=4 uid="uid://dtvo21mk1webd"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/weapon/guns/ak/with_hands.gd" id="1_2iqts"]
|
||||
[ext_resource type="PackedScene" uid="uid://dab7jttp7ywfh" path="res://scenes/weapon/guns/ak/gun.tscn" id="1_aaafm"]
|
||||
[ext_resource type="Script" path="res://scenes/weapon/generic_weapon_controller.gd" id="1_h1xyo"]
|
||||
[ext_resource type="PackedScene" uid="uid://bjyltbtx45cqs" path="res://scenes/weapon/misc/bullet_trace_distance.tscn" id="3_5ff4y"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tg27p"]
|
||||
@ -553,7 +553,10 @@ blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_he3sr")
|
||||
|
||||
[node name="WithHands" type="Node3D"]
|
||||
script = ExtResource("1_2iqts")
|
||||
script = ExtResource("1_h1xyo")
|
||||
damage = 50
|
||||
cooldown = 0.2
|
||||
bullet_speed = 200
|
||||
|
||||
[node name="Gun" parent="." instance=ExtResource("1_aaafm")]
|
||||
|
||||
|
Reference in New Issue
Block a user