conforms file names to consistant standard
This commit is contained in:
19
weapons/flamethrower_weapon/flame_particles.tres
Normal file
19
weapons/flamethrower_weapon/flame_particles.tres
Normal file
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="ParticleProcessMaterial" format=3 uid="uid://gyeamtekshor"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_eiw3y"]
|
||||
interpolation_color_space = 2
|
||||
offsets = PackedFloat32Array(0, 0.178862, 0.455285, 1)
|
||||
colors = PackedColorArray(0.94, 0.830333, 0, 1, 1, 0.222923, 0.00252032, 1, 0.517571, 0.0343237, 0.0001635, 1, 0.0352941, 0, 0, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_arw7j"]
|
||||
gradient = SubResource("Gradient_eiw3y")
|
||||
|
||||
[resource]
|
||||
direction = Vector3(0, 0, -1)
|
||||
spread = 15.0
|
||||
initial_velocity_min = 3.0
|
||||
initial_velocity_max = 3.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_min = 0.3
|
||||
scale_max = 0.3
|
||||
color_ramp = SubResource("GradientTexture1D_arw7j")
|
||||
24
weapons/flamethrower_weapon/scn_flamethrower_weapon.tscn
Normal file
24
weapons/flamethrower_weapon/scn_flamethrower_weapon.tscn
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_scene format=3 uid="uid://dhv7m4lky7bd8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dp4gfr5h0tbcd" path="res://scenes/weapons/shapecast_weapon.tscn" id="1_ovmdp"]
|
||||
[ext_resource type="Script" uid="uid://bf4aoeoumhnc6" path="res://weapons/flamethrower_weapon/scr_flamethrower_weapon.gd" id="2_227rf"]
|
||||
[ext_resource type="Resource" uid="uid://dbanx8taicddm" path="res://resources/status_effects/on_fire.tres" id="3_fqch8"]
|
||||
[ext_resource type="Resource" uid="uid://yjknwdimtm8g" path="res://weapons/flamethrower_weapon/weapon_stats.tres" id="4_oafdt"]
|
||||
[ext_resource type="Texture2D" uid="uid://oblavj8vj30n" path="res://weapons/glue_weapon/tex_glue_weapon.png" id="5_wdw3e"]
|
||||
[ext_resource type="Material" uid="uid://gyeamtekshor" path="res://weapons/flamethrower_weapon/flame_particles.tres" id="6_idhp2"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lq08m"]
|
||||
resource_local_to_scene = true
|
||||
atlas = ExtResource("5_wdw3e")
|
||||
region = Rect2(0, 0, 64, 64)
|
||||
|
||||
[node name="FlamethrowerWeapon" unique_id=1734341199 instance=ExtResource("1_ovmdp")]
|
||||
script = ExtResource("2_227rf")
|
||||
status_stats = ExtResource("3_fqch8")
|
||||
stats = ExtResource("4_oafdt")
|
||||
|
||||
[node name="Sprite3D" parent="." index="0" unique_id=1457062627]
|
||||
texture = SubResource("AtlasTexture_lq08m")
|
||||
|
||||
[node name="GPUParticles3D" parent="ShapeCast3D" parent_id_path=PackedInt32Array(1138406404) index="0" unique_id=1743469147]
|
||||
process_material = ExtResource("6_idhp2")
|
||||
8
weapons/flamethrower_weapon/scr_flamethrower_weapon.gd
Normal file
8
weapons/flamethrower_weapon/scr_flamethrower_weapon.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
class_name FlamethrowerWeapon
|
||||
extends ShapecastWeapon
|
||||
|
||||
|
||||
func build_status_object() -> StatusEffect:
|
||||
var status: StatusDoT = StatusDoT.new()
|
||||
status.stats = status_stats
|
||||
return status
|
||||
@@ -0,0 +1 @@
|
||||
uid://bf4aoeoumhnc6
|
||||
17
weapons/flamethrower_weapon/weapon_stats.tres
Normal file
17
weapons/flamethrower_weapon/weapon_stats.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://yjknwdimtm8g"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://scripts/resources/feature.gd" id="1_rinww"]
|
||||
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://scripts/resources/cassette_text.gd" id="2_drgp3"]
|
||||
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://scripts/features/heavy_rounds/heavy_rounds_feature.tres" id="2_ufd52"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_drgp3")
|
||||
energy_type = 2
|
||||
attributes = Dictionary[String, float]({
|
||||
"Damage": 1.0,
|
||||
"Energy": 15.0,
|
||||
"Fire Delay": 0.4,
|
||||
"Range": 3.0
|
||||
})
|
||||
features = Array[ExtResource("1_rinww")]([ExtResource("2_ufd52")])
|
||||
text = "DESC_WEAPON_FLAMETHROWER"
|
||||
Reference in New Issue
Block a user