From 8bb63e670316a1ea17ec56a3ce58e1978438d027 Mon Sep 17 00:00:00 2001 From: yannk Date: Fri, 15 Oct 2021 16:47:27 +0200 Subject: [PATCH] Creating basic first zone landscape node --- assets/landscape/aa_zone.tscn | 28 +++++++++++++ assets/landscape/aa_zone_data/color.png | Bin 0 -> 2215 bytes .../landscape/aa_zone_data/color.png.import | 34 ++++++++++++++++ assets/landscape/aa_zone_data/data.hterrain | 37 ++++++++++++++++++ assets/landscape/aa_zone_data/height.res | Bin 0 -> 526687 bytes assets/landscape/aa_zone_data/normal.png | Bin 0 -> 1895 bytes .../landscape/aa_zone_data/normal.png.import | 34 ++++++++++++++++ assets/landscape/aa_zone_data/splat.png | Bin 0 -> 2213 bytes .../landscape/aa_zone_data/splat.png.import | 34 ++++++++++++++++ 9 files changed, 167 insertions(+) create mode 100644 assets/landscape/aa_zone.tscn create mode 100644 assets/landscape/aa_zone_data/color.png create mode 100644 assets/landscape/aa_zone_data/color.png.import create mode 100644 assets/landscape/aa_zone_data/data.hterrain create mode 100644 assets/landscape/aa_zone_data/height.res create mode 100644 assets/landscape/aa_zone_data/normal.png create mode 100644 assets/landscape/aa_zone_data/normal.png.import create mode 100644 assets/landscape/aa_zone_data/splat.png create mode 100644 assets/landscape/aa_zone_data/splat.png.import diff --git a/assets/landscape/aa_zone.tscn b/assets/landscape/aa_zone.tscn new file mode 100644 index 0000000..269470f --- /dev/null +++ b/assets/landscape/aa_zone.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=5 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] + +[sub_resource type="Resource" id=1] +script = ExtResource( 1 ) +mode = 0 +textures = [ [ ], [ ] ] + +[node name="aa_zone" type="Spatial"] + +[node name="HTerrain" type="Spatial" parent="."] +script = ExtResource( 2 ) +_terrain_data = ExtResource( 3 ) +chunk_size = 32 +collision_enabled = true +collision_layer = 1 +collision_mask = 1 +shader_type = "Classic4Lite" +custom_shader = null +custom_globalmap_shader = null +texture_set = SubResource( 1 ) +shader_params/u_ground_uv_scale = 20 +shader_params/u_depth_blending = true +shader_params/u_triplanar = false +shader_params/u_tile_reduction = Plane( 0, 0, 0, 0 ) diff --git a/assets/landscape/aa_zone_data/color.png b/assets/landscape/aa_zone_data/color.png new file mode 100644 index 0000000000000000000000000000000000000000..6fc18cc6da85428ac43e36bf3780416e11f3f92a GIT binary patch literal 2215 zcmeAS@N?(olHy`uVBq!ia0y~yU}6Me4mP03g=aa5K#H+A$lZxy-8q?;3=ABJo-U3d z6?5KRGh}2?;5lG$VE=Q)WOrd!+v@Z*K86XOw=pv`$f_|gEb?JsaGA-#&|$>LAdt$$ zpm2(X!C?v~LxYAe14H1bg3)joO%J2_Vzhi1Ehk5-gVAac(L7keKV?7rzf;E}Wq>UY N22WQ%mvv4FO#r2soU{M{ literal 0 HcmV?d00001 diff --git a/assets/landscape/aa_zone_data/color.png.import b/assets/landscape/aa_zone_data/color.png.import new file mode 100644 index 0000000..c565254 --- /dev/null +++ b/assets/landscape/aa_zone_data/color.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/color.png-6fae080325767b3a9d1e5f728d78106c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/landscape/aa_zone_data/color.png" +dest_files=[ "res://.import/color.png-6fae080325767b3a9d1e5f728d78106c.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 diff --git a/assets/landscape/aa_zone_data/data.hterrain b/assets/landscape/aa_zone_data/data.hterrain new file mode 100644 index 0000000..9a1e3d4 --- /dev/null +++ b/assets/landscape/aa_zone_data/data.hterrain @@ -0,0 +1,37 @@ +{ + "maps": [ + [ + { + "id": 0 + } + ], + [ + { + "id": 0 + } + ], + [ + { + "id": 0 + } + ], + [ + { + "id": 0 + } + ], + [ + + ], + [ + + ], + [ + + ], + [ + + ] + ], + "version": "0.11" +} \ No newline at end of file diff --git a/assets/landscape/aa_zone_data/height.res b/assets/landscape/aa_zone_data/height.res new file mode 100644 index 0000000000000000000000000000000000000000..71398c744cbe34dffc72d399e268a056e11c9477 GIT binary patch literal 526687 zcmeIuy-ve05CGt`{8bFhh=oU}SXsNknm#~frD+?fX{scMH{`jvM6@7vWBx3ie7>_C z=gXJ*BKsLvF`wc#^7lGz%Tx2;^L3njjA+ZQ`DlxBwQq{FU-iwZE6PKeJ^bw*Qe9>@ zQCX)xWp|NuMOz*FNV04aaUU^W@H(HrWM4x$#_wx~J=2J%h~b_ghVEyz?swzgO`<(i zhs$?mwcYg>uKIo8iFevZO)Hf%Ep5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+ z009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBly zK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF z5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjX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5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk z1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs z0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZ zfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0+#~$ HGGBZHEaEF^ literal 0 HcmV?d00001 diff --git a/assets/landscape/aa_zone_data/normal.png b/assets/landscape/aa_zone_data/normal.png new file mode 100644 index 0000000000000000000000000000000000000000..217e7118106659684cefb2efc8b4ff2190f68b42 GIT binary patch literal 1895 zcmeAS@N?(olHy`uVBq!ia0y~yU}6Me4kn;Te9Lb$AjMc5 hqs8HfsS&<1Trgq%Z|IkK4OnwBc)I$ztaD0e0syMGPp<#~ literal 0 HcmV?d00001 diff --git a/assets/landscape/aa_zone_data/normal.png.import b/assets/landscape/aa_zone_data/normal.png.import new file mode 100644 index 0000000..5fbcf73 --- /dev/null +++ b/assets/landscape/aa_zone_data/normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/normal.png-60806eed38d43670ed0dcf0361a9c8e3.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/landscape/aa_zone_data/normal.png" +dest_files=[ "res://.import/normal.png-60806eed38d43670ed0dcf0361a9c8e3.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 diff --git a/assets/landscape/aa_zone_data/splat.png b/assets/landscape/aa_zone_data/splat.png new file mode 100644 index 0000000000000000000000000000000000000000..931f2d7a7a7c61f1eff055c3ed124cbde2e7cdb1 GIT binary patch literal 2213 zcmeAS@N?(olHy`uVBq!ia0y~yU}6Me4mP03g=aa5K#H+A$lZxy-8q?;3=ACco-U3d z6?5KRGh}2?;5lG$VE=Q)WOrd!+v?{G46gas3=B6CnHUsKu`oDH;bdsg5N2QqRAXRR z