Adds Player controller

This commit is contained in:
Michel 2025-01-31 22:54:00 +01:00
commit ab3890896d
35 changed files with 26403 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 984 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://gqe8dl65vmig"
path.s3tc="res://.godot/imported/Cardboard001.png-5ca1a46c9a78fad87e90bf008a605f2d.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://content/rifle/Cardboard001_2K-PNG/Cardboard001.png"
dest_files=["res://.godot/imported/Cardboard001.png-5ca1a46c9a78fad87e90bf008a605f2d.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
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/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

View file

@ -0,0 +1,42 @@
<?xml version="1.0"?>
<materialx version="1.38" fileprefix="./">
<standard_surface type="surfaceshader" xpos="6.159420" name="Cardboard001_2K_PNG_StandardSurface" ypos="-1.879310">
<input value="0" type="float" name="specular" />
<input value="1" type="float" name="coat" />
<input value="1, 1, 1" type="color3" name="coat_color" />
<input value="1" type="float" name="base" />
<input type="color3" nodename="Cardboard001_2K_PNG_Color" name="base_color" />
<input type="vector3" nodename="normalmap" name="normal" />
<input type="vector3" nodename="normalmap" name="coat_normal" />
<input type="float" nodename="Cardboard001_2K_PNG_Roughness" name="specular_roughness" />
<input type="float" nodename="Cardboard001_2K_PNG_Roughness" name="coat_roughness" />
</standard_surface>
<surfacematerial type="material" xpos="8.695652" name="Cardboard001_2K_PNG" ypos="0.000000">
<input type="surfaceshader" nodename="Cardboard001_2K_PNG_StandardSurface" name="surfaceshader" />
<input type="displacementshader" nodename="displacement" name="displacementshader" />
</surfacematerial>
<tiledimage type="color3" xpos="3.623188" name="Cardboard001_2K_PNG_Color" ypos="-3.103448">
<input value="Cardboard001_2K-PNG_Color.png" type="filename" colorspace="srgb_texture" name="file" />
<input value="1.0, 1.0" type="vector2" name="uvtiling" />
</tiledimage>
<tiledimage type="float" xpos="3.623188" name="Cardboard001_2K_PNG_Displacement" ypos="5.163793">
<input value="Cardboard001_2K-PNG_Displacement.png" type="filename" name="file" />
<input value="1.0, 1.0" type="vector2" name="uvtiling" />
</tiledimage>
<displacement type="displacementshader" xpos="6.159420" name="displacement" ypos="1.879310">
<input type="float" nodename="Cardboard001_2K_PNG_Displacement" name="displacement" />
<input value="1.0" type="float" name="scale" />
</displacement>
<tiledimage type="vector3" xpos="1.086957" name="Cardboard001_2K_PNG_NormalGL" ypos="0.879310">
<input value="Cardboard001_2K-PNG_NormalGL.png" type="filename" name="file" />
<input value="1.0, 1.0" type="vector2" name="uvtiling" />
</tiledimage>
<normalmap type="vector3" xpos="3.623188" name="normalmap" ypos="3.586207">
<input type="vector3" nodename="Cardboard001_2K_PNG_NormalGL" name="in" />
<input value="1.0" type="float" name="scale" />
</normalmap>
<tiledimage type="float" xpos="3.623188" name="Cardboard001_2K_PNG_Roughness" ypos="-0.413793">
<input value="Cardboard001_2K-PNG_Roughness.png" type="filename" name="file" />
<input value="1.0, 1.0" type="vector2" name="uvtiling" />
</tiledimage>
</materialx>

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 MiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dnavx8bsrg2cp"
path.s3tc="res://.godot/imported/Cardboard001_2K-PNG_Color.png-cf6691eee2a85c7c0483b02ceffbedfa.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_Color.png"
dest_files=["res://.godot/imported/Cardboard001_2K-PNG_Color.png-cf6691eee2a85c7c0483b02ceffbedfa.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
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/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

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 MiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://w1qjoj4t60pe"
path.s3tc="res://.godot/imported/Cardboard001_2K-PNG_Displacement.png-770b24bb0623300e634b117062e3867d.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_Displacement.png"
dest_files=["res://.godot/imported/Cardboard001_2K-PNG_Displacement.png-770b24bb0623300e634b117062e3867d.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 MiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c01npc6jtseip"
path.s3tc="res://.godot/imported/Cardboard001_2K-PNG_NormalDX.png-270145c2c96598c550bc2ca7f4edf203.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_NormalDX.png"
dest_files=["res://.godot/imported/Cardboard001_2K-PNG_NormalDX.png-270145c2c96598c550bc2ca7f4edf203.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_NormalDX.png"
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 MiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dku7f5fijokpn"
path.s3tc="res://.godot/imported/Cardboard001_2K-PNG_NormalGL.png-f1b51900ac4195b68b8c45dadb983d81.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_NormalGL.png"
dest_files=["res://.godot/imported/Cardboard001_2K-PNG_NormalGL.png-f1b51900ac4195b68b8c45dadb983d81.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_NormalGL.png"
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cpmhd8ni4r5lu"
path.s3tc="res://.godot/imported/Cardboard001_2K-PNG_Roughness.png-bd337407c1ef91c130d6be0dc4106199.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_Roughness.png"
dest_files=["res://.godot/imported/Cardboard001_2K-PNG_Roughness.png-bd337407c1ef91c130d6be0dc4106199.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
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/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

View file

@ -0,0 +1,20 @@
[gd_resource type="AnimationNodeBlendSpace1D" load_steps=4 format=3 uid="uid://belbtf6saao12"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_fw2oo"]
animation = &"LVA4_Armature|Fire_1"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_up73k"]
animation = &"LVA4_Armature|Fire_2"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_bjhpv"]
animation = &"LVA4_Armature|Fire_3"
[resource]
blend_point_0/node = SubResource("AnimationNodeAnimation_fw2oo")
blend_point_0/pos = 0.0
blend_point_1/node = SubResource("AnimationNodeAnimation_up73k")
blend_point_1/pos = 1.0
blend_point_2/node = SubResource("AnimationNodeAnimation_bjhpv")
blend_point_2/pos = 2.0
min_space = 0.0
max_space = 2.0

View file

@ -0,0 +1,29 @@
[gd_resource type="AnimationNodeBlendSpace2D" load_steps=6 format=3 uid="uid://dh5bnb5xvmv0f"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_glk57"]
animation = &"LVA4_Armature|Idle"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_4nam8"]
animation = &"LVA4_Armature|Move_Forward"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_y7e77"]
animation = &"LVA4_Armature|Move_Left"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_hwjyc"]
animation = &"LVA4_Armature|Move_Right"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_owips"]
animation = &"LVA4_Armature|Move_Forward"
play_mode = 1
[resource]
blend_point_0/node = SubResource("AnimationNodeAnimation_glk57")
blend_point_0/pos = Vector2(0, 0)
blend_point_1/node = SubResource("AnimationNodeAnimation_4nam8")
blend_point_1/pos = Vector2(0, 1)
blend_point_2/node = SubResource("AnimationNodeAnimation_y7e77")
blend_point_2/pos = Vector2(1, 0)
blend_point_3/node = SubResource("AnimationNodeAnimation_hwjyc")
blend_point_3/pos = Vector2(-1, 0)
blend_point_4/node = SubResource("AnimationNodeAnimation_owips")
blend_point_4/pos = Vector2(0, -1)

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,44 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bl08vo851jn5x"
path="res://.godot/imported/rifle.fbx-419b40db13c89e1774ce82199c54f15d.scn"
[deps]
source_file="res://content/rifle/rifle.fbx"
dest_files=["res://.godot/imported/rifle.fbx-419b40db13c89e1774ce82199c54f15d.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=0.01
nodes/import_as_skeleton_bones=false
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=true
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={
"materials": {
"Material.001": {
"use_external/enabled": true,
"use_external/path": "res://content/rifle/rifle_material.tres"
}
}
}
fbx/importer=0
fbx/allow_geometry_helper_nodes=false
fbx/embedded_image_handling=1

View file

@ -0,0 +1,31 @@
[gd_resource type="StandardMaterial3D" load_steps=6 format=3 uid="uid://bmawvuomui06g"]
[ext_resource type="Texture2D" uid="uid://dnavx8bsrg2cp" path="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_Color.png" id="1_1k1j1"]
[ext_resource type="Texture2D" uid="uid://w1qjoj4t60pe" path="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_Displacement.png" id="2_hlgs7"]
[ext_resource type="Texture2D" uid="uid://dku7f5fijokpn" path="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_NormalGL.png" id="3_djy0y"]
[ext_resource type="Texture2D" uid="uid://cpmhd8ni4r5lu" path="res://content/rifle/Cardboard001_2K-PNG/Cardboard001_2K-PNG_Roughness.png" id="4_a4f6v"]
[sub_resource type="CurveTexture" id="CurveTexture_oq5c5"]
[resource]
albedo_color = Color(0.31, 0.31, 0.31, 1)
albedo_texture = ExtResource("1_1k1j1")
metallic_specular = 0.02
roughness_texture = ExtResource("4_a4f6v")
normal_enabled = true
normal_scale = 1.7
normal_texture = ExtResource("3_djy0y")
heightmap_enabled = true
heightmap_scale = 2.658
heightmap_deep_parallax = true
heightmap_min_layers = 8
heightmap_max_layers = 32
heightmap_texture = ExtResource("2_hlgs7")
heightmap_flip_texture = true
backlight_enabled = true
backlight = Color(0.666569, 0.666569, 0.666569, 1)
refraction_scale = -0.25
detail_mask = ExtResource("4_a4f6v")
detail_albedo = SubResource("CurveTexture_oq5c5")
uv1_scale = Vector3(4, 4, 4)
grow_amount = -0.103

5845
content/rifle/weapon.tscn Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load diff