conforms file names to consistant standard

This commit is contained in:
2026-02-21 04:24:04 +11:00
parent 6b67dd9755
commit 5a4ad8633a
1991 changed files with 3836 additions and 7976 deletions

View File

@@ -0,0 +1,27 @@
[gd_scene format=3 uid="uid://dkxi1ssoa44jn"]
[ext_resource type="PackedScene" uid="uid://difwo7wlyqr3h" path="res://scenes/weapons/hitscan_weapon.tscn" id="1_fwlu5"]
[ext_resource type="Resource" uid="uid://cj2x1jvo8l4ot" path="res://weapons/jolt_wheel_weapon/weapon_stats.tres" id="2_fnyjd"]
[ext_resource type="Script" uid="uid://iajcv516mpcg" path="res://weapons/jolt_wheel_weapon/scr_jolt_wheel_weapon.gd" id="2_wm4al"]
[ext_resource type="Texture2D" uid="uid://dkb8e0uu5vikw" path="res://weapons/jolt_wheel_weapon/tex_jolt_wheel_weapon.png" id="4_gi42y"]
[ext_resource type="AudioStream" uid="uid://dknygn5eyuhxt" path="res://audio/aud_shot.wav" id="5_gelfi"]
[sub_resource type="AtlasTexture" id="AtlasTexture_aeleg"]
resource_local_to_scene = true
atlas = ExtResource("4_gi42y")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_778e1"]
random_pitch = 1.1
streams_count = 1
stream_0/stream = ExtResource("5_gelfi")
[node name="WeaponGatling" unique_id=311520343 instance=ExtResource("1_fwlu5")]
script = ExtResource("2_wm4al")
stats = ExtResource("2_fnyjd")
[node name="Sprite3D" parent="." index="0" unique_id=1457062627]
texture = SubResource("AtlasTexture_aeleg")
[node name="AudioStreamPlayer3D" parent="." index="5" unique_id=1246168083]
stream = SubResource("AudioStreamRandomizer_778e1")

View File

@@ -0,0 +1,44 @@
class_name GatlingWeapon
extends HitscanWeapon
var time_since_firing_started: float = 0.0
var time_to_reach_max_speed: float = 0.0
var max_speed_multiplier: float = 0.0
var current_time_between_shots: float = 0.0
var final_time_between_shots: float = 0.0
func _ready() -> void:
super._ready()
time_to_reach_max_speed = stats.get_attribute("Speed Time")
max_speed_multiplier = stats.get_attribute("Speed Multiplier")
final_time_between_shots = time_between_shots / max_speed_multiplier
func _process(delta: float) -> void:
super._process(delta)
if trigger_held:
if stats.energy_type == Data.EnergyType.CONTINUOUS:
current_energy -= delta
energy_spent.emit(delta, stats.energy_type)
time_since_firing_started += delta
var progress: float = clamp(time_since_firing_started / time_to_reach_max_speed, 0.0, 1.0)
current_time_between_shots = lerpf(time_between_shots, final_time_between_shots, progress)
if current_energy < energy_cost:
time_since_firing_started = 0.0
current_time_between_shots = time_between_shots
func _physics_process(_delta: float) -> void:
if trigger_held and current_energy >= energy_cost and time_since_firing >= current_time_between_shots:
time_since_firing -= current_time_between_shots
#current_energy -= energy_cost
#energy_spent.emit(current_energy)
shoot()
networked_shoot.rpc()
func release_trigger() -> void:
super.release_trigger()
time_since_firing_started = 0.0
current_time_between_shots = time_between_shots

View File

@@ -0,0 +1 @@
uid://iajcv516mpcg

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dkb8e0uu5vikw"
path="res://.godot/imported/tex_jolt_wheel_weapon.png-b8fb4221b7b468de66bc046b2275cc60.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://weapons/jolt_wheel_weapon/tex_jolt_wheel_weapon.png"
dest_files=["res://.godot/imported/tex_jolt_wheel_weapon.png-b8fb4221b7b468de66bc046b2275cc60.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -0,0 +1,19 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://cj2x1jvo8l4ot"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://scripts/resources/feature.gd" id="1_vn048"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://scripts/features/heavy_rounds/heavy_rounds_feature.tres" id="2_t6xv0"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://scripts/resources/cassette_text.gd" id="2_y36gr"]
[resource]
script = ExtResource("2_y36gr")
energy_type = 2
attributes = Dictionary[String, float]({
"Damage": 2.0,
"Energy": 20.0,
"Fire Delay": 0.4,
"Range": 20.0,
"Speed Multiplier": 3.0,
"Speed Time": 4.0
})
features = Array[ExtResource("1_vn048")]([ExtResource("2_t6xv0")])
text = "DESC_WEAPON_ACCEL"