conforms file names to consistant standard
This commit is contained in:
BIN
weapons/bolt_gun_weapon/aud_bolt_gun.wav
Normal file
BIN
weapons/bolt_gun_weapon/aud_bolt_gun.wav
Normal file
Binary file not shown.
24
weapons/bolt_gun_weapon/aud_bolt_gun.wav.import
Normal file
24
weapons/bolt_gun_weapon/aud_bolt_gun.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://gojj0xkvjwvm"
|
||||
path="res://.godot/imported/aud_bolt_gun.wav-f96e3b25d6ceb989b995a10b18761ac9.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://weapons/bolt_gun_weapon/aud_bolt_gun.wav"
|
||||
dest_files=["res://.godot/imported/aud_bolt_gun.wav-f96e3b25d6ceb989b995a10b18761ac9.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
weapons/bolt_gun_weapon/mdl_bolt_gun.glb
Normal file
BIN
weapons/bolt_gun_weapon/mdl_bolt_gun.glb
Normal file
Binary file not shown.
60
weapons/bolt_gun_weapon/mdl_bolt_gun.glb.import
Normal file
60
weapons/bolt_gun_weapon/mdl_bolt_gun.glb.import
Normal file
@@ -0,0 +1,60 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bjjlhmhfytbvm"
|
||||
path="res://.godot/imported/mdl_bolt_gun.glb-002880df528e9257234aec7dff6fc721.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://weapons/bolt_gun_weapon/mdl_bolt_gun.glb"
|
||||
dest_files=["res://.godot/imported/mdl_bolt_gun.glb-002880df528e9257234aec7dff6fc721.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=false
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"metal3": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://materials/metal_3/metal3.tres",
|
||||
"use_external/path": "uid://bte8u8o37f5mf"
|
||||
},
|
||||
"metal4": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://materials/metal_4/metal4.tres",
|
||||
"use_external/path": "uid://dse5i3rqndtrf"
|
||||
},
|
||||
"wood1": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://materials/wood_1/wood1.tres",
|
||||
"use_external/path": "uid://c21fh4gsnunfg"
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=0
|
||||
58
weapons/bolt_gun_weapon/scn_bolt_gun.tscn
Normal file
58
weapons/bolt_gun_weapon/scn_bolt_gun.tscn
Normal file
@@ -0,0 +1,58 @@
|
||||
[gd_scene format=3 uid="uid://bn3t6sjupdxgi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bp3o5klntwmhd" path="res://scripts/weapons/hitscan_weapon.gd" id="1_yvp43"]
|
||||
[ext_resource type="Resource" uid="uid://smctw4ogm4rx" path="res://weapons/bolt_gun_weapon/weapon_stats.tres" id="2_2k4c7"]
|
||||
[ext_resource type="AudioStream" uid="uid://gojj0xkvjwvm" path="res://weapons/bolt_gun_weapon/aud_bolt_gun.wav" id="3_5wfsb"]
|
||||
[ext_resource type="PackedScene" uid="uid://bjjlhmhfytbvm" path="res://weapons/bolt_gun_weapon/mdl_bolt_gun.glb" id="4_5wfsb"]
|
||||
[ext_resource type="Material" uid="uid://3m464q2bkdkm" path="res://towers/bolt_gun_tower/PipePistolBullets.tres" id="5_1hdrg"]
|
||||
[ext_resource type="Material" uid="uid://cjvmf0bl70x6q" path="res://materials/metal_2/metal2.tres" id="6_1hdrg"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_1hdrg"]
|
||||
random_pitch = 1.0832878
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("3_5wfsb")
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_jw2fc"]
|
||||
material = ExtResource("6_1hdrg")
|
||||
size = Vector2(0.125, 0.125)
|
||||
|
||||
[node name="Rifle" type="Node3D" unique_id=1518167828 node_paths=PackedStringArray("raycast", "audio_player", "recharge_timer", "particle_emitter")]
|
||||
script = ExtResource("1_yvp43")
|
||||
raycast = NodePath("RayCast3D")
|
||||
stats = ExtResource("2_2k4c7")
|
||||
audio_player = NodePath("AudioStreamPlayer3D")
|
||||
recharge_timer = NodePath("Timer")
|
||||
particle_emitter = NodePath("HitParticle")
|
||||
metadata/_custom_type_script = "uid://bp3o5klntwmhd"
|
||||
|
||||
[node name="RayCast3D" type="RayCast3D" parent="." unique_id=1349784403]
|
||||
target_position = Vector3(0, 0, -1)
|
||||
collision_mask = 4
|
||||
|
||||
[node name="Timer" type="Timer" parent="." unique_id=2110782459]
|
||||
wait_time = 4.0
|
||||
one_shot = true
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="." unique_id=2124501556]
|
||||
stream = SubResource("AudioStreamRandomizer_1hdrg")
|
||||
bus = &"SFX"
|
||||
|
||||
[node name="BoltGun" parent="." unique_id=1115474442 instance=ExtResource("4_5wfsb")]
|
||||
|
||||
[node name="Cube_001" parent="BoltGun" index="0" unique_id=1594991959]
|
||||
layers = 2
|
||||
|
||||
[node name="HitParticle" type="GPUParticles3D" parent="." unique_id=76894935]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.086717755, -1.0784638)
|
||||
emitting = false
|
||||
amount = 5
|
||||
lifetime = 0.2
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
transform_align = 3
|
||||
process_material = ExtResource("5_1hdrg")
|
||||
draw_pass_1 = SubResource("QuadMesh_jw2fc")
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
|
||||
[editable path="BoltGun"]
|
||||
2
weapons/bolt_gun_weapon/scr_bolt_gun.gd
Normal file
2
weapons/bolt_gun_weapon/scr_bolt_gun.gd
Normal file
@@ -0,0 +1,2 @@
|
||||
class_name AssaultWeapon
|
||||
extends HitscanWeapon
|
||||
1
weapons/bolt_gun_weapon/scr_bolt_gun.gd.uid
Normal file
1
weapons/bolt_gun_weapon/scr_bolt_gun.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://yi5gkkyhkbgw
|
||||
17
weapons/bolt_gun_weapon/weapon_stats.tres
Normal file
17
weapons/bolt_gun_weapon/weapon_stats.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://smctw4ogm4rx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://scripts/resources/feature.gd" id="1_vqq5l"]
|
||||
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://scripts/resources/cassette_text.gd" id="2_k26ta"]
|
||||
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://scripts/features/heavy_rounds/heavy_rounds_feature.tres" id="2_prves"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_k26ta")
|
||||
energy_type = 2
|
||||
attributes = Dictionary[String, float]({
|
||||
"Damage": 6.0,
|
||||
"Energy": 20.0,
|
||||
"Fire Delay": 0.468,
|
||||
"Range": 15.0
|
||||
})
|
||||
features = Array[ExtResource("1_vqq5l")]([ExtResource("2_prves")])
|
||||
text = "DESC_WEAPON_BASIC_GUN"
|
||||
Reference in New Issue
Block a user