conforms file names to consistant standard
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class_name BombLauncherWeapon
|
||||
extends ProjectileWeapon
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
super._ready()
|
||||
var launch_range: float = stats.get_attribute("Range")
|
||||
force = sqrt((launch_range * ProjectSettings.get_setting("physics/3d/default_gravity")) / sin(2.0 * 45.0))
|
||||
@@ -0,0 +1 @@
|
||||
uid://d2uo2cp7cdhdu
|
||||
@@ -0,0 +1,29 @@
|
||||
[gd_scene format=3 uid="uid://c3fqlkytyc62u"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bqdllitxbbpyp" path="res://scenes/weapons/projectile_weapon.tscn" id="1_gbycb"]
|
||||
[ext_resource type="Script" uid="uid://d2uo2cp7cdhdu" path="res://weapons/bomb_launcher_weapon/scr_grenade_launcher_weapon.gd" id="2_g5ihb"]
|
||||
[ext_resource type="Resource" uid="uid://co6eorobj1xuu" path="res://weapons/bomb_launcher_weapon/weapon_stats.tres" id="3_73ol1"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8oq5unisjqne" path="res://projectiles/bomb/scn_bomb.tscn" id="3_jxt6m"]
|
||||
[ext_resource type="Texture2D" uid="uid://3qcdx7n440sc" path="res://weapons/bomb_launcher_weapon/tex_grenade_launcher_weapon.png" id="5_iyrt8"]
|
||||
[ext_resource type="AudioStream" uid="uid://dknygn5eyuhxt" path="res://audio/aud_shot.wav" id="6_rg62n"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8wekx"]
|
||||
resource_local_to_scene = true
|
||||
atlas = ExtResource("5_iyrt8")
|
||||
region = Rect2(0, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_l37cm"]
|
||||
random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("6_rg62n")
|
||||
|
||||
[node name="BombLauncherWeapon" unique_id=1090691783 instance=ExtResource("1_gbycb")]
|
||||
script = ExtResource("2_g5ihb")
|
||||
projectile_scene = ExtResource("3_jxt6m")
|
||||
stats = ExtResource("3_73ol1")
|
||||
|
||||
[node name="Sprite3D" parent="." index="0" unique_id=1457062627]
|
||||
texture = SubResource("AtlasTexture_8wekx")
|
||||
|
||||
[node name="AudioStreamPlayer3D" parent="." index="3" unique_id=1246168083]
|
||||
stream = SubResource("AudioStreamRandomizer_l37cm")
|
||||
BIN
weapons/bomb_launcher_weapon/tex_grenade_launcher_weapon.png
Normal file
BIN
weapons/bomb_launcher_weapon/tex_grenade_launcher_weapon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://3qcdx7n440sc"
|
||||
path="res://.godot/imported/tex_grenade_launcher_weapon.png-75c569d2913510e9bb06c06c223ad180.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://weapons/bomb_launcher_weapon/tex_grenade_launcher_weapon.png"
|
||||
dest_files=["res://.godot/imported/tex_grenade_launcher_weapon.png-75c569d2913510e9bb06c06c223ad180.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
|
||||
17
weapons/bomb_launcher_weapon/weapon_stats.tres
Normal file
17
weapons/bomb_launcher_weapon/weapon_stats.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://co6eorobj1xuu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://scripts/resources/feature.gd" id="1_gv6l8"]
|
||||
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://scripts/features/heavy_rounds/heavy_rounds_feature.tres" id="2_82nig"]
|
||||
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://scripts/resources/cassette_text.gd" id="2_fe8lx"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_fe8lx")
|
||||
energy_type = 1
|
||||
attributes = Dictionary[String, float]({
|
||||
"Damage": 10.0,
|
||||
"Energy": 10.0,
|
||||
"Fire Delay": 2.0,
|
||||
"Range": 10.0
|
||||
})
|
||||
features = Array[ExtResource("1_gv6l8")]([ExtResource("2_82nig")])
|
||||
text = "DESC_WEAPON_BOMB"
|
||||
Reference in New Issue
Block a user