Quaternius weapons, input fixes, sound & path fixes
- Added 6 Quaternius weapon models (Pistol, Revolver, Rifle, Shotgun, P90, SniperRifle) - Created weapon resource files with balanced stats - Wired Pistol + Rifle into player.tscn replacing Kenney blasters - Fixed WASD input (matched input map action names) - Fixed Escape key toggles mouse capture - Added Audio autoload singleton - Fixed broken sound asset paths across all scripts - Fixed all scene ext_resource text paths (nested under assets/kenney-fps/) - Fixed all .import source_file paths - Deleted stale .import files (will be regenerated by editor on open)
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://biqtga8moh7ah"
|
||||
path="res://.godot/imported/lilita_one_regular.ttf-68cc4ab6825bdd499d1ad608190f5213.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/lilita_one_regular.ttf"
|
||||
dest_files=["res://.godot/imported/lilita_one_regular.ttf-68cc4ab6825bdd499d1ad608190f5213.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
@@ -1,40 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cpxour8a7ihec"
|
||||
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.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=false
|
||||
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=1
|
||||
@@ -1,41 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b5hxnjwvrxuji"
|
||||
path.bptc="res://.godot/imported/colormap.png-c1bc3c3aabeec406ff4b53328583776a.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/Textures/colormap.png"
|
||||
dest_files=["res://.godot/imported/colormap.png-c1bc3c3aabeec406ff4b53328583776a.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
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
|
||||
@@ -1,42 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://das5fosq6auoe"
|
||||
path="res://.godot/imported/grass-small.glb-0be1c06405ef2ce478dc00acb5be5be8.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/grass-small.glb"
|
||||
dest_files=["res://.godot/imported/grass-small.glb-0be1c06405ef2ce478dc00acb5be5be8.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
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=true
|
||||
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={}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -1,42 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://beaer7x07yif6"
|
||||
path="res://.godot/imported/grass.glb-0ce858eae1c69c894a569863f13e24f1.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/grass.glb"
|
||||
dest_files=["res://.godot/imported/grass.glb-0ce858eae1c69c894a569863f13e24f1.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
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=true
|
||||
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={}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -1,32 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://3403atnv0s14"
|
||||
path="res://.godot/imported/platform-falling.glb-a1321a8710589d27b2a6e247cfe23359.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/platform-falling.glb"
|
||||
dest_files=["res://.godot/imported/platform-falling.glb-a1321a8710589d27b2a6e247cfe23359.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -1,42 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://k065rxqtim8f"
|
||||
path="res://.godot/imported/platform-large-grass.glb-eba1099445789c9c9ba0b37fc57bd13f.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/platform-large-grass.glb"
|
||||
dest_files=["res://.godot/imported/platform-large-grass.glb-eba1099445789c9c9ba0b37fc57bd13f.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
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=true
|
||||
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={}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -1,42 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bwgwd5ue8i2bt"
|
||||
path="res://.godot/imported/platform.glb-3476c7cd272116fb58fd5d0a0eddb703.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/platform.glb"
|
||||
dest_files=["res://.godot/imported/platform.glb-3476c7cd272116fb58fd5d0a0eddb703.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
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=true
|
||||
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={}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -1,42 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://c743irj356lax"
|
||||
path="res://.godot/imported/wall-high.glb-74f2e81af43ef5254fe14637810326a5.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/wall-high.glb"
|
||||
dest_files=["res://.godot/imported/wall-high.glb-74f2e81af43ef5254fe14637810326a5.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
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=true
|
||||
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={}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -1,42 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://x08pt5dvke58"
|
||||
path="res://.godot/imported/wall-low.glb-de080c69f0eef8b51181d363ed18f581.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/wall-low.glb"
|
||||
dest_files=["res://.godot/imported/wall-low.glb-de080c69f0eef8b51181d363ed18f581.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
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=true
|
||||
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={}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://oqfhfp1a80qd"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://g2w2608bc2dy" path="res://models/cloud.glb" id="1_2mo3p"]
|
||||
[ext_resource type="Script" uid="uid://bfgpo8fvf136p" path="res://objects/cloud.gd" id="2_rmotl"]
|
||||
[ext_resource type="PackedScene" uid="uid://g2w2608bc2dy" path="res://assets/kenney-fps/models/cloud.glb" id="1_2mo3p"]
|
||||
[ext_resource type="Script" uid="uid://bfgpo8fvf136p" path="res://assets/kenney-fps/objects/cloud.gd" id="2_rmotl"]
|
||||
|
||||
[node name="cube2" instance=ExtResource("1_2mo3p")]
|
||||
script = ExtResource("2_rmotl")
|
||||
|
||||
@@ -28,7 +28,7 @@ func _process(delta):
|
||||
# Take damage from player
|
||||
|
||||
func damage(amount):
|
||||
Audio.play("sounds/enemy_hurt.ogg")
|
||||
Audio.play("assets/kenney-fps/sounds/enemy_hurt.ogg")
|
||||
|
||||
health -= amount
|
||||
|
||||
@@ -38,7 +38,7 @@ func damage(amount):
|
||||
# Destroy the enemy when out of health
|
||||
|
||||
func destroy():
|
||||
Audio.play("sounds/enemy_destroy.ogg")
|
||||
Audio.play("assets/kenney-fps/sounds/enemy_destroy.ogg")
|
||||
|
||||
destroyed = true
|
||||
queue_free()
|
||||
@@ -63,6 +63,6 @@ func _on_timer_timeout():
|
||||
muzzle_b.play("default")
|
||||
muzzle_b.rotation_degrees.z = randf_range(-45, 45)
|
||||
|
||||
Audio.play("sounds/enemy_attack.ogg")
|
||||
Audio.play("assets/kenney-fps/sounds/enemy_attack.ogg")
|
||||
|
||||
collider.damage(5) # Apply damage to player
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://d2g78tpqbyf5g"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://lde2xq3vq635" path="res://models/enemy-flying.glb" id="1_3v8nl"]
|
||||
[ext_resource type="Script" uid="uid://b6udw8uhlp4ei" path="res://objects/enemy.gd" id="1_jg24b"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://dbv3sy5qjatnl" path="res://sprites/burst_animation.tres" id="3_iblw5"]
|
||||
[ext_resource type="PackedScene" uid="uid://lde2xq3vq635" path="res://assets/kenney-fps/models/enemy-flying.glb" id="1_3v8nl"]
|
||||
[ext_resource type="Script" uid="uid://b6udw8uhlp4ei" path="res://assets/kenney-fps/objects/enemy.gd" id="1_jg24b"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://dbv3sy5qjatnl" path="res://assets/kenney-fps/sprites/burst_animation.tres" id="3_iblw5"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_iix87"]
|
||||
radius = 0.75
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://b7070gfoko4mo"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dh0t42ubhuv0" path="res://sprites/hit.png" id="1_mdfft"]
|
||||
[ext_resource type="Script" uid="uid://bwkexrmt718dx" path="res://objects/impact.gd" id="2_k826h"]
|
||||
[ext_resource type="Texture2D" uid="uid://dh0t42ubhuv0" path="res://assets/kenney-fps/sprites/hit.png" id="1_mdfft"]
|
||||
[ext_resource type="Script" uid="uid://bwkexrmt718dx" path="res://assets/kenney-fps/objects/impact.gd" id="2_k826h"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8c04i"]
|
||||
atlas = ExtResource("1_mdfft")
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -84,7 +84,7 @@ func _process(delta):
|
||||
camera.position.y = lerp(camera.position.y, 0.0, delta * 5)
|
||||
|
||||
if is_on_floor() and gravity > 1 and !previously_floored: # Landed
|
||||
Audio.play("sounds/land.ogg")
|
||||
Audio.play("assets/kenney-fps/sounds/land.ogg")
|
||||
camera.position.y = -0.1
|
||||
|
||||
previously_floored = is_on_floor()
|
||||
@@ -102,19 +102,18 @@ func _input(event):
|
||||
handle_rotation(event.relative.x, event.relative.y, false)
|
||||
|
||||
func handle_controls(delta):
|
||||
# Mouse capture
|
||||
if Input.is_action_just_pressed("mouse_capture"):
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
mouse_captured = true
|
||||
|
||||
if Input.is_action_just_pressed("mouse_capture_exit"):
|
||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
||||
mouse_captured = false
|
||||
|
||||
input_mouse = Vector2.ZERO
|
||||
# Mouse capture — Escape toggles
|
||||
if Input.is_action_just_pressed("escape"):
|
||||
if mouse_captured:
|
||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
||||
mouse_captured = false
|
||||
input_mouse = Vector2.ZERO
|
||||
else:
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
mouse_captured = true
|
||||
|
||||
# Movement
|
||||
var input := Input.get_vector("move_left", "move_right", "move_forward", "move_back")
|
||||
var input := Input.get_vector("move_west", "move_east", "move_north", "move_south")
|
||||
movement_velocity = Vector3(input.x, 0, input.y).normalized() * movement_speed
|
||||
|
||||
# Handle Controller Rotation
|
||||
@@ -165,7 +164,7 @@ func handle_gravity(delta):
|
||||
# Jumping
|
||||
|
||||
func action_jump():
|
||||
Audio.play("sounds/jump_a.ogg, sounds/jump_b.ogg, sounds/jump_c.ogg")
|
||||
Audio.play("assets/kenney-fps/sounds/jump_a.ogg, assets/kenney-fps/sounds/jump_b.ogg, assets/kenney-fps/sounds/jump_c.ogg")
|
||||
gravity = - jump_strength
|
||||
jumps_remaining -= 1
|
||||
|
||||
@@ -206,7 +205,7 @@ func action_shoot():
|
||||
|
||||
# Creating an impact animation
|
||||
|
||||
var impact = preload("res://objects/impact.tscn")
|
||||
var impact = preload("res://assets/kenney-fps/objects/impact.tscn")
|
||||
var impact_instance = impact.instantiate()
|
||||
|
||||
impact_instance.play("shot")
|
||||
@@ -232,7 +231,7 @@ func action_weapon_toggle():
|
||||
weapon_index = wrap(weapon_index + 1, 0, weapons.size())
|
||||
initiate_change_weapon(weapon_index)
|
||||
|
||||
Audio.play("sounds/weapon_change.ogg")
|
||||
Audio.play("assets/kenney-fps/sounds/weapon_change.ogg")
|
||||
|
||||
# Initiates the weapon changing animation (tween)
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dl2ed4gkybggf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cu47grjp072jk" path="res://objects/player.gd" id="1_ffboj"]
|
||||
[ext_resource type="Resource" uid="uid://cu2gtxlcmbb34" path="res://weapons/blaster-repeater.tres" id="2_6epbw"]
|
||||
[ext_resource type="Texture2D" uid="uid://8ggihh27mlrr" path="res://sprites/blob_shadow.png" id="2_b0fo8"]
|
||||
[ext_resource type="Script" uid="uid://dg01pkkc1c5vd" path="res://scripts/weapon.gd" id="2_i825w"]
|
||||
[ext_resource type="Resource" uid="uid://c56y8pqoyk15f" path="res://weapons/blaster.tres" id="3_kr4p8"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://dbv3sy5qjatnl" path="res://sprites/burst_animation.tres" id="4_m6ukc"]
|
||||
[ext_resource type="AudioStream" uid="uid://cydjn1ct3hps2" path="res://sounds/walking.ogg" id="5_ics1s"]
|
||||
[ext_resource type="Script" uid="uid://cu47grjp072jk" path="res://assets/kenney-fps/objects/player.gd" id="1_ffboj"]
|
||||
[ext_resource type="Resource" uid="uid://quaternius_pistol_auto" path="res://assets/quaternius/weapons/pistol.tres" id="2_6epbw"]
|
||||
[ext_resource type="Texture2D" uid="uid://8ggihh27mlrr" path="res://assets/kenney-fps/sprites/blob_shadow.png" id="2_b0fo8"]
|
||||
[ext_resource type="Script" uid="uid://dg01pkkc1c5vd" path="res://assets/kenney-fps/scripts/weapon.gd" id="2_i825w"]
|
||||
[ext_resource type="Resource" uid="uid://quaternius_rifle_auto" path="res://assets/quaternius/weapons/rifle.tres" id="3_kr4p8"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://dbv3sy5qjatnl" path="res://assets/kenney-fps/sprites/burst_animation.tres" id="4_m6ukc"]
|
||||
[ext_resource type="AudioStream" uid="uid://cydjn1ct3hps2" path="res://assets/kenney-fps/sounds/walking.ogg" id="5_ics1s"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_gdq8c"]
|
||||
radius = 0.3
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,15 +1,15 @@
|
||||
[gd_scene format=3 uid="uid://dxvvlck8lej3f"]
|
||||
|
||||
[ext_resource type="Environment" uid="uid://jvmpkdwaeaq" path="res://scenes/main-environment.tres" id="1_q8fpv"]
|
||||
[ext_resource type="PackedScene" uid="uid://dl2ed4gkybggf" path="res://objects/player.tscn" id="2_elriq"]
|
||||
[ext_resource type="Script" uid="uid://by0qn28x1i1jj" path="res://scripts/hud.gd" id="3_s8mkj"]
|
||||
[ext_resource type="FontFile" uid="uid://biqtga8moh7ah" path="res://fonts/lilita_one_regular.ttf" id="3_w27de"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpm3l05d7fu35" path="res://objects/platform.tscn" id="5_3s40e"]
|
||||
[ext_resource type="PackedScene" uid="uid://r7rt7pth4u7o" path="res://objects/wall_low.tscn" id="5_6vel1"]
|
||||
[ext_resource type="PackedScene" uid="uid://c71evdjblk5wp" path="res://objects/wall_high.tscn" id="7_cabne"]
|
||||
[ext_resource type="PackedScene" uid="uid://bvx5cvigosg0s" path="res://objects/platform_large_grass.tscn" id="7_wggef"]
|
||||
[ext_resource type="PackedScene" uid="uid://d2g78tpqbyf5g" path="res://objects/enemy.tscn" id="8_7ty2f"]
|
||||
[ext_resource type="PackedScene" uid="uid://oqfhfp1a80qd" path="res://objects/cloud.tscn" id="10_5ksau"]
|
||||
[ext_resource type="Environment" uid="uid://jvmpkdwaeaq" path="res://assets/kenney-fps/scenes/main-environment.tres" id="1_q8fpv"]
|
||||
[ext_resource type="PackedScene" uid="uid://dl2ed4gkybggf" path="res://assets/kenney-fps/objects/player.tscn" id="2_elriq"]
|
||||
[ext_resource type="Script" uid="uid://by0qn28x1i1jj" path="res://assets/kenney-fps/scripts/hud.gd" id="3_s8mkj"]
|
||||
[ext_resource type="FontFile" uid="uid://biqtga8moh7ah" path="res://assets/kenney-fps/fonts/lilita_one_regular.ttf" id="3_w27de"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpm3l05d7fu35" path="res://assets/kenney-fps/objects/platform.tscn" id="5_3s40e"]
|
||||
[ext_resource type="PackedScene" uid="uid://r7rt7pth4u7o" path="res://assets/kenney-fps/objects/wall_low.tscn" id="5_6vel1"]
|
||||
[ext_resource type="PackedScene" uid="uid://c71evdjblk5wp" path="res://assets/kenney-fps/objects/wall_high.tscn" id="7_cabne"]
|
||||
[ext_resource type="PackedScene" uid="uid://bvx5cvigosg0s" path="res://assets/kenney-fps/objects/platform_large_grass.tscn" id="7_wggef"]
|
||||
[ext_resource type="PackedScene" uid="uid://d2g78tpqbyf5g" path="res://assets/kenney-fps/objects/enemy.tscn" id="8_7ty2f"]
|
||||
[ext_resource type="PackedScene" uid="uid://oqfhfp1a80qd" path="res://assets/kenney-fps/objects/cloud.tscn" id="10_5ksau"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_fpmwk"]
|
||||
font = ExtResource("3_w27de")
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://dkftljsbdhwng"
|
||||
path="res://.godot/imported/blaster.ogg-1527ec84d518b60bb9fbaad97656d870.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/blaster.ogg"
|
||||
dest_files=["res://.godot/imported/blaster.ogg-1527ec84d518b60bb9fbaad97656d870.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://csdsvg0nh35id"
|
||||
path="res://.godot/imported/blaster_repeater.ogg-a46ceca73f68a6e3e41e971b07cb8de8.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/blaster_repeater.ogg"
|
||||
dest_files=["res://.godot/imported/blaster_repeater.ogg-a46ceca73f68a6e3e41e971b07cb8de8.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://blxqudiclpq84"
|
||||
path="res://.godot/imported/enemy_attack.ogg-ad3c73e6e91698e3fc81bd6423d8fca2.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/enemy_attack.ogg"
|
||||
dest_files=["res://.godot/imported/enemy_attack.ogg-ad3c73e6e91698e3fc81bd6423d8fca2.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://br1ov3ld0er6r"
|
||||
path="res://.godot/imported/enemy_destroy.ogg-feb8f111abab93d5fc30ec838c975232.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/enemy_destroy.ogg"
|
||||
dest_files=["res://.godot/imported/enemy_destroy.ogg-feb8f111abab93d5fc30ec838c975232.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://cgnbyrnxj12ed"
|
||||
path="res://.godot/imported/enemy_hurt.ogg-64e07bfa21b7ae57b8a0bf7357a95008.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/enemy_hurt.ogg"
|
||||
dest_files=["res://.godot/imported/enemy_hurt.ogg-64e07bfa21b7ae57b8a0bf7357a95008.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://bvnum0u73y8sv"
|
||||
path="res://.godot/imported/jump_a.ogg-df3a87b422b8537163b811137ab76d0c.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/jump_a.ogg"
|
||||
dest_files=["res://.godot/imported/jump_a.ogg-df3a87b422b8537163b811137ab76d0c.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://5raj3p7xaecq"
|
||||
path="res://.godot/imported/jump_b.ogg-f0989d7351debef348a67b21be8b7bd0.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/jump_b.ogg"
|
||||
dest_files=["res://.godot/imported/jump_b.ogg-f0989d7351debef348a67b21be8b7bd0.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://7tnsakv8pwa5"
|
||||
path="res://.godot/imported/jump_c.ogg-6a4808f519ad4af845e78fe92b3da78c.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/jump_c.ogg"
|
||||
dest_files=["res://.godot/imported/jump_c.ogg-6a4808f519ad4af845e78fe92b3da78c.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://xnxidwkp46un"
|
||||
path="res://.godot/imported/land.ogg-7222ba872273a4a7535937ef5cfdffd0.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/land.ogg"
|
||||
dest_files=["res://.godot/imported/land.ogg-7222ba872273a4a7535937ef5cfdffd0.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://cydjn1ct3hps2"
|
||||
path="res://.godot/imported/walking.ogg-bf61e9916135189ff0d5c06a148b02ab.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/walking.ogg"
|
||||
dest_files=["res://.godot/imported/walking.ogg-bf61e9916135189ff0d5c06a148b02ab.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://cmc2ufr6o30gl"
|
||||
path="res://.godot/imported/weapon_change.ogg-7ebfd5dcd3026b79e24db351d30b1a1b.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/weapon_change.ogg"
|
||||
dest_files=["res://.godot/imported/weapon_change.ogg-7ebfd5dcd3026b79e24db351d30b1a1b.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -1,40 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://biff4dkpfqi47"
|
||||
path="res://.godot/imported/splash-screen.png-ae6c8b07e185ee8a074576008d9ccc5a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://splash-screen.png"
|
||||
dest_files=["res://.godot/imported/splash-screen.png-ae6c8b07e185ee8a074576008d9ccc5a.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=false
|
||||
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=1
|
||||
@@ -1,40 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://8ggihh27mlrr"
|
||||
path="res://.godot/imported/blob_shadow.png-d19f4ffceb1d99dd3331acec2dc6d7df.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/blob_shadow.png"
|
||||
dest_files=["res://.godot/imported/blob_shadow.png-d19f4ffceb1d99dd3331acec2dc6d7df.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=false
|
||||
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=1
|
||||
@@ -1,40 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cbfhj0tswcksm"
|
||||
path="res://.godot/imported/burst.png-0ca3a873296b113f4396e0bdead4beff.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/burst.png"
|
||||
dest_files=["res://.godot/imported/burst.png-0ca3a873296b113f4396e0bdead4beff.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=1
|
||||
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=false
|
||||
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
|
||||
@@ -3,38 +3,29 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ce3lgq7foiusl"
|
||||
path="res://.godot/imported/crosshair-repeater.png-ec408225e689b23875963003728cb016.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
path="res://.godot/imported/crosshair-repeater.png-d589090035088acabaed3ef868d992be.ctex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/crosshair-repeater.png"
|
||||
dest_files=["res://.godot/imported/crosshair-repeater.png-ec408225e689b23875963003728cb016.ctex"]
|
||||
source_file="res://assets/kenney-fps/sprites/crosshair-repeater.png"
|
||||
dest_files=["res://.godot/imported/crosshair-repeater.png-d589090035088acabaed3ef868d992be.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=false
|
||||
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=1
|
||||
filter/fix_alpha_border=true
|
||||
filter/premult=true
|
||||
filter/repeat=true
|
||||
filter/filter_clip=false
|
||||
filter/anisotropic=0
|
||||
detect_3d/compress_to=0
|
||||
svg/scale=1.0
|
||||
|
||||
@@ -3,24 +3,18 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://2jld33y6h5pq"
|
||||
path.s3tc="res://.godot/imported/crosshair.png-1281ee32d6777347e0f43a202c603c1b.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
path="res://.godot/imported/crosshair.png-1a2174ba945cb2724603c288af43e347.ctex"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/crosshair.png"
|
||||
dest_files=["res://.godot/imported/crosshair.png-1281ee32d6777347e0f43a202c603c1b.s3tc.ctex"]
|
||||
source_file="res://assets/kenney-fps/sprites/crosshair.png"
|
||||
dest_files=["res://.godot/imported/crosshair.png-1a2174ba945cb2724603c288af43e347.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
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
|
||||
@@ -28,14 +22,10 @@ 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
|
||||
filter/fix_alpha_border=true
|
||||
filter/premult=true
|
||||
filter/repeat=true
|
||||
filter/filter_clip=false
|
||||
filter/anisotropic=0
|
||||
detect_3d/compress_to=0
|
||||
svg/scale=1.0
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dh0t42ubhuv0"
|
||||
path.s3tc="res://.godot/imported/hit.png-32857f07c817e04581303953f2545db0.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/hit.png"
|
||||
dest_files=["res://.godot/imported/hit.png-32857f07c817e04581303953f2545db0.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
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
|
||||
@@ -1,41 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cb7sdk1i5rx04"
|
||||
path.bptc="res://.godot/imported/skybox.png-3a75a15c5dbffccdaa926738885bd0eb.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/skybox.png"
|
||||
dest_files=["res://.godot/imported/skybox.png-3a75a15c5dbffccdaa926738885bd0eb.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
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=false
|
||||
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=false
|
||||
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
|
||||
@@ -1,8 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="Weapon" load_steps=4 format=3 uid="uid://cu2gtxlcmbb34"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ce3lgq7foiusl" path="res://sprites/crosshair-repeater.png" id="1_hoqei"]
|
||||
[ext_resource type="Script" uid="uid://dg01pkkc1c5vd" path="res://scripts/weapon.gd" id="1_l1atd"]
|
||||
[ext_resource type="PackedScene" uid="uid://dd3oln1ucgqpd" path="res://models/blaster-repeater.glb" id="2_h64nv"]
|
||||
[ext_resource type="Texture2D" uid="uid://ce3lgq7foiusl" path="res://assets/kenney-fps/sprites/crosshair-repeater.png" id="1_hoqei"]
|
||||
[ext_resource type="Script" uid="uid://dg01pkkc1c5vd" path="res://assets/kenney-fps/scripts/weapon.gd" id="1_l1atd"]
|
||||
[ext_resource type="PackedScene" uid="uid://dd3oln1ucgqpd" path="res://assets/kenney-fps/models/blaster-repeater.glb" id="2_h64nv"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_l1atd")
|
||||
@@ -12,5 +12,5 @@ muzzle_position = Vector3(0.1, -0.4, 1.5)
|
||||
damage = 10.0
|
||||
spread = 0.5
|
||||
knockback = 10
|
||||
sound_shoot = "sounds/blaster_repeater.ogg"
|
||||
sound_shoot = "assets/kenney-fps/sounds/blaster_repeater.ogg"
|
||||
crosshair = ExtResource("1_hoqei")
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="Weapon" load_steps=4 format=3 uid="uid://c56y8pqoyk15f"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://2jld33y6h5pq" path="res://sprites/crosshair.png" id="1_2onsr"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2p7bbkuxf7m" path="res://models/blaster.glb" id="1_x0glg"]
|
||||
[ext_resource type="Script" uid="uid://dg01pkkc1c5vd" path="res://scripts/weapon.gd" id="2_107w7"]
|
||||
[ext_resource type="Texture2D" uid="uid://2jld33y6h5pq" path="res://assets/kenney-fps/sprites/crosshair.png" id="1_2onsr"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2p7bbkuxf7m" path="res://assets/kenney-fps/models/blaster.glb" id="1_x0glg"]
|
||||
[ext_resource type="Script" uid="uid://dg01pkkc1c5vd" path="res://assets/kenney-fps/scripts/weapon.gd" id="2_107w7"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_107w7")
|
||||
@@ -15,5 +15,5 @@ shot_count = 3
|
||||
knockback = 40
|
||||
min_knockback = Vector2(0.025, 0.025)
|
||||
max_knockback = Vector2(0.045, 0.04)
|
||||
sound_shoot = "sounds/blaster.ogg"
|
||||
sound_shoot = "assets/kenney-fps/sounds/blaster.ogg"
|
||||
crosshair = ExtResource("1_2onsr")
|
||||
|
||||
Binary file not shown.
@@ -3,19 +3,21 @@
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://g2w2608bc2dy"
|
||||
path="res://.godot/imported/cloud.glb-53daedc24f8d7f4baa42baf232c66643.scn"
|
||||
uid="uid://bax08y0t8hkc"
|
||||
path="res://.godot/imported/P90.glb-c0686bb17e63ef864fe47e2ef85c3e8d.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/cloud.glb"
|
||||
dest_files=["res://.godot/imported/cloud.glb-53daedc24f8d7f4baa42baf232c66643.scn"]
|
||||
source_file="res://assets/quaternius/models/P90.glb"
|
||||
dest_files=["res://.godot/imported/P90.glb-c0686bb17e63ef864fe47e2ef85c3e8d.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
@@ -38,5 +40,6 @@ materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
@@ -0,0 +1,32 @@
|
||||
# Blender MTL File: 'P90.blend'
|
||||
# Material Count: 3
|
||||
|
||||
newmtl Material.001
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Material.003
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Material.004
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,25 @@
|
||||
[remap]
|
||||
|
||||
importer="wavefront_obj"
|
||||
importer_version=1
|
||||
type="Mesh"
|
||||
uid="uid://dib3ephrwejf1"
|
||||
path="res://.godot/imported/P90.obj-8df31986961b4a8e1ac0386a3807b1da.mesh"
|
||||
|
||||
[deps]
|
||||
|
||||
files=["res://.godot/imported/P90.obj-8df31986961b4a8e1ac0386a3807b1da.mesh"]
|
||||
|
||||
source_file="res://assets/quaternius/models/P90.obj"
|
||||
dest_files=["res://.godot/imported/P90.obj-8df31986961b4a8e1ac0386a3807b1da.mesh", "res://.godot/imported/P90.obj-8df31986961b4a8e1ac0386a3807b1da.mesh"]
|
||||
|
||||
[params]
|
||||
|
||||
generate_tangents=true
|
||||
generate_lods=true
|
||||
generate_shadow_mesh=true
|
||||
generate_lightmap_uv2=false
|
||||
generate_lightmap_uv2_texel_size=0.2
|
||||
scale_mesh=Vector3(1, 1, 1)
|
||||
offset_mesh=Vector3(0, 0, 0)
|
||||
force_disable_mesh_compression=false
|
||||
Binary file not shown.
+10
-7
@@ -3,19 +3,21 @@
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://lde2xq3vq635"
|
||||
path="res://.godot/imported/enemy-flying.glb-6120572f403485a0abe68ce33d56638b.scn"
|
||||
uid="uid://dsitqopjjyv0f"
|
||||
path="res://.godot/imported/Pistol.glb-89dbea87b37e6ee1eb7a927c1a2eeafb.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/enemy-flying.glb"
|
||||
dest_files=["res://.godot/imported/enemy-flying.glb-6120572f403485a0abe68ce33d56638b.scn"]
|
||||
source_file="res://assets/quaternius/models/Pistol.glb"
|
||||
dest_files=["res://.godot/imported/Pistol.glb-89dbea87b37e6ee1eb7a927c1a2eeafb.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
@@ -38,5 +40,6 @@ materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=0
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
@@ -0,0 +1,62 @@
|
||||
# Blender MTL File: 'Pistol.blend'
|
||||
# Material Count: 6
|
||||
|
||||
newmtl DarkerMetal
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Magazine
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Material.003
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Metal
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Muzzle
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Wood
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,25 @@
|
||||
[remap]
|
||||
|
||||
importer="wavefront_obj"
|
||||
importer_version=1
|
||||
type="Mesh"
|
||||
uid="uid://cpt164o0tk18a"
|
||||
path="res://.godot/imported/Pistol.obj-14b0d39d64d4f9501f6e7999f30e6929.mesh"
|
||||
|
||||
[deps]
|
||||
|
||||
files=["res://.godot/imported/Pistol.obj-14b0d39d64d4f9501f6e7999f30e6929.mesh"]
|
||||
|
||||
source_file="res://assets/quaternius/models/Pistol.obj"
|
||||
dest_files=["res://.godot/imported/Pistol.obj-14b0d39d64d4f9501f6e7999f30e6929.mesh", "res://.godot/imported/Pistol.obj-14b0d39d64d4f9501f6e7999f30e6929.mesh"]
|
||||
|
||||
[params]
|
||||
|
||||
generate_tangents=true
|
||||
generate_lods=true
|
||||
generate_shadow_mesh=true
|
||||
generate_lightmap_uv2=false
|
||||
generate_lightmap_uv2_texel_size=0.2
|
||||
scale_mesh=Vector3(1, 1, 1)
|
||||
offset_mesh=Vector3(0, 0, 0)
|
||||
force_disable_mesh_compression=false
|
||||
Binary file not shown.
@@ -0,0 +1,45 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dsie0nqm2cynl"
|
||||
path="res://.godot/imported/Revolver.glb-b3a8e05b70649269c157ffc7301e7705.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/quaternius/models/Revolver.glb"
|
||||
dest_files=["res://.godot/imported/Revolver.glb-b3a8e05b70649269c157ffc7301e7705.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
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=true
|
||||
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={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
@@ -0,0 +1,52 @@
|
||||
# Blender MTL File: 'Revolver.blend'
|
||||
# Material Count: 5
|
||||
|
||||
newmtl Black
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl BulletTip
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl BulletYellow
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Metal
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Wood
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,25 @@
|
||||
[remap]
|
||||
|
||||
importer="wavefront_obj"
|
||||
importer_version=1
|
||||
type="Mesh"
|
||||
uid="uid://daivcihpvdn5q"
|
||||
path="res://.godot/imported/Revolver.obj-d2a80e1f299a317971f481f2a64d6638.mesh"
|
||||
|
||||
[deps]
|
||||
|
||||
files=["res://.godot/imported/Revolver.obj-d2a80e1f299a317971f481f2a64d6638.mesh"]
|
||||
|
||||
source_file="res://assets/quaternius/models/Revolver.obj"
|
||||
dest_files=["res://.godot/imported/Revolver.obj-d2a80e1f299a317971f481f2a64d6638.mesh", "res://.godot/imported/Revolver.obj-d2a80e1f299a317971f481f2a64d6638.mesh"]
|
||||
|
||||
[params]
|
||||
|
||||
generate_tangents=true
|
||||
generate_lods=true
|
||||
generate_shadow_mesh=true
|
||||
generate_lightmap_uv2=false
|
||||
generate_lightmap_uv2_texel_size=0.2
|
||||
scale_mesh=Vector3(1, 1, 1)
|
||||
offset_mesh=Vector3(0, 0, 0)
|
||||
force_disable_mesh_compression=false
|
||||
Binary file not shown.
+10
-7
@@ -3,19 +3,21 @@
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b2p7bbkuxf7m"
|
||||
path="res://.godot/imported/blaster.glb-865d95bc6d15a20a70b45829eaeb4dc5.scn"
|
||||
uid="uid://dq6hh5r08lg30"
|
||||
path="res://.godot/imported/Rifle.glb-8f0d9d0b7acc6e4bd68aa2695c1cdf0b.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/blaster.glb"
|
||||
dest_files=["res://.godot/imported/blaster.glb-865d95bc6d15a20a70b45829eaeb4dc5.scn"]
|
||||
source_file="res://assets/quaternius/models/Rifle.glb"
|
||||
dest_files=["res://.godot/imported/Rifle.glb-8f0d9d0b7acc6e4bd68aa2695c1cdf0b.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
@@ -38,5 +40,6 @@ materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=0
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
@@ -0,0 +1,72 @@
|
||||
# Blender MTL File: 'Rifle.blend'
|
||||
# Material Count: 7
|
||||
|
||||
newmtl Barrels
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Black
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl BulletOrange
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl BulletYellow
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl DarkWood
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl LightWood
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Metal
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,25 @@
|
||||
[remap]
|
||||
|
||||
importer="wavefront_obj"
|
||||
importer_version=1
|
||||
type="Mesh"
|
||||
uid="uid://cjej2m67fp777"
|
||||
path="res://.godot/imported/Rifle.obj-e07611af2416a9a8a736e6c4a5299fc0.mesh"
|
||||
|
||||
[deps]
|
||||
|
||||
files=["res://.godot/imported/Rifle.obj-e07611af2416a9a8a736e6c4a5299fc0.mesh"]
|
||||
|
||||
source_file="res://assets/quaternius/models/Rifle.obj"
|
||||
dest_files=["res://.godot/imported/Rifle.obj-e07611af2416a9a8a736e6c4a5299fc0.mesh", "res://.godot/imported/Rifle.obj-e07611af2416a9a8a736e6c4a5299fc0.mesh"]
|
||||
|
||||
[params]
|
||||
|
||||
generate_tangents=true
|
||||
generate_lods=true
|
||||
generate_shadow_mesh=true
|
||||
generate_lightmap_uv2=false
|
||||
generate_lightmap_uv2_texel_size=0.2
|
||||
scale_mesh=Vector3(1, 1, 1)
|
||||
offset_mesh=Vector3(0, 0, 0)
|
||||
force_disable_mesh_compression=false
|
||||
Binary file not shown.
+10
-7
@@ -3,19 +3,21 @@
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dd3oln1ucgqpd"
|
||||
path="res://.godot/imported/blaster-repeater.glb-5f1125651aecb8bf54890e793b8c6da4.scn"
|
||||
uid="uid://bfofgtyblb50p"
|
||||
path="res://.godot/imported/Shotgun.glb-a190f57e8908ce676f957c7ad67f3129.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/blaster-repeater.glb"
|
||||
dest_files=["res://.godot/imported/blaster-repeater.glb-5f1125651aecb8bf54890e793b8c6da4.scn"]
|
||||
source_file="res://assets/quaternius/models/Shotgun.glb"
|
||||
dest_files=["res://.godot/imported/Shotgun.glb-a190f57e8908ce676f957c7ad67f3129.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
@@ -38,5 +40,6 @@ materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=0
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
@@ -0,0 +1,62 @@
|
||||
# Blender MTL File: 'Shotgun.blend'
|
||||
# Material Count: 6
|
||||
|
||||
newmtl Barrels
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Black
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl BulletRed
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl BulletYellow
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl DarkMetal
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Trigger
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,25 @@
|
||||
[remap]
|
||||
|
||||
importer="wavefront_obj"
|
||||
importer_version=1
|
||||
type="Mesh"
|
||||
uid="uid://cf5at01ffsvs8"
|
||||
path="res://.godot/imported/Shotgun.obj-9a9f670f1bcd4077708d4393434307ac.mesh"
|
||||
|
||||
[deps]
|
||||
|
||||
files=["res://.godot/imported/Shotgun.obj-9a9f670f1bcd4077708d4393434307ac.mesh"]
|
||||
|
||||
source_file="res://assets/quaternius/models/Shotgun.obj"
|
||||
dest_files=["res://.godot/imported/Shotgun.obj-9a9f670f1bcd4077708d4393434307ac.mesh", "res://.godot/imported/Shotgun.obj-9a9f670f1bcd4077708d4393434307ac.mesh"]
|
||||
|
||||
[params]
|
||||
|
||||
generate_tangents=true
|
||||
generate_lods=true
|
||||
generate_shadow_mesh=true
|
||||
generate_lightmap_uv2=false
|
||||
generate_lightmap_uv2_texel_size=0.2
|
||||
scale_mesh=Vector3(1, 1, 1)
|
||||
offset_mesh=Vector3(0, 0, 0)
|
||||
force_disable_mesh_compression=false
|
||||
Binary file not shown.
@@ -0,0 +1,45 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://d184porf2jvc8"
|
||||
path="res://.godot/imported/SniperRifle.glb-6dc460dffa4334d5e53eb36b77857af1.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/quaternius/models/SniperRifle.glb"
|
||||
dest_files=["res://.godot/imported/SniperRifle.glb-6dc460dffa4334d5e53eb36b77857af1.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
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=true
|
||||
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={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
@@ -0,0 +1,82 @@
|
||||
# Blender MTL File: 'SniperRifle.blend'
|
||||
# Material Count: 8
|
||||
|
||||
newmtl Barrel
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Black
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl BulletOrange
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl BulletYellow
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Green
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Magazine
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Metal
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl Trigger
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,25 @@
|
||||
[remap]
|
||||
|
||||
importer="wavefront_obj"
|
||||
importer_version=1
|
||||
type="Mesh"
|
||||
uid="uid://ce5q4u4m722kv"
|
||||
path="res://.godot/imported/SniperRifle.obj-41dcedbb93cd893f0676f56a9c467849.mesh"
|
||||
|
||||
[deps]
|
||||
|
||||
files=["res://.godot/imported/SniperRifle.obj-41dcedbb93cd893f0676f56a9c467849.mesh"]
|
||||
|
||||
source_file="res://assets/quaternius/models/SniperRifle.obj"
|
||||
dest_files=["res://.godot/imported/SniperRifle.obj-41dcedbb93cd893f0676f56a9c467849.mesh", "res://.godot/imported/SniperRifle.obj-41dcedbb93cd893f0676f56a9c467849.mesh"]
|
||||
|
||||
[params]
|
||||
|
||||
generate_tangents=true
|
||||
generate_lods=true
|
||||
generate_shadow_mesh=true
|
||||
generate_lightmap_uv2=false
|
||||
generate_lightmap_uv2_texel_size=0.2
|
||||
scale_mesh=Vector3(1, 1, 1)
|
||||
offset_mesh=Vector3(0, 0, 0)
|
||||
force_disable_mesh_compression=false
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_resource type="Resource" script_class="Weapon" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/kenney-fps/scripts/weapon.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://assets/quaternius/weapons/p90.tscn" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://ce3lgq7foiusl" path="res://assets/kenney-fps/sprites/crosshair-repeater.png" id="3"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
model = ExtResource("2")
|
||||
crosshair = ExtResource("3")
|
||||
rotation = Vector3(0, 180, 0)
|
||||
muzzle_position = Vector3(0.1, -0.4, 1.5)
|
||||
cooldown = 0.08
|
||||
max_distance = 15
|
||||
damage = 18
|
||||
spread = 1.0
|
||||
shot_count = 1
|
||||
knockback = 10
|
||||
min_knockback = Vector2(0.025, 0.025)
|
||||
max_knockback = Vector2(0.045, 0.04)
|
||||
sound_shoot = "assets/kenney-fps/sounds/blaster_repeater.ogg"
|
||||
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://quaternius_p90_scene"]
|
||||
|
||||
[ext_resource type="ArrayMesh" path="res://assets/quaternius/models/P90.obj" id="1"]
|
||||
|
||||
[node name="P90" type="MeshInstance3D"]
|
||||
mesh = ExtResource("1")
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_resource type="Resource" script_class="Weapon" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/kenney-fps/scripts/weapon.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://assets/quaternius/weapons/pistol.tscn" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://2jld33y6h5pq" path="res://assets/kenney-fps/sprites/crosshair.png" id="3"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
model = ExtResource("2")
|
||||
crosshair = ExtResource("3")
|
||||
rotation = Vector3(0, 180, 0)
|
||||
muzzle_position = Vector3(0.1, -0.4, 1.5)
|
||||
cooldown = 0.3
|
||||
max_distance = 15
|
||||
damage = 25
|
||||
spread = 0.5
|
||||
shot_count = 1
|
||||
knockback = 15
|
||||
min_knockback = Vector2(0.025, 0.025)
|
||||
max_knockback = Vector2(0.045, 0.04)
|
||||
sound_shoot = "assets/kenney-fps/sounds/blaster.ogg"
|
||||
@@ -0,0 +1,5 @@
|
||||
[gd_scene format=3]
|
||||
[ext_resource type="ArrayMesh" path="res://assets/quaternius/models/Pistol.obj" id="1"]
|
||||
|
||||
[node name="Pistol" type="MeshInstance3D"]
|
||||
mesh = ExtResource("1")
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_resource type="Resource" script_class="Weapon" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/kenney-fps/scripts/weapon.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://assets/quaternius/weapons/revolver.tscn" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://2jld33y6h5pq" path="res://assets/kenney-fps/sprites/crosshair.png" id="3"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
model = ExtResource("2")
|
||||
crosshair = ExtResource("3")
|
||||
rotation = Vector3(0, 180, 0)
|
||||
muzzle_position = Vector3(0.1, -0.4, 1.5)
|
||||
cooldown = 0.6
|
||||
max_distance = 15
|
||||
damage = 50
|
||||
spread = 0.3
|
||||
shot_count = 1
|
||||
knockback = 25
|
||||
min_knockback = Vector2(0.025, 0.025)
|
||||
max_knockback = Vector2(0.045, 0.04)
|
||||
sound_shoot = "assets/kenney-fps/sounds/blaster.ogg"
|
||||
@@ -0,0 +1,5 @@
|
||||
[gd_scene format=3]
|
||||
[ext_resource type="ArrayMesh" path="res://assets/quaternius/models/Revolver.obj" id="1"]
|
||||
|
||||
[node name="Revolver" type="MeshInstance3D"]
|
||||
mesh = ExtResource("1")
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_resource type="Resource" script_class="Weapon" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/kenney-fps/scripts/weapon.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://assets/quaternius/weapons/rifle.tscn" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://2jld33y6h5pq" path="res://assets/kenney-fps/sprites/crosshair.png" id="3"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
model = ExtResource("2")
|
||||
crosshair = ExtResource("3")
|
||||
rotation = Vector3(0, 180, 0)
|
||||
muzzle_position = Vector3(0.1, -0.4, 1.5)
|
||||
cooldown = 0.12
|
||||
max_distance = 15
|
||||
damage = 30
|
||||
spread = 0.4
|
||||
shot_count = 1
|
||||
knockback = 18
|
||||
min_knockback = Vector2(0.025, 0.025)
|
||||
max_knockback = Vector2(0.045, 0.04)
|
||||
sound_shoot = "assets/kenney-fps/sounds/blaster.ogg"
|
||||
@@ -0,0 +1,5 @@
|
||||
[gd_scene format=3]
|
||||
[ext_resource type="ArrayMesh" path="res://assets/quaternius/models/Rifle.obj" id="1"]
|
||||
|
||||
[node name="Rifle" type="MeshInstance3D"]
|
||||
mesh = ExtResource("1")
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_resource type="Resource" script_class="Weapon" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/kenney-fps/scripts/weapon.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://assets/quaternius/weapons/shotgun.tscn" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://2jld33y6h5pq" path="res://assets/kenney-fps/sprites/crosshair.png" id="3"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
model = ExtResource("2")
|
||||
crosshair = ExtResource("3")
|
||||
rotation = Vector3(0, 180, 0)
|
||||
muzzle_position = Vector3(0.1, -0.4, 1.5)
|
||||
cooldown = 0.8
|
||||
max_distance = 15
|
||||
damage = 20
|
||||
spread = 1.5
|
||||
shot_count = 6
|
||||
knockback = 30
|
||||
min_knockback = Vector2(0.025, 0.025)
|
||||
max_knockback = Vector2(0.045, 0.04)
|
||||
sound_shoot = "assets/kenney-fps/sounds/blaster.ogg"
|
||||
@@ -0,0 +1,5 @@
|
||||
[gd_scene format=3]
|
||||
[ext_resource type="ArrayMesh" path="res://assets/quaternius/models/Shotgun.obj" id="1"]
|
||||
|
||||
[node name="Shotgun" type="MeshInstance3D"]
|
||||
mesh = ExtResource("1")
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_resource type="Resource" script_class="Weapon" load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/kenney-fps/scripts/weapon.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://assets/quaternius/weapons/sniperrifle.tscn" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://ce3lgq7foiusl" path="res://assets/kenney-fps/sprites/crosshair-repeater.png" id="3"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
model = ExtResource("2")
|
||||
crosshair = ExtResource("3")
|
||||
rotation = Vector3(0, 180, 0)
|
||||
muzzle_position = Vector3(0.1, -0.4, 1.5)
|
||||
cooldown = 1.2
|
||||
max_distance = 15
|
||||
damage = 90
|
||||
spread = 0.1
|
||||
shot_count = 1
|
||||
knockback = 35
|
||||
min_knockback = Vector2(0.025, 0.025)
|
||||
max_knockback = Vector2(0.045, 0.04)
|
||||
sound_shoot = "assets/kenney-fps/sounds/blaster_repeater.ogg"
|
||||
@@ -0,0 +1,5 @@
|
||||
[gd_scene format=3]
|
||||
[ext_resource type="ArrayMesh" path="res://assets/quaternius/models/SniperRifle.obj" id="1"]
|
||||
|
||||
[node name="SniperRifle" type="MeshInstance3D"]
|
||||
mesh = ExtResource("1")
|
||||
Reference in New Issue
Block a user