Adding basic setup for a textured zone with Zylann addon

This commit is contained in:
yannk 2022-01-16 21:01:09 +01:00
parent 0527866fc6
commit c93130ca49
65 changed files with 723 additions and 128 deletions

View file

@ -2,26 +2,28 @@
importer="texture"
type="StreamTexture"
path="res://.import/Caustic.png-2fd62b970a6ef39d53463bd922e92262.stex"
path.s3tc="res://.import/Caustic.png-2fd62b970a6ef39d53463bd922e92262.s3tc.stex"
path.etc2="res://.import/Caustic.png-2fd62b970a6ef39d53463bd922e92262.etc2.stex"
metadata={
"vram_texture": false
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/decors/terrains/demo/water/textures/Caustic.png"
dest_files=[ "res://.import/Caustic.png-2fd62b970a6ef39d53463bd922e92262.stex" ]
dest_files=[ "res://.import/Caustic.png-2fd62b970a6ef39d53463bd922e92262.s3tc.stex", "res://.import/Caustic.png-2fd62b970a6ef39d53463bd922e92262.etc2.stex" ]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/repeat=true
flags/filter=true
flags/mipmaps=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
@ -30,5 +32,5 @@ process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
detect_3d=false
svg/scale=1.0

View file

@ -2,26 +2,28 @@
importer="texture"
type="StreamTexture"
path="res://.import/Foam.png-b163c6b1d629821aac7929b2cd00273a.stex"
path.s3tc="res://.import/Foam.png-b163c6b1d629821aac7929b2cd00273a.s3tc.stex"
path.etc2="res://.import/Foam.png-b163c6b1d629821aac7929b2cd00273a.etc2.stex"
metadata={
"vram_texture": false
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/decors/terrains/demo/water/textures/Foam.png"
dest_files=[ "res://.import/Foam.png-b163c6b1d629821aac7929b2cd00273a.stex" ]
dest_files=[ "res://.import/Foam.png-b163c6b1d629821aac7929b2cd00273a.s3tc.stex", "res://.import/Foam.png-b163c6b1d629821aac7929b2cd00273a.etc2.stex" ]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/repeat=true
flags/filter=true
flags/mipmaps=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
@ -30,5 +32,5 @@ process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
detect_3d=false
svg/scale=1.0

View file

@ -2,26 +2,28 @@
importer="texture"
type="StreamTexture"
path="res://.import/Water_N_A.png-567e572e64266e42c811db8f5bfd5390.stex"
path.s3tc="res://.import/Water_N_A.png-567e572e64266e42c811db8f5bfd5390.s3tc.stex"
path.etc2="res://.import/Water_N_A.png-567e572e64266e42c811db8f5bfd5390.etc2.stex"
metadata={
"vram_texture": false
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/decors/terrains/demo/water/textures/Water_N_A.png"
dest_files=[ "res://.import/Water_N_A.png-567e572e64266e42c811db8f5bfd5390.stex" ]
dest_files=[ "res://.import/Water_N_A.png-567e572e64266e42c811db8f5bfd5390.s3tc.stex", "res://.import/Water_N_A.png-567e572e64266e42c811db8f5bfd5390.etc2.stex" ]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
@ -30,5 +32,5 @@ process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
detect_3d=false
svg/scale=1.0

View file

@ -2,26 +2,28 @@
importer="texture"
type="StreamTexture"
path="res://.import/Water_N_B.png-5e0c21c187a7aa98006a3beef657b697.stex"
path.s3tc="res://.import/Water_N_B.png-5e0c21c187a7aa98006a3beef657b697.s3tc.stex"
path.etc2="res://.import/Water_N_B.png-5e0c21c187a7aa98006a3beef657b697.etc2.stex"
metadata={
"vram_texture": false
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/decors/terrains/demo/water/textures/Water_N_B.png"
dest_files=[ "res://.import/Water_N_B.png-5e0c21c187a7aa98006a3beef657b697.stex" ]
dest_files=[ "res://.import/Water_N_B.png-5e0c21c187a7aa98006a3beef657b697.s3tc.stex", "res://.import/Water_N_B.png-5e0c21c187a7aa98006a3beef657b697.etc2.stex" ]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
flags/mipmaps=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
@ -30,5 +32,5 @@ process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
detect_3d=false
svg/scale=1.0

View file

@ -2,26 +2,28 @@
importer="texture"
type="StreamTexture"
path="res://.import/Water_UV.png-d965c7dacbf371bb434ac2536263aa46.stex"
path.s3tc="res://.import/Water_UV.png-d965c7dacbf371bb434ac2536263aa46.s3tc.stex"
path.etc2="res://.import/Water_UV.png-d965c7dacbf371bb434ac2536263aa46.etc2.stex"
metadata={
"vram_texture": false
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/decors/terrains/demo/water/textures/Water_UV.png"
dest_files=[ "res://.import/Water_UV.png-d965c7dacbf371bb434ac2536263aa46.stex" ]
dest_files=[ "res://.import/Water_UV.png-d965c7dacbf371bb434ac2536263aa46.s3tc.stex", "res://.import/Water_UV.png-d965c7dacbf371bb434ac2536263aa46.etc2.stex" ]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/repeat=true
flags/filter=true
flags/mipmaps=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
@ -30,5 +32,5 @@ process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
detect_3d=false
svg/scale=1.0

View file

@ -2,26 +2,28 @@
importer="texture"
type="StreamTexture"
path="res://.import/test_heightmap.png-563271d3ef964c2aacb5ffb0e128633c.stex"
path.s3tc="res://.import/test_heightmap.png-563271d3ef964c2aacb5ffb0e128633c.s3tc.stex"
path.etc2="res://.import/test_heightmap.png-563271d3ef964c2aacb5ffb0e128633c.etc2.stex"
metadata={
"vram_texture": false
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/decors/terrains/heightmaps/test_heightmap.png"
dest_files=[ "res://.import/test_heightmap.png-563271d3ef964c2aacb5ffb0e128633c.stex" ]
dest_files=[ "res://.import/test_heightmap.png-563271d3ef964c2aacb5ffb0e128633c.s3tc.stex", "res://.import/test_heightmap.png-563271d3ef964c2aacb5ffb0e128633c.etc2.stex" ]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/repeat=true
flags/filter=true
flags/mipmaps=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
@ -30,5 +32,5 @@ process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
detect_3d=false
svg/scale=1.0

View file

@ -2,33 +2,35 @@
importer="texture"
type="StreamTexture"
path="res://.import/plant_32.png-116e33ed0bc574dca2a9031e6fc24f8b.stex"
path.s3tc="res://.import/plant_32.png-116e33ed0bc574dca2a9031e6fc24f8b.s3tc.stex"
path.etc2="res://.import/plant_32.png-116e33ed0bc574dca2a9031e6fc24f8b.etc2.stex"
metadata={
"vram_texture": false
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/decors/vegets/leaf_001/plant_32.png"
dest_files=[ "res://.import/plant_32.png-116e33ed0bc574dca2a9031e6fc24f8b.stex" ]
dest_files=[ "res://.import/plant_32.png-116e33ed0bc574dca2a9031e6fc24f8b.s3tc.stex", "res://.import/plant_32.png-116e33ed0bc574dca2a9031e6fc24f8b.etc2.stex" ]
[params]
compress/mode=0
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/repeat=true
flags/filter=true
flags/mipmaps=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=2
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
detect_3d=false
svg/scale=1.0

View file

@ -1,28 +1,86 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=24 format=2]
[ext_resource path="res://addons/zylann.hterrain/hterrain_texture_set.gd" type="Script" id=1]
[ext_resource path="res://addons/zylann.hterrain/hterrain.gd" type="Script" id=2]
[ext_resource path="res://assets/landscape/aa_zone_data/data.hterrain" type="Resource" id=3]
[ext_resource path="res://addons/zylann.hterrain/hterrain.gd" type="Script" id=1]
[ext_resource path="res://addons/zylann.hterrain/hterrain_texture_set.gd" type="Script" id=2]
[ext_resource path="res://assets/landscape/data/aa_zone/data.hterrain" type="Resource" id=3]
[ext_resource path="res://assets/landscape/imported_textures/slot0_albedo_bump.packed_tex" type="Texture" id=4]
[ext_resource path="res://assets/landscape/imported_textures/slot2_albedo_bump.packed_tex" type="Texture" id=5]
[ext_resource path="res://assets/landscape/imported_textures/slot1_albedo_bump.packed_tex" type="Texture" id=6]
[ext_resource path="res://assets/landscape/imported_textures/slot3_albedo_bump.packed_tex" type="Texture" id=7]
[ext_resource path="res://assets/landscape/imported_textures/slot1_normal_roughness.packed_tex" type="Texture" id=8]
[ext_resource path="res://assets/landscape/imported_textures/slot2_normal_roughness.packed_tex" type="Texture" id=9]
[ext_resource path="res://assets/landscape/imported_textures/slot3_normal_roughness.packed_tex" type="Texture" id=10]
[ext_resource path="res://assets/landscape/imported_textures/slot0_normal_roughness.packed_tex" type="Texture" id=11]
[ext_resource path="res://assets/landscape/data/aa/data.hterrain" type="Resource" id=12]
[ext_resource path="res://assets/landscape/imported_textures/aa_zone_slot1_normal_roughness.packed_tex" type="Texture" id=13]
[ext_resource path="res://assets/landscape/imported_textures/aa_zone_slot2_normal_roughness.packed_tex" type="Texture" id=14]
[ext_resource path="res://assets/landscape/imported_textures/aa_zone_slot0_albedo_bump.packed_tex" type="Texture" id=15]
[ext_resource path="res://assets/landscape/imported_textures/aa_zone_slot2_albedo_bump.packed_tex" type="Texture" id=16]
[ext_resource path="res://assets/landscape/imported_textures/aa_zone_slot3_albedo_bump.packed_tex" type="Texture" id=17]
[ext_resource path="res://assets/landscape/imported_textures/aa_zone_slot1_albedo_bump.packed_tex" type="Texture" id=18]
[ext_resource path="res://assets/landscape/imported_textures/aa_zone_slot3_normal_roughness.packed_tex" type="Texture" id=19]
[ext_resource path="res://assets/landscape/imported_textures/aa_zone_slot0_normal_roughness.packed_tex" type="Texture" id=20]
[sub_resource type="Resource" id=1]
script = ExtResource( 1 )
[sub_resource type="Environment" id=2]
ambient_light_color = Color( 1, 1, 1, 1 )
[sub_resource type="Resource" id=3]
script = ExtResource( 2 )
mode = 0
textures = [ [ ], [ ] ]
textures = [ [ ExtResource( 4 ), ExtResource( 6 ), ExtResource( 5 ), ExtResource( 7 ) ], [ ExtResource( 11 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ) ] ]
[sub_resource type="Resource" id=4]
script = ExtResource( 2 )
mode = 0
textures = [ [ ExtResource( 15 ), ExtResource( 18 ), ExtResource( 16 ), ExtResource( 17 ) ], [ ExtResource( 20 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 19 ) ] ]
[node name="aa_zone" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -64, 0, -64 )
[node name="world_environment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="directional_light" type="DirectionalLight" parent="."]
transform = Transform( 0.600044, -0.445864, -0.664193, 0.358619, -0.592248, 0.72155, -0.71508, -0.671154, -0.195479, 0, 20.3141, 3.8147e-06 )
shadow_enabled = true
[node name="HTerrain" type="Spatial" parent="."]
script = ExtResource( 2 )
visible = false
script = ExtResource( 1 )
_terrain_data = ExtResource( 3 )
chunk_size = 32
collision_enabled = true
collision_layer = 1
collision_mask = 1
shader_type = "Classic4Lite"
shader_type = "Classic4"
custom_shader = null
custom_globalmap_shader = null
texture_set = SubResource( 1 )
shader_params/u_ground_uv_scale = 20
texture_set = SubResource( 3 )
render_layers = 1
shader_params/u_ground_uv_scale_per_texture = Plane( 0.5, 0.5, 0.5, 0.5 )
shader_params/u_depth_blending = true
shader_params/u_triplanar = false
shader_params/u_tile_reduction = Plane( 0, 0, 0, 0 )
shader_params/u_globalmap_blend_start = null
shader_params/u_globalmap_blend_distance = null
shader_params/u_colormap_opacity_per_texture = Plane( 1, 1, 1, 1 )
[node name="HTerrain_2" type="Spatial" parent="."]
script = ExtResource( 1 )
_terrain_data = ExtResource( 12 )
chunk_size = 32
collision_enabled = true
collision_layer = 1
collision_mask = 1
shader_type = "Classic4"
custom_shader = null
custom_globalmap_shader = null
texture_set = SubResource( 4 )
render_layers = 1
shader_params/u_ground_uv_scale_per_texture = Plane( 0.5, 0.5, 0.5, 0.5 )
shader_params/u_depth_blending = true
shader_params/u_triplanar = false
shader_params/u_tile_reduction = Plane( 1, 1, 1, 1 )
shader_params/u_globalmap_blend_start = null
shader_params/u_globalmap_blend_distance = null
shader_params/u_colormap_opacity_per_texture = Plane( 1, 1, 1, 1 )

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/color.png-6fae080325767b3a9d1e5f728d78106c.stex"
path="res://.import/color.png-d7120bb00feebe937317e5059777f5bb.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/landscape/aa_zone_data/color.png"
dest_files=[ "res://.import/color.png-6fae080325767b3a9d1e5f728d78106c.stex" ]
source_file="res://assets/landscape/data/aa/color.png"
dest_files=[ "res://.import/color.png-d7120bb00feebe937317e5059777f5bb.stex" ]
[params]

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/normal.png-60806eed38d43670ed0dcf0361a9c8e3.stex"
path="res://.import/normal.png-13779734cc0c790f9889b8a01f4c9af9.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/landscape/aa_zone_data/normal.png"
dest_files=[ "res://.import/normal.png-60806eed38d43670ed0dcf0361a9c8e3.stex" ]
source_file="res://assets/landscape/data/aa/normal.png"
dest_files=[ "res://.import/normal.png-13779734cc0c790f9889b8a01f4c9af9.stex" ]
[params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/splat.png-a4c6d4ea576969eeb7d89a38b11e3bc0.stex"
path="res://.import/splat.png-3c9707508a340fc98b51a81828d162f2.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/landscape/aa_zone_data/splat.png"
dest_files=[ "res://.import/splat.png-a4c6d4ea576969eeb7d89a38b11e3bc0.stex" ]
source_file="res://assets/landscape/data/aa/splat.png"
dest_files=[ "res://.import/splat.png-3c9707508a340fc98b51a81828d162f2.stex" ]
[params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/color.png-b4daaafdddc41ae26e13b5b443e0bb67.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/landscape/data/aa_zone/color.png"
dest_files=[ "res://.import/color.png-b4daaafdddc41ae26e13b5b443e0bb67.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View file

@ -0,0 +1,37 @@
{
"maps": [
[
{
"id": 0
}
],
[
{
"id": 0
}
],
[
{
"id": 0
}
],
[
{
"id": 0
}
],
[
],
[
],
[
],
[
]
],
"version": "0.11"
}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/normal.png-53cc851218124a42ff7856ae46b31bd4.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/landscape/data/aa_zone/normal.png"
dest_files=[ "res://.import/normal.png-53cc851218124a42ff7856ae46b31bd4.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/splat.png-a64363dd8c96147f8f8ad25d4fec8b26.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/landscape/data/aa_zone/splat.png"
dest_files=[ "res://.import/splat.png-a64363dd8c96147f8f8ad25d4fec8b26.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=0
process/fix_alpha_border=false
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View file

@ -0,0 +1,8 @@
{
"contains_albedo": true,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_grass_ad_01_height.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_grass_ad_01_basecolor.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/aa_zone_slot0_albedo_bump.packed_tex-df1e95f1bba528e3e09bf5d128ca859b.s3tc.stex"
path.etc2="res://.import/aa_zone_slot0_albedo_bump.packed_tex-df1e95f1bba528e3e09bf5d128ca859b.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/aa_zone_slot0_albedo_bump.packed_tex"
dest_files=[ "res://.import/aa_zone_slot0_albedo_bump.packed_tex-df1e95f1bba528e3e09bf5d128ca859b.s3tc.stex", "res://.import/aa_zone_slot0_albedo_bump.packed_tex-df1e95f1bba528e3e09bf5d128ca859b.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": false,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_grass_ad_01_roughness.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_grass_ad_01_normal.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/aa_zone_slot0_normal_roughness.packed_tex-b07947c744323f8208e674f9c4933bb7.s3tc.stex"
path.etc2="res://.import/aa_zone_slot0_normal_roughness.packed_tex-b07947c744323f8208e674f9c4933bb7.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/aa_zone_slot0_normal_roughness.packed_tex"
dest_files=[ "res://.import/aa_zone_slot0_normal_roughness.packed_tex-b07947c744323f8208e674f9c4933bb7.s3tc.stex", "res://.import/aa_zone_slot0_normal_roughness.packed_tex-b07947c744323f8208e674f9c4933bb7.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": true,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_forest_ground_aa_01_height.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_forest_ground_aa_01_basecolor.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/aa_zone_slot1_albedo_bump.packed_tex-006d8057fab162a4883bb5b4a0013aa0.s3tc.stex"
path.etc2="res://.import/aa_zone_slot1_albedo_bump.packed_tex-006d8057fab162a4883bb5b4a0013aa0.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/aa_zone_slot1_albedo_bump.packed_tex"
dest_files=[ "res://.import/aa_zone_slot1_albedo_bump.packed_tex-006d8057fab162a4883bb5b4a0013aa0.s3tc.stex", "res://.import/aa_zone_slot1_albedo_bump.packed_tex-006d8057fab162a4883bb5b4a0013aa0.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": false,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_forest_ground_aa_01_roughness.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_forest_ground_aa_01_normal.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/aa_zone_slot1_normal_roughness.packed_tex-6675920d47196e2edbd4cfda4e5484fb.s3tc.stex"
path.etc2="res://.import/aa_zone_slot1_normal_roughness.packed_tex-6675920d47196e2edbd4cfda4e5484fb.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/aa_zone_slot1_normal_roughness.packed_tex"
dest_files=[ "res://.import/aa_zone_slot1_normal_roughness.packed_tex-6675920d47196e2edbd4cfda4e5484fb.s3tc.stex", "res://.import/aa_zone_slot1_normal_roughness.packed_tex-6675920d47196e2edbd4cfda4e5484fb.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": true,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_gravel_aa_01_height.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_gravel_aa_01_basecolor.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/aa_zone_slot2_albedo_bump.packed_tex-ef7d275883c5c94f57dda9c36ccb995c.s3tc.stex"
path.etc2="res://.import/aa_zone_slot2_albedo_bump.packed_tex-ef7d275883c5c94f57dda9c36ccb995c.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/aa_zone_slot2_albedo_bump.packed_tex"
dest_files=[ "res://.import/aa_zone_slot2_albedo_bump.packed_tex-ef7d275883c5c94f57dda9c36ccb995c.s3tc.stex", "res://.import/aa_zone_slot2_albedo_bump.packed_tex-ef7d275883c5c94f57dda9c36ccb995c.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": false,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_gravel_aa_01_roughness.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_gravel_aa_01_normal.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/aa_zone_slot2_normal_roughness.packed_tex-da48c2acef621a7f8723f45198934b0c.s3tc.stex"
path.etc2="res://.import/aa_zone_slot2_normal_roughness.packed_tex-da48c2acef621a7f8723f45198934b0c.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/aa_zone_slot2_normal_roughness.packed_tex"
dest_files=[ "res://.import/aa_zone_slot2_normal_roughness.packed_tex-da48c2acef621a7f8723f45198934b0c.s3tc.stex", "res://.import/aa_zone_slot2_normal_roughness.packed_tex-da48c2acef621a7f8723f45198934b0c.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": true,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_ab_01_height.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_ab_01_basecolor.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/aa_zone_slot3_albedo_bump.packed_tex-ebf11f06575d0048ef2f8e496ae85d64.s3tc.stex"
path.etc2="res://.import/aa_zone_slot3_albedo_bump.packed_tex-ebf11f06575d0048ef2f8e496ae85d64.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/aa_zone_slot3_albedo_bump.packed_tex"
dest_files=[ "res://.import/aa_zone_slot3_albedo_bump.packed_tex-ebf11f06575d0048ef2f8e496ae85d64.s3tc.stex", "res://.import/aa_zone_slot3_albedo_bump.packed_tex-ebf11f06575d0048ef2f8e496ae85d64.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": false,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_ab_01_roughness.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_ab_01_normal.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/aa_zone_slot3_normal_roughness.packed_tex-964fdbe4bc793151f6d5dfd74a07648f.s3tc.stex"
path.etc2="res://.import/aa_zone_slot3_normal_roughness.packed_tex-964fdbe4bc793151f6d5dfd74a07648f.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/aa_zone_slot3_normal_roughness.packed_tex"
dest_files=[ "res://.import/aa_zone_slot3_normal_roughness.packed_tex-964fdbe4bc793151f6d5dfd74a07648f.s3tc.stex", "res://.import/aa_zone_slot3_normal_roughness.packed_tex-964fdbe4bc793151f6d5dfd74a07648f.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": true,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_grass_ad_01_height.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_grass_ad_01_basecolor.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/slot0_albedo_bump.packed_tex-09392ea93d7159e9778645777f1abd6c.s3tc.stex"
path.etc2="res://.import/slot0_albedo_bump.packed_tex-09392ea93d7159e9778645777f1abd6c.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/slot0_albedo_bump.packed_tex"
dest_files=[ "res://.import/slot0_albedo_bump.packed_tex-09392ea93d7159e9778645777f1abd6c.s3tc.stex", "res://.import/slot0_albedo_bump.packed_tex-09392ea93d7159e9778645777f1abd6c.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": false,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_grass_ad_01_roughness.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_grass_ad_01_normal.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/slot0_normal_roughness.packed_tex-ccc4ba9786307cf4173d4c9e79230968.s3tc.stex"
path.etc2="res://.import/slot0_normal_roughness.packed_tex-ccc4ba9786307cf4173d4c9e79230968.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/slot0_normal_roughness.packed_tex"
dest_files=[ "res://.import/slot0_normal_roughness.packed_tex-ccc4ba9786307cf4173d4c9e79230968.s3tc.stex", "res://.import/slot0_normal_roughness.packed_tex-ccc4ba9786307cf4173d4c9e79230968.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": true,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_forest_ground_aa_01_height.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_forest_ground_aa_01_basecolor.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/slot1_albedo_bump.packed_tex-02f535405513f8716b5cdd5d7b44136b.s3tc.stex"
path.etc2="res://.import/slot1_albedo_bump.packed_tex-02f535405513f8716b5cdd5d7b44136b.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/slot1_albedo_bump.packed_tex"
dest_files=[ "res://.import/slot1_albedo_bump.packed_tex-02f535405513f8716b5cdd5d7b44136b.s3tc.stex", "res://.import/slot1_albedo_bump.packed_tex-02f535405513f8716b5cdd5d7b44136b.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": false,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_forest_ground_aa_01_roughness.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_forest_ground_aa_01_normal.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/slot1_normal_roughness.packed_tex-65355ddd1f02fd28e606b6f8a53327e2.s3tc.stex"
path.etc2="res://.import/slot1_normal_roughness.packed_tex-65355ddd1f02fd28e606b6f8a53327e2.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/slot1_normal_roughness.packed_tex"
dest_files=[ "res://.import/slot1_normal_roughness.packed_tex-65355ddd1f02fd28e606b6f8a53327e2.s3tc.stex", "res://.import/slot1_normal_roughness.packed_tex-65355ddd1f02fd28e606b6f8a53327e2.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": true,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_gravel_aa_01_height.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_gravel_aa_01_basecolor.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/slot2_albedo_bump.packed_tex-2058b40c10f6f3ec311c4f6d09c3e91a.s3tc.stex"
path.etc2="res://.import/slot2_albedo_bump.packed_tex-2058b40c10f6f3ec311c4f6d09c3e91a.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/slot2_albedo_bump.packed_tex"
dest_files=[ "res://.import/slot2_albedo_bump.packed_tex-2058b40c10f6f3ec311c4f6d09c3e91a.s3tc.stex", "res://.import/slot2_albedo_bump.packed_tex-2058b40c10f6f3ec311c4f6d09c3e91a.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": false,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_gravel_aa_01_roughness.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_gravel_aa_01_normal.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/slot2_normal_roughness.packed_tex-1dd624203ffba81454d20021cc8a1669.s3tc.stex"
path.etc2="res://.import/slot2_normal_roughness.packed_tex-1dd624203ffba81454d20021cc8a1669.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/slot2_normal_roughness.packed_tex"
dest_files=[ "res://.import/slot2_normal_roughness.packed_tex-1dd624203ffba81454d20021cc8a1669.s3tc.stex", "res://.import/slot2_normal_roughness.packed_tex-1dd624203ffba81454d20021cc8a1669.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": true,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_ab_01_height.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_ab_01_basecolor.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/slot3_albedo_bump.packed_tex-c5c27fd17d879c957f518cf52a79e17b.s3tc.stex"
path.etc2="res://.import/slot3_albedo_bump.packed_tex-c5c27fd17d879c957f518cf52a79e17b.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/slot3_albedo_bump.packed_tex"
dest_files=[ "res://.import/slot3_albedo_bump.packed_tex-c5c27fd17d879c957f518cf52a79e17b.s3tc.stex", "res://.import/slot3_albedo_bump.packed_tex-c5c27fd17d879c957f518cf52a79e17b.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -0,0 +1,8 @@
{
"contains_albedo": false,
"resolution": 1024,
"src": {
"a": "res://addons/khanat-client-3d-textures-library/ground/base_ground_ab_01_roughness.png",
"rgb": "res://addons/khanat-client-3d-textures-library/ground/base_ground_ab_01_normal.png"
}
}

View file

@ -0,0 +1,19 @@
[remap]
importer="hterrain_packed_texture_importer"
type="StreamTexture"
path.s3tc="res://.import/slot3_normal_roughness.packed_tex-52ed7f45dd72a9022cca7b899b967f77.s3tc.stex"
path.etc2="res://.import/slot3_normal_roughness.packed_tex-52ed7f45dd72a9022cca7b899b967f77.etc2.stex"
[deps]
source_file="res://assets/landscape/imported_textures/slot3_normal_roughness.packed_tex"
dest_files=[ "res://.import/slot3_normal_roughness.packed_tex-52ed7f45dd72a9022cca7b899b967f77.s3tc.stex", "res://.import/slot3_normal_roughness.packed_tex-52ed7f45dd72a9022cca7b899b967f77.etc2.stex" ]
[params]
compress/mode=2
flags/repeat=1
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false

View file

@ -319,7 +319,7 @@ name_casing=2
[physics]
3d/physics_engine="GodotPhysics"
3d/physics_engine="Bullet"
[rendering]

View file

@ -7,42 +7,6 @@ extends Spatial
# var list_creature = []
func generate_map(pos : Vector3):
Config.msg_info("Generate Map")
# Clear old map
for n in $map.get_children():
$map.remove_child(n)
n.queue_free()
# Push new map
for y in range(-20, 21):
for x in range(-20, 21):
var z = (x + y) * (x - y)
if z < 0:
z = -z
var position:Vector3 = 10.0 * Vector3( x, 0.0, y )
var name = "res://scenes/game/area_0_0.tscn"
if int(z/3) % 3 == 0:
if z % 2 == 0:
name = "res://scenes/game/area_0_0.tscn"
else:
name = "res://scenes/game/area_0_1.tscn"
elif int(z/3) % 3 == 1:
if z % 2 == 0:
name = "res://scenes/game/area_1_0.tscn"
else:
name = "res://scenes/game/area_1_1.tscn"
else:
if z % 2 == 0:
name = "res://scenes/game/area_1_2.tscn"
else:
name = "res://scenes/game/area_2_2.tscn"
Config.msg_info("Map:" + str(x) + ":" + str(y) + " -> " + name + " : "+ str(z) + " / " + str(int(z/3)%3))
var map:Spatial = load( name ).instance()
map.set_translation(position)
$map.add_child( map )
func add_creature(name:String, model:String, position:Vector3, orientation:Vector3):
var creature:Spatial = load( model ).instance()
@ -64,12 +28,6 @@ func move_creature(name, model, posx, posy, posz):
# Called when the node enters the scene tree for the first time.
func _ready():
var current: Vector3 = Vector3( 0.0, 0.0, 0.0 )
generate_map(current)
self.add_creature("RA_1", "res://scenes/player/creature_raference.tscn", Vector3( 1.0, 1.0, 1.0 ), Vector3( 0.0, 0.0, 0.0 ))
self.add_creature("RA_2", "res://scenes/player/creature_raference.tscn", Vector3( 2.0, 0.01, 5.0 ), Vector3( 0.0, 1.0, 0.0 ))
self.add_creature("RA_3", "res://scenes/player/creature_raference.tscn", Vector3( 1.0, 0.01, 5.0 ), Vector3( 0.0, -3.141592, 0.0 ))
self.add_creature("Arche_1", "res://scenes/player/creature_arche.tscn", Vector3( -2.0, 0.01, 2.0 ), Vector3( 0.0, -3.141592, 0.0 ))
self.add_creature("Isidor_1", "res://scenes/player/creature_isidor.tscn", Vector3( -2.0, 0.01, 5.0 ), Vector3( 0.0, -3.141592, 0.0 ))
$player.connect("menu_options_pressed", self, "_on_menu_options")

View file

@ -1,10 +1,11 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/interfaces/menu_options/menu_options.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/landscape/aa_zone.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/game/alpha.gd" type="Script" id=5]
[ext_resource path="res://scenes/player/playerB.tscn" type="PackedScene" id=8]
[node name="spatial" type="Spatial"]
[node name="starting_zone" type="Spatial"]
script = ExtResource( 5 )
[node name="player" parent="." instance=ExtResource( 8 )]
@ -14,5 +15,8 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.01, 0 )
[node name="creatures" type="Spatial" parent="."]
[node name="aa_zone" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -64, -4.71, -64 )
[node name="menu_options" parent="." instance=ExtResource( 1 )]
visible = false

File diff suppressed because one or more lines are too long