mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 15:23:46 +00:00
Tweaked icicle gun to shoot faster at lower power
This commit is contained in:
parent
27e0000c50
commit
24386e724f
4 changed files with 30 additions and 8 deletions
23
Resources/Bullets/icicle_gun_bullets.tres
Normal file
23
Resources/Bullets/icicle_gun_bullets.tres
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
[gd_resource type="Resource" script_class="BulletResource" load_steps=4 format=3 uid="uid://jh2wkjcvm3yc"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b1qnfiuokpvsr" path="res://Scenes/Weapons/bullet.tscn" id="1_no224"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dfbmny3s4rili" path="res://Scenes/Particles/IceBulletParticle.tscn" id="2_04tom"]
|
||||||
|
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="3_inavv"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
script = ExtResource("3_inavv")
|
||||||
|
BulletScene = ExtResource("1_no224")
|
||||||
|
DestructionParticlesScene = ExtResource("2_04tom")
|
||||||
|
BulletSpeed = 300.0
|
||||||
|
Direction = Vector2(1, 0)
|
||||||
|
BulletDamage = 0.4
|
||||||
|
LifeTime = 10.0
|
||||||
|
DestroyOnCollision = true
|
||||||
|
Owner = 1
|
||||||
|
DamageType = 3
|
||||||
|
RotateSprite = false
|
||||||
|
Controllable = false
|
||||||
|
Freezable = true
|
||||||
|
Grazeable = false
|
||||||
|
GrazeValue = 0.2
|
||||||
|
TimeModifiers = []
|
||||||
|
|
@ -10,7 +10,7 @@ BulletScene = ExtResource("1_qjgqc")
|
||||||
DestructionParticlesScene = ExtResource("2_fkpjr")
|
DestructionParticlesScene = ExtResource("2_fkpjr")
|
||||||
BulletSpeed = 300.0
|
BulletSpeed = 300.0
|
||||||
Direction = Vector2(1, 0)
|
Direction = Vector2(1, 0)
|
||||||
BulletDamage = 1.0
|
BulletDamage = 0.4
|
||||||
LifeTime = 10.0
|
LifeTime = 10.0
|
||||||
DestroyOnCollision = true
|
DestroyOnCollision = true
|
||||||
Owner = 1
|
Owner = 1
|
||||||
|
|
@ -20,4 +20,4 @@ Controllable = false
|
||||||
Freezable = true
|
Freezable = true
|
||||||
Grazeable = false
|
Grazeable = false
|
||||||
GrazeValue = 0.2
|
GrazeValue = 0.2
|
||||||
TimeModifiers = null
|
TimeModifiers = []
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_resource type="Resource" script_class="WeaponResource" load_steps=5 format=3 uid="uid://b8apu0l5fm4k"]
|
[gd_resource type="Resource" script_class="WeaponResource" load_steps=5 format=3 uid="uid://b8apu0l5fm4k"]
|
||||||
|
|
||||||
[ext_resource type="Resource" uid="uid://eu6n6c5175y8" path="res://Resources/Bullets/simple_ice_bullet.tres" id="1_85ef1"]
|
[ext_resource type="Resource" uid="uid://jh2wkjcvm3yc" path="res://Resources/Bullets/icicle_gun_bullets.tres" id="1_sd6j2"]
|
||||||
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="2_m8dps"]
|
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="2_m8dps"]
|
||||||
[ext_resource type="AudioStream" uid="uid://cjg8r7bthkfsy" path="res://SFX/Laser_shoot 11.wav" id="2_r2tre"]
|
[ext_resource type="AudioStream" uid="uid://cjg8r7bthkfsy" path="res://SFX/Laser_shoot 11.wav" id="2_r2tre"]
|
||||||
[ext_resource type="AudioStream" uid="uid://jsv3yjluv1au" path="res://SFX/Weapons/Reload_01.wav" id="2_sd6j2"]
|
[ext_resource type="AudioStream" uid="uid://jsv3yjluv1au" path="res://SFX/Weapons/Reload_01.wav" id="2_sd6j2"]
|
||||||
|
|
@ -8,12 +8,12 @@
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource("2_m8dps")
|
script = ExtResource("2_m8dps")
|
||||||
Name = &"Icicle Gun"
|
Name = &"Icicle Gun"
|
||||||
BulletData = ExtResource("1_85ef1")
|
BulletData = ExtResource("1_sd6j2")
|
||||||
Priority = 1
|
Priority = 1
|
||||||
AmmoPerShot = 1
|
AmmoPerShot = 1
|
||||||
RateOfFire = 0.3
|
RateOfFire = 0.1
|
||||||
BulletCapacity = 5
|
BulletCapacity = 100
|
||||||
ReloadTime = 0.6
|
ReloadTime = 0.1
|
||||||
AutoReload = true
|
AutoReload = true
|
||||||
InfiniteAmmo = true
|
InfiniteAmmo = true
|
||||||
ItemKey = &"ICICLE_GUN"
|
ItemKey = &"ICICLE_GUN"
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,6 @@ public partial class WeaponResource : Resource
|
||||||
|
|
||||||
[Export] public bool InfiniteAmmo = true;
|
[Export] public bool InfiniteAmmo = true;
|
||||||
|
|
||||||
|
|
||||||
[Export] public StringName ItemKey;
|
[Export] public StringName ItemKey;
|
||||||
[Export] public StringName AmmoKey;
|
[Export] public StringName AmmoKey;
|
||||||
#region Bullet spawn data
|
#region Bullet spawn data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue