diff --git a/environments/prototype_snow_environment.tres b/environments/prototype_snow_environment.tres new file mode 100644 index 0000000..45bc1be --- /dev/null +++ b/environments/prototype_snow_environment.tres @@ -0,0 +1,27 @@ +[gd_resource type="Environment" load_steps=3 format=3 uid="uid://dr1bjp8bpe5n6"] + +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_jbyth"] +sky_top_color = Color(0.51379687, 0.65960854, 0.7036598, 1) +sky_horizon_color = Color(0.4456907, 0.4456907, 0.4456907, 1) +ground_bottom_color = Color(0.73081446, 0.73081446, 0.73081446, 1) +sun_angle_max = 15.0 + +[sub_resource type="Sky" id="Sky_hb4cm"] +sky_material = SubResource("ProceduralSkyMaterial_jbyth") + +[resource] +background_mode = 2 +sky = SubResource("Sky_hb4cm") +ambient_light_color = Color(1, 1, 1, 1) +tonemap_mode = 3 +ssr_enabled = true +ssao_enabled = true +glow_enabled = true +glow_levels/5 = 0.44 +glow_normalized = true +glow_blend_mode = 0 +fog_enabled = true +fog_light_color = Color(0.85979897, 0.85979897, 0.85979897, 1) +fog_aerial_perspective = 0.14 +volumetric_fog_density = 0.2727 +adjustment_enabled = true diff --git a/levels/prototype.tscn b/levels/prototype.tscn index 43882ee..9df463e 100644 --- a/levels/prototype.tscn +++ b/levels/prototype.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=30 format=3 uid="uid://cqrh2cc7m2i7f"] -[ext_resource type="Environment" uid="uid://d0cfgtx2yxw13" path="res://environments/prototype_environment.tres" id="1_i6jab"] +[ext_resource type="Environment" uid="uid://dr1bjp8bpe5n6" path="res://environments/prototype_snow_environment.tres" id="1_ii5jc"] [ext_resource type="Material" uid="uid://bx3f5vx71ynh5" path="res://materials/Graymat.tres" id="4_y6i55"] [ext_resource type="Material" uid="uid://dynpcduei1wfn" path="res://materials/Bluemat.tres" id="4_yx0ab"] [ext_resource type="Material" uid="uid://mlha6r17v2en" path="res://materials/DarkBluemat.tres" id="5_bno23"] @@ -56,7 +56,7 @@ shadow_enabled = true shadow_opacity = 0.72 [node name="WorldEnvironment" type="WorldEnvironment" parent="."] -environment = ExtResource("1_i6jab") +environment = ExtResource("1_ii5jc") [node name="CSGBox3D29" type="CSGBox3D" parent="."] transform = Transform3D(0.92477864, 0, 0.38050553, 0, 1, 0, -0.38050553, 0, 0.92477864, 2.3401544, 1.2806039, -9.494778) diff --git a/players/molikman.tscn b/players/molikman.tscn index 71f1957..5248329 100644 --- a/players/molikman.tscn +++ b/players/molikman.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=106 format=4 uid="uid://dpsr6ug3pkb40"] +[gd_scene load_steps=112 format=4 uid="uid://dpsr6ug3pkb40"] [ext_resource type="Script" uid="uid://3dphlay25fih" path="res://players/player/player.gd" id="1_l07l8"] [ext_resource type="Material" uid="uid://cjb0h3of85nc2" path="res://materials/players/molikman/mat_Molikman.tres" id="2_330gv"] @@ -41,6 +41,7 @@ [ext_resource type="Texture2D" uid="uid://15mf4452fse0" path="res://textures/players/molikman/molikman_ingame_Molikman_blue.png" id="36_tt20t"] [ext_resource type="Script" uid="uid://dsp1sq46c5i3y" path="res://players/player/player_interaction.gd" id="37_3lpnn"] [ext_resource type="Script" uid="uid://dfvnx8f1v6m5g" path="res://players/player/player_input.gd" id="38_2cl6u"] +[ext_resource type="Texture2D" uid="uid://ca7f5x8v3nt1j" path="res://textures/flake.png" id="42_5684k"] [sub_resource type="SphereShape3D" id="SphereShape3D_tgg0h"] radius = 0.15783496 @@ -12261,6 +12262,36 @@ properties/1/path = NodePath("PlayerInput:compressed_states") properties/1/spawn = true properties/1/replication_mode = 1 +[sub_resource type="Curve" id="Curve_5684k"] +_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.07446808, 1), 0.0, 0.0, 0, 0, Vector2(0.49468088, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +point_count = 4 + +[sub_resource type="CurveTexture" id="CurveTexture_8sbfk"] +curve = SubResource("Curve_5684k") + +[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_x16f1"] +emission_shape = 3 +emission_box_extents = Vector3(20, 0, 20) +scale_curve = SubResource("CurveTexture_8sbfk") +turbulence_enabled = true +collision_mode = 1 +collision_friction = 1.0 +collision_bounce = 0.0 + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5684k"] +transparency = 1 +shading_mode = 2 +albedo_texture = ExtResource("42_5684k") +billboard_mode = 3 +billboard_keep_scale = true +particles_anim_h_frames = 1 +particles_anim_v_frames = 1 +particles_anim_loop = false + +[sub_resource type="QuadMesh" id="QuadMesh_8sbfk"] +material = SubResource("StandardMaterial3D_5684k") +size = Vector2(0.5, 0.5) + [node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("weapon_models")] collision_layer = 2 collision_mask = 3 @@ -13587,6 +13618,16 @@ script = ExtResource("37_3lpnn") replication_config = SubResource("SceneReplicationConfig_5amik") script = ExtResource("38_2cl6u") +[node name="GPUParticles3D" type="GPUParticles3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 17.04472, 0) +custom_aabb = AABB(-1000, -1000, -1000, 1000, 1000, 1000) +amount = 500 +lifetime = 10.0 +preprocess = 10.0 +collision_base_size = 0.25 +process_material = SubResource("ParticleProcessMaterial_x16f1") +draw_pass_1 = SubResource("QuadMesh_8sbfk") + [connection signal="damaged" from="." to="PlayerMovement" method="apply_speed_debuff"] [connection signal="died" from="." to="molikman_ingame/PlayerBasedVisibility" method="reverse_if_own"] [connection signal="died" from="." to="Camera3D" method="disable"] diff --git a/textures/flake.png b/textures/flake.png new file mode 100644 index 0000000..4670527 Binary files /dev/null and b/textures/flake.png differ diff --git a/textures/flake.png.import b/textures/flake.png.import new file mode 100644 index 0000000..e6cc8fe --- /dev/null +++ b/textures/flake.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ca7f5x8v3nt1j" +path.s3tc="res://.godot/imported/flake.png-1fb24fe2ca1db1b474d0848d2e9c4c52.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://textures/flake.png" +dest_files=["res://.godot/imported/flake.png-1fb24fe2ca1db1b474d0848d2e9c4c52.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/textures/flake.png~ b/textures/flake.png~ new file mode 100644 index 0000000..530c432 Binary files /dev/null and b/textures/flake.png~ differ