conforms file names to consistant standard
This commit is contained in:
25
weapons/reactor_weapon/radiation_particles.tres
Normal file
25
weapons/reactor_weapon/radiation_particles.tres
Normal file
@@ -0,0 +1,25 @@
|
||||
[gd_resource type="ParticleProcessMaterial" format=3 uid="uid://bjab6t4n0s5ac"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_eiw3y"]
|
||||
interpolation_color_space = 2
|
||||
offsets = PackedFloat32Array(0, 0.0894309, 1)
|
||||
colors = PackedColorArray(0, 0.831373, 0, 1, 4.21144e-08, 0.320987, -4.81308e-08, 0.721201, 0, 0.254902, 0, 0)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_arw7j"]
|
||||
gradient = SubResource("Gradient_eiw3y")
|
||||
|
||||
[resource]
|
||||
emission_shape = 6
|
||||
emission_ring_axis = Vector3(0, -1, 0)
|
||||
emission_ring_height = 1.0
|
||||
emission_ring_radius = 1.0
|
||||
emission_ring_inner_radius = 0.0
|
||||
emission_ring_cone_angle = 90.0
|
||||
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")
|
||||
32
weapons/reactor_weapon/scn_reactor_weapon.tscn
Normal file
32
weapons/reactor_weapon/scn_reactor_weapon.tscn
Normal file
@@ -0,0 +1,32 @@
|
||||
[gd_scene format=3 uid="uid://yymj42pp6v1t"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dp4gfr5h0tbcd" path="res://scenes/weapons/shapecast_weapon.tscn" id="1_du35a"]
|
||||
[ext_resource type="Script" uid="uid://d1lqdrh65prrr" path="res://weapons/reactor_weapon/scr_reactor_weapon.gd" id="2_oe7hd"]
|
||||
[ext_resource type="Resource" uid="uid://dxlisoas4xlmo" path="res://resources/status_effects/radioactive.tres" id="3_hsfwd"]
|
||||
[ext_resource type="Resource" uid="uid://ipfr7emuarbj" path="res://weapons/reactor_weapon/weapon_stats.tres" id="4_83mkk"]
|
||||
[ext_resource type="Texture2D" uid="uid://oblavj8vj30n" path="res://weapons/glue_weapon/tex_glue_weapon.png" id="5_bawfy"]
|
||||
[ext_resource type="Material" uid="uid://bjab6t4n0s5ac" path="res://weapons/reactor_weapon/radiation_particles.tres" id="6_0sgt1"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7xflc"]
|
||||
resource_local_to_scene = true
|
||||
atlas = ExtResource("5_bawfy")
|
||||
region = Rect2(0, 0, 64, 64)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l4nsh"]
|
||||
transparency = 1
|
||||
vertex_color_use_as_albedo = true
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_5o1ws"]
|
||||
material = SubResource("StandardMaterial3D_l4nsh")
|
||||
|
||||
[node name="ReactorWeapon" unique_id=1733534343 instance=ExtResource("1_du35a")]
|
||||
script = ExtResource("2_oe7hd")
|
||||
status_stats = ExtResource("3_hsfwd")
|
||||
stats = ExtResource("4_83mkk")
|
||||
|
||||
[node name="Sprite3D" parent="." index="0" unique_id=1457062627]
|
||||
texture = SubResource("AtlasTexture_7xflc")
|
||||
|
||||
[node name="GPUParticles3D" parent="ShapeCast3D" parent_id_path=PackedInt32Array(1138406404) index="0" unique_id=1743469147]
|
||||
process_material = ExtResource("6_0sgt1")
|
||||
draw_pass_1 = SubResource("BoxMesh_5o1ws")
|
||||
8
weapons/reactor_weapon/scr_reactor_weapon.gd
Normal file
8
weapons/reactor_weapon/scr_reactor_weapon.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
class_name ReactorWeapon
|
||||
extends ShapecastWeapon
|
||||
|
||||
|
||||
func build_status_object() -> StatusEffect:
|
||||
var status: StatusDoT = StatusDoT.new()
|
||||
status.stats = status_stats
|
||||
return status
|
||||
1
weapons/reactor_weapon/scr_reactor_weapon.gd.uid
Normal file
1
weapons/reactor_weapon/scr_reactor_weapon.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://d1lqdrh65prrr
|
||||
17
weapons/reactor_weapon/weapon_stats.tres
Normal file
17
weapons/reactor_weapon/weapon_stats.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://ipfr7emuarbj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://scripts/resources/feature.gd" id="1_2higs"]
|
||||
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://scripts/resources/cassette_text.gd" id="2_ahbcx"]
|
||||
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://scripts/features/heavy_rounds/heavy_rounds_feature.tres" id="2_h1dig"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_ahbcx")
|
||||
energy_type = 2
|
||||
attributes = Dictionary[String, float]({
|
||||
"Damage": 1.0,
|
||||
"Energy": 9.0,
|
||||
"Fire Delay": 0.5,
|
||||
"Range": 3.0
|
||||
})
|
||||
features = Array[ExtResource("1_2higs")]([ExtResource("2_h1dig")])
|
||||
text = "DESC_WEAPON_RADIATION"
|
||||
Reference in New Issue
Block a user