Model dependecies

This commit is contained in:
Lucas 2025-03-21 15:37:49 +01:00
parent 81efd2dc05
commit e651530751
No known key found for this signature in database
13 changed files with 366 additions and 0 deletions

View file

@ -0,0 +1,92 @@
[gd_scene load_steps=5 format=3 uid="uid://chcjbpt2tr5k3"]
[ext_resource type="PackedScene" uid="uid://blvypcnmmpsvp" path="res://kaykit/medieval/building_watermill_red.fbx" id="1_5bu2t"]
[sub_resource type="Animation" id="Animation_d3502"]
length = 0.001
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("building_watermill_red/building_watermill_wheel_red:rotation:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("building_watermill_red/building_watermill_wheel_red:rotation:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/2/type = "bezier"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("building_watermill_red/building_watermill_wheel_red:rotation:z")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
[sub_resource type="Animation" id="Animation_dsco4"]
resource_name = "rotate"
length = 6.0
loop_mode = 1
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("building_watermill_red/building_watermill_wheel_red:rotation:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 1),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0, 0, 0, 0, 0),
"times": PackedFloat32Array(0, 6)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("building_watermill_red/building_watermill_wheel_red:rotation:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0, 1),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 6.28319, 0, 0, 0, 0),
"times": PackedFloat32Array(0, 6)
}
tracks/2/type = "bezier"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("building_watermill_red/building_watermill_wheel_red:rotation:z")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"handle_modes": PackedInt32Array(0, 1),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0, 0, 0, 0, 0),
"times": PackedFloat32Array(0, 6)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_lq8w4"]
_data = {
&"RESET": SubResource("Animation_d3502"),
&"rotate": SubResource("Animation_dsco4")
}
[node name="building_watermill_red" instance=ExtResource("1_5bu2t")]
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="1"]
libraries = {
&"": SubResource("AnimationLibrary_lq8w4")
}
autoplay = "rotate"
speed_scale = 0.3

Binary file not shown.

View file

@ -0,0 +1,45 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://blvypcnmmpsvp"
path="res://.godot/imported/building_watermill_red.fbx-7345b69046eda6efdb7672ac6a663e59.scn"
[deps]
source_file="res://kaykit/medieval/building_watermill_red.fbx"
dest_files=["res://.godot/imported/building_watermill_red.fbx-7345b69046eda6efdb7672ac6a663e59.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
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=""
_subresources={
"materials": {
"hexagons_medieval": {
"use_external/enabled": true,
"use_external/path": "uid://dhfhtdg38t3vn"
}
}
}
fbx/importer=0
fbx/allow_geometry_helper_nodes=false
fbx/embedded_image_handling=1

Binary file not shown.

View file

@ -0,0 +1,45 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://j4cu75dnf3u8"
path="res://.godot/imported/building_well_red.fbx-754a515c4ff6779f54ba1d8fcd3a6886.scn"
[deps]
source_file="res://kaykit/medieval/building_well_red.fbx"
dest_files=["res://.godot/imported/building_well_red.fbx-754a515c4ff6779f54ba1d8fcd3a6886.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
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=""
_subresources={
"materials": {
"hexagons_medieval": {
"use_external/enabled": true,
"use_external/path": "uid://dhfhtdg38t3vn"
}
}
}
fbx/importer=0
fbx/allow_geometry_helper_nodes=false
fbx/embedded_image_handling=1

View file

@ -0,0 +1,61 @@
[gd_scene load_steps=6 format=3 uid="uid://cpykugh40l23q"]
[ext_resource type="PackedScene" uid="uid://wpexb31jqpus" path="res://kaykit/medieval/building_windmill_red.fbx" id="1_4px51"]
[sub_resource type="GDScript" id="GDScript_4px51"]
script/source = "extends Node3D
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
"
[sub_resource type="Animation" id="Animation_8rf6h"]
length = 0.001
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("building_windmill_red/building_windmill_top_red/building_windmill_top_fan_red:rotation:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
[sub_resource type="Animation" id="Animation_wweoy"]
resource_name = "rotation"
length = 3.0
loop_mode = 1
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("building_windmill_red/building_windmill_top_red/building_windmill_top_fan_red:rotation:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 1),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 6.28319, 0, 0, 0, 0),
"times": PackedFloat32Array(0, 3)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_tvuvn"]
_data = {
&"RESET": SubResource("Animation_8rf6h"),
&"rotation": SubResource("Animation_wweoy")
}
[node name="building_windmill_red" instance=ExtResource("1_4px51")]
script = SubResource("GDScript_4px51")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="1"]
libraries = {
&"": SubResource("AnimationLibrary_tvuvn")
}
autoplay = "rotation"
speed_scale = 0.3

Binary file not shown.

View file

@ -0,0 +1,45 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://wpexb31jqpus"
path="res://.godot/imported/building_windmill_red.fbx-31f0a1aa20abacd2dc63b8cae038b9f0.scn"
[deps]
source_file="res://kaykit/medieval/building_windmill_red.fbx"
dest_files=["res://.godot/imported/building_windmill_red.fbx-31f0a1aa20abacd2dc63b8cae038b9f0.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=3
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=false
animation/fps=30
animation/trimming=true
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={
"materials": {
"hexagons_medieval": {
"use_external/enabled": true,
"use_external/path": "uid://dhfhtdg38t3vn"
}
}
}
fbx/importer=0
fbx/allow_geometry_helper_nodes=false
fbx/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dgo00icnq8glk"
path.s3tc="res://.godot/imported/hexagons_medieval.png-45fcd5331f1cd93d05c9317850125690.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://kaykit/medieval/hexagons_medieval.png"
dest_files=["res://.godot/imported/hexagons_medieval.png-45fcd5331f1cd93d05c9317850125690.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,7 @@
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://dhfhtdg38t3vn"]
[ext_resource type="Shader" uid="uid://dfyxt0qiimfej" path="res://kaykit/medieval/medieval_shader_code.tres" id="1_nnku5"]
[resource]
render_priority = 0
shader = ExtResource("1_nnku5")

View file

@ -0,0 +1,32 @@
[gd_resource type="VisualShader" load_steps=3 format=3 uid="uid://dfyxt0qiimfej"]
[ext_resource type="Texture2D" uid="uid://dgo00icnq8glk" path="res://kaykit/medieval/hexagons_medieval.png" id="1_y2qsf"]
[sub_resource type="VisualShaderNodeTexture" id="VisualShaderNodeTexture_stlk6"]
texture = ExtResource("1_y2qsf")
[resource]
code = "shader_type spatial;
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_toon, specular_toon;
uniform sampler2D tex_frg_4;
void fragment() {
// Texture2D:4
vec4 n_out4p0 = texture(tex_frg_4, UV);
// Output:0
ALBEDO = vec3(n_out4p0.xyz);
}
"
graph_offset = Vector2(-51.1487, -3.26273)
modes/diffuse = 3
modes/specular = 1
nodes/fragment/4/node = SubResource("VisualShaderNodeTexture_stlk6")
nodes/fragment/4/position = Vector2(-120, 160)
nodes/fragment/connections = PackedInt32Array(4, 0, 0, 0)

View file

@ -0,0 +1,4 @@
[gd_resource type="BoneMap" format=3 uid="uid://cngb8pqnno5k4"]
[resource]
bonemap = null