mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 14:43:47 +00:00
Energy weapons
This commit is contained in:
parent
7f69b8fa0f
commit
2f76d4742e
12 changed files with 144 additions and 24 deletions
26
Resources/Weapons/LaserWeapon.tres
Normal file
26
Resources/Weapons/LaserWeapon.tres
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
[gd_resource type="Resource" script_class="WeaponResource" load_steps=5 format=3 uid="uid://do0jwf5jhx1i5"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://eu6n6c5175y8" path="res://Resources/Bullets/simple_ice_bullet.tres" id="1_1h0tt"]
|
||||
[ext_resource type="AudioStream" uid="uid://jsv3yjluv1au" path="res://SFX/Weapons/Reload_01.wav" id="2_h0bjj"]
|
||||
[ext_resource type="AudioStream" uid="uid://cjg8r7bthkfsy" path="res://SFX/Laser_shoot 11.wav" id="3_iquwk"]
|
||||
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="4_70v4a"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("4_70v4a")
|
||||
Name = &"Laser"
|
||||
BulletData = ExtResource("1_1h0tt")
|
||||
Priority = 1
|
||||
AmmoPerShot = 2
|
||||
RateOfFire = 0.3
|
||||
BulletCapacity = 5
|
||||
ReloadTime = 0.6
|
||||
AutoReload = true
|
||||
InfiniteAmmo = true
|
||||
ItemKey = &"LASER_WEAPON"
|
||||
AmmoKey = &"SHIELD"
|
||||
BulletsPerShot = 1
|
||||
SpreadAngle = 5.0
|
||||
RandomSpread = 2.5
|
||||
_rotationOffset = 0.0
|
||||
ReloadSound = ExtResource("2_h0bjj")
|
||||
ShootSound = ExtResource("3_iquwk")
|
||||
Loading…
Add table
Add a link
Reference in a new issue