Compare commits
44 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4224333963 | |||
| 4dd48bed70 | |||
| abe6f42a3b | |||
| 27c67dbdd9 | |||
| 98ed361546 | |||
| eb1c7f78fa | |||
| 35b9ea383c | |||
| 9690280cd7 | |||
| 65538495c4 | |||
| 561e026834 | |||
| 7c74b8b5e5 | |||
| f7705a6d57 | |||
| 0dcf4a3f99 | |||
| 4ccdbc0ee6 | |||
| 0436053c62 | |||
| 6b97c226f1 | |||
| b1e78df6c7 | |||
| 5908494977 | |||
| 63529a11ae | |||
| 255b87f991 | |||
| fd3eb35782 | |||
| 9e75193731 | |||
| 609078c584 | |||
| 893126ef78 | |||
| 6737668391 | |||
| ca77579168 | |||
| c6559d593a | |||
| e32dac9e6e | |||
| 30b4d1a2eb | |||
| 2fa4ce68e7 | |||
| 80e533d98e | |||
| 0e3e258fd3 | |||
| c7991198ea | |||
| 1a4b2f4c19 | |||
| 52a9c3f120 | |||
| 2301884418 | |||
| 04054cfeae | |||
| 66be7838bb | |||
| 1eb65d1520 | |||
| f2a39316ba | |||
| fffd8c947b | |||
| a1d57d6a1a | |||
| 941205af2b | |||
| 6c2ad89687 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,6 +10,7 @@
|
|||||||
.import/
|
.import/
|
||||||
|
|
||||||
/builds
|
/builds
|
||||||
|
/communication
|
||||||
|
|
||||||
# Imported translations (automatically generated from CSV files)
|
# Imported translations (automatically generated from CSV files)
|
||||||
*.translation
|
*.translation
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AAction_00601_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F7c0f83388bfc4d2c9d09befcec9dd79bc90908_003Fb8_003F4d300c4d_003FAction_00601_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANode_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003Fdf73a4db74df89d59655c5fb6326406f47fbfa9af1fa81518fe0a07c49d34133_003FNode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANode_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003Fdf73a4db74df89d59655c5fb6326406f47fbfa9af1fa81518fe0a07c49d34133_003FNode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ASceneTree_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003F8d6960554e939a669841b1ece03d27df4ab42f92bb80be3767eaec8cdaccf84b_003FSceneTree_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ASceneTree_002Ecs_002Fl_003AC_0021_003FUsers_003FMinimata_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003F8d6960554e939a669841b1ece03d27df4ab42f92bb80be3767eaec8cdaccf84b_003FSceneTree_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=floorplane/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=floorplane/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -20,6 +20,8 @@ script = ExtResource("2_5i7wx")
|
|||||||
material_override = ExtResource("3_u2uhe")
|
material_override = ExtResource("3_u2uhe")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Cube_279" index="0"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Cube_279" index="0"]
|
||||||
|
collision_layer = 256
|
||||||
|
collision_mask = 65553
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube_279/StaticBody3D" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube_279/StaticBody3D" index="0"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_5i7wx")
|
shape = SubResource("ConcavePolygonShape3D_5i7wx")
|
||||||
@@ -28,12 +30,15 @@ shape = SubResource("ConcavePolygonShape3D_5i7wx")
|
|||||||
material_override = ExtResource("4_jmnc2")
|
material_override = ExtResource("4_jmnc2")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Cylinder_001" index="0"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Cylinder_001" index="0"]
|
||||||
|
collision_layer = 256
|
||||||
|
collision_mask = 65553
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cylinder_001/StaticBody3D" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cylinder_001/StaticBody3D" index="0"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_wai75")
|
shape = SubResource("ConcavePolygonShape3D_wai75")
|
||||||
|
|
||||||
[node name="Area3D" type="Area3D" parent="." index="2"]
|
[node name="Area3D" type="Area3D" parent="." index="2"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -36.343, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -36.343, 0)
|
||||||
|
collision_layer = 0
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" index="0"]
|
||||||
shape = SubResource("CylinderShape3D_wai75")
|
shape = SubResource("CylinderShape3D_wai75")
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ shader_parameter/floorRoughnessMap = ExtResource("4_rir86")
|
|||||||
shader_parameter/floorNormalMap = ExtResource("3_f1b6h")
|
shader_parameter/floorNormalMap = ExtResource("3_f1b6h")
|
||||||
shader_parameter/floorHeightMap = ExtResource("2_0e3id")
|
shader_parameter/floorHeightMap = ExtResource("2_0e3id")
|
||||||
shader_parameter/floorUvScale = 0.5
|
shader_parameter/floorUvScale = 0.5
|
||||||
shader_parameter/enablePom = true
|
shader_parameter/enablePom = false
|
||||||
shader_parameter/heightMinLayers = 8
|
shader_parameter/heightMinLayers = 8
|
||||||
shader_parameter/heightMaxLayers = 64
|
shader_parameter/heightMaxLayers = 64
|
||||||
shader_parameter/heightScale = 0.08
|
shader_parameter/heightScale = 0.08
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ uniform float heightScale = 1.0;
|
|||||||
|
|
||||||
varying vec3 worldPos;
|
varying vec3 worldPos;
|
||||||
varying vec3 worldNormal;
|
varying vec3 worldNormal;
|
||||||
|
varying vec3 diffuse;
|
||||||
|
|
||||||
|
|
||||||
void vertex() {
|
void vertex() {
|
||||||
@@ -177,12 +178,14 @@ void fragment() {
|
|||||||
// sample and output
|
// sample and output
|
||||||
SPECULAR = specular;
|
SPECULAR = specular;
|
||||||
ALBEDO = triplanarSample(texCoordX, texCoordY, texCoordZ, blend, yDot).rgb;
|
ALBEDO = triplanarSample(texCoordX, texCoordY, texCoordZ, blend, yDot).rgb;
|
||||||
|
diffuse = ALBEDO;
|
||||||
ROUGHNESS = triplanarRoughness(texCoordX, texCoordY, texCoordZ, blend, yDot).r;
|
ROUGHNESS = triplanarRoughness(texCoordX, texCoordY, texCoordZ, blend, yDot).r;
|
||||||
NORMAL = mix(worldNormal, triplanarNormal(yDot, texCoordX, texCoordY, texCoordZ, blend), normalMapStrength);
|
NORMAL = mix(worldNormal, triplanarNormal(yDot, texCoordX, texCoordY, texCoordZ, blend), normalMapStrength);
|
||||||
NORMAL = normalize((VIEW_MATRIX * vec4(NORMAL, 0.0)).xyz);
|
NORMAL = normalize((VIEW_MATRIX * vec4(NORMAL, 0.0)).xyz);
|
||||||
}
|
}
|
||||||
|
|
||||||
//void light() {
|
void light() {
|
||||||
// // Called for every pixel for every light affecting the material.
|
float lambert = clamp(dot(NORMAL, LIGHT), 0.0, 1.0);
|
||||||
// // Uncomment to replace the default light processing function with this one.
|
float halfLambert = pow(lambert*0.5 + 0.5, 5);
|
||||||
//}
|
DIFFUSE_LIGHT += halfLambert * ATTENUATION * LIGHT_COLOR / PI;
|
||||||
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ shader_parameter/floorRoughnessMap = ExtResource("4_4vhk1")
|
|||||||
shader_parameter/floorNormalMap = ExtResource("3_ytvoj")
|
shader_parameter/floorNormalMap = ExtResource("3_ytvoj")
|
||||||
shader_parameter/floorHeightMap = ExtResource("2_4vhk1")
|
shader_parameter/floorHeightMap = ExtResource("2_4vhk1")
|
||||||
shader_parameter/floorUvScale = 0.5
|
shader_parameter/floorUvScale = 0.5
|
||||||
shader_parameter/enablePom = true
|
shader_parameter/enablePom = false
|
||||||
shader_parameter/heightMinLayers = 8
|
shader_parameter/heightMinLayers = 8
|
||||||
shader_parameter/heightMaxLayers = 64
|
shader_parameter/heightMaxLayers = 64
|
||||||
shader_parameter/heightScale = 0.2
|
shader_parameter/heightScale = 0.2
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ shader_parameter/floorRoughnessMap = ExtResource("4_ob11h")
|
|||||||
shader_parameter/floorNormalMap = ExtResource("3_ff2cr")
|
shader_parameter/floorNormalMap = ExtResource("3_ff2cr")
|
||||||
shader_parameter/floorHeightMap = ExtResource("2_roy1o")
|
shader_parameter/floorHeightMap = ExtResource("2_roy1o")
|
||||||
shader_parameter/floorUvScale = 0.5
|
shader_parameter/floorUvScale = 0.5
|
||||||
shader_parameter/enablePom = true
|
shader_parameter/enablePom = false
|
||||||
shader_parameter/heightMinLayers = 8
|
shader_parameter/heightMinLayers = 8
|
||||||
shader_parameter/heightMaxLayers = 64
|
shader_parameter/heightMaxLayers = 64
|
||||||
shader_parameter/heightScale = 1.0
|
shader_parameter/heightScale = 1.0
|
||||||
|
|||||||
1
assets/swords/License.txt
Normal file
1
assets/swords/License.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
https://craftpix.net/file-licenses/
|
||||||
BIN
assets/swords/fbx/Texture_MAp_sword.png
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/Texture_MAp_sword.png
(Stored with Git LFS)
Normal file
Binary file not shown.
42
assets/swords/fbx/Texture_MAp_sword.png.import
Normal file
42
assets/swords/fbx/Texture_MAp_sword.png.import
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://qtu5ue4ixkwm"
|
||||||
|
path.s3tc="res://.godot/imported/Texture_MAp_sword.png-2af3c78c4883b079065f66f1feac90e4.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Texture_MAp_sword.png-2af3c78c4883b079065f66f1feac90e4.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/Texture_MAp_sword.png"
|
||||||
|
dest_files=["res://.godot/imported/Texture_MAp_sword.png-2af3c78c4883b079065f66f1feac90e4.s3tc.ctex", "res://.godot/imported/Texture_MAp_sword.png-2af3c78c4883b079065f66f1feac90e4.etc2.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
|
||||||
BIN
assets/swords/fbx/_sword_1.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_1.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_1.fbx.import
Normal file
44
assets/swords/fbx/_sword_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://pgd71ofvqsmf"
|
||||||
|
path="res://.godot/imported/_sword_1.fbx-4fe48a2bb63be1f77a3cf7c7a5c46a2d.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_1.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_1.fbx-4fe48a2bb63be1f77a3cf7c7a5c46a2d.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_10.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_10.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_10.fbx.import
Normal file
44
assets/swords/fbx/_sword_10.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dc867it2djc0j"
|
||||||
|
path="res://.godot/imported/_sword_10.fbx-26a7b1fe725211263b2c77d9a7dc6a5a.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_10.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_10.fbx-26a7b1fe725211263b2c77d9a7dc6a5a.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_11.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_11.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_11.fbx.import
Normal file
44
assets/swords/fbx/_sword_11.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b817njxdpygk4"
|
||||||
|
path="res://.godot/imported/_sword_11.fbx-6b498f728a419e5cdf7015937648dc0c.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_11.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_11.fbx-6b498f728a419e5cdf7015937648dc0c.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_12.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_12.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_12.fbx.import
Normal file
44
assets/swords/fbx/_sword_12.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://vfwwh86wf1ds"
|
||||||
|
path="res://.godot/imported/_sword_12.fbx-2e156e5fe829c5a90f46f02befc39030.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_12.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_12.fbx-2e156e5fe829c5a90f46f02befc39030.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_13.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_13.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_13.fbx.import
Normal file
44
assets/swords/fbx/_sword_13.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bdo4w8qjps8k1"
|
||||||
|
path="res://.godot/imported/_sword_13.fbx-0a46eb67177c7e5eef79859c7c94d975.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_13.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_13.fbx-0a46eb67177c7e5eef79859c7c94d975.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_15.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_15.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_15.fbx.import
Normal file
44
assets/swords/fbx/_sword_15.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bo14ktg303cci"
|
||||||
|
path="res://.godot/imported/_sword_15.fbx-c121fcd47cad6f0460d63d2867e3fecd.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_15.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_15.fbx-c121fcd47cad6f0460d63d2867e3fecd.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_16.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_16.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_16.fbx.import
Normal file
44
assets/swords/fbx/_sword_16.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bu55u3oj7roer"
|
||||||
|
path="res://.godot/imported/_sword_16.fbx-6c55a39e578558d03763795cf751f0e0.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_16.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_16.fbx-6c55a39e578558d03763795cf751f0e0.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_17.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_17.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_17.fbx.import
Normal file
44
assets/swords/fbx/_sword_17.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b4gescssbshia"
|
||||||
|
path="res://.godot/imported/_sword_17.fbx-b5a7ae5038b5033dcc9a27b689bdf110.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_17.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_17.fbx-b5a7ae5038b5033dcc9a27b689bdf110.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_18.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_18.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_18.fbx.import
Normal file
44
assets/swords/fbx/_sword_18.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://fm4607vrkr5l"
|
||||||
|
path="res://.godot/imported/_sword_18.fbx-eda4d9cb8bcde4d55ac99ec09b545356.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_18.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_18.fbx-eda4d9cb8bcde4d55ac99ec09b545356.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_19.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_19.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_19.fbx.import
Normal file
44
assets/swords/fbx/_sword_19.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://c8lx8075hl8cw"
|
||||||
|
path="res://.godot/imported/_sword_19.fbx-eb227611876b1946d2773f4e1a392c73.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_19.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_19.fbx-eb227611876b1946d2773f4e1a392c73.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_2.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_2.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_2.fbx.import
Normal file
44
assets/swords/fbx/_sword_2.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dw35utjjm8gb6"
|
||||||
|
path="res://.godot/imported/_sword_2.fbx-75c5e721ad94d604d3e69e3919dbb3c5.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_2.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_2.fbx-75c5e721ad94d604d3e69e3919dbb3c5.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_20.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_20.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_20.fbx.import
Normal file
44
assets/swords/fbx/_sword_20.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dc65lwlhqbmqd"
|
||||||
|
path="res://.godot/imported/_sword_20.fbx-0617cc5a77fb88a346d20ddf46355225.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_20.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_20.fbx-0617cc5a77fb88a346d20ddf46355225.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_21.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_21.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_21.fbx.import
Normal file
44
assets/swords/fbx/_sword_21.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://wawgl6e0h6tj"
|
||||||
|
path="res://.godot/imported/_sword_21.fbx-7200ded408f5953cbc70877022c333a5.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_21.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_21.fbx-7200ded408f5953cbc70877022c333a5.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_22.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_22.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_22.fbx.import
Normal file
44
assets/swords/fbx/_sword_22.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b0x5klx5auig6"
|
||||||
|
path="res://.godot/imported/_sword_22.fbx-c6ed8d5dbb3050e43ea62d2e5ccc565c.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_22.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_22.fbx-c6ed8d5dbb3050e43ea62d2e5ccc565c.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_23.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_23.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_23.fbx.import
Normal file
44
assets/swords/fbx/_sword_23.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dqmfrrbc3ewal"
|
||||||
|
path="res://.godot/imported/_sword_23.fbx-493172d63aace2a9301836d894a62890.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_23.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_23.fbx-493172d63aace2a9301836d894a62890.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_24.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_24.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_24.fbx.import
Normal file
44
assets/swords/fbx/_sword_24.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b1qfs4yugw3ph"
|
||||||
|
path="res://.godot/imported/_sword_24.fbx-0adbb8989d27c2a804efc391a50e4c7b.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_24.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_24.fbx-0adbb8989d27c2a804efc391a50e4c7b.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_3.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_3.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_3.fbx.import
Normal file
44
assets/swords/fbx/_sword_3.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://sdufabwshlrj"
|
||||||
|
path="res://.godot/imported/_sword_3.fbx-04a6f1a0f269fa6ff0c8cba8aed2c8b8.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_3.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_3.fbx-04a6f1a0f269fa6ff0c8cba8aed2c8b8.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_4.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_4.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_4.fbx.import
Normal file
44
assets/swords/fbx/_sword_4.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dmiewrsn2o1xt"
|
||||||
|
path="res://.godot/imported/_sword_4.fbx-25a5609f8f6918f76d0ed4b3e8e55618.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_4.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_4.fbx-25a5609f8f6918f76d0ed4b3e8e55618.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_5.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_5.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_5.fbx.import
Normal file
44
assets/swords/fbx/_sword_5.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://brogj578mkndo"
|
||||||
|
path="res://.godot/imported/_sword_5.fbx-9d38cdd495cd4ff9bc2758f9d1e01b7e.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_5.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_5.fbx-9d38cdd495cd4ff9bc2758f9d1e01b7e.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_6.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_6.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_6.fbx.import
Normal file
44
assets/swords/fbx/_sword_6.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://tol5v11e7bhx"
|
||||||
|
path="res://.godot/imported/_sword_6.fbx-65a0a7d72918e7512792cfa786f56e6e.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_6.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_6.fbx-65a0a7d72918e7512792cfa786f56e6e.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_7.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_7.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_7.fbx.import
Normal file
44
assets/swords/fbx/_sword_7.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bag0oxbvo7ya7"
|
||||||
|
path="res://.godot/imported/_sword_7.fbx-5a2d61c3625b87c9b91bab13a45ef09e.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_7.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_7.fbx-5a2d61c3625b87c9b91bab13a45ef09e.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_8.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_8.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_8.fbx.import
Normal file
44
assets/swords/fbx/_sword_8.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b7ibkej2rcs03"
|
||||||
|
path="res://.godot/imported/_sword_8.fbx-84c74a27d77c6f3455ecd47693de31ef.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_8.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_8.fbx-84c74a27d77c6f3455ecd47693de31ef.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/_sword_9.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/_sword_9.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/_sword_9.fbx.import
Normal file
44
assets/swords/fbx/_sword_9.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://7widux5ck7kg"
|
||||||
|
path="res://.godot/imported/_sword_9.fbx-83e0a99c6bcb7a2f902fc35d3c339287.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/_sword_9.fbx"
|
||||||
|
dest_files=["res://.godot/imported/_sword_9.fbx-83e0a99c6bcb7a2f902fc35d3c339287.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
BIN
assets/swords/fbx/sword_14.fbx
(Stored with Git LFS)
Normal file
BIN
assets/swords/fbx/sword_14.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
44
assets/swords/fbx/sword_14.fbx.import
Normal file
44
assets/swords/fbx/sword_14.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://3gho2priko7i"
|
||||||
|
path="res://.godot/imported/sword_14.fbx-43a1e42a5de4603e1b903e8a8848e2b4.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/fbx/sword_14.fbx"
|
||||||
|
dest_files=["res://.godot/imported/sword_14.fbx-43a1e42a5de4603e1b903e8a8848e2b4.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=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=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={}
|
||||||
|
fbx/importer=0
|
||||||
|
fbx/allow_geometry_helper_nodes=false
|
||||||
|
fbx/embedded_image_handling=1
|
||||||
|
fbx/naming_version=2
|
||||||
2
assets/swords/readme.txt
Normal file
2
assets/swords/readme.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Font that was used for the background of the preview:
|
||||||
|
https://www.dafont.com/the-bold-font.font
|
||||||
13
assets/swords/resources/first_person_material.tres
Normal file
13
assets/swords/resources/first_person_material.tres
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://buevqo8w8fq75"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://qtu5ue4ixkwm" path="res://assets/swords/fbx/Texture_MAp_sword.png" id="1_ke6g8"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
resource_name = "Sword_mat_map"
|
||||||
|
vertex_color_use_as_albedo = true
|
||||||
|
albedo_texture = ExtResource("1_ke6g8")
|
||||||
|
emission_enabled = true
|
||||||
|
use_z_clip_scale = true
|
||||||
|
z_clip_scale = 0.5
|
||||||
|
use_fov_override = true
|
||||||
|
fov_override = 30.0
|
||||||
45
assets/swords/resources/fp_sword23.tres
Normal file
45
assets/swords/resources/fp_sword23.tres
Normal file
File diff suppressed because one or more lines are too long
43
assets/swords/resources/sword23.tres
Normal file
43
assets/swords/resources/sword23.tres
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/swords/texture/Texture_MAp_sword.png
(Stored with Git LFS)
Normal file
BIN
assets/swords/texture/Texture_MAp_sword.png
(Stored with Git LFS)
Normal file
Binary file not shown.
40
assets/swords/texture/Texture_MAp_sword.png.import
Normal file
40
assets/swords/texture/Texture_MAp_sword.png.import
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://br8gpitkrtroi"
|
||||||
|
path="res://.godot/imported/Texture_MAp_sword.png-5d2e59afea3d1af36913e0e3757cf603.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/swords/texture/Texture_MAp_sword.png"
|
||||||
|
dest_files=["res://.godot/imported/Texture_MAp_sword.png-5d2e59afea3d1af36913e0e3757cf603.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
|
||||||
Binary file not shown.
Binary file not shown.
23
components/damage/CDamageable.cs
Normal file
23
components/damage/CDamageable.cs
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class CDamageable : Node, IDamageable
|
||||||
|
{
|
||||||
|
public event Action<IDamageable, DamageRecord> DamageTaken;
|
||||||
|
|
||||||
|
[Export]
|
||||||
|
public RDamageModifier[] DamageModifiers { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public DamageRecord TakeDamage(DamageRecord damageRecord)
|
||||||
|
{
|
||||||
|
var finalDamage = 0f;
|
||||||
|
foreach (var damageable in DamageModifiers.ToIDamageables())
|
||||||
|
finalDamage += damageable.TakeDamage(damageRecord).Damage.DamageDealt;
|
||||||
|
var finalDamageRecord = damageRecord with { Damage = new RDamage(finalDamage, damageRecord.Damage.DamageType) };
|
||||||
|
DamageTaken?.Invoke(this, finalDamageRecord);
|
||||||
|
return finalDamageRecord;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/damage/CDamageable.cs.uid
Normal file
1
components/damage/CDamageable.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://b0u23nkpaimyc
|
||||||
6
components/damage/CDamageable.tscn
Normal file
6
components/damage/CDamageable.tscn
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://hpsg4fqwrx1u"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://b0u23nkpaimyc" path="res://components/damage/CDamageable.cs" id="1_qp8bd"]
|
||||||
|
|
||||||
|
[node name="CDamageable" type="Node"]
|
||||||
|
script = ExtResource("1_qp8bd")
|
||||||
24
components/damage/RDamage.cs
Normal file
24
components/damage/RDamage.cs
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
using Movementtests.systems.damage;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class RDamage : Resource
|
||||||
|
{
|
||||||
|
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||||
|
public float DamageDealt = 1.0f;
|
||||||
|
|
||||||
|
[Export]
|
||||||
|
public EDamageTypes DamageType = EDamageTypes.Normal;
|
||||||
|
|
||||||
|
public RDamage()
|
||||||
|
{
|
||||||
|
DamageDealt = 1.0f;
|
||||||
|
DamageType = EDamageTypes.Normal;
|
||||||
|
}
|
||||||
|
public RDamage(float damageDealt, EDamageTypes damageType)
|
||||||
|
{
|
||||||
|
DamageDealt = damageDealt;
|
||||||
|
DamageType = damageType;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/damage/RDamage.cs.uid
Normal file
1
components/damage/RDamage.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://jitubgv6judn
|
||||||
37
components/damage/RDamageModifier.cs
Normal file
37
components/damage/RDamageModifier.cs
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
using Movementtests.systems.damage;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class RDamageModifier : Resource, IDamageable
|
||||||
|
{
|
||||||
|
public event Action<IDamageable, DamageRecord> DamageTaken;
|
||||||
|
|
||||||
|
[Export]
|
||||||
|
public EDamageTypes DamageType = EDamageTypes.Normal;
|
||||||
|
[Export]
|
||||||
|
public float Modifier = 1.0f;
|
||||||
|
|
||||||
|
public RDamageModifier()
|
||||||
|
{
|
||||||
|
Modifier = 1.0f;
|
||||||
|
DamageType = EDamageTypes.Normal;
|
||||||
|
}
|
||||||
|
public RDamageModifier(EDamageTypes damageType, float modifier)
|
||||||
|
{
|
||||||
|
Modifier = modifier;
|
||||||
|
DamageType = damageType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public DamageRecord TakeDamage(DamageRecord damageRecord)
|
||||||
|
{
|
||||||
|
if (damageRecord.Damage.DamageType != DamageType)
|
||||||
|
return damageRecord with { Damage = new RDamage(0, damageRecord.Damage.DamageType) };
|
||||||
|
|
||||||
|
var finalDamage = damageRecord.Damage.DamageDealt * Modifier;
|
||||||
|
var finalDamageRecord = damageRecord with { Damage = new RDamage(finalDamage, damageRecord.Damage.DamageType) };
|
||||||
|
DamageTaken?.Invoke(this, finalDamageRecord);
|
||||||
|
return finalDamageRecord;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/damage/RDamageModifier.cs.uid
Normal file
1
components/damage/RDamageModifier.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://b6y3ugfydvch0
|
||||||
33
components/health/CHealth.cs
Normal file
33
components/health/CHealth.cs
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class CHealth : Node, IHealthable
|
||||||
|
{
|
||||||
|
public event Action<IHealthable, float> HealthChanged;
|
||||||
|
public event Action<IHealthable> HealthDepleted;
|
||||||
|
|
||||||
|
[Export]
|
||||||
|
public RHealth RHealth { get; set; }
|
||||||
|
|
||||||
|
public float CurrentHealth { get; set; }
|
||||||
|
|
||||||
|
public override void _Ready()
|
||||||
|
{
|
||||||
|
CurrentHealth = RHealth.StartingHealth;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ReduceHealth(IDamageable source, DamageRecord damageRecord)
|
||||||
|
{
|
||||||
|
GD.Print(CurrentHealth);
|
||||||
|
CurrentHealth -= damageRecord.Damage.DamageDealt;
|
||||||
|
HealthChanged?.Invoke(this, CurrentHealth);
|
||||||
|
|
||||||
|
if (CurrentHealth <= 0)
|
||||||
|
{
|
||||||
|
CurrentHealth = 0;
|
||||||
|
HealthDepleted?.Invoke(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/health/CHealth.cs.uid
Normal file
1
components/health/CHealth.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://bjwrpv3jpsc1e
|
||||||
6
components/health/CHealth.tscn
Normal file
6
components/health/CHealth.tscn
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://c4ikbhojckpnc"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://bjwrpv3jpsc1e" path="res://components/health/CHealth.cs" id="1_75uyt"]
|
||||||
|
|
||||||
|
[node name="CHealth" type="Node"]
|
||||||
|
script = ExtResource("1_75uyt")
|
||||||
12
components/health/RDeathEffect.cs
Normal file
12
components/health/RDeathEffect.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class RDeathEffect : Resource, IKillable
|
||||||
|
{
|
||||||
|
public void Kill(IHealthable source)
|
||||||
|
{
|
||||||
|
GD.Print($"Death Effect triggered on {source}");
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/health/RDeathEffect.cs.uid
Normal file
1
components/health/RDeathEffect.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://b4cwruitopcee
|
||||||
20
components/health/RHealth.cs
Normal file
20
components/health/RHealth.cs
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class RHealth : Resource
|
||||||
|
{
|
||||||
|
[Export]
|
||||||
|
public float StartingHealth = 100.0f;
|
||||||
|
|
||||||
|
public RHealth()
|
||||||
|
{
|
||||||
|
StartingHealth = 100.0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
public RHealth(float startingHealth)
|
||||||
|
{
|
||||||
|
StartingHealth = startingHealth;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/health/RHealth.cs.uid
Normal file
1
components/health/RHealth.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://baiapod3csndf
|
||||||
25
components/knockback/CKnockback.cs
Normal file
25
components/knockback/CKnockback.cs
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class CKnockback : Node3D, IKnockbackable
|
||||||
|
{
|
||||||
|
[Export] public RKnockback RKnockback { get; set;}
|
||||||
|
|
||||||
|
private DamageRecord _damageRecord = null;
|
||||||
|
|
||||||
|
public void RegisterKnockback(IDamageable source, DamageRecord damageRecord)
|
||||||
|
{
|
||||||
|
_damageRecord = damageRecord;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vector3 ComputeKnockback()
|
||||||
|
{
|
||||||
|
if (_damageRecord == null) return Vector3.Zero;
|
||||||
|
|
||||||
|
var knockbackDirection = GlobalPosition - _damageRecord.Source.GlobalPosition;
|
||||||
|
_damageRecord = null;
|
||||||
|
return knockbackDirection.Normalized() * RKnockback.Modifier;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/knockback/CKnockback.cs.uid
Normal file
1
components/knockback/CKnockback.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://b8dprpcjeac7e
|
||||||
12
components/knockback/CKnockback.tscn
Normal file
12
components/knockback/CKnockback.tscn
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://bctpe34ddamg5"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://b8dprpcjeac7e" path="res://components/knockback/CKnockback.cs" id="1_ix2yg"]
|
||||||
|
[ext_resource type="Script" uid="uid://b44cse62qru7j" path="res://components/knockback/RKnockback.cs" id="2_uqiml"]
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_gbu2d"]
|
||||||
|
script = ExtResource("2_uqiml")
|
||||||
|
metadata/_custom_type_script = "uid://b44cse62qru7j"
|
||||||
|
|
||||||
|
[node name="CKnockback" type="Node3D"]
|
||||||
|
script = ExtResource("1_ix2yg")
|
||||||
|
RKnockback = SubResource("Resource_gbu2d")
|
||||||
19
components/knockback/RKnockback.cs
Normal file
19
components/knockback/RKnockback.cs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class RKnockback : Resource
|
||||||
|
{
|
||||||
|
[Export]
|
||||||
|
public float Modifier = 1.0f;
|
||||||
|
|
||||||
|
public RKnockback()
|
||||||
|
{
|
||||||
|
Modifier = 1.0f;
|
||||||
|
}
|
||||||
|
public RKnockback(float modifier)
|
||||||
|
{
|
||||||
|
Modifier = modifier;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/knockback/RKnockback.cs.uid
Normal file
1
components/knockback/RKnockback.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://b44cse62qru7j
|
||||||
61
components/movement/CFlyingMovement.cs
Normal file
61
components/movement/CFlyingMovement.cs
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
using Godot;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
namespace Movementtests.scenes.movement;
|
||||||
|
|
||||||
|
public partial class CFlyingMovement : Node3D, IMoveable
|
||||||
|
{
|
||||||
|
[Export] public RMovement RMovement { get; set; }
|
||||||
|
|
||||||
|
[Export(PropertyHint.Layers3DPhysics)]
|
||||||
|
public uint TerrainCollision { get; set; } = 1;
|
||||||
|
|
||||||
|
private bool _movingToDesiredHeight = true;
|
||||||
|
private Vector3 _randomDirection;
|
||||||
|
|
||||||
|
public override void _Ready()
|
||||||
|
{
|
||||||
|
_randomDirection = new Vector3(GD.RandRange(-1, 1), 1, GD.RandRange(-1, 1)).Normalized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vector3 ComputeVelocity(MovementInputs inputs)
|
||||||
|
{
|
||||||
|
var velocity = inputs.Velocity;
|
||||||
|
var spaceState = GetWorld3D().DirectSpaceState;
|
||||||
|
var target = inputs.TargetLocation;
|
||||||
|
var direction = (target - GlobalPosition).Normalized();
|
||||||
|
// Check if we have a direct line of sight to the player
|
||||||
|
if (!_movingToDesiredHeight)
|
||||||
|
{
|
||||||
|
velocity = velocity.Lerp(direction * RMovement.Speed, (float) inputs.delta * RMovement.Acceleration);
|
||||||
|
|
||||||
|
var query = PhysicsRayQueryParameters3D.Create(GlobalPosition, target, TerrainCollision);
|
||||||
|
var result = spaceState.IntersectRay(query);
|
||||||
|
if (result.Count > 0)
|
||||||
|
{
|
||||||
|
_movingToDesiredHeight = true;
|
||||||
|
_randomDirection = new Vector3(GD.RandRange(-1, 1), 1, GD.RandRange(-1, 1)).Normalized();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
velocity = velocity.Lerp(_randomDirection * RMovement.Speed, (float) inputs.delta * RMovement.Acceleration);
|
||||||
|
|
||||||
|
var groundQuery = PhysicsRayQueryParameters3D.Create(GlobalPosition, GlobalPosition+Vector3.Down*RMovement.TargetHeight, TerrainCollision);
|
||||||
|
var groundResult = spaceState.IntersectRay(groundQuery);
|
||||||
|
if (groundResult.Count == 0)
|
||||||
|
{
|
||||||
|
velocity.Y = 0;
|
||||||
|
|
||||||
|
var query = PhysicsRayQueryParameters3D.Create(GlobalPosition, target, TerrainCollision);
|
||||||
|
var result = spaceState.IntersectRay(query);
|
||||||
|
if (result.Count == 0)
|
||||||
|
{
|
||||||
|
_movingToDesiredHeight = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return velocity;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/movement/CFlyingMovement.cs.uid
Normal file
1
components/movement/CFlyingMovement.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://cps1rbkxs3nvq
|
||||||
7
components/movement/CFlyingMovement.tscn
Normal file
7
components/movement/CFlyingMovement.tscn
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://dmw5ibwrb483f"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://cps1rbkxs3nvq" path="res://components/movement/CFlyingMovement.cs" id="1_i26q2"]
|
||||||
|
|
||||||
|
[node name="CFlyingMovement" type="Node3D"]
|
||||||
|
script = ExtResource("1_i26q2")
|
||||||
|
CollisionMask = 256
|
||||||
34
components/movement/CGroundedMovement.cs
Normal file
34
components/movement/CGroundedMovement.cs
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
using Godot;
|
||||||
|
using Movementtests.interfaces;
|
||||||
|
|
||||||
|
namespace Movementtests.scenes.movement;
|
||||||
|
|
||||||
|
public partial class CGroundedMovement : Node3D, IMoveable
|
||||||
|
{
|
||||||
|
[Export] public RMovement RMovement { get; set; }
|
||||||
|
|
||||||
|
[Export]
|
||||||
|
public RayCast3D WallInFrontRayCast { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public Vector3 ComputeVelocity(MovementInputs inputs)
|
||||||
|
{
|
||||||
|
var velocity = inputs.Velocity;
|
||||||
|
var target = inputs.TargetLocation;
|
||||||
|
var direction = (target - GlobalPosition).Normalized();
|
||||||
|
|
||||||
|
var targetPlane = new Vector3(target.X, GlobalPosition.Y, target.Z);
|
||||||
|
LookAt(targetPlane);
|
||||||
|
float xAcc = (float) Mathf.Lerp(velocity.X, direction.X * RMovement.Speed, inputs.delta * RMovement.Acceleration);
|
||||||
|
float zAcc = (float) Mathf.Lerp(velocity.Z, direction.Z * RMovement.Speed, inputs.delta * RMovement.Acceleration);
|
||||||
|
velocity.X = xAcc;
|
||||||
|
velocity.Z = zAcc;
|
||||||
|
|
||||||
|
if (WallInFrontRayCast.IsColliding())
|
||||||
|
velocity.Y = RMovement.Speed;
|
||||||
|
else if (!inputs.isOnFloor)
|
||||||
|
velocity += inputs.gravity * (float)inputs.delta * RMovement.GravityModifier;
|
||||||
|
|
||||||
|
return velocity;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/movement/CGroundedMovement.cs.uid
Normal file
1
components/movement/CGroundedMovement.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://bdag2eeixw2lt
|
||||||
6
components/movement/CGroundedMovement.tscn
Normal file
6
components/movement/CGroundedMovement.tscn
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://dbr7ioio158ew"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://bdag2eeixw2lt" path="res://components/movement/CGroundedMovement.cs" id="1_e0agf"]
|
||||||
|
|
||||||
|
[node name="CGroundedMovement" type="Node3D"]
|
||||||
|
script = ExtResource("1_e0agf")
|
||||||
31
components/movement/RMovement.cs
Normal file
31
components/movement/RMovement.cs
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
[GlobalClass]
|
||||||
|
public partial class RMovement : Resource
|
||||||
|
{
|
||||||
|
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||||
|
public float Speed { get; set;}
|
||||||
|
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||||
|
public float Acceleration { get; set;}
|
||||||
|
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||||
|
public float GravityModifier { get; set;}
|
||||||
|
|
||||||
|
[Export(PropertyHint.Range, "0,20,1,or_greater")]
|
||||||
|
public float TargetHeight { get; set;}
|
||||||
|
|
||||||
|
public RMovement()
|
||||||
|
{
|
||||||
|
Speed = 3.0f;
|
||||||
|
Acceleration = 1.0f;
|
||||||
|
GravityModifier = 1.0f;
|
||||||
|
TargetHeight = 10.0f;
|
||||||
|
}
|
||||||
|
public RMovement(float speed, float acceleration, float gravityModifier, float targetHeight)
|
||||||
|
{
|
||||||
|
Speed = speed;
|
||||||
|
Acceleration = acceleration;
|
||||||
|
GravityModifier = gravityModifier;
|
||||||
|
TargetHeight = targetHeight;
|
||||||
|
}
|
||||||
|
}
|
||||||
1
components/movement/RMovement.cs.uid
Normal file
1
components/movement/RMovement.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://dtpxijlnb2c5
|
||||||
9
interfaces/IDamageDealer.cs
Normal file
9
interfaces/IDamageDealer.cs
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
using Godot;
|
||||||
|
|
||||||
|
namespace Movementtests.interfaces;
|
||||||
|
|
||||||
|
public interface IDamageDealer
|
||||||
|
{
|
||||||
|
[Export]
|
||||||
|
RDamage RDamage { get; set; }
|
||||||
|
}
|
||||||
1
interfaces/IDamageDealer.cs.uid
Normal file
1
interfaces/IDamageDealer.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://wdqo51131g5
|
||||||
12
interfaces/IDamageable.cs
Normal file
12
interfaces/IDamageable.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using Godot;
|
||||||
|
|
||||||
|
namespace Movementtests.interfaces;
|
||||||
|
|
||||||
|
public record DamageRecord(Node3D Source, RDamage Damage);
|
||||||
|
|
||||||
|
public interface IDamageable
|
||||||
|
{
|
||||||
|
event Action<IDamageable, DamageRecord> DamageTaken;
|
||||||
|
DamageRecord TakeDamage(DamageRecord damageRecord);
|
||||||
|
}
|
||||||
1
interfaces/IDamageable.cs.uid
Normal file
1
interfaces/IDamageable.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://cf56b2ep3bu3j
|
||||||
16
interfaces/IHealthable.cs
Normal file
16
interfaces/IHealthable.cs
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
using System;
|
||||||
|
using Godot;
|
||||||
|
|
||||||
|
namespace Movementtests.interfaces;
|
||||||
|
|
||||||
|
public interface IHealthable
|
||||||
|
{
|
||||||
|
event Action<IHealthable, float> HealthChanged;
|
||||||
|
event Action<IHealthable> HealthDepleted;
|
||||||
|
|
||||||
|
[Export] RHealth RHealth { get; set; }
|
||||||
|
|
||||||
|
float CurrentHealth { get; set; }
|
||||||
|
|
||||||
|
void ReduceHealth(IDamageable source, DamageRecord damageRecord);
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user