mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 13: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
|
|
@ -10,17 +10,12 @@ script = ExtResource("2_m8dps")
|
|||
Name = &"Icicle Gun"
|
||||
BulletData = ExtResource("1_sd6j2")
|
||||
Priority = 1
|
||||
AmmoPerShot = 1
|
||||
RateOfFire = 0.1
|
||||
BulletCapacity = 100
|
||||
ReloadTime = 0.1
|
||||
AutoReload = true
|
||||
InfiniteAmmo = true
|
||||
ItemKey = &"ICICLE_GUN"
|
||||
AmmoKey = &""
|
||||
BulletsPerShot = 1
|
||||
SpreadAngle = 5.0
|
||||
RandomSpread = 2.5
|
||||
_rotationOffset = 0.0
|
||||
ReloadSound = ExtResource("2_sd6j2")
|
||||
ShootSound = ExtResource("3_sd6j2")
|
||||
|
|
|
|||
|
|
@ -9,18 +9,17 @@
|
|||
script = ExtResource("4_ld57e")
|
||||
Name = &"Icicle Gun"
|
||||
BulletData = ExtResource("1_d2kl0")
|
||||
Priority = 1
|
||||
AmmoPerShot = 1
|
||||
RateOfFire = 0.1
|
||||
Priority = 10
|
||||
AmmoPerShot = 5
|
||||
RateOfFire = 0.052999999999883585
|
||||
BulletCapacity = 100
|
||||
ReloadTime = 0.1
|
||||
AutoReload = true
|
||||
InfiniteAmmo = true
|
||||
ReloadTime = 0.5
|
||||
InfiniteAmmo = false
|
||||
ItemKey = &"ICICLE_GUN"
|
||||
AmmoKey = &""
|
||||
BulletsPerShot = 1
|
||||
AmmoKey = &"BATTERY"
|
||||
RechargeTime = 0.19999999999708962
|
||||
RechargeAmount = 5
|
||||
SpreadAngle = 5.0
|
||||
RandomSpread = 2.5
|
||||
_rotationOffset = 0.0
|
||||
ReloadSound = ExtResource("2_sdmjb")
|
||||
ShootSound = ExtResource("3_hj8fq")
|
||||
|
|
|
|||
|
|
@ -10,17 +10,11 @@ script = ExtResource("4_ai75q")
|
|||
Name = &"Icicle Repeater"
|
||||
BulletData = ExtResource("1_2567x")
|
||||
Priority = 10
|
||||
AmmoPerShot = 1
|
||||
RateOfFire = 0.05
|
||||
BulletCapacity = 6
|
||||
ReloadTime = 0.5
|
||||
AutoReload = true
|
||||
InfiniteAmmo = false
|
||||
ItemKey = &"ICICLE_REPEATER_T0"
|
||||
AmmoKey = &"ICE_AMMO"
|
||||
BulletsPerShot = 1
|
||||
SpreadAngle = 0.0
|
||||
RandomSpread = 0.0
|
||||
_rotationOffset = 0.0
|
||||
ReloadSound = ExtResource("2_2sfo4")
|
||||
ShootSound = ExtResource("3_3qbca")
|
||||
|
|
|
|||
20
Resources/Weapons/LaserWeapon_3D.tres
Normal file
20
Resources/Weapons/LaserWeapon_3D.tres
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[gd_resource type="Resource" script_class="WeaponResource" load_steps=4 format=3 uid="uid://d2tgk8rnd4sfs"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://csmq6hngkx41e" path="res://Resources/Bullets/3D/icicle_gun_bullets_3D.tres" id="1_boxvv"]
|
||||
[ext_resource type="AudioStream" uid="uid://c1au3v0mynil8" path="res://SFX/Weapons/Laser_shoot 7.wav" id="2_f21bu"]
|
||||
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="4_wga0n"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("4_wga0n")
|
||||
Name = &"Laser"
|
||||
BulletData = ExtResource("1_boxvv")
|
||||
Priority = 1
|
||||
AmmoPerShot = 2
|
||||
RateOfFire = 0.3000000000029104
|
||||
BulletCapacity = 5
|
||||
ReloadTime = 0.6000000000058208
|
||||
ItemKey = &"LASER_WEAPON"
|
||||
AmmoKey = &"SHIELD"
|
||||
SpreadAngle = 5.0
|
||||
RandomSpread = 2.5
|
||||
ShootSound = ExtResource("2_f21bu")
|
||||
Loading…
Add table
Add a link
Reference in a new issue