diff --git a/assets/images/weather.bmp b/assets/images/weather.bmp new file mode 100644 index 0000000..a380452 Binary files /dev/null and b/assets/images/weather.bmp differ diff --git a/assets/images/weather.bmp.import b/assets/images/weather.bmp.import new file mode 100644 index 0000000..75fbc33 --- /dev/null +++ b/assets/images/weather.bmp.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cwdmuc0cbm4si" +path.s3tc="res://.godot/imported/weather.bmp-d44a021cb1cfd7ca020d3a8183ef42aa.s3tc.ctex" +path.etc2="res://.godot/imported/weather.bmp-d44a021cb1cfd7ca020d3a8183ef42aa.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/images/weather.bmp" +dest_files=["res://.godot/imported/weather.bmp-d44a021cb1cfd7ca020d3a8183ef42aa.s3tc.ctex", "res://.godot/imported/weather.bmp-d44a021cb1cfd7ca020d3a8183ef42aa.etc2.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 diff --git a/assets/images/world_noise.bmp b/assets/images/world_noise.bmp new file mode 100644 index 0000000..49b4598 Binary files /dev/null and b/assets/images/world_noise.bmp differ diff --git a/assets/images/world_noise.bmp.import b/assets/images/world_noise.bmp.import new file mode 100644 index 0000000..69d580a --- /dev/null +++ b/assets/images/world_noise.bmp.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bd2w36kxapaay" +path.s3tc="res://.godot/imported/world_noise.bmp-0d6dace9646e17f3806bbc7078e7303c.s3tc.ctex" +path.etc2="res://.godot/imported/world_noise.bmp-0d6dace9646e17f3806bbc7078e7303c.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/images/world_noise.bmp" +dest_files=["res://.godot/imported/world_noise.bmp-0d6dace9646e17f3806bbc7078e7303c.s3tc.ctex", "res://.godot/imported/world_noise.bmp-0d6dace9646e17f3806bbc7078e7303c.etc2.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 diff --git a/assets/images/world_noise.tga b/assets/images/world_noise.tga new file mode 100644 index 0000000..7ba6fe6 Binary files /dev/null and b/assets/images/world_noise.tga differ diff --git a/assets/images/world_noise.tga.import b/assets/images/world_noise.tga.import new file mode 100644 index 0000000..1767a10 --- /dev/null +++ b/assets/images/world_noise.tga.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ddvrwqk7tkq04" +path.s3tc="res://.godot/imported/world_noise.tga-d1b7704f3553ce77d3dc4d45bda3f89b.s3tc.ctex" +path.etc2="res://.godot/imported/world_noise.tga-d1b7704f3553ce77d3dc4d45bda3f89b.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/images/world_noise.tga" +dest_files=["res://.godot/imported/world_noise.tga-d1b7704f3553ce77d3dc4d45bda3f89b.s3tc.ctex", "res://.godot/imported/world_noise.tga-d1b7704f3553ce77d3dc4d45bda3f89b.etc2.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 diff --git a/assets/sky/sky.gdshader b/assets/sky/sky.gdshader new file mode 100644 index 0000000..9010b73 --- /dev/null +++ b/assets/sky/sky.gdshader @@ -0,0 +1,266 @@ +// Cloud Raymarching based on: A. Schneider. “The Real-Time Volumetric Cloudscapes Of Horizon: Zero Dawn”. ACM SIGGRAPH. Los Angeles, CA: ACM SIGGRAPH, 2015. Web. 26 Aug. 2015. + +shader_type sky; +render_mode use_half_res_pass, use_quarter_res_pass; + +uniform sampler3D worlnoise : filter_linear_mipmap, repeat_enable; +uniform sampler3D perlworlnoise : filter_linear_mipmap, repeat_enable; +uniform sampler2D weathermap : filter_linear_mipmap, repeat_enable; + +uniform vec2 wind_direction = vec2(1, 0); +uniform float wind_speed :hint_range(0.0, 20.0) = 1.0; +uniform float _density : hint_range(0.01, 0.2) = 0.05; +uniform float cloud_coverage :hint_range(0.1, 1.0) = 0.25; +uniform float _time_offset : hint_range(0.0, 1000.0, 0.5) = 0.0; + +// Approximately earth sizes +const float g_radius = 6000000.0; //ground radius +const float sky_b_radius = 6001500.0;//bottom of cloud layer +const float sky_t_radius = 6004000.0;//top of cloud layer + +uniform float rayleigh : hint_range(0, 64) = 2.0; +uniform vec4 rayleigh_color : source_color = vec4(0.26, 0.41, 0.58, 1.0); +uniform float mie : hint_range(0, 1) = 0.005; +uniform float mie_eccentricity : hint_range(-1, 1) = 0.8; +uniform vec4 mie_color : source_color = vec4(0.63, 0.77, 0.92, 1.0); + +uniform float turbidity : hint_range(0, 1000) = 10.0; +uniform float sun_disk_scale : hint_range(0, 360) = 1.0; +uniform vec4 ground_color : source_color = vec4(1.0); +uniform float exposure : hint_range(0, 128) = 0.1; + +const vec3 UP = vec3( 0.0, 1.0, 0.0 ); + +// Sun constants +const float SOL_SIZE = 0.00872663806; +const float SUN_ENERGY = 1000.0; + +// optical length at zenith for molecules +const float rayleigh_zenith_size = 8.4e3; +const float mie_zenith_size = 1.25e3; + +// From: https://www.shadertoy.com/view/4sfGzS credit to iq +float hash(vec3 p) { + p = fract( p * 0.3183099 + 0.1 ); + p *= 17.0; + return fract(p.x * p.y * p.z * (p.x + p.y + p.z)); +} + +// Utility function that maps a value from one range to another. +float remap(float originalValue, float originalMin, float originalMax, float newMin, float newMax) { + return newMin + (((originalValue - originalMin) / (originalMax - originalMin)) * (newMax - newMin)); +} + +// Phase function +float henyey_greenstein(float cos_theta, float g) { + const float k = 0.0795774715459; + return k * (1.0 - g * g) / (pow(1.0 + g * g - 2.0 * g * cos_theta, 1.5)); +} + +// Simple Analytic sky. In a real project you should use a texture +vec3 atmosphere(vec3 eye_dir) { + float zenith_angle = clamp( dot(UP, normalize(LIGHT0_DIRECTION)), -1.0, 1.0 ); + float sun_energy = max(0.0, 1.0 - exp(-((PI * 0.5) - acos(zenith_angle)))) * SUN_ENERGY * LIGHT0_ENERGY; + float sun_fade = 1.0 - clamp(1.0 - exp(LIGHT0_DIRECTION.y), 0.0, 1.0); + + // Rayleigh coefficients. + float rayleigh_coefficient = rayleigh - ( 1.0 * ( 1.0 - sun_fade ) ); + vec3 rayleigh_beta = rayleigh_coefficient * rayleigh_color.rgb * 0.0001; + // mie coefficients from Preetham + vec3 mie_beta = turbidity * mie * mie_color.rgb * 0.000434; + + // optical length + float zenith = acos(max(0.0, dot(UP, eye_dir))); + float optical_mass = 1.0 / (cos(zenith) + 0.15 * pow(93.885 - degrees(zenith), -1.253)); + float rayleigh_scatter = rayleigh_zenith_size * optical_mass; + float mie_scatter = mie_zenith_size * optical_mass; + + // light extinction based on thickness of atmosphere + vec3 extinction = exp(-(rayleigh_beta * rayleigh_scatter + mie_beta * mie_scatter)); + + // in scattering + float cos_theta = dot(eye_dir, normalize(LIGHT0_DIRECTION)); + + float rayleigh_phase = (3.0 / (16.0 * PI)) * (1.0 + pow(cos_theta * 0.5 + 0.5, 2.0)); + vec3 betaRTheta = rayleigh_beta * rayleigh_phase; + + float mie_phase = henyey_greenstein(cos_theta, mie_eccentricity); + vec3 betaMTheta = mie_beta * mie_phase; + + vec3 Lin = pow(sun_energy * ((betaRTheta + betaMTheta) / (rayleigh_beta + mie_beta)) * (1.0 - extinction), vec3(1.5)); + // Hack from https://github.com/mrdoob/three.js/blob/master/examples/jsm/objects/Sky.js + Lin *= mix(vec3(1.0), pow(sun_energy * ((betaRTheta + betaMTheta) / (rayleigh_beta + mie_beta)) * extinction, vec3(0.5)), clamp(pow(1.0 - zenith_angle, 5.0), 0.0, 1.0)); + + // Hack in the ground color + Lin *= mix(ground_color.rgb, vec3(1.0), smoothstep(-0.1, 0.1, dot(UP, eye_dir))); + + // Solar disk and out-scattering + float sunAngularDiameterCos = cos(SOL_SIZE * sun_disk_scale); + float sunAngularDiameterCos2 = cos(SOL_SIZE * sun_disk_scale*0.5); + float sundisk = smoothstep(sunAngularDiameterCos, sunAngularDiameterCos2, cos_theta); + vec3 L0 = (sun_energy * 1900.0 * extinction) * sundisk * LIGHT0_COLOR; + // Note: Add nightime here: L0 += night_sky * extinction + + vec3 color = (Lin + L0) * 0.04; + color = pow(color, vec3(1.0 / (1.2 + (1.2 * sun_fade)))); + color *= exposure; + return color; +} + +float GetHeightFractionForPoint(float inPosition) { + float height_fraction = (inPosition - sky_b_radius) / (sky_t_radius - sky_b_radius); + return clamp(height_fraction, 0.0, 1.0); +} + +vec4 mixGradients(float cloudType){ + const vec4 STRATUS_GRADIENT = vec4(0.02f, 0.05f, 0.09f, 0.11f); + const vec4 STRATOCUMULUS_GRADIENT = vec4(0.02f, 0.2f, 0.48f, 0.625f); + const vec4 CUMULUS_GRADIENT = vec4(0.01f, 0.0625f, 0.78f, 1.0f); + float stratus = 1.0f - clamp(cloudType * 2.0f, 0.0, 1.0); + float stratocumulus = 1.0f - abs(cloudType - 0.5f) * 2.0f; + float cumulus = clamp(cloudType - 0.5f, 0.0, 1.0) * 2.0f; + return STRATUS_GRADIENT * stratus + STRATOCUMULUS_GRADIENT * stratocumulus + CUMULUS_GRADIENT * cumulus; +} + +float densityHeightGradient(float heightFrac, float cloudType) { + vec4 cloudGradient = mixGradients(cloudType); + return smoothstep(cloudGradient.x, cloudGradient.y, heightFrac) - smoothstep(cloudGradient.z, cloudGradient.w, heightFrac); +} + +float intersectSphere(vec3 pos, vec3 dir,float r) { + float a = dot(dir, dir); + float b = 2.0 * dot(dir, pos); + float c = dot(pos, pos) - (r * r); + float d = sqrt((b*b) - 4.0*a*c); + float p = -b - d; + float p2 = -b + d; + return max(p, p2) / (2.0 * a); +} + +// Returns density at a given point +// Heavily based on method from Schneider +float density(vec3 pip, vec3 weather, float mip) { + float time = TIME; + vec3 p = pip; + float height_fraction = GetHeightFractionForPoint(length(p)); + p.xz += time * 20.0 * normalize(wind_direction) * wind_speed * 0.6; + vec4 n = textureLod(perlworlnoise, p.xyz*0.00008, mip-2.0); + float fbm = n.g*0.625+n.b*0.25+n.a*0.125; + float g = densityHeightGradient(height_fraction, weather.r); + float base_cloud = remap(n.r, -(1.0-fbm), 1.0, 0.0, 1.0); + float weather_coverage = cloud_coverage*weather.b; + base_cloud = remap(base_cloud*g, 1.0-(weather_coverage), 1.0, 0.0, 1.0); + base_cloud *= weather_coverage; + p.xz -= time * normalize(wind_direction) * 40.; + p.y -= time * 40.; + vec3 hn = textureLod(worlnoise, p*0.001, mip).rgb; + float hfbm = hn.r*0.625+hn.g*0.25+hn.b*0.125; + hfbm = mix(hfbm, 1.0-hfbm, clamp(height_fraction*4.0, 0.0, 1.0)); + base_cloud = remap(base_cloud, hfbm*0.4 * height_fraction, 1.0, 0.0, 1.0); + return pow(clamp(base_cloud, 0.0, 1.0), (1.0 - height_fraction) * 0.8 + 0.5); +} + +vec4 march(vec3 pos, vec3 end, vec3 dir, int depth) { + const vec3 RANDOM_VECTORS[6] = {vec3( 0.38051305f, 0.92453449f, -0.02111345f),vec3(-0.50625799f, -0.03590792f, -0.86163418f),vec3(-0.32509218f, -0.94557439f, 0.01428793f),vec3( 0.09026238f, -0.27376545f, 0.95755165f),vec3( 0.28128598f, 0.42443639f, -0.86065785f),vec3(-0.16852403f, 0.14748697f, 0.97460106f)}; + float T = 1.0; + float alpha = 0.0; + float ss = length(dir); + dir = normalize(dir); + vec3 p = pos + dir * hash(pos * 10.0) * ss; + const float t_dist = sky_t_radius-sky_b_radius; + float lss = (t_dist / 36.0); + vec3 ldir = normalize(LIGHT0_DIRECTION); + vec3 L = vec3(0.0); + int count=0; + float t = 1.0; + float costheta = dot(ldir, dir); + // Stack multiple phase functions to emulate some backscattering + float phase = max(max(henyey_greenstein(costheta, 0.6), henyey_greenstein(costheta, (0.4 - 1.4 * ldir.y))), henyey_greenstein(costheta, -0.2)); + // Precalculate sun and ambient colors + // This should really come from a uniform or texture for performance reasons + vec3 atmosphere_sun = atmosphere(LIGHT0_DIRECTION) * LIGHT0_ENERGY * ss * 0.1; + vec3 atmosphere_ambient = atmosphere(normalize(vec3(1.0, 1.0, 0.0))); + vec3 atmosphere_ground = atmosphere(normalize(vec3(1.0, -1.0, 0.0))); + + const float weather_scale = 0.00006; + float time = TIME * 0.001 + 0.005 * _time_offset; + vec2 weather_pos = time * normalize(wind_direction) * wind_speed; + + for (int i = 0; i < depth; i++) { + p += dir * ss; + vec3 weather_sample = texture(weathermap, p.xz * weather_scale + 0.5 + weather_pos).xyz; + float height_fraction = GetHeightFractionForPoint(length(p)); + + t = density(p, weather_sample, 0.0); + float dt = exp(-_density*t*ss); + T *= dt; + vec3 lp = p; + float lt = 1.0; + float cd = 0.0; + + if (t > 0.0) { //calculate lighting, but only when we are in the cloud + float lheight_fraction = 0.0; + for (int j = 0; j < 6; j++) { + lp += (ldir + RANDOM_VECTORS[j]*float(j))*lss; + lheight_fraction = GetHeightFractionForPoint(length(lp)); + vec3 lweather = texture(weathermap, lp.xz * weather_scale + 0.5 + weather_pos).xyz; + lt = density(lp, lweather, float(j)); + cd += lt; + } + + // Take a single distant sample + lp = p + ldir * 18.0 * lss; + lheight_fraction = GetHeightFractionForPoint(length(lp)); + vec3 lweather = texture(weathermap, lp.xz * weather_scale + 0.5).xyz; + lt = pow(density(lp, lweather, 5.0), (1.0 - lheight_fraction) * 0.8 + 0.5); + cd += lt; + + // captures the direct lighting from the sun + float beers = exp(-_density * cd * lss); + float beers2 = exp(-_density * cd * lss * 0.25) * 0.7; + float beers_total = max(beers, beers2); + + vec3 ambient = mix(atmosphere_ground, vec3(1.0), smoothstep(0.0, 1.0, height_fraction)) * _density * mix(atmosphere_ambient, vec3(1.0), 0.4) * (LIGHT0_DIRECTION.y); + alpha += (1.0 - dt) * (1.0 - alpha); + L += (ambient + beers_total * atmosphere_sun * phase * alpha) * T * t; + } + } + return clamp(vec4(L, alpha), 0.0, 1.0); +} + +void sky() { + vec3 dir = EYEDIR; + + vec4 col = vec4(0.0); + if (dir.y>0.0) { + vec3 camPos = vec3(0.0, g_radius, 0.0); + vec3 start = camPos + dir * intersectSphere(camPos, dir, sky_b_radius); + vec3 end = camPos + dir * intersectSphere(camPos, dir, sky_t_radius); + float shelldist = (length(end-start)); + // Take fewer steps towards horizon + float steps = (mix(96.0, 54.0, clamp(dot(dir, vec3(0.0, 1.0, 0.0)), 0.0, 1.0))); + vec3 raystep = dir * shelldist / steps; + vec4 volume = march(start, end, raystep, int(steps)); + vec3 background = atmosphere(dir); + // Draw cloud shape + col = vec4(background*(1.0-volume.a)+volume.xyz, 1.0); + // Blend distant clouds into the sky + col.xyz = mix(clamp(col.xyz, vec3(0.0), vec3(1.0)), clamp(background, vec3(0.0), vec3(1.0)), smoothstep(0.6, 1.0, 1.0-dir.y)); + } else { + col = vec4(atmosphere(dir), 1.0); + } + + // Draw to quarter res buffer for reflections + // Draw to half res buffer for main sky + if (AT_QUARTER_RES_PASS && AT_CUBEMAP_PASS) { + COLOR = col.xyz; + ALPHA = 1.0; + } else if (AT_HALF_RES_PASS && !AT_CUBEMAP_PASS) { + COLOR = col.xyz; + ALPHA = 1.0; + } else if (AT_CUBEMAP_PASS) { + COLOR = QUARTER_RES_COLOR.rgb; + } else { + COLOR = HALF_RES_COLOR.rgb; // Change to col.rgb for full resolution + } +} diff --git a/assets/water/water_plane.gdshader b/assets/water/water_plane.gdshader new file mode 100644 index 0000000..c1ff849 --- /dev/null +++ b/assets/water/water_plane.gdshader @@ -0,0 +1,76 @@ +shader_type spatial; + +uniform vec3 albedo : source_color; +uniform vec3 albedo2 : source_color; +uniform float metallic : hint_range(0.0, 1.0) = 0; +uniform float roughness : hint_range(0.0, 1.0) = 0.02; +uniform sampler2D wave; +uniform sampler2D texture_normal; +uniform sampler2D texture_normal2; +uniform vec2 wave_direction = vec2(2.0,0.0); +uniform vec2 wave_direction2 = vec2(0.0,1.0); +uniform float time_scale :hint_range(0.0, 0.2, 0.005) = 0.025; +uniform float noise_scale = 10.0; +uniform float height_scale = 0.15; + +uniform vec4 color_deep : source_color; +uniform vec4 color_shallow : source_color; +uniform float beers_law = 2.0; +uniform float depth_offset = -0.75; +uniform sampler2D DEPTH_TEXTURE : hint_depth_texture, filter_linear_mipmap; +uniform sampler2D SCREEN_TEXTURE : hint_screen_texture, filter_linear_mipmap; + +uniform float edge_scale = 0.1; +uniform float near = 1.0; +uniform float far = 100.0; +uniform vec3 edge_color : source_color; + +varying float height; +varying vec3 world_pos; + +float fresnel(float amount, vec3 normal, vec3 view){ + return pow((1.0 - clamp(dot(normalize(normal), normalize(view)), 0.0, 1.0 )), amount); +} + +float edge(float depth){ + depth = 2.0 * depth - 1.0; + return near * far / (far + depth * (near - far)); +} + +void vertex(){ + world_pos = (MODEL_MATRIX * vec4(VERTEX, 1.0)).xyz; + height = texture(wave,world_pos.xz/ noise_scale + TIME * time_scale).r; + VERTEX.y += height * height_scale; +} + +void fragment() { + float depth_texture = texture(DEPTH_TEXTURE, SCREEN_UV).r * 2.0 - 1.0; + float depth = PROJECTION_MATRIX[3][2] / (depth_texture + PROJECTION_MATRIX[2][2]); + float depth_blend = exp((depth+VERTEX.z + depth_offset) * -beers_law); + depth_blend = clamp(1.0 - depth_blend, 0.0, 1.0); + float depth_blend_power = clamp(pow(depth_blend, 2.5), 0.0, 1.0); + + vec3 screen_color = textureLod(SCREEN_TEXTURE, SCREEN_UV, depth_blend_power * 2.5).rgb; + vec3 depth_color = mix(color_shallow.rgb, color_deep.rgb, depth_blend_power); + vec3 color = mix(screen_color * depth_color, depth_color * 0.25, depth_blend_power * 0.5); + + float z_depth = edge(texture(DEPTH_TEXTURE, SCREEN_UV).x); + float z_pos = edge(FRAGCOORD.z); + float z_dif = z_depth - z_pos; + + vec2 time = (TIME * wave_direction) * time_scale; + vec2 time2 = (TIME * wave_direction2) * time_scale; + + vec3 normal_blend = mix(texture(texture_normal,world_pos.xz + time).rgb,texture(texture_normal2,world_pos.xz + time2).rgb, 0.5); + + float fresnel = fresnel(5.0, NORMAL, VIEW); + vec3 surface_color = mix(albedo,albedo2,fresnel); + + vec3 depth_color_adj = mix(edge_color,color, step(edge_scale,z_dif)); + + + ALBEDO = clamp(surface_color + depth_color_adj,vec3(0.0),vec3(1.0)); + METALLIC = metallic; + ROUGHNESS = roughness; + NORMAL_MAP = normal_blend; +} diff --git a/game/game_state.tscn b/game/game_state.tscn index 565192e..db24a34 100644 --- a/game/game_state.tscn +++ b/game/game_state.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=5 format=3 uid="uid://bn6uprm55d3tt"] [ext_resource type="Script" path="res://game/game_state.gd" id="1_0aj3c"] -[ext_resource type="Resource" uid="uid://to5lown6orfd" path="res://game/zones/outside/outside_zone_info.tres" id="2_6tdys"] +[ext_resource type="Resource" uid="uid://to5lown6orfd" path="res://game/zones/start_island/start_island_zone.tres" id="2_6tdys"] [ext_resource type="Resource" uid="uid://cx1d62bw62y0k" path="res://game/zones/zone_database.tres" id="3_x37w3"] [ext_resource type="Resource" uid="uid://5sqmlq5ruolr" path="res://game/items/item_database.tres" id="4_im36k"] diff --git a/game/zones/house_back_yard/house_back_yard_zone.tscn b/game/zones/house_back_yard/house_back_yard_zone.tscn deleted file mode 100644 index 52916eb..0000000 --- a/game/zones/house_back_yard/house_back_yard_zone.tscn +++ /dev/null @@ -1,292 +0,0 @@ -[gd_scene load_steps=34 format=3 uid="uid://h71bqvvu0lcn"] - -[ext_resource type="PackedScene" uid="uid://cvn48xcmsmkrb" path="res://game/zones/zone_base.tscn" id="1_30op8"] -[ext_resource type="Material" uid="uid://cqs6que52ytcg" path="res://assets/prototype_materials/dry_grass.tres" id="2_2nr20"] -[ext_resource type="Environment" uid="uid://er867l7dl10j" path="res://default_env.tres" id="2_a5ktn"] -[ext_resource type="Script" path="res://components/helpers/scatter.gd" id="3_dvyu5"] -[ext_resource type="Resource" uid="uid://cpugbtukttkfj" path="res://game/zones/house_back_yard/house_back_yard_zone_info.tres" id="3_m4v83"] -[ext_resource type="Material" uid="uid://c386ygo86nqfc" path="res://assets/prototype_materials/wood_brown.tres" id="4_j3su2"] -[ext_resource type="Material" uid="uid://b1o2xnr4gi6r4" path="res://assets/prototype_materials/sandstone.tres" id="5_gh4so"] -[ext_resource type="Material" uid="uid://cjylinr1vdjcw" path="res://assets/prototype_materials/dark_brown.tres" id="5_goc1s"] -[ext_resource type="PackedScene" uid="uid://vm423o6hdlya" path="res://components/helpers/zone_switch_area.tscn" id="6_tlcot"] -[ext_resource type="PackedScene" uid="uid://chch4r7wddwdj" path="res://game/objects/storage/storage_box.tscn" id="10_20abo"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_o8xit"] -animation = &"Grip" - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ajt4g"] -animation = &"Grip" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_2beyu"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Little_Distal_L", "Armature/Skeleton3D:Little_Intermediate_L", "Armature/Skeleton3D:Little_Metacarpal_L", "Armature/Skeleton3D:Little_Proximal_L", "Armature/Skeleton3D:Middle_Distal_L", "Armature/Skeleton3D:Middle_Intermediate_L", "Armature/Skeleton3D:Middle_Metacarpal_L", "Armature/Skeleton3D:Middle_Proximal_L", "Armature/Skeleton3D:Ring_Distal_L", "Armature/Skeleton3D:Ring_Intermediate_L", "Armature/Skeleton3D:Ring_Metacarpal_L", "Armature/Skeleton3D:Ring_Proximal_L", "Armature/Skeleton3D:Thumb_Distal_L", "Armature/Skeleton3D:Thumb_Metacarpal_L", "Armature/Skeleton3D:Thumb_Proximal_L", "Armature/Skeleton:Little_Distal_L", "Armature/Skeleton:Little_Intermediate_L", "Armature/Skeleton:Little_Proximal_L", "Armature/Skeleton:Middle_Distal_L", "Armature/Skeleton:Middle_Intermediate_L", "Armature/Skeleton:Middle_Proximal_L", "Armature/Skeleton:Ring_Distal_L", "Armature/Skeleton:Ring_Intermediate_L", "Armature/Skeleton:Ring_Proximal_L", "Armature/Skeleton:Thumb_Distal_L", "Armature/Skeleton:Thumb_Proximal_L"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_030p5"] -animation = &"Grip 5" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_acps2"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Index_Distal_L", "Armature/Skeleton3D:Index_Intermediate_L", "Armature/Skeleton3D:Index_Metacarpal_L", "Armature/Skeleton3D:Index_Proximal_L", "Armature/Skeleton:Index_Distal_L", "Armature/Skeleton:Index_Intermediate_L", "Armature/Skeleton:Index_Proximal_L"] - -[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_b0o74"] -graph_offset = Vector2(-536, 11) -nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_o8xit") -nodes/ClosedHand1/position = Vector2(-600, 300) -nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_ajt4g") -nodes/ClosedHand2/position = Vector2(-360, 300) -nodes/Grip/node = SubResource("AnimationNodeBlend2_2beyu") -nodes/Grip/position = Vector2(0, 20) -nodes/OpenHand/node = SubResource("AnimationNodeAnimation_030p5") -nodes/OpenHand/position = Vector2(-600, 100) -nodes/Trigger/node = SubResource("AnimationNodeBlend2_acps2") -nodes/Trigger/position = Vector2(-360, 20) -node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_6bs3a"] -animation = &"Grip" - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_fol2p"] -animation = &"Grip" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_rlq5j"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Little_Distal_R", "Armature/Skeleton3D:Little_Intermediate_R", "Armature/Skeleton3D:Little_Metacarpal_R", "Armature/Skeleton3D:Little_Proximal_R", "Armature/Skeleton3D:Middle_Distal_R", "Armature/Skeleton3D:Middle_Intermediate_R", "Armature/Skeleton3D:Middle_Metacarpal_R", "Armature/Skeleton3D:Middle_Proximal_R", "Armature/Skeleton3D:Ring_Distal_R", "Armature/Skeleton3D:Ring_Intermediate_R", "Armature/Skeleton3D:Ring_Metacarpal_R", "Armature/Skeleton3D:Ring_Proximal_R", "Armature/Skeleton3D:Thumb_Distal_R", "Armature/Skeleton3D:Thumb_Metacarpal_R", "Armature/Skeleton3D:Thumb_Proximal_R", "Armature/Skeleton:Little_Distal_R", "Armature/Skeleton:Little_Intermediate_R", "Armature/Skeleton:Little_Proximal_R", "Armature/Skeleton:Middle_Distal_R", "Armature/Skeleton:Middle_Intermediate_R", "Armature/Skeleton:Middle_Proximal_R", "Armature/Skeleton:Ring_Distal_R", "Armature/Skeleton:Ring_Intermediate_R", "Armature/Skeleton:Ring_Proximal_R", "Armature/Skeleton:Thumb_Distal_R", "Armature/Skeleton:Thumb_Proximal_R"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_6rona"] -animation = &"Grip 5" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_4yg54"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Index_Distal_R", "Armature/Skeleton3D:Index_Intermediate_R", "Armature/Skeleton3D:Index_Metacarpal_R", "Armature/Skeleton3D:Index_Proximal_R", "Armature/Skeleton:Index_Distal_R", "Armature/Skeleton:Index_Intermediate_R", "Armature/Skeleton:Index_Proximal_R"] - -[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_d5g1d"] -graph_offset = Vector2(-552.664, 107.301) -nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_6bs3a") -nodes/ClosedHand1/position = Vector2(-600, 300) -nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_fol2p") -nodes/ClosedHand2/position = Vector2(-360, 300) -nodes/Grip/node = SubResource("AnimationNodeBlend2_rlq5j") -nodes/Grip/position = Vector2(0, 40) -nodes/OpenHand/node = SubResource("AnimationNodeAnimation_6rona") -nodes/OpenHand/position = Vector2(-600, 100) -nodes/Trigger/node = SubResource("AnimationNodeBlend2_4yg54") -nodes/Trigger/position = Vector2(-360, 40) -node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] - -[sub_resource type="QuadMesh" id="QuadMesh_tg51c"] -material = ExtResource("2_2nr20") -size = Vector2(20, 20) - -[sub_resource type="BoxShape3D" id="BoxShape3D_uk6lx"] -size = Vector3(20, 1, 20) - -[sub_resource type="QuadMesh" id="QuadMesh_iva63"] -material = ExtResource("2_2nr20") -size = Vector2(20, 4) - -[sub_resource type="BoxShape3D" id="BoxShape3D_db0th"] -size = Vector3(20, 4, 1) - -[sub_resource type="SphereMesh" id="SphereMesh_mdvnb"] -material = ExtResource("5_gh4so") -radius = 2.0 -height = 3.0 -radial_segments = 7 -rings = 4 - -[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_on5hg"] -points = PackedVector3Array(-0.82556, -0.463684, -1.71374, -0.82556, 0.463391, -1.71374, 0.825197, -0.463684, -1.71374, -0.510075, -1.21368, -1.05931, -1.14613, -1.21368, -0.26188, -1.85442, -0.463684, -0.423277, -0.510075, 1.21339, -1.05931, 0.825197, 0.463391, -1.71374, -1.85442, 0.463391, -0.423277, -1.14613, 1.21339, -0.26188, 1.85442, 0.463391, -0.423277, 1.85406, -0.463684, -0.423277, 1.14576, -1.21368, -0.26188, 0.509712, -1.21368, -1.05931, 0, -1.5, -0.000317931, -1.48739, -0.463684, 1.18574, -0.919225, -1.21368, 0.732693, 0, 1.5, -0.000317931, 0.509712, 1.21339, -1.05931, 1.14576, 1.21339, -0.26188, -1.48739, 0.463391, 1.18574, -0.919225, 1.21339, 0.732693, 0.918862, 1.21339, 0.732693, 1.48702, 0.463391, 1.18574, 1.48702, -0.463684, 1.18574, 0.918862, -1.21368, 0.732693, 0, -1.21368, 1.17547, 0, -0.463684, 1.90176, 0, 0.463391, 1.90211, 0, 1.21339, 1.17547) - -[sub_resource type="QuadMesh" id="QuadMesh_lmjaa"] -size = Vector2(0.02, 0.1) - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k6snm"] -cull_mode = 2 -albedo_color = Color(0.619608, 0.635294, 0.419608, 1) - -[sub_resource type="BoxMesh" id="BoxMesh_tq4y1"] -material = ExtResource("5_goc1s") -size = Vector3(1, 3, 0.2) - -[sub_resource type="BoxShape3D" id="BoxShape3D_dvkw1"] -size = Vector3(1, 3, 0.1) - -[sub_resource type="BoxShape3D" id="BoxShape3D_g8b71"] -size = Vector3(1, 3, 0.2) - -[node name="HouseBackYard" instance=ExtResource("1_30op8")] -zone_info = ExtResource("3_m4v83") - -[node name="Skeleton3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature" index="0"] -bones/1/rotation = Quaternion(0.323537, -2.56577e-05, -0.0272204, 0.945824) -bones/2/rotation = Quaternion(-0.0904441, -0.0415175, -0.166293, 0.981042) -bones/3/rotation = Quaternion(-0.0466199, 0.020971, 0.0103276, 0.998639) -bones/5/rotation = Quaternion(-0.00128455, -0.0116081, -0.0168259, 0.99979) -bones/6/rotation = Quaternion(0.102925, -0.00993208, -0.00794417, 0.994608) -bones/7/rotation = Quaternion(-0.012859, -0.0236108, -0.323258, 0.945929) -bones/8/rotation = Quaternion(0.0120575, -0.00929194, -0.247472, 0.968775) -bones/10/rotation = Quaternion(-0.0357539, -0.000400032, 0.00636764, 0.99934) -bones/11/rotation = Quaternion(-0.00264964, -0.00114471, -0.125992, 0.992027) -bones/12/rotation = Quaternion(0.0394225, 0.00193393, -0.228074, 0.972843) -bones/13/rotation = Quaternion(-0.0123395, -0.00881294, -0.280669, 0.959685) -bones/15/rotation = Quaternion(-0.0702656, 0.0101908, -0.0243307, 0.99718) -bones/16/rotation = Quaternion(-0.0320634, -0.00223624, -0.0686366, 0.997124) -bones/17/rotation = Quaternion(0.0253452, 0.00812462, -0.249005, 0.968136) -bones/18/rotation = Quaternion(0.00252232, 0.00788073, -0.243204, 0.96994) -bones/20/rotation = Quaternion(-0.0917369, 0.0203027, -0.010183, 0.995524) -bones/21/rotation = Quaternion(-0.0625182, -0.00022572, -0.115393, 0.991351) -bones/22/rotation = Quaternion(0.0585786, 0.0216483, -0.269905, 0.96086) -bones/23/rotation = Quaternion(0.00687177, -0.00357275, -0.211953, 0.977249) - -[node name="BoneAttachment3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature/Skeleton3D" index="1"] -transform = Transform3D(0.54083, 0.840813, -0.0231736, -0.0826267, 0.0805243, 0.993322, 0.837064, -0.535303, 0.113023, 0.039902, 0.0402828, -0.150096) - -[node name="AnimationTree" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand" index="1"] -tree_root = SubResource("AnimationNodeBlendTree_b0o74") - -[node name="Skeleton3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature" index="0"] -bones/1/rotation = Quaternion(0.323537, 2.56577e-05, 0.0272204, 0.945824) -bones/2/rotation = Quaternion(-0.0904441, 0.0415175, 0.166293, 0.981042) -bones/3/rotation = Quaternion(-0.0466199, -0.020971, -0.0103276, 0.998639) -bones/5/rotation = Quaternion(-0.00128455, 0.0116081, 0.0168259, 0.99979) -bones/6/rotation = Quaternion(0.102925, 0.00993208, 0.00794419, 0.994608) -bones/7/rotation = Quaternion(-0.012859, 0.0236108, 0.323258, 0.945929) -bones/8/rotation = Quaternion(0.0120575, 0.00929193, 0.247472, 0.968775) -bones/10/rotation = Quaternion(-0.0357539, 0.000400032, -0.00636763, 0.99934) -bones/11/rotation = Quaternion(-0.00264964, 0.00114471, 0.125992, 0.992027) -bones/12/rotation = Quaternion(0.0394225, -0.00193393, 0.228074, 0.972843) -bones/13/rotation = Quaternion(-0.0123395, 0.00881294, 0.280669, 0.959685) -bones/15/rotation = Quaternion(-0.0702656, -0.0101908, 0.0243307, 0.99718) -bones/16/rotation = Quaternion(-0.0320634, 0.00223624, 0.0686366, 0.997124) -bones/17/rotation = Quaternion(0.0253452, -0.00812462, 0.249005, 0.968136) -bones/18/rotation = Quaternion(0.00252233, -0.00788073, 0.243204, 0.96994) -bones/20/rotation = Quaternion(-0.0917369, -0.0203027, 0.010183, 0.995524) -bones/21/rotation = Quaternion(-0.0625182, 0.000225721, 0.115393, 0.991351) -bones/22/rotation = Quaternion(0.0585786, -0.0216483, 0.269905, 0.96086) -bones/23/rotation = Quaternion(0.00687177, 0.00357275, 0.211953, 0.977249) - -[node name="BoneAttachment3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature/Skeleton3D" index="1"] -transform = Transform3D(0.540829, -0.840813, 0.0231736, 0.0826268, 0.0805242, 0.993322, -0.837064, -0.535303, 0.113024, -0.039902, 0.0402828, -0.150096) - -[node name="AnimationTree" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand" index="1"] -tree_root = SubResource("AnimationNodeBlendTree_d5g1d") - -[node name="World" type="Node3D" parent="." index="1"] - -[node name="WorldEnvironment" type="WorldEnvironment" parent="World" index="0"] -environment = ExtResource("2_a5ktn") - -[node name="DirectionalLight3D" type="DirectionalLight3D" parent="World" index="1"] -transform = Transform3D(-0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, 0.5, -0.5, 0, 8, 0) - -[node name="Ground" type="StaticBody3D" parent="World" index="2"] - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Ground" index="0"] -transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0) -mesh = SubResource("QuadMesh_tg51c") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Ground" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) -shape = SubResource("BoxShape3D_uk6lx") - -[node name="Boundary1" type="StaticBody3D" parent="World" index="3"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -10) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary1" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_iva63") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary1" index="1"] -shape = SubResource("BoxShape3D_db0th") - -[node name="Boundary2" type="StaticBody3D" parent="World" index="4"] -transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 10, 2, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary2" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_iva63") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary2" index="1"] -shape = SubResource("BoxShape3D_db0th") - -[node name="Boundary3" type="StaticBody3D" parent="World" index="5"] -transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 2, 10) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary3" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_iva63") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary3" index="1"] -shape = SubResource("BoxShape3D_db0th") - -[node name="Boundary4" type="StaticBody3D" parent="World" index="6"] -transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -10, 2, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary4" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_iva63") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary4" index="1"] -shape = SubResource("BoxShape3D_db0th") - -[node name="Stone1" type="StaticBody3D" parent="World" index="7"] -transform = Transform3D(0.965926, -0.258819, 0, 0.25, 0.933013, 0.258819, -0.0669873, -0.25, 0.965926, -7, -0.2, -7) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Stone1" index="0"] -mesh = SubResource("SphereMesh_mdvnb") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Stone1" index="1"] -shape = SubResource("ConvexPolygonShape3D_on5hg") - -[node name="Stone2" type="StaticBody3D" parent="World" index="8"] -transform = Transform3D(-0.0669873, -0.25, 0.965926, 0.25, 0.933013, 0.258819, -0.965926, 0.258819, -4.60787e-08, 7, -0.6, -7) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Stone2" index="0"] -mesh = SubResource("SphereMesh_mdvnb") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Stone2" index="1"] -shape = SubResource("ConvexPolygonShape3D_on5hg") - -[node name="Grass1" type="Node3D" parent="World" index="9"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0) -script = ExtResource("3_dvyu5") -extend = Vector3(10, 0, 10) -instance_count = 3000 -mesh = SubResource("QuadMesh_lmjaa") -material_override = SubResource("StandardMaterial3D_k6snm") - -[node name="HouseEntrance" type="Node3D" parent="." index="2"] -transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 8.6) - -[node name="Exterior" type="CSGPolygon3D" parent="HouseEntrance" index="0"] -use_collision = true -polygon = PackedVector2Array(-3, 0, -3, 3, 0, 5, 3, 3, 3, 0, 0.5, 0, 0.5, 3, -0.5, 3, -0.5, 0) -material = ExtResource("4_j3su2") - -[node name="Door" type="StaticBody3D" parent="HouseEntrance" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -0.5) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="HouseEntrance/Door" index="0"] -mesh = SubResource("BoxMesh_tq4y1") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="HouseEntrance/Door" index="1"] -shape = SubResource("BoxShape3D_dvkw1") - -[node name="EnterHouse" parent="." index="3" instance=ExtResource("6_tlcot")] -zone_scene = "res://game/zones/house_interior/house_interior_zone.tscn" -spawn_node_name = "FromBackYard" - -[node name="CollisionShape3D" type="CollisionShape3D" parent="EnterHouse" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 8.7) -shape = SubResource("BoxShape3D_g8b71") - -[node name="FromHouseInterior" type="Marker3D" parent="." index="4"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 7.6) - -[node name="StorageBox" parent="." index="5" instance=ExtResource("10_20abo")] -transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 4, 0, 9) - -[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand"] -[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L"] -[editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand"] -[editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R"] diff --git a/game/zones/house_back_yard/house_back_yard_zone_info.tres b/game/zones/house_back_yard/house_back_yard_zone_info.tres deleted file mode 100644 index d479aa8..0000000 --- a/game/zones/house_back_yard/house_back_yard_zone_info.tres +++ /dev/null @@ -1,8 +0,0 @@ -[gd_resource type="Resource" script_class="ZoneInfo" load_steps=2 format=3 uid="uid://cpugbtukttkfj"] - -[ext_resource type="Script" path="res://components/persistent/persistent_zone_info.gd" id="1_rxgn1"] - -[resource] -script = ExtResource("1_rxgn1") -zone_id = "zone_house_back_yard" -instance_scene = "res://game/zones/house_back_yard/house_back_yard_zone.tscn" diff --git a/game/zones/house_interior/house_interior_zone.tscn b/game/zones/house_interior/house_interior_zone.tscn deleted file mode 100644 index 8945b20..0000000 --- a/game/zones/house_interior/house_interior_zone.tscn +++ /dev/null @@ -1,515 +0,0 @@ -[gd_scene load_steps=48 format=3 uid="uid://bsb7i42nbkdp2"] - -[ext_resource type="PackedScene" uid="uid://cvn48xcmsmkrb" path="res://game/zones/zone_base.tscn" id="1_4sjqh"] -[ext_resource type="Environment" uid="uid://er867l7dl10j" path="res://default_env.tres" id="2_42k30"] -[ext_resource type="Material" uid="uid://c386ygo86nqfc" path="res://assets/prototype_materials/wood_brown.tres" id="2_rhoo2"] -[ext_resource type="Material" uid="uid://cjylinr1vdjcw" path="res://assets/prototype_materials/dark_brown.tres" id="3_f5fy3"] -[ext_resource type="Resource" uid="uid://d1lgdwh7pv220" path="res://game/zones/house_interior/house_interior_zone_info.tres" id="3_x42ux"] -[ext_resource type="Material" uid="uid://csepeix2yvih" path="res://assets/prototype_materials/grass.tres" id="4_8oeg0"] -[ext_resource type="Material" uid="uid://c7prktlpm7tmm" path="res://assets/prototype_materials/forest.tres" id="5_60arm"] -[ext_resource type="Script" path="res://components/helpers/scatter.gd" id="6_sr5e8"] -[ext_resource type="PackedScene" uid="uid://vm423o6hdlya" path="res://components/helpers/zone_switch_area.tscn" id="7_jpwgk"] -[ext_resource type="PackedScene" uid="uid://chch4r7wddwdj" path="res://game/objects/storage/storage_box.tscn" id="11_q611u"] -[ext_resource type="PackedScene" uid="uid://dm2e4qfiy0v0a" path="res://components/helpers/zone_save_point.tscn" id="11_vm0jr"] -[ext_resource type="PackedScene" uid="uid://87ayr1op44nh" path="res://game/items/backpack/backpack.tscn" id="12_4n3xy"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_fm4ad"] -animation = &"Grip" - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_8r2ds"] -animation = &"Grip" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_andi0"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Little_Distal_L", "Armature/Skeleton3D:Little_Intermediate_L", "Armature/Skeleton3D:Little_Metacarpal_L", "Armature/Skeleton3D:Little_Proximal_L", "Armature/Skeleton3D:Middle_Distal_L", "Armature/Skeleton3D:Middle_Intermediate_L", "Armature/Skeleton3D:Middle_Metacarpal_L", "Armature/Skeleton3D:Middle_Proximal_L", "Armature/Skeleton3D:Ring_Distal_L", "Armature/Skeleton3D:Ring_Intermediate_L", "Armature/Skeleton3D:Ring_Metacarpal_L", "Armature/Skeleton3D:Ring_Proximal_L", "Armature/Skeleton3D:Thumb_Distal_L", "Armature/Skeleton3D:Thumb_Metacarpal_L", "Armature/Skeleton3D:Thumb_Proximal_L", "Armature/Skeleton:Little_Distal_L", "Armature/Skeleton:Little_Intermediate_L", "Armature/Skeleton:Little_Proximal_L", "Armature/Skeleton:Middle_Distal_L", "Armature/Skeleton:Middle_Intermediate_L", "Armature/Skeleton:Middle_Proximal_L", "Armature/Skeleton:Ring_Distal_L", "Armature/Skeleton:Ring_Intermediate_L", "Armature/Skeleton:Ring_Proximal_L", "Armature/Skeleton:Thumb_Distal_L", "Armature/Skeleton:Thumb_Proximal_L"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_4glen"] -animation = &"Grip 5" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_lh6lx"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Index_Distal_L", "Armature/Skeleton3D:Index_Intermediate_L", "Armature/Skeleton3D:Index_Metacarpal_L", "Armature/Skeleton3D:Index_Proximal_L", "Armature/Skeleton:Index_Distal_L", "Armature/Skeleton:Index_Intermediate_L", "Armature/Skeleton:Index_Proximal_L"] - -[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_ctrkn"] -graph_offset = Vector2(-536, 11) -nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_fm4ad") -nodes/ClosedHand1/position = Vector2(-600, 300) -nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_8r2ds") -nodes/ClosedHand2/position = Vector2(-360, 300) -nodes/Grip/node = SubResource("AnimationNodeBlend2_andi0") -nodes/Grip/position = Vector2(0, 20) -nodes/OpenHand/node = SubResource("AnimationNodeAnimation_4glen") -nodes/OpenHand/position = Vector2(-600, 100) -nodes/Trigger/node = SubResource("AnimationNodeBlend2_lh6lx") -nodes/Trigger/position = Vector2(-360, 20) -node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_0dda0"] -animation = &"Grip" - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_brdbn"] -animation = &"Grip" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_6fgtj"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Little_Distal_R", "Armature/Skeleton3D:Little_Intermediate_R", "Armature/Skeleton3D:Little_Metacarpal_R", "Armature/Skeleton3D:Little_Proximal_R", "Armature/Skeleton3D:Middle_Distal_R", "Armature/Skeleton3D:Middle_Intermediate_R", "Armature/Skeleton3D:Middle_Metacarpal_R", "Armature/Skeleton3D:Middle_Proximal_R", "Armature/Skeleton3D:Ring_Distal_R", "Armature/Skeleton3D:Ring_Intermediate_R", "Armature/Skeleton3D:Ring_Metacarpal_R", "Armature/Skeleton3D:Ring_Proximal_R", "Armature/Skeleton3D:Thumb_Distal_R", "Armature/Skeleton3D:Thumb_Metacarpal_R", "Armature/Skeleton3D:Thumb_Proximal_R", "Armature/Skeleton:Little_Distal_R", "Armature/Skeleton:Little_Intermediate_R", "Armature/Skeleton:Little_Proximal_R", "Armature/Skeleton:Middle_Distal_R", "Armature/Skeleton:Middle_Intermediate_R", "Armature/Skeleton:Middle_Proximal_R", "Armature/Skeleton:Ring_Distal_R", "Armature/Skeleton:Ring_Intermediate_R", "Armature/Skeleton:Ring_Proximal_R", "Armature/Skeleton:Thumb_Distal_R", "Armature/Skeleton:Thumb_Proximal_R"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_pe2vh"] -animation = &"Grip 5" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_kn2ma"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Index_Distal_R", "Armature/Skeleton3D:Index_Intermediate_R", "Armature/Skeleton3D:Index_Metacarpal_R", "Armature/Skeleton3D:Index_Proximal_R", "Armature/Skeleton:Index_Distal_R", "Armature/Skeleton:Index_Intermediate_R", "Armature/Skeleton:Index_Proximal_R"] - -[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_tcppe"] -graph_offset = Vector2(-552.664, 107.301) -nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_0dda0") -nodes/ClosedHand1/position = Vector2(-600, 300) -nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_brdbn") -nodes/ClosedHand2/position = Vector2(-360, 300) -nodes/Grip/node = SubResource("AnimationNodeBlend2_6fgtj") -nodes/Grip/position = Vector2(0, 40) -nodes/OpenHand/node = SubResource("AnimationNodeAnimation_pe2vh") -nodes/OpenHand/position = Vector2(-600, 100) -nodes/Trigger/node = SubResource("AnimationNodeBlend2_kn2ma") -nodes/Trigger/position = Vector2(-360, 40) -node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] - -[sub_resource type="QuadMesh" id="QuadMesh_ss6of"] -material = ExtResource("4_8oeg0") -size = Vector2(20, 20) - -[sub_resource type="BoxShape3D" id="BoxShape3D_7i35n"] -size = Vector3(20, 1, 20) - -[sub_resource type="QuadMesh" id="QuadMesh_fjuju"] -material = ExtResource("5_60arm") -size = Vector2(20, 4) - -[sub_resource type="BoxShape3D" id="BoxShape3D_65y34"] -size = Vector3(20, 4, 1) - -[sub_resource type="QuadMesh" id="QuadMesh_ympj7"] -size = Vector2(0.02, 0.1) - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cpr52"] -cull_mode = 2 -albedo_color = Color(0, 0.603922, 0.0901961, 1) - -[sub_resource type="QuadMesh" id="QuadMesh_3b7bd"] -material = ExtResource("2_rhoo2") -size = Vector2(8, 18) - -[sub_resource type="BoxShape3D" id="BoxShape3D_7waf7"] -size = Vector3(8, 1, 18) - -[sub_resource type="BoxMesh" id="BoxMesh_aqhwm"] -material = ExtResource("2_rhoo2") -size = Vector3(8, 18, 1) - -[sub_resource type="BoxShape3D" id="BoxShape3D_88dki"] -size = Vector3(18, 3, 1) - -[sub_resource type="BoxMesh" id="BoxMesh_maljg"] -material = ExtResource("2_rhoo2") -size = Vector3(18, 1, 1) - -[sub_resource type="BoxMesh" id="BoxMesh_pyf23"] -material = ExtResource("2_rhoo2") -size = Vector3(18, 0.5, 1) - -[sub_resource type="BoxMesh" id="BoxMesh_yxwu0"] -material = ExtResource("2_rhoo2") -size = Vector3(3, 1.5, 1) - -[sub_resource type="BoxMesh" id="BoxMesh_jl771"] -material = ExtResource("2_rhoo2") -size = Vector3(3, 3, 1) - -[sub_resource type="BoxShape3D" id="BoxShape3D_t07s1"] -size = Vector3(3, 3, 1) - -[sub_resource type="BoxMesh" id="BoxMesh_2681d"] -material = ExtResource("2_rhoo2") -size = Vector3(1, 0.25, 1) - -[sub_resource type="BoxShape3D" id="BoxShape3D_vx05l"] -size = Vector3(1, 0.25, 1) - -[sub_resource type="BoxMesh" id="BoxMesh_tmdhs"] -material = ExtResource("3_f5fy3") -size = Vector3(1, 2.875, 0.1) - -[sub_resource type="BoxShape3D" id="BoxShape3D_hamto"] -size = Vector3(1, 2.875, 0.1) - -[sub_resource type="CylinderMesh" id="CylinderMesh_vc0dy"] -material = ExtResource("3_f5fy3") -top_radius = 1.0 -bottom_radius = 1.0 -height = 0.05 -radial_segments = 32 -rings = 1 - -[sub_resource type="CylinderMesh" id="CylinderMesh_ll8no"] -material = ExtResource("3_f5fy3") -top_radius = 0.1 -bottom_radius = 0.1 -height = 0.8 -radial_segments = 6 -rings = 1 - -[sub_resource type="CylinderShape3D" id="CylinderShape3D_ns35b"] -height = 0.05 -radius = 1.0 - -[sub_resource type="BoxShape3D" id="BoxShape3D_rpfc0"] -size = Vector3(1, 3, 0.2) - -[node name="HouseInteriorZone" instance=ExtResource("1_4sjqh")] -zone_info = ExtResource("3_x42ux") - -[node name="Skeleton3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature" index="0"] -bones/1/rotation = Quaternion(0.323537, -2.56577e-05, -0.0272204, 0.945824) -bones/2/rotation = Quaternion(-0.0904441, -0.0415175, -0.166293, 0.981042) -bones/3/rotation = Quaternion(-0.0466199, 0.020971, 0.0103276, 0.998639) -bones/5/rotation = Quaternion(-0.00128455, -0.0116081, -0.0168259, 0.99979) -bones/6/rotation = Quaternion(0.102925, -0.00993208, -0.00794417, 0.994608) -bones/7/rotation = Quaternion(-0.012859, -0.0236108, -0.323258, 0.945929) -bones/8/rotation = Quaternion(0.0120575, -0.00929194, -0.247472, 0.968775) -bones/10/rotation = Quaternion(-0.0357539, -0.000400032, 0.00636764, 0.99934) -bones/11/rotation = Quaternion(-0.00264964, -0.00114471, -0.125992, 0.992027) -bones/12/rotation = Quaternion(0.0394225, 0.00193393, -0.228074, 0.972843) -bones/13/rotation = Quaternion(-0.0123395, -0.00881294, -0.280669, 0.959685) -bones/15/rotation = Quaternion(-0.0702656, 0.0101908, -0.0243307, 0.99718) -bones/16/rotation = Quaternion(-0.0320634, -0.00223624, -0.0686366, 0.997124) -bones/17/rotation = Quaternion(0.0253452, 0.00812462, -0.249005, 0.968136) -bones/18/rotation = Quaternion(0.00252232, 0.00788073, -0.243204, 0.96994) -bones/20/rotation = Quaternion(-0.0917369, 0.0203027, -0.010183, 0.995524) -bones/21/rotation = Quaternion(-0.0625182, -0.00022572, -0.115393, 0.991351) -bones/22/rotation = Quaternion(0.0585786, 0.0216483, -0.269905, 0.96086) -bones/23/rotation = Quaternion(0.00687177, -0.00357275, -0.211953, 0.977249) - -[node name="BoneAttachment3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature/Skeleton3D" index="1"] -transform = Transform3D(0.54083, 0.840813, -0.0231736, -0.0826267, 0.0805243, 0.993322, 0.837064, -0.535303, 0.113023, 0.039902, 0.0402828, -0.150096) - -[node name="AnimationTree" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand" index="1"] -tree_root = SubResource("AnimationNodeBlendTree_ctrkn") - -[node name="Skeleton3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature" index="0"] -bones/1/rotation = Quaternion(0.323537, 2.56577e-05, 0.0272204, 0.945824) -bones/2/rotation = Quaternion(-0.0904441, 0.0415175, 0.166293, 0.981042) -bones/3/rotation = Quaternion(-0.0466199, -0.020971, -0.0103276, 0.998639) -bones/5/rotation = Quaternion(-0.00128455, 0.0116081, 0.0168259, 0.99979) -bones/6/rotation = Quaternion(0.102925, 0.00993208, 0.00794419, 0.994608) -bones/7/rotation = Quaternion(-0.012859, 0.0236108, 0.323258, 0.945929) -bones/8/rotation = Quaternion(0.0120575, 0.00929193, 0.247472, 0.968775) -bones/10/rotation = Quaternion(-0.0357539, 0.000400032, -0.00636763, 0.99934) -bones/11/rotation = Quaternion(-0.00264964, 0.00114471, 0.125992, 0.992027) -bones/12/rotation = Quaternion(0.0394225, -0.00193393, 0.228074, 0.972843) -bones/13/rotation = Quaternion(-0.0123395, 0.00881294, 0.280669, 0.959685) -bones/15/rotation = Quaternion(-0.0702656, -0.0101908, 0.0243307, 0.99718) -bones/16/rotation = Quaternion(-0.0320634, 0.00223624, 0.0686366, 0.997124) -bones/17/rotation = Quaternion(0.0253452, -0.00812462, 0.249005, 0.968136) -bones/18/rotation = Quaternion(0.00252233, -0.00788073, 0.243204, 0.96994) -bones/20/rotation = Quaternion(-0.0917369, -0.0203027, 0.010183, 0.995524) -bones/21/rotation = Quaternion(-0.0625182, 0.000225721, 0.115393, 0.991351) -bones/22/rotation = Quaternion(0.0585786, -0.0216483, 0.269905, 0.96086) -bones/23/rotation = Quaternion(0.00687177, 0.00357275, 0.211953, 0.977249) - -[node name="BoneAttachment3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature/Skeleton3D" index="1"] -transform = Transform3D(0.540829, -0.840813, 0.0231736, 0.0826268, 0.0805242, 0.993322, -0.837064, -0.535303, 0.113024, -0.039902, 0.0402828, -0.150096) - -[node name="AnimationTree" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand" index="1"] -tree_root = SubResource("AnimationNodeBlendTree_tcppe") - -[node name="World" type="Node3D" parent="." index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0) - -[node name="WorldEnvironment" type="WorldEnvironment" parent="World" index="0"] -environment = ExtResource("2_42k30") - -[node name="DirectionalLight3D" type="DirectionalLight3D" parent="World" index="1"] -transform = Transform3D(-0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, 0.5, -0.5, 0, 8, 0) - -[node name="Ground" type="StaticBody3D" parent="World" index="2"] - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Ground" index="0"] -transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0) -mesh = SubResource("QuadMesh_ss6of") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Ground" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) -shape = SubResource("BoxShape3D_7i35n") - -[node name="Boundary1" type="StaticBody3D" parent="World" index="3"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -10) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary1" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_fjuju") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary1" index="1"] -shape = SubResource("BoxShape3D_65y34") - -[node name="Boundary2" type="StaticBody3D" parent="World" index="4"] -transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 10, 2, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary2" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_fjuju") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary2" index="1"] -shape = SubResource("BoxShape3D_65y34") - -[node name="Boundary3" type="StaticBody3D" parent="World" index="5"] -transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 2, 10) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary3" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_fjuju") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary3" index="1"] -shape = SubResource("BoxShape3D_65y34") - -[node name="Boundary4" type="StaticBody3D" parent="World" index="6"] -transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -10, 2, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary4" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_fjuju") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary4" index="1"] -shape = SubResource("BoxShape3D_65y34") - -[node name="Grass1" type="Node3D" parent="World" index="7"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, 0.05, 0) -script = ExtResource("6_sr5e8") -extend = Vector3(3, 0, 10) -instance_count = 2000 -mesh = SubResource("QuadMesh_ympj7") -material_override = SubResource("StandardMaterial3D_cpr52") - -[node name="Grass2" type="Node3D" parent="World" index="8"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 0.05, 0) -script = ExtResource("6_sr5e8") -extend = Vector3(3, 0, 10) -instance_count = 2000 -mesh = SubResource("QuadMesh_ympj7") -material_override = SubResource("StandardMaterial3D_cpr52") - -[node name="House" type="Node3D" parent="." index="2"] - -[node name="Floor" type="StaticBody3D" parent="House" index="0"] - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/Floor" index="0"] -transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0) -mesh = SubResource("QuadMesh_3b7bd") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/Floor" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) -shape = SubResource("BoxShape3D_7waf7") - -[node name="Roof" type="StaticBody3D" parent="House" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/Roof" index="0"] -transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.5, 0) -mesh = SubResource("BoxMesh_aqhwm") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/Roof" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) -shape = SubResource("BoxShape3D_7waf7") - -[node name="LongWall1" type="StaticBody3D" parent="House" index="2"] -transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -4, 0, 0) - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/LongWall1" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_88dki") - -[node name="Base" type="MeshInstance3D" parent="House/LongWall1" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) -mesh = SubResource("BoxMesh_maljg") - -[node name="Top" type="MeshInstance3D" parent="House/LongWall1" index="2"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.75, 0) -mesh = SubResource("BoxMesh_pyf23") - -[node name="Section1" type="MeshInstance3D" parent="House/LongWall1" index="3"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.5, 1.75, 0) -mesh = SubResource("BoxMesh_yxwu0") - -[node name="Section2" type="MeshInstance3D" parent="House/LongWall1" index="4"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75, 0) -mesh = SubResource("BoxMesh_yxwu0") - -[node name="Section3" type="MeshInstance3D" parent="House/LongWall1" index="5"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.5, 1.75, 0) -mesh = SubResource("BoxMesh_yxwu0") - -[node name="LongWall2" type="StaticBody3D" parent="House" index="3"] -transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4, 0, 0) - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/LongWall2" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_88dki") - -[node name="Base" type="MeshInstance3D" parent="House/LongWall2" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) -mesh = SubResource("BoxMesh_maljg") - -[node name="Top" type="MeshInstance3D" parent="House/LongWall2" index="2"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.75, 0) -mesh = SubResource("BoxMesh_pyf23") - -[node name="Section1" type="MeshInstance3D" parent="House/LongWall2" index="3"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.5, 1.75, 0) -mesh = SubResource("BoxMesh_yxwu0") - -[node name="Section2" type="MeshInstance3D" parent="House/LongWall2" index="4"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75, 0) -mesh = SubResource("BoxMesh_yxwu0") - -[node name="Section3" type="MeshInstance3D" parent="House/LongWall2" index="5"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.5, 1.75, 0) -mesh = SubResource("BoxMesh_yxwu0") - -[node name="OutsideWall" type="Node3D" parent="House" index="4"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 9) - -[node name="Wall1" type="StaticBody3D" parent="House/OutsideWall" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/OutsideWall/Wall1" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -mesh = SubResource("BoxMesh_jl771") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/OutsideWall/Wall1" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_t07s1") - -[node name="Wall2" type="StaticBody3D" parent="House/OutsideWall" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/OutsideWall/Wall2" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -mesh = SubResource("BoxMesh_jl771") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/OutsideWall/Wall2" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_t07s1") - -[node name="DoorTop" type="StaticBody3D" parent="House/OutsideWall" index="2"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.875, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/OutsideWall/DoorTop" index="0"] -mesh = SubResource("BoxMesh_2681d") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/OutsideWall/DoorTop" index="1"] -shape = SubResource("BoxShape3D_vx05l") - -[node name="Door" type="StaticBody3D" parent="House/OutsideWall" index="3"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.438, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/OutsideWall/Door" index="0"] -mesh = SubResource("BoxMesh_tmdhs") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/OutsideWall/Door" index="1"] -shape = SubResource("BoxShape3D_hamto") - -[node name="BackYardWall" type="Node3D" parent="House" index="5"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9) - -[node name="Wall1" type="StaticBody3D" parent="House/BackYardWall" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/BackYardWall/Wall1" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -mesh = SubResource("BoxMesh_jl771") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/BackYardWall/Wall1" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_t07s1") - -[node name="Wall2" type="StaticBody3D" parent="House/BackYardWall" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/BackYardWall/Wall2" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -mesh = SubResource("BoxMesh_jl771") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/BackYardWall/Wall2" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_t07s1") - -[node name="DoorTop" type="StaticBody3D" parent="House/BackYardWall" index="2"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.875, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/BackYardWall/DoorTop" index="0"] -mesh = SubResource("BoxMesh_2681d") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/BackYardWall/DoorTop" index="1"] -shape = SubResource("BoxShape3D_vx05l") - -[node name="Door" type="StaticBody3D" parent="House/BackYardWall" index="3"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.438, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="House/BackYardWall/Door" index="0"] -mesh = SubResource("BoxMesh_tmdhs") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="House/BackYardWall/Door" index="1"] -shape = SubResource("BoxShape3D_hamto") - -[node name="RoundTable" type="StaticBody3D" parent="House" index="6"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 6) - -[node name="Top" type="MeshInstance3D" parent="House/RoundTable" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0) -mesh = SubResource("CylinderMesh_vc0dy") - -[node name="Stand" type="MeshInstance3D" parent="House/RoundTable" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0) -mesh = SubResource("CylinderMesh_ll8no") - -[node name="TopCollider" type="CollisionShape3D" parent="House/RoundTable" index="2"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0) -shape = SubResource("CylinderShape3D_ns35b") - -[node name="ToOutside" parent="." index="3" instance=ExtResource("7_jpwgk")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 8.6) -zone_scene = "res://game/zones/outside/outside_zone.tscn" -spawn_node_name = "FromHouseInterior" - -[node name="CollisionShape3D" type="CollisionShape3D" parent="ToOutside" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_rpfc0") - -[node name="FromOutside" type="Marker3D" parent="." index="4"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 7.5) - -[node name="ToBackYard" parent="." index="5" instance=ExtResource("7_jpwgk")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8.6) -zone_scene = "res://game/zones/house_back_yard/house_back_yard_zone.tscn" -spawn_node_name = "FromHouseInterior" - -[node name="CollisionShape3D" type="CollisionShape3D" parent="ToBackYard" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_rpfc0") - -[node name="FromBackYard" type="Marker3D" parent="." index="6"] -transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, -7.5) - -[node name="SavePoint" parent="." index="7" instance=ExtResource("11_vm0jr")] -transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -2, 0, 0) - -[node name="StorageBox" parent="." index="8" instance=ExtResource("11_q611u")] -transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 3, 0, 0) - -[node name="Backpack" parent="." index="9" instance=ExtResource("12_4n3xy")] -transform = Transform3D(1, 0, 0, 0, -0.209823, -0.977739, 0, 0.977739, -0.209823, -1.65298, 1.01782, 5.83564) - -[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand"] -[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L"] -[editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand"] -[editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R"] diff --git a/game/zones/house_interior/house_interior_zone_info.tres b/game/zones/house_interior/house_interior_zone_info.tres deleted file mode 100644 index 38dab1d..0000000 --- a/game/zones/house_interior/house_interior_zone_info.tres +++ /dev/null @@ -1,8 +0,0 @@ -[gd_resource type="Resource" script_class="ZoneInfo" load_steps=2 format=3 uid="uid://d1lgdwh7pv220"] - -[ext_resource type="Script" path="res://components/persistent/persistent_zone_info.gd" id="1_13qc4"] - -[resource] -script = ExtResource("1_13qc4") -zone_id = "zone_house_interior" -instance_scene = "res://game/zones/house_interior/house_interior_zone.tscn" diff --git a/game/zones/outside/outside_zone.tscn b/game/zones/outside/outside_zone.tscn deleted file mode 100644 index e22ba8f..0000000 --- a/game/zones/outside/outside_zone.tscn +++ /dev/null @@ -1,328 +0,0 @@ -[gd_scene load_steps=38 format=3 uid="uid://cjat5u6nsihgw"] - -[ext_resource type="PackedScene" uid="uid://cvn48xcmsmkrb" path="res://game/zones/zone_base.tscn" id="1_sk0kv"] -[ext_resource type="Material" uid="uid://csepeix2yvih" path="res://assets/prototype_materials/grass.tres" id="2_uryyw"] -[ext_resource type="Material" uid="uid://c7prktlpm7tmm" path="res://assets/prototype_materials/forest.tres" id="3_wfk2d"] -[ext_resource type="Resource" uid="uid://to5lown6orfd" path="res://game/zones/outside/outside_zone_info.tres" id="3_wyepd"] -[ext_resource type="Script" path="res://components/helpers/scatter.gd" id="4_v2d8i"] -[ext_resource type="Material" uid="uid://c386ygo86nqfc" path="res://assets/prototype_materials/wood_brown.tres" id="4_yw2go"] -[ext_resource type="Material" uid="uid://cjylinr1vdjcw" path="res://assets/prototype_materials/dark_brown.tres" id="5_peq87"] -[ext_resource type="Material" uid="uid://ccdofvku4c7w3" path="res://assets/prototype_materials/stone_grey.tres" id="6_y2a7s"] -[ext_resource type="PackedScene" uid="uid://vm423o6hdlya" path="res://components/helpers/zone_switch_area.tscn" id="7_omnq0"] -[ext_resource type="Environment" uid="uid://er867l7dl10j" path="res://default_env.tres" id="8_82q6b"] -[ext_resource type="PackedScene" uid="uid://c4rpcr7s5pt3v" path="res://game/items/rock/rock.tscn" id="12_cxbia"] -[ext_resource type="PackedScene" uid="uid://chch4r7wddwdj" path="res://game/objects/storage/storage_box.tscn" id="13_galon"] -[ext_resource type="PackedScene" uid="uid://dbepe4i2q62yy" path="res://game/items/crate/crate.tscn" id="13_mtgv7"] -[ext_resource type="PackedScene" uid="uid://c33bpwxnrb0gr" path="res://game/items/toolbox/toolbox.tscn" id="14_68l3l"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_p02yt"] -animation = &"Grip" - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_5ya82"] -animation = &"Grip" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_hmww4"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Little_Distal_L", "Armature/Skeleton3D:Little_Intermediate_L", "Armature/Skeleton3D:Little_Metacarpal_L", "Armature/Skeleton3D:Little_Proximal_L", "Armature/Skeleton3D:Middle_Distal_L", "Armature/Skeleton3D:Middle_Intermediate_L", "Armature/Skeleton3D:Middle_Metacarpal_L", "Armature/Skeleton3D:Middle_Proximal_L", "Armature/Skeleton3D:Ring_Distal_L", "Armature/Skeleton3D:Ring_Intermediate_L", "Armature/Skeleton3D:Ring_Metacarpal_L", "Armature/Skeleton3D:Ring_Proximal_L", "Armature/Skeleton3D:Thumb_Distal_L", "Armature/Skeleton3D:Thumb_Metacarpal_L", "Armature/Skeleton3D:Thumb_Proximal_L", "Armature/Skeleton:Little_Distal_L", "Armature/Skeleton:Little_Intermediate_L", "Armature/Skeleton:Little_Proximal_L", "Armature/Skeleton:Middle_Distal_L", "Armature/Skeleton:Middle_Intermediate_L", "Armature/Skeleton:Middle_Proximal_L", "Armature/Skeleton:Ring_Distal_L", "Armature/Skeleton:Ring_Intermediate_L", "Armature/Skeleton:Ring_Proximal_L", "Armature/Skeleton:Thumb_Distal_L", "Armature/Skeleton:Thumb_Proximal_L"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_8y4d1"] -animation = &"Grip 5" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_iyfkk"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Index_Distal_L", "Armature/Skeleton3D:Index_Intermediate_L", "Armature/Skeleton3D:Index_Metacarpal_L", "Armature/Skeleton3D:Index_Proximal_L", "Armature/Skeleton:Index_Distal_L", "Armature/Skeleton:Index_Intermediate_L", "Armature/Skeleton:Index_Proximal_L"] - -[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_qrs50"] -graph_offset = Vector2(-536, 11) -nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_p02yt") -nodes/ClosedHand1/position = Vector2(-600, 300) -nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_5ya82") -nodes/ClosedHand2/position = Vector2(-360, 300) -nodes/Grip/node = SubResource("AnimationNodeBlend2_hmww4") -nodes/Grip/position = Vector2(0, 20) -nodes/OpenHand/node = SubResource("AnimationNodeAnimation_8y4d1") -nodes/OpenHand/position = Vector2(-600, 100) -nodes/Trigger/node = SubResource("AnimationNodeBlend2_iyfkk") -nodes/Trigger/position = Vector2(-360, 20) -node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_xxwsy"] -animation = &"Grip" - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_m7om0"] -animation = &"Grip" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_1bkqf"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Little_Distal_R", "Armature/Skeleton3D:Little_Intermediate_R", "Armature/Skeleton3D:Little_Metacarpal_R", "Armature/Skeleton3D:Little_Proximal_R", "Armature/Skeleton3D:Middle_Distal_R", "Armature/Skeleton3D:Middle_Intermediate_R", "Armature/Skeleton3D:Middle_Metacarpal_R", "Armature/Skeleton3D:Middle_Proximal_R", "Armature/Skeleton3D:Ring_Distal_R", "Armature/Skeleton3D:Ring_Intermediate_R", "Armature/Skeleton3D:Ring_Metacarpal_R", "Armature/Skeleton3D:Ring_Proximal_R", "Armature/Skeleton3D:Thumb_Distal_R", "Armature/Skeleton3D:Thumb_Metacarpal_R", "Armature/Skeleton3D:Thumb_Proximal_R", "Armature/Skeleton:Little_Distal_R", "Armature/Skeleton:Little_Intermediate_R", "Armature/Skeleton:Little_Proximal_R", "Armature/Skeleton:Middle_Distal_R", "Armature/Skeleton:Middle_Intermediate_R", "Armature/Skeleton:Middle_Proximal_R", "Armature/Skeleton:Ring_Distal_R", "Armature/Skeleton:Ring_Intermediate_R", "Armature/Skeleton:Ring_Proximal_R", "Armature/Skeleton:Thumb_Distal_R", "Armature/Skeleton:Thumb_Proximal_R"] - -[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_8npt3"] -animation = &"Grip 5" - -[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_doyug"] -filter_enabled = true -filters = ["Armature/Skeleton3D:Index_Distal_R", "Armature/Skeleton3D:Index_Intermediate_R", "Armature/Skeleton3D:Index_Metacarpal_R", "Armature/Skeleton3D:Index_Proximal_R", "Armature/Skeleton:Index_Distal_R", "Armature/Skeleton:Index_Intermediate_R", "Armature/Skeleton:Index_Proximal_R"] - -[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_4mfj8"] -graph_offset = Vector2(-552.664, 107.301) -nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_xxwsy") -nodes/ClosedHand1/position = Vector2(-600, 300) -nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_m7om0") -nodes/ClosedHand2/position = Vector2(-360, 300) -nodes/Grip/node = SubResource("AnimationNodeBlend2_1bkqf") -nodes/Grip/position = Vector2(0, 40) -nodes/OpenHand/node = SubResource("AnimationNodeAnimation_8npt3") -nodes/OpenHand/position = Vector2(-600, 100) -nodes/Trigger/node = SubResource("AnimationNodeBlend2_doyug") -nodes/Trigger/position = Vector2(-360, 40) -node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] - -[sub_resource type="QuadMesh" id="QuadMesh_0144s"] -material = ExtResource("2_uryyw") -size = Vector2(20, 20) - -[sub_resource type="BoxShape3D" id="BoxShape3D_ivc2m"] -size = Vector3(20, 1, 20) - -[sub_resource type="QuadMesh" id="QuadMesh_mq77n"] -material = ExtResource("3_wfk2d") -size = Vector2(20, 4) - -[sub_resource type="BoxShape3D" id="BoxShape3D_cvifd"] -size = Vector3(20, 4, 1) - -[sub_resource type="QuadMesh" id="QuadMesh_pt6e2"] -size = Vector2(0.02, 0.1) - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_srm7c"] -cull_mode = 2 -albedo_color = Color(0, 0.603922, 0.0901961, 1) - -[sub_resource type="SphereMesh" id="SphereMesh_6ysum"] -material = ExtResource("6_y2a7s") -radius = 3.0 -height = 4.0 -radial_segments = 5 -rings = 3 - -[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_f4wyk"] -points = PackedVector3Array(-1.7634, 0, -2.42705, -1.24728, -1.41425, -1.71626, -2.85317, 0, 0.926607, -1.24728, 1.41386, -1.71626, 1.76284, 0, -2.42705, 1.24673, -1.41425, -1.71626, 0, -2, -0.000390053, -2.01755, -1.41425, 0.655149, -2.01755, 1.41386, 0.655149, 0, 0, 3, 0, 2, -0.000390053, 1.24673, 1.41386, -1.71626, 2.85317, 0, 0.926607, 2.01699, -1.41425, 0.655149, 0, -1.41425, 2.12081, 0, 1.41386, 2.12081, 2.01699, 1.41386, 0.655149) - -[sub_resource type="BoxMesh" id="BoxMesh_s0cu3"] -material = ExtResource("5_peq87") -size = Vector3(1, 3, 0.2) - -[sub_resource type="BoxShape3D" id="BoxShape3D_lsqhn"] -size = Vector3(1, 3, 0.1) - -[sub_resource type="BoxShape3D" id="BoxShape3D_wdgkd"] -size = Vector3(1, 3, 0.2) - -[node name="OutsideZone" instance=ExtResource("1_sk0kv")] -zone_info = ExtResource("3_wyepd") - -[node name="Skeleton3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature" index="0"] -bones/1/rotation = Quaternion(0.323537, -2.56577e-05, -0.0272204, 0.945824) -bones/2/rotation = Quaternion(-0.0904441, -0.0415175, -0.166293, 0.981042) -bones/3/rotation = Quaternion(-0.0466199, 0.020971, 0.0103276, 0.998639) -bones/5/rotation = Quaternion(-0.00128455, -0.0116081, -0.0168259, 0.99979) -bones/6/rotation = Quaternion(0.102925, -0.00993208, -0.00794417, 0.994608) -bones/7/rotation = Quaternion(-0.012859, -0.0236108, -0.323258, 0.945929) -bones/8/rotation = Quaternion(0.0120575, -0.00929194, -0.247472, 0.968775) -bones/10/rotation = Quaternion(-0.0357539, -0.000400032, 0.00636764, 0.99934) -bones/11/rotation = Quaternion(-0.00264964, -0.00114471, -0.125992, 0.992027) -bones/12/rotation = Quaternion(0.0394225, 0.00193393, -0.228074, 0.972843) -bones/13/rotation = Quaternion(-0.0123395, -0.00881294, -0.280669, 0.959685) -bones/15/rotation = Quaternion(-0.0702656, 0.0101908, -0.0243307, 0.99718) -bones/16/rotation = Quaternion(-0.0320634, -0.00223624, -0.0686366, 0.997124) -bones/17/rotation = Quaternion(0.0253452, 0.00812462, -0.249005, 0.968136) -bones/18/rotation = Quaternion(0.00252232, 0.00788073, -0.243204, 0.96994) -bones/20/rotation = Quaternion(-0.0917369, 0.0203027, -0.010183, 0.995524) -bones/21/rotation = Quaternion(-0.0625182, -0.00022572, -0.115393, 0.991351) -bones/22/rotation = Quaternion(0.0585786, 0.0216483, -0.269905, 0.96086) -bones/23/rotation = Quaternion(0.00687177, -0.00357275, -0.211953, 0.977249) - -[node name="BoneAttachment3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature/Skeleton3D" index="1"] -transform = Transform3D(0.54083, 0.840813, -0.0231736, -0.0826267, 0.0805243, 0.993322, 0.837064, -0.535303, 0.113023, 0.039902, 0.0402828, -0.150096) - -[node name="AnimationTree" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand" index="1"] -tree_root = SubResource("AnimationNodeBlendTree_qrs50") - -[node name="Skeleton3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature" index="0"] -bones/1/rotation = Quaternion(0.323537, 2.56577e-05, 0.0272204, 0.945824) -bones/2/rotation = Quaternion(-0.0904441, 0.0415175, 0.166293, 0.981042) -bones/3/rotation = Quaternion(-0.0466199, -0.020971, -0.0103276, 0.998639) -bones/5/rotation = Quaternion(-0.00128455, 0.0116081, 0.0168259, 0.99979) -bones/6/rotation = Quaternion(0.102925, 0.00993208, 0.00794419, 0.994608) -bones/7/rotation = Quaternion(-0.012859, 0.0236108, 0.323258, 0.945929) -bones/8/rotation = Quaternion(0.0120575, 0.00929193, 0.247472, 0.968775) -bones/10/rotation = Quaternion(-0.0357539, 0.000400032, -0.00636763, 0.99934) -bones/11/rotation = Quaternion(-0.00264964, 0.00114471, 0.125992, 0.992027) -bones/12/rotation = Quaternion(0.0394225, -0.00193393, 0.228074, 0.972843) -bones/13/rotation = Quaternion(-0.0123395, 0.00881294, 0.280669, 0.959685) -bones/15/rotation = Quaternion(-0.0702656, -0.0101908, 0.0243307, 0.99718) -bones/16/rotation = Quaternion(-0.0320634, 0.00223624, 0.0686366, 0.997124) -bones/17/rotation = Quaternion(0.0253452, -0.00812462, 0.249005, 0.968136) -bones/18/rotation = Quaternion(0.00252233, -0.00788073, 0.243204, 0.96994) -bones/20/rotation = Quaternion(-0.0917369, -0.0203027, 0.010183, 0.995524) -bones/21/rotation = Quaternion(-0.0625182, 0.000225721, 0.115393, 0.991351) -bones/22/rotation = Quaternion(0.0585786, -0.0216483, 0.269905, 0.96086) -bones/23/rotation = Quaternion(0.00687177, 0.00357275, 0.211953, 0.977249) - -[node name="BoneAttachment3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature/Skeleton3D" index="1"] -transform = Transform3D(0.540829, -0.840813, 0.0231736, 0.0826268, 0.0805242, 0.993322, -0.837064, -0.535303, 0.113024, -0.039902, 0.0402828, -0.150096) - -[node name="AnimationTree" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand" index="1"] -tree_root = SubResource("AnimationNodeBlendTree_4mfj8") - -[node name="World" type="Node3D" parent="." index="1"] - -[node name="WorldEnvironment" type="WorldEnvironment" parent="World" index="0"] -environment = ExtResource("8_82q6b") - -[node name="DirectionalLight3D" type="DirectionalLight3D" parent="World" index="1"] -transform = Transform3D(-0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, 0.5, -0.5, 0, 8, 0) - -[node name="Ground" type="StaticBody3D" parent="World" index="2"] - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Ground" index="0"] -transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0) -mesh = SubResource("QuadMesh_0144s") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Ground" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) -shape = SubResource("BoxShape3D_ivc2m") - -[node name="Boundary1" type="StaticBody3D" parent="World" index="3"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -10) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary1" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_mq77n") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary1" index="1"] -shape = SubResource("BoxShape3D_cvifd") - -[node name="Boundary2" type="StaticBody3D" parent="World" index="4"] -transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 10, 2, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary2" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_mq77n") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary2" index="1"] -shape = SubResource("BoxShape3D_cvifd") - -[node name="Boundary3" type="StaticBody3D" parent="World" index="5"] -transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 2, 10) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary3" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_mq77n") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary3" index="1"] -shape = SubResource("BoxShape3D_cvifd") - -[node name="Boundary4" type="StaticBody3D" parent="World" index="6"] -transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -10, 2, 0) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary4" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) -mesh = SubResource("QuadMesh_mq77n") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary4" index="1"] -shape = SubResource("BoxShape3D_cvifd") - -[node name="Grass1" type="Node3D" parent="World" index="7"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0) -script = ExtResource("4_v2d8i") -extend = Vector3(10, 0, 10) -instance_count = 3000 -mesh = SubResource("QuadMesh_pt6e2") -material_override = SubResource("StandardMaterial3D_srm7c") - -[node name="Stone1" type="StaticBody3D" parent="World" index="8"] -transform = Transform3D(0.764321, 0.0519332, 0.642742, -0.26228, 0.935615, 0.236294, -0.589087, -0.349183, 0.72873, 7, 0, 8) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Stone1" index="0"] -transform = Transform3D(1, -1.42492e-07, 0, 3.63216e-08, 1, 0, 0, 1.49012e-08, 1, 0, 0, 0) -mesh = SubResource("SphereMesh_6ysum") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Stone1" index="1"] -transform = Transform3D(1, -1.42492e-07, 0, 3.63216e-08, 1, 0, 0, 1.49012e-08, 1, 0, 0, 0) -shape = SubResource("ConvexPolygonShape3D_f4wyk") - -[node name="Stone2" type="StaticBody3D" parent="World" index="9"] -transform = Transform3D(0.417223, -0.0502081, 0.907416, -0.0618827, 0.994586, 0.0834845, -0.906695, -0.0909851, 0.411857, -8, -0.4, 8) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Stone2" index="0"] -transform = Transform3D(1, -1.56462e-07, 0, 4.47035e-08, 1, 3.35276e-08, 0, 1.49012e-08, 1, 0, 0, 0) -mesh = SubResource("SphereMesh_6ysum") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Stone2" index="1"] -transform = Transform3D(1, -1.42492e-07, 0, 3.63216e-08, 1, 0, 0, 1.49012e-08, 1, 0, 0, 0) -shape = SubResource("ConvexPolygonShape3D_f4wyk") - -[node name="HouseEntrance" type="Node3D" parent="." index="2"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8.6) - -[node name="Exterior" type="CSGPolygon3D" parent="HouseEntrance" index="0"] -use_collision = true -polygon = PackedVector2Array(-3, 0, -3, 3, 0, 5, 3, 3, 3, 0, 0.5, 0, 0.5, 3, -0.5, 3, -0.5, 0) -material = ExtResource("4_yw2go") - -[node name="Door" type="StaticBody3D" parent="HouseEntrance" index="1"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -0.5) - -[node name="MeshInstance3D" type="MeshInstance3D" parent="HouseEntrance/Door" index="0"] -mesh = SubResource("BoxMesh_s0cu3") - -[node name="CollisionShape3D" type="CollisionShape3D" parent="HouseEntrance/Door" index="1"] -shape = SubResource("BoxShape3D_lsqhn") - -[node name="ToHouseInterior" parent="." index="3" instance=ExtResource("7_omnq0")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8.7) -zone_scene = "res://game/zones/house_interior/house_interior_zone.tscn" -spawn_node_name = "FromOutside" - -[node name="CollisionShape3D" type="CollisionShape3D" parent="ToHouseInterior" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -shape = SubResource("BoxShape3D_wdgkd") - -[node name="FromHouseInterior" type="Marker3D" parent="." index="4"] -transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, -7.6) - -[node name="Rock1" parent="." index="5" instance=ExtResource("12_cxbia")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.02816, 0.159056, 5.29193) -item_id = "rock_outside_1" - -[node name="Rock2" parent="." index="6" instance=ExtResource("12_cxbia")] -transform = Transform3D(0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, 0.5, 4.52816, 0.159056, 5.29193) -item_id = "rock_outside_2" - -[node name="Rock3" parent="." index="7" instance=ExtResource("12_cxbia")] -transform = Transform3D(0.258819, 0, 0.965926, 0, 1, 0, -0.965926, 0, 0.258819, 4.82816, 0.159056, 5.69193) -item_id = "rock_outside_3" - -[node name="Crate1" parent="." index="8" instance=ExtResource("13_mtgv7")] -transform = Transform3D(0.965926, 0, -0.258819, 0, 1, 0, 0.258819, 0, 0.965926, -6, 0.5, -8.6) -item_id = "crate_outside_1" - -[node name="Crate2" parent="." index="9" instance=ExtResource("13_mtgv7")] -transform = Transform3D(0.996195, 0, 0.0871557, 0, 1, 0, -0.0871557, 0, 0.996195, -4.7, 0.5, -8.6) -item_id = "crate_outside_2" - -[node name="Crate3" parent="." index="10" instance=ExtResource("13_mtgv7")] -transform = Transform3D(1, 0, -2.23517e-08, 0, 1, 0, 2.23517e-08, 0, 1, -5.4, 1.5, -8.6) -item_id = "crate_outside_3" - -[node name="StorageBox" parent="." index="11" instance=ExtResource("13_galon")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -9) - -[node name="Toolbox" parent="." index="12" instance=ExtResource("14_68l3l")] -transform = Transform3D(0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 6, 0.117771, 4) - -[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand"] -[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L"] -[editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand"] -[editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R"] diff --git a/game/zones/outside/outside_zone_info.tres b/game/zones/start_island/start_island_zone.tres similarity index 70% rename from game/zones/outside/outside_zone_info.tres rename to game/zones/start_island/start_island_zone.tres index 815a068..13a36e9 100644 --- a/game/zones/outside/outside_zone_info.tres +++ b/game/zones/start_island/start_island_zone.tres @@ -4,5 +4,5 @@ [resource] script = ExtResource("1_ebey5") -zone_id = "zone_outside" -instance_scene = "res://game/zones/outside/outside_zone.tscn" +zone_id = "zone_start_island" +instance_scene = "res://game/zones/start_island/start_island_zone.tscn" diff --git a/game/zones/start_island/start_island_zone.tscn b/game/zones/start_island/start_island_zone.tscn new file mode 100644 index 0000000..d6939ef --- /dev/null +++ b/game/zones/start_island/start_island_zone.tscn @@ -0,0 +1,539 @@ +[gd_scene load_steps=123 format=3 uid="uid://dkbkyp60gubuk"] + +[ext_resource type="PackedScene" uid="uid://qmejywplaagw" path="res://components/persistent/persistent_pocket.tscn" id="1_gy57t"] +[ext_resource type="PackedScene" uid="uid://bkv43ec6chcf3" path="res://addons/godot-xr-tools/hands/scenes/collision/collision_hand_left.tscn" id="2_wawh4"] +[ext_resource type="PackedScene" uid="uid://b4kad2kuba1yn" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_hand_low.tscn" id="3_2dssu"] +[ext_resource type="PackedScene" uid="uid://bjcxf427un2wp" path="res://addons/godot-xr-tools/player/poke/poke.tscn" id="4_dlvjd"] +[ext_resource type="Animation" uid="uid://dgfeikrugfewi" path="res://addons/godot-xr-tools/hands/animations/left/Cup.res" id="5_bgu0c"] +[ext_resource type="PackedScene" uid="uid://cqhw276realc" path="res://addons/godot-xr-tools/functions/function_pointer.tscn" id="5_ja7nv"] +[ext_resource type="PackedScene" uid="uid://b4ysuy43poobf" path="res://addons/godot-xr-tools/functions/function_pickup.tscn" id="6_24x7w"] +[ext_resource type="Animation" uid="uid://dlxa6f6hwurka" path="res://addons/godot-xr-tools/hands/animations/left/Default pose.res" id="6_x2rkp"] +[ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="7_cca8s"] +[ext_resource type="Animation" uid="uid://plad1r85f7ws" path="res://addons/godot-xr-tools/hands/animations/left/Grip.res" id="7_hj4dd"] +[ext_resource type="PackedScene" uid="uid://c2q5phg8w08o" path="res://addons/godot-xr-tools/functions/movement_jump.tscn" id="8_3klke"] +[ext_resource type="Animation" uid="uid://dqa0h82y3qn1t" path="res://addons/godot-xr-tools/hands/animations/left/Grip 1.res" id="8_adcp6"] +[ext_resource type="Animation" uid="uid://di384xtde8ydf" path="res://addons/godot-xr-tools/hands/animations/left/Grip 2.res" id="9_d8n1l"] +[ext_resource type="PackedScene" uid="uid://clt88d5d1dje4" path="res://addons/godot-xr-tools/functions/movement_crouch.tscn" id="9_osh84"] +[ext_resource type="PackedScene" uid="uid://clujaf3u776a3" path="res://addons/godot-xr-tools/objects/viewport_2d_in_3d.tscn" id="10_ei8il"] +[ext_resource type="Animation" uid="uid://dd67rufxwj2u" path="res://addons/godot-xr-tools/hands/animations/left/Grip 3.res" id="10_huquo"] +[ext_resource type="PackedScene" uid="uid://b3bubdytjn523" path="res://game/zones/zone_wrist_ui.tscn" id="11_6a363"] +[ext_resource type="Animation" uid="uid://db62hs5s4n2b3" path="res://addons/godot-xr-tools/hands/animations/left/Grip 4.res" id="11_w1ts6"] +[ext_resource type="Animation" uid="uid://bediglpx0rj7i" path="res://addons/godot-xr-tools/hands/animations/left/Grip 5.res" id="12_0cuyc"] +[ext_resource type="PackedScene" uid="uid://c3uoohvnshach" path="res://addons/godot-xr-tools/hands/scenes/collision/collision_hand_right.tscn" id="12_sy6mo"] +[ext_resource type="Animation" uid="uid://nq3xh1olqipq" path="res://addons/godot-xr-tools/hands/animations/left/Grip Shaft.res" id="13_d44yo"] +[ext_resource type="PackedScene" uid="uid://l2n30mpbkdyw" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_hand_low.tscn" id="13_si85r"] +[ext_resource type="Animation" uid="uid://bi1l6lre2w2lp" path="res://addons/godot-xr-tools/hands/animations/left/Hold.res" id="14_3mvw6"] +[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="14_aiiin"] +[ext_resource type="Animation" uid="uid://c3e6h0rv2uw2d" path="res://addons/godot-xr-tools/hands/animations/left/Horns.res" id="15_f34hf"] +[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="15_tpebh"] +[ext_resource type="Animation" uid="uid://dfekure1r6q13" path="res://addons/godot-xr-tools/hands/animations/left/Metal.res" id="16_m7vny"] +[ext_resource type="PackedScene" uid="uid://da2qgxxwwitl6" path="res://addons/godot-xr-tools/objects/highlight/highlight_ring.tscn" id="16_pkyk8"] +[ext_resource type="PackedScene" uid="uid://drs4eeq721ojn" path="res://addons/godot-xr-tools/functions/movement_sprint.tscn" id="17_3ds33"] +[ext_resource type="Animation" uid="uid://b0rhk4r0r0t32" path="res://addons/godot-xr-tools/hands/animations/left/Middle.res" id="17_ayclr"] +[ext_resource type="Animation" uid="uid://f5k0gh4qnmv5" path="res://addons/godot-xr-tools/hands/animations/left/OK.res" id="18_honu3"] +[ext_resource type="Animation" uid="uid://1nlkfvitq7ku" path="res://addons/godot-xr-tools/hands/animations/left/Peace.res" id="19_7gwrq"] +[ext_resource type="Shader" path="res://assets/water/water_plane.gdshader" id="19_77aqb"] +[ext_resource type="Animation" uid="uid://dhjb0e334tfwl" path="res://addons/godot-xr-tools/hands/animations/left/Pinch Flat.res" id="20_qkhky"] +[ext_resource type="Animation" uid="uid://dkjsnihi81b7p" path="res://addons/godot-xr-tools/hands/animations/left/Pinch Large.res" id="21_41gn4"] +[ext_resource type="Animation" uid="uid://bn0fdhe2jwq3h" path="res://addons/godot-xr-tools/hands/animations/left/Pinch Middle.res" id="22_n654j"] +[ext_resource type="Animation" uid="uid://bo1b8w0s4ci81" path="res://addons/godot-xr-tools/hands/animations/left/Pinch Ring.res" id="23_u15nk"] +[ext_resource type="Animation" uid="uid://m5x2m8x3tcel" path="res://addons/godot-xr-tools/hands/animations/left/Pinch Tight.res" id="24_b3xet"] +[ext_resource type="Animation" uid="uid://fi23m6i7orhw" path="res://addons/godot-xr-tools/hands/animations/left/Pinch Up.res" id="25_ihln6"] +[ext_resource type="Animation" uid="uid://c8qmcuyaltdnw" path="res://addons/godot-xr-tools/hands/animations/left/PingPong.res" id="26_t5hdy"] +[ext_resource type="Animation" uid="uid://bqnoubqq7ogwu" path="res://addons/godot-xr-tools/hands/animations/left/Pinky.res" id="27_g1dsb"] +[ext_resource type="Animation" uid="uid://ddbo6ioa282en" path="res://addons/godot-xr-tools/hands/animations/left/Pistol.res" id="28_55hbk"] +[ext_resource type="Animation" uid="uid://brkptjihht3ae" path="res://addons/godot-xr-tools/hands/animations/left/Ring.res" id="29_m1kap"] +[ext_resource type="Animation" uid="uid://cnng6xumhw7cx" path="res://addons/godot-xr-tools/hands/animations/left/Rounded.res" id="30_wdmvt"] +[ext_resource type="Animation" uid="uid://cevirj0eagdrq" path="res://addons/godot-xr-tools/hands/animations/left/Sign 1.res" id="31_ggo1x"] +[ext_resource type="Animation" uid="uid://cc6phxovf1ban" path="res://addons/godot-xr-tools/hands/animations/left/Sign 2.res" id="32_n0tgs"] +[ext_resource type="Animation" uid="uid://ohthjp8qbcc4" path="res://addons/godot-xr-tools/hands/animations/left/Sign 3.res" id="33_0bn3k"] +[ext_resource type="Animation" uid="uid://dmx42g64577g5" path="res://addons/godot-xr-tools/hands/animations/left/Sign 4.res" id="34_d8lqr"] +[ext_resource type="Animation" uid="uid://dhsoxntrktx0p" path="res://addons/godot-xr-tools/hands/animations/left/Sign 5.res" id="35_nlo8y"] +[ext_resource type="Animation" uid="uid://c0u2a3yc2vhg8" path="res://addons/godot-xr-tools/hands/animations/left/Sign_Point.res" id="36_gcnl8"] +[ext_resource type="Animation" uid="uid://4g211my0hoiw" path="res://addons/godot-xr-tools/hands/animations/left/Straight.res" id="37_glc1o"] +[ext_resource type="Animation" uid="uid://d06l7hygl4qt3" path="res://addons/godot-xr-tools/hands/animations/left/Surfer.res" id="38_v64ak"] +[ext_resource type="Animation" uid="uid://bxei4oebd4hu3" path="res://addons/godot-xr-tools/hands/animations/left/Thumb.res" id="39_sagkm"] +[ext_resource type="Animation" uid="uid://do01jton6rk42" path="res://addons/godot-xr-tools/hands/animations/right/Cup.res" id="49_m6xia"] +[ext_resource type="Animation" uid="uid://ky28birj4su6" path="res://addons/godot-xr-tools/hands/animations/right/Default pose.res" id="50_xmivk"] +[ext_resource type="Animation" uid="uid://ccds2u22gbxn7" path="res://addons/godot-xr-tools/hands/animations/right/Grip.res" id="51_ikx80"] +[ext_resource type="Animation" uid="uid://daqddcrbpam0c" path="res://addons/godot-xr-tools/hands/animations/right/Grip 1.res" id="52_fpqul"] +[ext_resource type="Animation" uid="uid://r8hleealhrqt" path="res://addons/godot-xr-tools/hands/animations/right/Grip 2.res" id="53_p5g5m"] +[ext_resource type="Animation" uid="uid://rs7vpclot07o" path="res://addons/godot-xr-tools/hands/animations/right/Grip 3.res" id="54_wbot7"] +[ext_resource type="Animation" uid="uid://d1xnpyc08njjx" path="res://addons/godot-xr-tools/hands/animations/right/Grip 4.res" id="55_8s3qd"] +[ext_resource type="Animation" uid="uid://s1vqcxyqcvea" path="res://addons/godot-xr-tools/hands/animations/right/Grip 5.res" id="56_yllwb"] +[ext_resource type="Animation" uid="uid://c8dghcftg1thx" path="res://addons/godot-xr-tools/hands/animations/right/Grip Shaft.res" id="57_ep1ls"] +[ext_resource type="Animation" uid="uid://bv5tuc1kjv0k5" path="res://addons/godot-xr-tools/hands/animations/right/Hold.res" id="58_ax6i5"] +[ext_resource type="Animation" uid="uid://cdjfhqnr4n2mr" path="res://addons/godot-xr-tools/hands/animations/right/Horns.res" id="59_4nbmr"] +[ext_resource type="Animation" uid="uid://b1kqsodcr1til" path="res://addons/godot-xr-tools/hands/animations/right/Metal.res" id="60_e534c"] +[ext_resource type="Animation" uid="uid://cg6fsqb2iuuih" path="res://addons/godot-xr-tools/hands/animations/right/Middle.res" id="61_x1jok"] +[ext_resource type="Animation" uid="uid://c3isimdlxg54a" path="res://addons/godot-xr-tools/hands/animations/right/OK.res" id="62_gs64m"] +[ext_resource type="Animation" uid="uid://bxmc3vlfih764" path="res://addons/godot-xr-tools/hands/animations/right/Peace.res" id="63_lshsc"] +[ext_resource type="Animation" uid="uid://dg4v7rqiaje2h" path="res://addons/godot-xr-tools/hands/animations/right/Pinch Flat.res" id="64_ckk8r"] +[ext_resource type="Animation" uid="uid://cuwwpxi44vwpm" path="res://addons/godot-xr-tools/hands/animations/right/Pinch Large.res" id="65_8i1d0"] +[ext_resource type="Animation" uid="uid://c6vghurk7t5yb" path="res://addons/godot-xr-tools/hands/animations/right/Pinch Middle.res" id="66_st54v"] +[ext_resource type="Animation" uid="uid://mjotm5uukoo3" path="res://addons/godot-xr-tools/hands/animations/right/Pinch Ring.res" id="67_fymnb"] +[ext_resource type="Animation" uid="uid://ca21ej1p3g2yt" path="res://addons/godot-xr-tools/hands/animations/right/Pinch Tight.res" id="68_4ifma"] +[ext_resource type="Animation" uid="uid://cseojxi8rrqc" path="res://addons/godot-xr-tools/hands/animations/right/Pinch Up.res" id="69_fetak"] +[ext_resource type="Animation" uid="uid://c8hn123uon74u" path="res://addons/godot-xr-tools/hands/animations/right/PingPong.res" id="70_hu48s"] +[ext_resource type="Animation" uid="uid://b6ra3rqia1gvb" path="res://addons/godot-xr-tools/hands/animations/right/Pinky.res" id="71_j6llf"] +[ext_resource type="Animation" uid="uid://csp3fdknowmi5" path="res://addons/godot-xr-tools/hands/animations/right/Pistol.res" id="72_cjhvm"] +[ext_resource type="Animation" uid="uid://2ttepgvf634h" path="res://addons/godot-xr-tools/hands/animations/right/Ring.res" id="73_ju1cg"] +[ext_resource type="Animation" uid="uid://wcwa3p1qrhwr" path="res://addons/godot-xr-tools/hands/animations/right/Rounded.res" id="74_vg4cw"] +[ext_resource type="Animation" uid="uid://bcwx6a6mhsoj2" path="res://addons/godot-xr-tools/hands/animations/right/Sign 1.res" id="75_js22y"] +[ext_resource type="Animation" uid="uid://btnsp36fjkldf" path="res://addons/godot-xr-tools/hands/animations/right/Sign 2.res" id="76_ydw47"] +[ext_resource type="Animation" uid="uid://c35i6glt1ov2m" path="res://addons/godot-xr-tools/hands/animations/right/Sign 3.res" id="77_aftns"] +[ext_resource type="Animation" uid="uid://b8mmk2ufmlyf" path="res://addons/godot-xr-tools/hands/animations/right/Sign 4.res" id="78_cets1"] +[ext_resource type="Animation" uid="uid://ddgl3lsnlfiny" path="res://addons/godot-xr-tools/hands/animations/right/Sign 5.res" id="79_kjwl3"] +[ext_resource type="Animation" uid="uid://ccy3e7a0hvxyl" path="res://addons/godot-xr-tools/hands/animations/right/Sign_Point.res" id="80_1jwgb"] +[ext_resource type="Animation" uid="uid://d3h36bkauutoq" path="res://addons/godot-xr-tools/hands/animations/right/Straight.res" id="81_64b20"] +[ext_resource type="Animation" uid="uid://bq7cjxdn28jcv" path="res://addons/godot-xr-tools/hands/animations/right/Surfer.res" id="82_dmho2"] +[ext_resource type="Animation" uid="uid://d2ukhr3n2r1u8" path="res://addons/godot-xr-tools/hands/animations/right/Thumb.res" id="83_nbjn5"] +[ext_resource type="PackedScene" uid="uid://clc5dre31iskm" path="res://addons/godot-xr-tools/xr/start_xr.tscn" id="90_owqie"] +[ext_resource type="Shader" path="res://assets/sky/sky.gdshader" id="90_u4dx2"] +[ext_resource type="CompressedTexture3D" uid="uid://1ipprqexqp8s" path="res://assets/images/world_noise.tga" id="91_mp1iy"] +[ext_resource type="Texture2D" uid="uid://dgv0vc1dtamig" path="res://assets/images/weather.bmp" id="92_obfjs"] +[ext_resource type="CompressedTexture3D" uid="uid://b8fh4icku58vx" path="res://assets/images/world_noise.bmp" id="93_qpomf"] + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_kw48d"] +_data = { +"Cup": ExtResource("5_bgu0c"), +"Default pose": ExtResource("6_x2rkp"), +"Grip": ExtResource("7_hj4dd"), +"Grip 1": ExtResource("8_adcp6"), +"Grip 2": ExtResource("9_d8n1l"), +"Grip 3": ExtResource("10_huquo"), +"Grip 4": ExtResource("11_w1ts6"), +"Grip 5": ExtResource("12_0cuyc"), +"Grip Shaft": ExtResource("13_d44yo"), +"Hold": ExtResource("14_3mvw6"), +"Horns": ExtResource("15_f34hf"), +"Metal": ExtResource("16_m7vny"), +"Middle": ExtResource("17_ayclr"), +"OK": ExtResource("18_honu3"), +"Peace": ExtResource("19_7gwrq"), +"Pinch Flat": ExtResource("20_qkhky"), +"Pinch Large": ExtResource("21_41gn4"), +"Pinch Middle": ExtResource("22_n654j"), +"Pinch Ring": ExtResource("23_u15nk"), +"Pinch Tight": ExtResource("24_b3xet"), +"Pinch Up": ExtResource("25_ihln6"), +"PingPong": ExtResource("26_t5hdy"), +"Pinky": ExtResource("27_g1dsb"), +"Pistol": ExtResource("28_55hbk"), +"Ring": ExtResource("29_m1kap"), +"Rounded": ExtResource("30_wdmvt"), +"Sign 1": ExtResource("31_ggo1x"), +"Sign 2": ExtResource("32_n0tgs"), +"Sign 3": ExtResource("33_0bn3k"), +"Sign 4": ExtResource("34_d8lqr"), +"Sign 5": ExtResource("35_nlo8y"), +"Sign_Point": ExtResource("36_gcnl8"), +"Straight": ExtResource("37_glc1o"), +"Surfer": ExtResource("38_v64ak"), +"Thumb": ExtResource("39_sagkm") +} + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_fnfue"] +animation = &"Grip" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_qiiqm"] +animation = &"Grip" + +[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_ouiy1"] +filter_enabled = true +filters = ["Armature/Skeleton3D:Little_Distal_L", "Armature/Skeleton3D:Little_Intermediate_L", "Armature/Skeleton3D:Little_Metacarpal_L", "Armature/Skeleton3D:Little_Proximal_L", "Armature/Skeleton3D:Middle_Distal_L", "Armature/Skeleton3D:Middle_Intermediate_L", "Armature/Skeleton3D:Middle_Metacarpal_L", "Armature/Skeleton3D:Middle_Proximal_L", "Armature/Skeleton3D:Ring_Distal_L", "Armature/Skeleton3D:Ring_Intermediate_L", "Armature/Skeleton3D:Ring_Metacarpal_L", "Armature/Skeleton3D:Ring_Proximal_L", "Armature/Skeleton3D:Thumb_Distal_L", "Armature/Skeleton3D:Thumb_Metacarpal_L", "Armature/Skeleton3D:Thumb_Proximal_L", "Armature/Skeleton:Little_Distal_L", "Armature/Skeleton:Little_Intermediate_L", "Armature/Skeleton:Little_Proximal_L", "Armature/Skeleton:Middle_Distal_L", "Armature/Skeleton:Middle_Intermediate_L", "Armature/Skeleton:Middle_Proximal_L", "Armature/Skeleton:Ring_Distal_L", "Armature/Skeleton:Ring_Intermediate_L", "Armature/Skeleton:Ring_Proximal_L", "Armature/Skeleton:Thumb_Distal_L", "Armature/Skeleton:Thumb_Proximal_L"] + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_633xy"] +animation = &"Grip 5" + +[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_y1lka"] +filter_enabled = true +filters = ["Armature/Skeleton3D:Index_Distal_L", "Armature/Skeleton3D:Index_Intermediate_L", "Armature/Skeleton3D:Index_Metacarpal_L", "Armature/Skeleton3D:Index_Proximal_L", "Armature/Skeleton:Index_Distal_L", "Armature/Skeleton:Index_Intermediate_L", "Armature/Skeleton:Index_Proximal_L"] + +[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_fke0y"] +graph_offset = Vector2(-536, 11) +nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_fnfue") +nodes/ClosedHand1/position = Vector2(-600, 300) +nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_qiiqm") +nodes/ClosedHand2/position = Vector2(-360, 300) +nodes/Grip/node = SubResource("AnimationNodeBlend2_ouiy1") +nodes/Grip/position = Vector2(0, 20) +nodes/OpenHand/node = SubResource("AnimationNodeAnimation_633xy") +nodes/OpenHand/position = Vector2(-600, 100) +nodes/Trigger/node = SubResource("AnimationNodeBlend2_y1lka") +nodes/Trigger/position = Vector2(-360, 20) +node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_reqae"] +_data = { +"Cup": ExtResource("49_m6xia"), +"Default pose": ExtResource("50_xmivk"), +"Grip": ExtResource("51_ikx80"), +"Grip 1": ExtResource("52_fpqul"), +"Grip 2": ExtResource("53_p5g5m"), +"Grip 3": ExtResource("54_wbot7"), +"Grip 4": ExtResource("55_8s3qd"), +"Grip 5": ExtResource("56_yllwb"), +"Grip Shaft": ExtResource("57_ep1ls"), +"Hold": ExtResource("58_ax6i5"), +"Horns": ExtResource("59_4nbmr"), +"Metal": ExtResource("60_e534c"), +"Middle": ExtResource("61_x1jok"), +"OK": ExtResource("62_gs64m"), +"Peace": ExtResource("63_lshsc"), +"Pinch Flat": ExtResource("64_ckk8r"), +"Pinch Large": ExtResource("65_8i1d0"), +"Pinch Middle": ExtResource("66_st54v"), +"Pinch Ring": ExtResource("67_fymnb"), +"Pinch Tight": ExtResource("68_4ifma"), +"Pinch Up": ExtResource("69_fetak"), +"PingPong": ExtResource("70_hu48s"), +"Pinky": ExtResource("71_j6llf"), +"Pistol": ExtResource("72_cjhvm"), +"Ring": ExtResource("73_ju1cg"), +"Rounded": ExtResource("74_vg4cw"), +"Sign 1": ExtResource("75_js22y"), +"Sign 2": ExtResource("76_ydw47"), +"Sign 3": ExtResource("77_aftns"), +"Sign 4": ExtResource("78_cets1"), +"Sign 5": ExtResource("79_kjwl3"), +"Sign_Point": ExtResource("80_1jwgb"), +"Straight": ExtResource("81_64b20"), +"Surfer": ExtResource("82_dmho2"), +"Thumb": ExtResource("83_nbjn5") +} + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_3m1ro"] +animation = &"Grip" + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ptvwo"] +animation = &"Grip" + +[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_ut1vt"] +filter_enabled = true +filters = ["Armature/Skeleton3D:Little_Distal_R", "Armature/Skeleton3D:Little_Intermediate_R", "Armature/Skeleton3D:Little_Metacarpal_R", "Armature/Skeleton3D:Little_Proximal_R", "Armature/Skeleton3D:Middle_Distal_R", "Armature/Skeleton3D:Middle_Intermediate_R", "Armature/Skeleton3D:Middle_Metacarpal_R", "Armature/Skeleton3D:Middle_Proximal_R", "Armature/Skeleton3D:Ring_Distal_R", "Armature/Skeleton3D:Ring_Intermediate_R", "Armature/Skeleton3D:Ring_Metacarpal_R", "Armature/Skeleton3D:Ring_Proximal_R", "Armature/Skeleton3D:Thumb_Distal_R", "Armature/Skeleton3D:Thumb_Metacarpal_R", "Armature/Skeleton3D:Thumb_Proximal_R", "Armature/Skeleton:Little_Distal_R", "Armature/Skeleton:Little_Intermediate_R", "Armature/Skeleton:Little_Proximal_R", "Armature/Skeleton:Middle_Distal_R", "Armature/Skeleton:Middle_Intermediate_R", "Armature/Skeleton:Middle_Proximal_R", "Armature/Skeleton:Ring_Distal_R", "Armature/Skeleton:Ring_Intermediate_R", "Armature/Skeleton:Ring_Proximal_R", "Armature/Skeleton:Thumb_Distal_R", "Armature/Skeleton:Thumb_Proximal_R"] + +[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_n7sm8"] +animation = &"Grip 5" + +[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_m0xyq"] +filter_enabled = true +filters = ["Armature/Skeleton3D:Index_Distal_R", "Armature/Skeleton3D:Index_Intermediate_R", "Armature/Skeleton3D:Index_Metacarpal_R", "Armature/Skeleton3D:Index_Proximal_R", "Armature/Skeleton:Index_Distal_R", "Armature/Skeleton:Index_Intermediate_R", "Armature/Skeleton:Index_Proximal_R"] + +[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_f66lv"] +graph_offset = Vector2(-552.664, 107.301) +nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_3m1ro") +nodes/ClosedHand1/position = Vector2(-600, 300) +nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_ptvwo") +nodes/ClosedHand2/position = Vector2(-360, 300) +nodes/Grip/node = SubResource("AnimationNodeBlend2_ut1vt") +nodes/Grip/position = Vector2(0, 40) +nodes/OpenHand/node = SubResource("AnimationNodeAnimation_n7sm8") +nodes/OpenHand/position = Vector2(-600, 100) +nodes/Trigger/node = SubResource("AnimationNodeBlend2_m0xyq") +nodes/Trigger/position = Vector2(-360, 40) +node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_g8k03"] +transparency = 1 +shading_mode = 0 +albedo_color = Color(0, 0, 0.501961, 0.25098) + +[sub_resource type="SphereMesh" id="SphereMesh_jyov6"] +material = SubResource("StandardMaterial3D_g8k03") +flip_faces = true +radius = 0.1 +height = 0.2 + +[sub_resource type="QuadMesh" id="QuadMesh_e5t0p"] +lightmap_size_hint = Vector2i(7, 7) +size = Vector2(50, 50) +subdivide_width = 200 +subdivide_depth = 200 +orientation = 1 + +[sub_resource type="FastNoiseLite" id="FastNoiseLite_tru1h"] +noise_type = 3 +fractal_type = 2 + +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_x3k5j"] +seamless = true +as_normal_map = true +noise = SubResource("FastNoiseLite_tru1h") + +[sub_resource type="FastNoiseLite" id="FastNoiseLite_eomhh"] +noise_type = 3 +fractal_type = 2 + +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_3e4vp"] +seamless = true +as_normal_map = true +noise = SubResource("FastNoiseLite_eomhh") + +[sub_resource type="FastNoiseLite" id="FastNoiseLite_fcanv"] +frequency = 0.005 + +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_ccprg"] +seamless = true +noise = SubResource("FastNoiseLite_fcanv") + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_exsma"] +render_priority = 0 +shader = ExtResource("19_77aqb") +shader_parameter/albedo = Color(0.054902, 0.411765, 0.843137, 1) +shader_parameter/albedo2 = Color(0, 0.47451, 0.764706, 1) +shader_parameter/metallic = 0.0 +shader_parameter/roughness = 0.02 +shader_parameter/wave_direction = Vector2(2, 0) +shader_parameter/wave_direction2 = Vector2(0, 1) +shader_parameter/time_scale = 0.025 +shader_parameter/noise_scale = 10.0 +shader_parameter/height_scale = 0.15 +shader_parameter/color_deep = Color(0, 0, 0, 1) +shader_parameter/color_shallow = Color(0, 0, 0, 1) +shader_parameter/beers_law = 2.0 +shader_parameter/depth_offset = -0.75 +shader_parameter/edge_scale = 0.1 +shader_parameter/near = 1.0 +shader_parameter/far = 100.0 +shader_parameter/edge_color = null +shader_parameter/wave = SubResource("NoiseTexture2D_ccprg") +shader_parameter/texture_normal = SubResource("NoiseTexture2D_x3k5j") +shader_parameter/texture_normal2 = SubResource("NoiseTexture2D_3e4vp") + +[sub_resource type="BoxMesh" id="BoxMesh_ed1yj"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_3k8e1"] +size = Vector3(2.08862, 1.37488, 1.94516) + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_p6a2f"] +shader = ExtResource("90_u4dx2") +shader_parameter/wind_direction = Vector2(1, 0) +shader_parameter/wind_speed = 1.0 +shader_parameter/_density = 0.05 +shader_parameter/cloud_coverage = 0.184 +shader_parameter/_time_offset = 447.0 +shader_parameter/rayleigh = 2.0 +shader_parameter/rayleigh_color = Color(0.207843, 0.560784, 0.870588, 1) +shader_parameter/mie = 0.005 +shader_parameter/mie_eccentricity = 0.8 +shader_parameter/mie_color = Color(0.63, 0.77, 0.92, 1) +shader_parameter/turbidity = 10.0 +shader_parameter/sun_disk_scale = 1.0 +shader_parameter/ground_color = Color(1, 1, 1, 1) +shader_parameter/exposure = 0.1 +shader_parameter/worlnoise = ExtResource("93_qpomf") +shader_parameter/perlworlnoise = ExtResource("91_mp1iy") +shader_parameter/weathermap = ExtResource("92_obfjs") + +[sub_resource type="Sky" id="Sky_y574f"] +sky_material = SubResource("ShaderMaterial_p6a2f") + +[sub_resource type="Environment" id="Environment_jlyxn"] +background_mode = 2 +sky = SubResource("Sky_y574f") +ambient_light_source = 3 +reflected_light_source = 2 + +[node name="TestScene" type="Node3D"] + +[node name="XROrigin3D" type="XROrigin3D" parent="."] + +[node name="XRCamera3D" type="XRCamera3D" parent="XROrigin3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, 0) +near = 0.03 +far = 300.0 + +[node name="BackPocket" parent="XROrigin3D/XRCamera3D" instance=ExtResource("1_gy57t")] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0.2) +pocket_id = "backpack_pocket" +grab_distance = 0.2 +snap_require = "backpack" + +[node name="LeftHand" type="XRController3D" parent="XROrigin3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 1, -0.5) +tracker = &"left_hand" +pose = &"aim" + +[node name="CollisionHandLeft" parent="XROrigin3D/LeftHand" instance=ExtResource("2_wawh4")] + +[node name="LeftHand" parent="XROrigin3D/LeftHand/CollisionHandLeft" instance=ExtResource("3_2dssu")] + +[node name="Skeleton3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature" index="0"] +bones/1/rotation = Quaternion(0.323537, -2.56577e-05, -0.0272204, 0.945824) +bones/2/rotation = Quaternion(-0.0904441, -0.0415175, -0.166293, 0.981042) +bones/3/rotation = Quaternion(-0.0466199, 0.020971, 0.0103276, 0.998639) +bones/5/rotation = Quaternion(-0.00128455, -0.0116081, -0.0168259, 0.99979) +bones/6/rotation = Quaternion(0.102925, -0.00993208, -0.00794417, 0.994608) +bones/7/rotation = Quaternion(-0.012859, -0.0236108, -0.323258, 0.945929) +bones/8/rotation = Quaternion(0.0120575, -0.00929194, -0.247472, 0.968775) +bones/10/rotation = Quaternion(-0.0357539, -0.000400032, 0.00636764, 0.99934) +bones/11/rotation = Quaternion(-0.00264964, -0.00114471, -0.125992, 0.992027) +bones/12/rotation = Quaternion(0.0394225, 0.00193393, -0.228074, 0.972843) +bones/13/rotation = Quaternion(-0.0123395, -0.00881294, -0.280669, 0.959685) +bones/15/rotation = Quaternion(-0.0702656, 0.0101908, -0.0243307, 0.99718) +bones/16/rotation = Quaternion(-0.0320634, -0.00223624, -0.0686366, 0.997124) +bones/17/rotation = Quaternion(0.0253452, 0.00812462, -0.249005, 0.968136) +bones/18/rotation = Quaternion(0.00252232, 0.00788073, -0.243204, 0.96994) +bones/20/rotation = Quaternion(-0.0917369, 0.0203027, -0.010183, 0.995524) +bones/21/rotation = Quaternion(-0.0625182, -0.00022572, -0.115393, 0.991351) +bones/22/rotation = Quaternion(0.0585786, 0.0216483, -0.269905, 0.96086) +bones/23/rotation = Quaternion(0.00687177, -0.00357275, -0.211953, 0.977249) + +[node name="BoneAttachment3D" type="BoneAttachment3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature/Skeleton3D" index="1"] +transform = Transform3D(0.54083, 0.840813, -0.0231736, -0.0826267, 0.0805243, 0.993322, 0.837064, -0.535303, 0.113023, 0.039902, 0.0402828, -0.150096) +bone_name = "Index_Tip_L" +bone_idx = 9 + +[node name="Poke" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature/Skeleton3D/BoneAttachment3D" instance=ExtResource("4_dlvjd")] +transform = Transform3D(0.54083, -0.0826267, 0.837064, 0.840813, 0.0805243, -0.535303, -0.0231736, 0.993322, 0.113024, 0, 0, 0) + +[node name="AnimationTree" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand" index="1"] +root_node = NodePath("../Hand_Nails_low_L") +libraries = { +"": SubResource("AnimationLibrary_kw48d") +} +tree_root = SubResource("AnimationNodeBlendTree_fke0y") + +[node name="FunctionPointer" parent="XROrigin3D/LeftHand/CollisionHandLeft" instance=ExtResource("5_ja7nv")] +show_laser = 2 +laser_length = 1 + +[node name="FunctionPickup" parent="XROrigin3D/LeftHand/CollisionHandLeft" instance=ExtResource("6_24x7w")] +grab_distance = 0.15 +ranged_angle = 15.0 + +[node name="MovementDirect" parent="XROrigin3D/LeftHand/CollisionHandLeft" instance=ExtResource("7_cca8s")] +strafe = true + +[node name="MovementJump" parent="XROrigin3D/LeftHand/CollisionHandLeft" instance=ExtResource("8_3klke")] +jump_button_action = "ax_button" + +[node name="MovementCrouch" parent="XROrigin3D/LeftHand/CollisionHandLeft" instance=ExtResource("9_osh84")] +crouch_button_action = "by_button" + +[node name="WristUI" parent="XROrigin3D/LeftHand/CollisionHandLeft" instance=ExtResource("10_ei8il")] +transform = Transform3D(1.30801e-07, -1, 7.6194e-09, -0.0871558, -3.8097e-09, 0.996195, -0.996195, -1.30968e-07, -0.0871558, -0.03, 0, 0.3) +visible = false +screen_size = Vector2(0.16, 0.08) +collision_layer = 4194304 +scene = ExtResource("11_6a363") +viewport_size = Vector2(400, 200) +update_mode = 2 +throttle_fps = 15.0 +transparent = 0 +unshaded = true + +[node name="RightHand" type="XRController3D" parent="XROrigin3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1, -0.5) +tracker = &"right_hand" +pose = &"aim" + +[node name="CollisionHandRight" parent="XROrigin3D/RightHand" instance=ExtResource("12_sy6mo")] + +[node name="RightHand" parent="XROrigin3D/RightHand/CollisionHandRight" instance=ExtResource("13_si85r")] + +[node name="Skeleton3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature" index="0"] +bones/1/rotation = Quaternion(0.323537, 2.56577e-05, 0.0272204, 0.945824) +bones/2/rotation = Quaternion(-0.0904441, 0.0415175, 0.166293, 0.981042) +bones/3/rotation = Quaternion(-0.0466199, -0.020971, -0.0103276, 0.998639) +bones/5/rotation = Quaternion(-0.00128455, 0.0116081, 0.0168259, 0.99979) +bones/6/rotation = Quaternion(0.102925, 0.00993208, 0.00794419, 0.994608) +bones/7/rotation = Quaternion(-0.012859, 0.0236108, 0.323258, 0.945929) +bones/8/rotation = Quaternion(0.0120575, 0.00929193, 0.247472, 0.968775) +bones/10/rotation = Quaternion(-0.0357539, 0.000400032, -0.00636763, 0.99934) +bones/11/rotation = Quaternion(-0.00264964, 0.00114471, 0.125992, 0.992027) +bones/12/rotation = Quaternion(0.0394225, -0.00193393, 0.228074, 0.972843) +bones/13/rotation = Quaternion(-0.0123395, 0.00881294, 0.280669, 0.959685) +bones/15/rotation = Quaternion(-0.0702656, -0.0101908, 0.0243307, 0.99718) +bones/16/rotation = Quaternion(-0.0320634, 0.00223624, 0.0686366, 0.997124) +bones/17/rotation = Quaternion(0.0253452, -0.00812462, 0.249005, 0.968136) +bones/18/rotation = Quaternion(0.00252233, -0.00788073, 0.243204, 0.96994) +bones/20/rotation = Quaternion(-0.0917369, -0.0203027, 0.010183, 0.995524) +bones/21/rotation = Quaternion(-0.0625182, 0.000225721, 0.115393, 0.991351) +bones/22/rotation = Quaternion(0.0585786, -0.0216483, 0.269905, 0.96086) +bones/23/rotation = Quaternion(0.00687177, 0.00357275, 0.211953, 0.977249) + +[node name="BoneAttachment3D" type="BoneAttachment3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature/Skeleton3D" index="1"] +transform = Transform3D(0.540829, -0.840813, 0.0231736, 0.0826268, 0.0805242, 0.993322, -0.837064, -0.535303, 0.113024, -0.039902, 0.0402828, -0.150096) +bone_name = "Index_Tip_R" +bone_idx = 9 + +[node name="Poke" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature/Skeleton3D/BoneAttachment3D" instance=ExtResource("4_dlvjd")] +transform = Transform3D(1, -2.98023e-08, 7.45058e-09, 2.98023e-08, 1, 0, 7.45058e-09, -3.72529e-09, 1, 0, 0, 0) + +[node name="AnimationTree" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand" index="1"] +root_node = NodePath("../Hand_Nails_low_R") +libraries = { +"": SubResource("AnimationLibrary_reqae") +} +tree_root = SubResource("AnimationNodeBlendTree_f66lv") + +[node name="FunctionPointer" parent="XROrigin3D/RightHand/CollisionHandRight" instance=ExtResource("5_ja7nv")] +show_laser = 2 +laser_length = 1 + +[node name="FunctionPickup" parent="XROrigin3D/RightHand/CollisionHandRight" instance=ExtResource("6_24x7w")] +grab_distance = 0.15 +ranged_angle = 15.0 + +[node name="MovementDirect" parent="XROrigin3D/RightHand/CollisionHandRight" instance=ExtResource("7_cca8s")] + +[node name="MovementTurn" parent="XROrigin3D/RightHand/CollisionHandRight" instance=ExtResource("14_aiiin")] + +[node name="MovementJump" parent="XROrigin3D/RightHand/CollisionHandRight" instance=ExtResource("8_3klke")] +jump_button_action = "ax_button" + +[node name="MovementCrouch" parent="XROrigin3D/RightHand/CollisionHandRight" instance=ExtResource("9_osh84")] +crouch_button_action = "by_button" + +[node name="PlayerBody" parent="XROrigin3D" instance=ExtResource("15_tpebh")] + +[node name="LeftPocket" parent="XROrigin3D/PlayerBody" instance=ExtResource("1_gy57t")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.3, 1, -0.1) +pocket_id = "pocket_left" +grab_distance = 0.1 +snap_require = "fits_in_pocket" + +[node name="MeshInstance3D" type="MeshInstance3D" parent="XROrigin3D/PlayerBody/LeftPocket"] +mesh = SubResource("SphereMesh_jyov6") + +[node name="HighlightRing" parent="XROrigin3D/PlayerBody/LeftPocket" instance=ExtResource("16_pkyk8")] + +[node name="RightPocket" parent="XROrigin3D/PlayerBody" instance=ExtResource("1_gy57t")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.3, 1, -0.1) +pocket_id = "pocket_right" +grab_distance = 0.1 +snap_require = "fits_in_pocket" + +[node name="MeshInstance3D" type="MeshInstance3D" parent="XROrigin3D/PlayerBody/RightPocket"] +mesh = SubResource("SphereMesh_jyov6") + +[node name="HighlightRing" parent="XROrigin3D/PlayerBody/RightPocket" instance=ExtResource("16_pkyk8")] + +[node name="MovementSprint" parent="XROrigin3D" instance=ExtResource("17_3ds33")] + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +transform = Transform3D(0.997825, 0, 0, 0, 0.997825, 0, 0, 0, 0.997825, 0, -0.625862, -0.001) +mesh = SubResource("QuadMesh_e5t0p") +surface_material_override/0 = SubResource("ShaderMaterial_exsma") + +[node name="StartXR" parent="." instance=ExtResource("90_owqie")] + +[node name="StaticBody3D2" type="StaticBody3D" parent="."] + +[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D2"] +transform = Transform3D(2.05119, 0, 0, 0, 1, 0, 0, 0, 1.95067, 0, -0.343691, 0) +mesh = SubResource("BoxMesh_ed1yj") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D2"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0242646, -0.530136, -0.00546432) +shape = SubResource("BoxShape3D_3k8e1") + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource("Environment_jlyxn") + +[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand"] +[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L"] +[editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand"] +[editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R"] diff --git a/game/zones/zone_database.tres b/game/zones/zone_database.tres index ba7b006..d933b5b 100644 --- a/game/zones/zone_database.tres +++ b/game/zones/zone_database.tres @@ -1,10 +1,8 @@ -[gd_resource type="Resource" script_class="PersistentZoneDatabase" load_steps=5 format=3 uid="uid://cx1d62bw62y0k"] +[gd_resource type="Resource" script_class="PersistentZoneDatabase" load_steps=3 format=3 uid="uid://cx1d62bw62y0k"] [ext_resource type="Script" path="res://components/persistent/persistent_zone_database.gd" id="1_fm6ij"] -[ext_resource type="Resource" uid="uid://to5lown6orfd" path="res://game/zones/outside/outside_zone_info.tres" id="2_453gu"] -[ext_resource type="Resource" uid="uid://d1lgdwh7pv220" path="res://game/zones/house_interior/house_interior_zone_info.tres" id="3_e8q3n"] -[ext_resource type="Resource" uid="uid://cpugbtukttkfj" path="res://game/zones/house_back_yard/house_back_yard_zone_info.tres" id="4_ukd4u"] +[ext_resource type="Resource" path="res://game/zones/start_island/start_island_zone.tres" id="2_2jdxw"] [resource] script = ExtResource("1_fm6ij") -zones = Array[Resource("res://components/persistent/persistent_zone_info.gd")]([ExtResource("2_453gu"), ExtResource("3_e8q3n"), ExtResource("4_ukd4u")]) +zones = Array[Resource("res://components/persistent/persistent_zone_info.gd")]([ExtResource("2_2jdxw")])