Compare commits

..

No commits in common. "master" and "mc255-test" have entirely different histories.

330 changed files with 16150 additions and 56878 deletions

1
.gitignore vendored
View file

@ -3,4 +3,3 @@
/android/
exports/
deploy.sh
version.tres

View file

@ -2,6 +2,8 @@
Current plans:
Molikman's abilities:
Molik:
Visuals
Flashbang:
Visuals
Icon

Binary file not shown.

View file

@ -1,3 +0,0 @@
[gd_resource type="AnimationLibrary" format=3 uid="uid://lm3d4kwbffgp"]
[resource]

View file

@ -1,27 +0,0 @@
[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

View file

@ -1,27 +0,0 @@
[gd_resource type="ShaderMaterial" load_steps=6 format=3 uid="uid://bw3uex67yy8e7"]
[ext_resource type="Shader" uid="uid://dr0p2owhwp4i" path="res://shaders/firewall.gdshader" id="1_i6b38"]
[sub_resource type="Gradient" id="Gradient_i6b38"]
interpolation_mode = 1
offsets = PackedFloat32Array(0.0056179776, 0.24719101, 0.4550562)
colors = PackedColorArray(1, 0, 0, 1, 1, 0.38039216, 0, 1, 1, 0.77357376, 0, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_qwxnu"]
gradient = SubResource("Gradient_i6b38")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_i6b38"]
noise_type = 2
cellular_jitter = 2.405
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_qwxnu"]
width = 1280
noise = SubResource("FastNoiseLite_i6b38")
seamless = true
[resource]
render_priority = 0
shader = ExtResource("1_i6b38")
shader_parameter/noise_texture = SubResource("NoiseTexture2D_qwxnu")
shader_parameter/fire_gradient = SubResource("GradientTexture1D_qwxnu")
shader_parameter/height = 0.16999999620016

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -1,44 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ce5c0hj7iyvxs"
path.s3tc="res://.godot/imported/molikman_hands_tex_molik.png-135e98260a4d25994ffa2a159b244178.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "da8e6b435cf12d1cca3b95abbea21b6c"
}
[deps]
source_file="res://assets/models/characters/viewmodels/molikman_hands_tex_molik.png"
dest_files=["res://.godot/imported/molikman_hands_tex_molik.png-135e98260a4d25994ffa2a159b244178.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

Binary file not shown.

View file

@ -1,42 +0,0 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bijrgctn1e36d"
path="res://.godot/imported/molotov.glb-16d656be27542d87413486d73debe34b.scn"
[deps]
source_file="res://assets/models/weapons/molotov.glb"
dest_files=["res://.godot/imported/molotov.glb-16d656be27542d87413486d73debe34b.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -1,44 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bjnxga36f5v66"
path.s3tc="res://.godot/imported/molotov_tex_molik.png-70ccbc73905df496c2513f81c60ddc11.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "da8e6b435cf12d1cca3b95abbea21b6c"
}
[deps]
source_file="res://assets/models/weapons/molotov_tex_molik.png"
dest_files=["res://.godot/imported/molotov_tex_molik.png-70ccbc73905df496c2513f81c60ddc11.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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -1,41 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ca7f5x8v3nt1j"
path.s3tc="res://.godot/imported/flake.png-c4b7328e54a98cbb0bbe6cb68b886bf5.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/textures/flake.png"
dest_files=["res://.godot/imported/flake.png-c4b7328e54a98cbb0bbe6cb68b886bf5.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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -1,41 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://va158xyrsvb4"
path.s3tc="res://.godot/imported/fire_particle.png-0aad5125ba65abd549495b1b6e6cee0e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/textures/players/molikman/molotov/fire_particle.png"
dest_files=["res://.godot/imported/fire_particle.png-0aad5125ba65abd549495b1b6e6cee0e.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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d0520jd5y300q"
path="res://.godot/imported/frame0000.png-caca975e9f546eff424570d0bb788afa.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/textures/players/molikman/molotov/frame0000.png"
dest_files=["res://.godot/imported/frame0000.png-caca975e9f546eff424570d0bb788afa.ctex"]
[params]
compress/mode=0
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=false
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=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://boebtrdgircn1"
path="res://.godot/imported/frame0001.png-4f0320616b3100b29bbe543bc6dc7e9a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/textures/players/molikman/molotov/frame0001.png"
dest_files=["res://.godot/imported/frame0001.png-4f0320616b3100b29bbe543bc6dc7e9a.ctex"]
[params]
compress/mode=0
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=false
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=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://iub2i15vj7a7"
path="res://.godot/imported/frame0002.png-8e9ca3c2d95179e1e84c09ea5b9789dd.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/textures/players/molikman/molotov/frame0002.png"
dest_files=["res://.godot/imported/frame0002.png-8e9ca3c2d95179e1e84c09ea5b9789dd.ctex"]
[params]
compress/mode=0
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=false
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=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://diy4n17p8qqkh"
path="res://.godot/imported/frame0003.png-922a8e5560166fdb80548d324b08f6c8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/textures/players/molikman/molotov/frame0003.png"
dest_files=["res://.godot/imported/frame0003.png-922a8e5560166fdb80548d324b08f6c8.ctex"]
[params]
compress/mode=0
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=false
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=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View file

@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d07fcg5pnao3q"
path="res://.godot/imported/frame0004.png-059e8c378e4af0dcdbad7f041b3ec46c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/textures/players/molikman/molotov/frame0004.png"
dest_files=["res://.godot/imported/frame0004.png-059e8c378e4af0dcdbad7f041b3ec46c.ctex"]
[params]
compress/mode=0
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=false
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=1

View file

@ -1,4 +0,0 @@
[gd_resource type="ColorPalette" format=3 uid="uid://c7b4nvb7c7dp3"]
[resource]
colors = PackedColorArray(0.047629792, 0.11940846, 0.180933, 1, 0.027450977, 0.37015864, 0.84705883, 1, 0.04705882, 0.33723024, 0.7647059, 1, 0.19999999, 0.6981582, 0.9137255, 1, 0.027450977, 0.5142647, 0.84705883, 1, 0.19999999, 0.8667959, 0.9137255, 1, 0.065, 0.15340322, 0.25, 1, 0.15686275, 0.26666668, 0.41568628, 1)

View file

@ -1,344 +0,0 @@
[gd_resource type="Theme" load_steps=35 format=3 uid="uid://dxnkvosdhpvwi"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0f6i3"]
bg_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6ioqn"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.007843137, 0.08691179, 0.2, 0.4862745)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lxams"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.19999999, 0.6981582, 0.9137255, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vhku8"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.027450977, 0.5142647, 0.84705883, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gvtt4"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.04705882, 0.33723024, 0.7647059, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nb43s"]
bg_color = Color(0.027450977, 0.37015864, 0.84705883, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3f3va"]
bg_color = Color(0.065, 0.15340322, 0.25, 1)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(0.065, 0.15340322, 0.25, 1)
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n0pxi"]
bg_color = Color(0.106433235, 0.18161754, 0.32349485, 1)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(0.106433235, 0.18161754, 0.32349485, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_y0ixg"]
bg_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_luy55"]
bg_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_etupa"]
bg_color = Color(0.027450977, 0.5142647, 0.84705883, 1)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(0.027450977, 0.5142647, 0.84705883, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7cwyu"]
bg_color = Color(0.065, 0.15340322, 0.25, 1)
corner_radius_top_right = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1wn1r"]
bg_color = Color(0.17252281, 0.819067, 0.3901327, 1)
corner_radius_top_right = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jqgtl"]
bg_color = Color(0.027450977, 0.5142647, 0.84705883, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bjvl4"]
bg_color = Color(0.19999999, 0.6981582, 0.9137255, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_600w1"]
bg_color = Color(0.027450977, 0.5142647, 0.84705883, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gaobj"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nv6t3"]
bg_color = Color(0.027450977, 0.37015864, 0.84705883, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eff20"]
bg_color = Color(0.19999999, 0.6981582, 0.9137255, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_axncs"]
bg_color = Color(0.106433235, 0.18161754, 0.32349485, 1)
border_width_bottom = 5
border_color = Color(0.065, 0.15340322, 0.25, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jungl"]
bg_color = Color(0.065, 0.15340322, 0.25, 1)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(0.106433235, 0.18161754, 0.32349485, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vxwtt"]
bg_color = Color(0.009789981, 0.06134919, 0.10858328, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.065, 0.15340322, 0.25, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4fp8c"]
bg_color = Color(0.047629792, 0.11940846, 0.180933, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jrpol"]
bg_color = Color(0.04705882, 0.33723024, 0.7647059, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_81epl"]
bg_color = Color(0.047629792, 0.11940846, 0.180933, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_67t17"]
bg_color = Color(0.027450977, 0.5142647, 0.84705883, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wlpk7"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
border_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_doivh"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.027450977, 0.5142647, 0.84705883, 1)
border_width_top = 5
border_color = Color(0.04705882, 0.33723024, 0.7647059, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_078gm"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.027450977, 0.37015864, 0.84705883, 1)
border_width_bottom = 5
border_color = Color(0.08210841, 0.3142104, 0.6561392, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cqecq"]
bg_color = Color(0.027450977, 0.5142647, 0.84705883, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s00gw"]
bg_color = Color(0.19999999, 0.6981582, 0.9137255, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_w0lbt"]
bg_color = Color(0.027450977, 0.37015864, 0.84705883, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hd7qi"]
bg_color = Color(0.19999999, 0.6981582, 0.9137255, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cn8il"]
content_margin_left = 5.0
content_margin_top = 5.0
content_margin_right = 5.0
content_margin_bottom = 5.0
bg_color = Color(0.15686275, 0.26666668, 0.41568628, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[resource]
AcceptDialog/styles/panel = SubResource("StyleBoxFlat_0f6i3")
Button/styles/disabled = SubResource("StyleBoxFlat_6ioqn")
Button/styles/hover = SubResource("StyleBoxFlat_lxams")
Button/styles/normal = SubResource("StyleBoxFlat_vhku8")
Button/styles/pressed = SubResource("StyleBoxFlat_gvtt4")
CheckButton/styles/hover_pressed = SubResource("StyleBoxFlat_nb43s")
FoldableContainer/styles/panel = SubResource("StyleBoxFlat_3f3va")
FoldableContainer/styles/title_collapsed_hover_panel = SubResource("StyleBoxFlat_n0pxi")
FoldableContainer/styles/title_collapsed_panel = SubResource("StyleBoxFlat_y0ixg")
FoldableContainer/styles/title_hover_panel = SubResource("StyleBoxFlat_luy55")
FoldableContainer/styles/title_panel = SubResource("StyleBoxFlat_etupa")
HPBar/base_type = &"ProgressBar"
HPBar/styles/background = SubResource("StyleBoxFlat_7cwyu")
HPBar/styles/fill = SubResource("StyleBoxFlat_1wn1r")
HScrollBar/styles/grabber = SubResource("StyleBoxFlat_jqgtl")
HScrollBar/styles/grabber_highlight = SubResource("StyleBoxFlat_bjvl4")
HScrollBar/styles/grabber_pressed = SubResource("StyleBoxFlat_600w1")
HScrollBar/styles/scroll = SubResource("StyleBoxFlat_gaobj")
HSlider/styles/grabber_area = SubResource("StyleBoxFlat_nv6t3")
HSlider/styles/grabber_area_highlight = SubResource("StyleBoxFlat_eff20")
HSlider/styles/slider = SubResource("StyleBoxFlat_gaobj")
LineEdit/styles/normal = SubResource("StyleBoxFlat_axncs")
LineEdit/styles/read_only = SubResource("StyleBoxFlat_jungl")
MarginContainer/constants/margin_bottom = 4
MarginContainer/constants/margin_left = 4
MarginContainer/constants/margin_right = 4
MarginContainer/constants/margin_top = 14
Panel/styles/panel = SubResource("StyleBoxFlat_vxwtt")
PanelContainer/styles/panel = SubResource("StyleBoxFlat_4fp8c")
PopupMenu/styles/hover = SubResource("StyleBoxFlat_jrpol")
PopupMenu/styles/panel = SubResource("StyleBoxFlat_81epl")
PopupPanel/styles/panel = SubResource("StyleBoxFlat_vxwtt")
ProgressBar/styles/background = SubResource("StyleBoxFlat_gaobj")
ProgressBar/styles/fill = SubResource("StyleBoxFlat_67t17")
TabContainer/styles/panel = SubResource("StyleBoxFlat_4fp8c")
TabContainer/styles/tab_disabled = SubResource("StyleBoxFlat_wlpk7")
TabContainer/styles/tab_hovered = SubResource("StyleBoxFlat_doivh")
TabContainer/styles/tab_selected = SubResource("StyleBoxFlat_doivh")
TabContainer/styles/tab_unselected = SubResource("StyleBoxFlat_078gm")
TabContainer/styles/tabbar_background = SubResource("StyleBoxFlat_0f6i3")
TextEdit/styles/normal = SubResource("StyleBoxFlat_axncs")
TextEdit/styles/read_only = SubResource("StyleBoxFlat_jungl")
VScrollBar/styles/grabber = SubResource("StyleBoxFlat_cqecq")
VScrollBar/styles/grabber_highlight = SubResource("StyleBoxFlat_s00gw")
VScrollBar/styles/grabber_pressed = SubResource("StyleBoxFlat_cqecq")
VScrollBar/styles/scroll = SubResource("StyleBoxFlat_gaobj")
VSlider/styles/grabber_area = SubResource("StyleBoxFlat_w0lbt")
VSlider/styles/grabber_area_highlight = SubResource("StyleBoxFlat_hd7qi")
VSlider/styles/slider = SubResource("StyleBoxFlat_cn8il")
Window/styles/embedded_border = SubResource("StyleBoxFlat_0f6i3")
Window/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_0f6i3")

View file

@ -1,15 +0,0 @@
key,ru,en,ikg
attack,Сторона атаки,Attack,
attacker,Атакующий,Attacker,
attackers,Атакующие,Attackers,
defence,Сторона защиты,Defence,
defender,Защищающий,Defender,
defenders,Защищающие,Defenders,
spectator,Наблюдатель,Spectator,
spectators,Наблюдатели,Spectators,
pistols,Пистолеты,Pistols,
sm_gun,Пистолеты-пулемёты,Submachine guns,
shotguns,Дробовики,Shotguns,
rifles,Винтовки,Rifles,
abilities,Способности,Abilities,
MyNameIs,:докер:,MyNameIs,Ïγрõõma∆~ğònñ fīłøроñī
1 key ru en ikg
2 attack Сторона атаки Attack
3 attacker Атакующий Attacker
4 attackers Атакующие Attackers
5 defence Сторона защиты Defence
6 defender Защищающий Defender
7 defenders Защищающие Defenders
8 spectator Наблюдатель Spectator
9 spectators Наблюдатели Spectators
10 pistols Пистолеты Pistols
11 sm_gun Пистолеты-пулемёты Submachine guns
12 shotguns Дробовики Shotguns
13 rifles Винтовки Rifles
14 abilities Способности Abilities
15 MyNameIs :докер: MyNameIs Ïγрõõma∆~ğònñ fīłøроñī

View file

@ -1,17 +0,0 @@
[remap]
importer="csv_translation"
type="Translation"
uid="uid://1okuxajts7cd"
[deps]
files=["res://assets/translations/gameplay.ru.translation", "res://assets/translations/gameplay.en.translation", "res://assets/translations/gameplay.ikg.translation"]
source_file="res://assets/translations/gameplay.csv"
dest_files=["res://assets/translations/gameplay.ru.translation", "res://assets/translations/gameplay.en.translation", "res://assets/translations/gameplay.ikg.translation"]
[params]
compress=true
delimiter=0

View file

@ -1,46 +0,0 @@
key,ru,en,ikg
allow_multiple_abilities,Разрешить несколько одинаковых способностей,Allow multiple same abilities,
allow_team_switch,Разрешить смену команд,Allow team switch,
audio,Звук,Audio,
audio_gameplay,Геймплейные звуки,Gameplay sounds,
bomb_time,Отсчёт бомбы,Bomb time,
buy_time,Время закупок,Buy phase time,
cancel,Отменить,Cancel,
connect,Подключится по IP,Connect to IP,
controls,Управление,Controls,
exit,Выйти из игры,Exit the game,
fullscreen,Полный экран,Fullscreen,
gameplay,Геймплей,Gameplay,
half_rounds,Раундов до смены сторон,Rounds to switch sides,
host,Захостить сервер,Host server,
infinite_money,Бесконечные деньги,Infinite money,
install,Установить,Install,
ip,IP,IP,
join_attack,Стать атакующим,Join attack,
join_defence,Стать защищающим,Join defence,
join_spectators,Стать наблюдателем,Join spectators,
language,Язык,Language,
leave,Покинуть лобби,Leave lobby,
nick,Никнейм,Nickname,
ninstall,Не устанавливать,Dont install,
pick_level,Выбор уровня,Pick level,
pick_team,Выберите свою команду,Pick your team,
port_forwarding,Проброс портов,Port forwarding,
public_ip_status,Статус публичного IP,Public IP status,
round_settings,Настройки раунда,Round settings,
round_time,Время раунда,Round time,
sensitivity,Чувствительность,Sensitivity,
settings,Настройки,Settings,
shuffle,Перемешать команды,Shuffle teams,
start,Начать сессию,Start session,
teams,Команды,Teams,
try_forward,Попробовать пробросить порты,Try to forward ports,
version_update,Изменение версии,Version update,
version_update_desc,"На сервере обнаружена новая (или просто другая) версия игры.
Установить её?","Theres new (or just different) version on server.
Install it?",
video,Видео,Video,
win_rounds,Раундов до победы,Rounds to win,
toggle_walk,Переключение ходьбы,Toggle walking,
toggle_crouch,Переключение приседания,Toggle crouching,
toggle_scope,Переключение прицеливания,Toggle scoping,
1 key ru en ikg
2 allow_multiple_abilities Разрешить несколько одинаковых способностей Allow multiple same abilities
3 allow_team_switch Разрешить смену команд Allow team switch
4 audio Звук Audio
5 audio_gameplay Геймплейные звуки Gameplay sounds
6 bomb_time Отсчёт бомбы Bomb time
7 buy_time Время закупок Buy phase time
8 cancel Отменить Cancel
9 connect Подключится по IP Connect to IP
10 controls Управление Controls
11 exit Выйти из игры Exit the game
12 fullscreen Полный экран Fullscreen
13 gameplay Геймплей Gameplay
14 half_rounds Раундов до смены сторон Rounds to switch sides
15 host Захостить сервер Host server
16 infinite_money Бесконечные деньги Infinite money
17 install Установить Install
18 ip IP IP
19 join_attack Стать атакующим Join attack
20 join_defence Стать защищающим Join defence
21 join_spectators Стать наблюдателем Join spectators
22 language Язык Language
23 leave Покинуть лобби Leave lobby
24 nick Никнейм Nickname
25 ninstall Не устанавливать Don’t install
26 pick_level Выбор уровня Pick level
27 pick_team Выберите свою команду Pick your team
28 port_forwarding Проброс портов Port forwarding
29 public_ip_status Статус публичного IP Public IP status
30 round_settings Настройки раунда Round settings
31 round_time Время раунда Round time
32 sensitivity Чувствительность Sensitivity
33 settings Настройки Settings
34 shuffle Перемешать команды Shuffle teams
35 start Начать сессию Start session
36 teams Команды Teams
37 try_forward Попробовать пробросить порты Try to forward ports
38 version_update Изменение версии Version update
39 version_update_desc На сервере обнаружена новая (или просто другая) версия игры. Установить её? There’s new (or just different) version on server. Install it?
40 video Видео Video
41 win_rounds Раундов до победы Rounds to win
42 toggle_walk Переключение ходьбы Toggle walking
43 toggle_crouch Переключение приседания Toggle crouching
44 toggle_scope Переключение прицеливания Toggle scoping

View file

@ -1,17 +0,0 @@
[remap]
importer="csv_translation"
type="Translation"
uid="uid://cb0irxjgwubm4"
[deps]
files=["res://assets/translations/gui.ru.translation", "res://assets/translations/gui.en.translation", "res://assets/translations/gui.ikg.translation"]
source_file="res://assets/translations/gui.csv"
dest_files=["res://assets/translations/gui.ru.translation", "res://assets/translations/gui.en.translation", "res://assets/translations/gui.ikg.translation"]
[params]
compress=true
delimiter=0

View file

@ -1,7 +0,0 @@
key,ru,en,ikg
au_loading,Подгружаем данные с сервера…,Loading data from server…,
au_err_load,[color=red]Ошибка загрузки данных: {error}[/color] ,[color=red]Error while loading data: {error}[/color],
au_err_install,[color=red]Ошибка загрузки новой версии: {error}[/color],[color=red]Error while downloading new version: {error}[/color],
au_new_version,Доступна новая версия!,New version available!,
au_current_version,[color=green]У вас самая актуальная версия игры! [/color],[color=green]Your version is the current version! [/color],
vr_version,Текущая версия игры: ,Game version: ,
1 key ru en ikg
2 au_loading Подгружаем данные с сервера… Loading data from server…
3 au_err_load [color=red]Ошибка загрузки данных: {error}[/color] [color=red]Error while loading data: {error}[/color]
4 au_err_install [color=red]Ошибка загрузки новой версии: {error}[/color] [color=red]Error while downloading new version: {error}[/color]
5 au_new_version Доступна новая версия! New version available!
6 au_current_version [color=green]У вас самая актуальная версия игры! [/color] [color=green]Your version is the current version! [/color]
7 vr_version Текущая версия игры: Game version:

View file

@ -1,17 +0,0 @@
[remap]
importer="csv_translation"
type="Translation"
uid="uid://4n0g51c0w3ht"
[deps]
files=["res://assets/translations/info.ru.translation", "res://assets/translations/info.en.translation", "res://assets/translations/info.ikg.translation"]
source_file="res://assets/translations/info.csv"
dest_files=["res://assets/translations/info.ru.translation", "res://assets/translations/info.en.translation", "res://assets/translations/info.ikg.translation"]
[params]
compress=true
delimiter=0

View file

@ -1 +0,0 @@
uid://ci5lsxcnno0dk

View file

@ -1 +0,0 @@
uid://btldse562yncg

View file

@ -23,7 +23,7 @@ script_export_mode=2
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
binary_format/embed_pck=true
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
shader_baker/enabled=false
@ -66,7 +66,7 @@ script_export_mode=2
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
binary_format/embed_pck=true
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
shader_baker/enabled=false

View file

@ -1 +0,0 @@
uid://c35se541vmq2g

View file

@ -1 +0,0 @@
uid://2c2us2au57py

View file

@ -45,7 +45,7 @@ size_flags_horizontal = 3
[node name="Shotgun" type="Label" parent="CenterContainer/PanelContainer/WeaponsContainer/WeaponsContainer/ShotgunContainer"]
layout_mode = 2
text = "shotguns"
text = "Дробовики"
horizontal_alignment = 1
vertical_alignment = 1
@ -55,13 +55,12 @@ weapon = ExtResource("4_8uk5y")
[node name="AbilitiesLabel" type="Label" parent="CenterContainer/PanelContainer/WeaponsContainer"]
layout_mode = 2
text = "abilities"
text = "Способности"
horizontal_alignment = 1
vertical_alignment = 1
[node name="AbilitiesContainer" type="HBoxContainer" parent="CenterContainer/PanelContainer/WeaponsContainer"]
layout_mode = 2
alignment = 1
[node name="MolotovButton" parent="CenterContainer/PanelContainer/WeaponsContainer/AbilitiesContainer" instance=ExtResource("1_8guql")]
layout_mode = 2

View file

@ -1 +0,0 @@
uid://bvoreq65pqccu

View file

@ -1 +0,0 @@
uid://kfo8mh84vt6l

View file

@ -2,26 +2,16 @@ extends Node
const PLAYER_CFG = "user://client_settings"
signal locale_changed(StringName)
var NICKNAME: StringName = "MyNameIs"
var SENSITIVITY: float = 0.004
var TOGGLE_CROUCH: bool = false
var TOGGLE_SCOPE: bool = false
var TOGGLE_WALK: bool = false
var LOCALE: StringName = "automatic":
set(value):
LOCALE = value
locale_changed.emit(value)
TranslationServer.set_locale(value)
func _ready() -> void:
load_settings()
multiplayer.connected_to_server.connect(send_client_data)
if LOCALE == "automatic":
TranslationServer.set_locale(OS.get_locale_language())
func _exit_tree() -> void:
save_settings()
@ -43,7 +33,6 @@ func save_settings() -> void:
var compacted_toggles = 1 * int(TOGGLE_CROUCH) | 2 * int(TOGGLE_SCOPE) | 4 * int(TOGGLE_WALK)
file.store_line(str(compacted_toggles))
file.store_line(TranslationServer.get_locale())
func load_settings() -> void:
var file = FileAccess.open(PLAYER_CFG,FileAccess.READ)
@ -58,5 +47,3 @@ func load_settings() -> void:
TOGGLE_CROUCH = compacted_toggles & 1
TOGGLE_SCOPE = compacted_toggles & 2
TOGGLE_WALK = compacted_toggles & 4
LOCALE = file.get_line()

View file

@ -1 +0,0 @@
uid://cuun43j38eihq

View file

@ -12,54 +12,36 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="PanelContainer" type="PanelContainer" parent="CenterContainer"]
layout_mode = 2
script = ExtResource("1_xqyus")
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/PanelContainer"]
layout_mode = 2
[node name="PanelContainer" type="TabContainer" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(512, 256)
[node name="FullscreenButton" type="CheckButton" parent="CenterContainer/PanelContainer/VBoxContainer"]
layout_mode = 2
tab_alignment = 1
current_tab = 2
text = "Полный экран"
[node name="gameplay" type="VBoxContainer" parent="CenterContainer/VBoxContainer/PanelContainer"]
visible = false
layout_mode = 2
metadata/_tab_index = 0
[node name="video" type="VBoxContainer" parent="CenterContainer/VBoxContainer/PanelContainer"]
visible = false
layout_mode = 2
metadata/_tab_index = 1
[node name="FullscreenButton" type="CheckButton" parent="CenterContainer/VBoxContainer/PanelContainer/video"]
layout_mode = 2
text = "fullscreen"
[node name="controls" type="VBoxContainer" parent="CenterContainer/VBoxContainer/PanelContainer"]
layout_mode = 2
metadata/_tab_index = 2
[node name="Sensitivity" type="HBoxContainer" parent="CenterContainer/VBoxContainer/PanelContainer/controls"]
[node name="Sensitivity" type="HBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer/PanelContainer/controls/Sensitivity"]
[node name="Label" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/Sensitivity"]
layout_mode = 2
text = "sensitivity"
text = "Чувствительность"
[node name="SensitivitySlider" type="HSlider" parent="CenterContainer/VBoxContainer/PanelContainer/controls/Sensitivity"]
[node name="SensitivitySlider" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/Sensitivity"]
unique_name_in_owner = true
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
min_value = 0.001
max_value = 0.02
step = 0.001
value = 0.001
[node name="SensitivityBox" type="SpinBox" parent="CenterContainer/VBoxContainer/PanelContainer/controls/Sensitivity"]
[node name="SensitivityBox" type="SpinBox" parent="CenterContainer/PanelContainer/VBoxContainer/Sensitivity"]
unique_name_in_owner = true
layout_mode = 2
max_value = 0.1
@ -68,60 +50,37 @@ value = 0.02
allow_greater = true
allow_lesser = true
[node name="ToggleCrouch" type="CheckButton" parent="CenterContainer/VBoxContainer/PanelContainer/controls"]
unique_name_in_owner = true
layout_mode = 2
text = "toggle_crouch"
[node name="ToggleScope" type="CheckButton" parent="CenterContainer/VBoxContainer/PanelContainer/controls"]
unique_name_in_owner = true
layout_mode = 2
text = "toggle_scope"
[node name="ToggleWalk" type="CheckButton" parent="CenterContainer/VBoxContainer/PanelContainer/controls"]
unique_name_in_owner = true
layout_mode = 2
text = "toggle_walk"
[node name="audio" type="VBoxContainer" parent="CenterContainer/VBoxContainer/PanelContainer"]
visible = false
layout_mode = 2
metadata/_tab_index = 3
[node name="GameplayMainAudio" type="HBoxContainer" parent="CenterContainer/VBoxContainer/PanelContainer/audio"]
[node name="GameplayMainAudio" type="HBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer/PanelContainer/audio/GameplayMainAudio"]
[node name="Label" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/GameplayMainAudio"]
layout_mode = 2
text = "audio_gameplay"
text = "Геймплейные звуки"
[node name="GameplayMainSlider" type="HSlider" parent="CenterContainer/VBoxContainer/PanelContainer/audio/GameplayMainAudio"]
[node name="GameplayMainSlider" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/GameplayMainAudio"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
max_value = 1.0
step = 0.01
value = 1.0
[node name="StopSession" type="Button" parent="CenterContainer/VBoxContainer"]
[node name="StopSession" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
text = "Окончить сессию"
[node name="LeaveButton" type="Button" parent="CenterContainer/VBoxContainer"]
[node name="LeaveButton" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
text = "Покинуть сессию"
[connection signal="toggled" from="CenterContainer/VBoxContainer/PanelContainer/video/FullscreenButton" to="CenterContainer" method="_on_fullscreen_button_toggled"]
[connection signal="value_changed" from="CenterContainer/VBoxContainer/PanelContainer/controls/Sensitivity/SensitivitySlider" to="CenterContainer" method="_on_sensitivity_slider_value_changed"]
[connection signal="value_changed" from="CenterContainer/VBoxContainer/PanelContainer/controls/Sensitivity/SensitivityBox" to="CenterContainer" method="_on_sensitivity_box_value_changed"]
[connection signal="toggled" from="CenterContainer/VBoxContainer/PanelContainer/controls/ToggleCrouch" to="CenterContainer" method="_on_toggle_crouch_toggled"]
[connection signal="toggled" from="CenterContainer/VBoxContainer/PanelContainer/controls/ToggleScope" to="CenterContainer" method="_on_toggle_scope_toggled"]
[connection signal="toggled" from="CenterContainer/VBoxContainer/PanelContainer/controls/ToggleWalk" to="CenterContainer" method="_on_toggle_walk_toggled"]
[connection signal="value_changed" from="CenterContainer/VBoxContainer/PanelContainer/audio/GameplayMainAudio/GameplayMainSlider" to="CenterContainer" method="_on_gameplay_main_slider_value_changed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/StopSession" to="CenterContainer" method="_on_stop_session_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/LeaveButton" to="CenterContainer" method="_on_leave_button_pressed"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/FullscreenButton" to="CenterContainer/PanelContainer" method="_on_fullscreen_button_pressed"]
[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/FullscreenButton" to="CenterContainer/PanelContainer" method="_on_fullscreen_button_toggled"]
[connection signal="value_changed" from="CenterContainer/PanelContainer/VBoxContainer/Sensitivity/SensitivitySlider" to="CenterContainer/PanelContainer" method="_on_sensitivity_slider_value_changed"]
[connection signal="value_changed" from="CenterContainer/PanelContainer/VBoxContainer/Sensitivity/SensitivityBox" to="CenterContainer/PanelContainer" method="_on_sensitivity_box_value_changed"]
[connection signal="value_changed" from="CenterContainer/PanelContainer/VBoxContainer/GameplayMainAudio/GameplayMainSlider" to="CenterContainer/PanelContainer" method="_on_gameplay_main_slider_value_changed"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/StopSession" to="CenterContainer/PanelContainer" method="_on_stop_session_pressed"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/LeaveButton" to="CenterContainer/PanelContainer" method="_on_leave_button_pressed"]

View file

@ -9,9 +9,6 @@ func _ready() -> void:
Lobby.lobby_closed.connect(%StopSession.hide)
%SensitivitySlider.set_value_no_signal(ClientSettings.SENSITIVITY)
%SensitivityBox.set_value_no_signal(ClientSettings.SENSITIVITY)
%ToggleCrouch.set_pressed_no_signal(ClientSettings.TOGGLE_CROUCH)
%ToggleScope.set_pressed_no_signal(ClientSettings.TOGGLE_SCOPE)
%ToggleWalk.set_pressed_no_signal(ClientSettings.TOGGLE_WALK)
func _input(event: InputEvent) -> void:
if event.is_action_pressed("menu_settings"):
@ -42,15 +39,3 @@ func _on_leave_button_pressed() -> void:
func _on_stop_session_pressed() -> void:
if multiplayer.is_server():
Session.end_session()
func _on_toggle_crouch_toggled(toggled_on: bool) -> void:
ClientSettings.TOGGLE_CROUCH = toggled_on
func _on_toggle_scope_toggled(toggled_on: bool) -> void:
ClientSettings.TOGGLE_SCOPE = toggled_on
func _on_toggle_walk_toggled(toggled_on: bool) -> void:
ClientSettings.TOGGLE_WALK = toggled_on

View file

@ -1 +0,0 @@
uid://bd1m13y7yeloa

View file

@ -1 +0,0 @@
uid://cs6ui52lkafbs

View file

@ -13,11 +13,11 @@ func _ready() -> void:
%InfiniteMoney.set_pressed_no_signal(LobbySettings.infinite_money)
var popup: PopupMenu = %MapsButton.get_popup()
%MapsButton.text = LobbySettings.selected_map
popup.index_pressed.connect(on_maps_index_pressed)
for level in Registry.maps.keys():
levels_by_index.append(level)
popup.add_item(level)
%MapsButton.selected = levels_by_index.find(LobbySettings.selected_map)
func _on_round_time_box_value_changed(value: float) -> void:
LobbySettings.round_time = value
@ -52,12 +52,9 @@ func _on_allow_team_switch_toggled(toggled_on: bool) -> void:
LobbySettings.allow_team_switch = toggled_on
func on_maps_index_pressed(index: int):
%MapsButton.text = levels_by_index[index]
LobbySettings.selected_map = levels_by_index[index]
func _on_infinite_money_toggled(toggled_on: bool) -> void:
LobbySettings.infinite_money = toggled_on
func _on_start_button_pressed() -> void:
Lobby.start_game()

View file

@ -1 +0,0 @@
uid://dycqqbh850k65

View file

@ -7,19 +7,15 @@
[node name="HostMenu" type="VBoxContainer"]
script = ExtResource("1_83e8q")
[node name="StartButton" type="Button" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "start"
[node name="MapsButton" type="OptionButton" parent="."]
[node name="MapsButton" type="MenuButton" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Выбор уровня"
[node name="Time" type="FoldableContainer" parent="."]
layout_mode = 2
folded = true
title = "round_time"
title = "Время раунда"
[node name="VBoxContainer" type="VBoxContainer" parent="Time"]
visible = false
@ -30,7 +26,7 @@ layout_mode = 2
[node name="Label" type="Label" parent="Time/VBoxContainer/RoundTime"]
layout_mode = 2
text = "round_time"
text = "Время раунда"
[node name="RoundTimeBox" type="SpinBox" parent="Time/VBoxContainer/RoundTime"]
unique_name_in_owner = true
@ -45,7 +41,7 @@ layout_mode = 2
[node name="Label" type="Label" parent="Time/VBoxContainer/BombTime"]
layout_mode = 2
text = "bomb_time"
text = "Отсчёт бомбы"
[node name="BombTimeBox" type="SpinBox" parent="Time/VBoxContainer/BombTime"]
unique_name_in_owner = true
@ -60,7 +56,7 @@ layout_mode = 2
[node name="Label" type="Label" parent="Time/VBoxContainer/BuyTime"]
layout_mode = 2
text = "buy_time"
text = "Время закупок"
[node name="BuyTimeBox" type="SpinBox" parent="Time/VBoxContainer/BuyTime"]
unique_name_in_owner = true
@ -73,7 +69,7 @@ allow_greater = true
[node name="Round" type="FoldableContainer" parent="."]
layout_mode = 2
folded = true
title = "round_settings"
title = "Раунд"
[node name="VBoxContainer" type="VBoxContainer" parent="Round"]
visible = false
@ -84,7 +80,7 @@ layout_mode = 2
[node name="Label" type="Label" parent="Round/VBoxContainer/RoundAmount"]
layout_mode = 2
text = "win_rounds"
text = "Раундов для победы"
[node name="RoundBox" type="SpinBox" parent="Round/VBoxContainer/RoundAmount"]
unique_name_in_owner = true
@ -100,7 +96,7 @@ layout_mode = 2
[node name="Label" type="Label" parent="Round/VBoxContainer/TeamSwitchAmount"]
layout_mode = 2
text = "half_rounds"
text = "Раунд смены сторон"
[node name="TeamSwitchBox" type="SpinBox" parent="Round/VBoxContainer/TeamSwitchAmount"]
unique_name_in_owner = true
@ -114,7 +110,7 @@ allow_greater = true
[node name="Gameplay" type="FoldableContainer" parent="."]
layout_mode = 2
folded = true
title = "gameplay"
title = "Геймплей"
[node name="VBoxContainer" type="VBoxContainer" parent="Gameplay"]
visible = false
@ -124,20 +120,20 @@ layout_mode = 2
unique_name_in_owner = true
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
text = "allow_multiple_abilities"
text = "Неограниченная закупка абилок"
autowrap_mode = 2
[node name="InfiniteMoney" type="CheckButton" parent="Gameplay/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
text = "infinite_money"
text = "Бесконечные деньги"
autowrap_mode = 2
[node name="PortForward" type="FoldableContainer" parent="."]
layout_mode = 2
folded = true
title = "port_forwarding"
title = "Проброс портов"
[node name="PortForwardContainer" type="VBoxContainer" parent="PortForward"]
visible = false
@ -145,12 +141,12 @@ layout_mode = 2
[node name="ForwardPortButton" type="Button" parent="PortForward/PortForwardContainer"]
layout_mode = 2
text = "try_forward"
text = "Попробовать пробросить порты"
script = ExtResource("2_lgwxd")
[node name="Label" type="Label" parent="PortForward/PortForwardContainer"]
layout_mode = 2
text = "public_ip_status"
text = "Статус публичного IP:"
[node name="PublicIP" type="LineEdit" parent="PortForward/PortForwardContainer"]
unique_name_in_owner = true
@ -160,7 +156,7 @@ script = ExtResource("3_f5ibf")
[node name="Teams" type="FoldableContainer" parent="."]
layout_mode = 2
title = "teams"
title = "Команды"
[node name="VBoxContainer" type="VBoxContainer" parent="Teams"]
layout_mode = 2
@ -168,14 +164,13 @@ layout_mode = 2
[node name="AllowTeamSwitch" type="CheckButton" parent="Teams/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "allow_team_switch"
text = "Разрешить смену команд"
autowrap_mode = 2
[node name="Shuffle" type="Button" parent="Teams/VBoxContainer"]
layout_mode = 2
text = "shuffle"
text = "Перемешать"
[connection signal="pressed" from="StartButton" to="." method="_on_start_button_pressed"]
[connection signal="value_changed" from="Time/VBoxContainer/RoundTime/RoundTimeBox" to="." method="_on_round_time_box_value_changed"]
[connection signal="value_changed" from="Time/VBoxContainer/BombTime/BombTimeBox" to="." method="_on_bomb_time_box_value_changed"]
[connection signal="value_changed" from="Time/VBoxContainer/BuyTime/BuyTimeBox" to="." method="_on_buy_time_box_value_changed"]

View file

@ -1 +0,0 @@
uid://bhwh5ph1gmqi2

View file

@ -1 +0,0 @@
uid://di1e2c5xt1n83

View file

@ -1 +0,0 @@
uid://cyurpsjpwwit8

View file

@ -1 +0,0 @@
uid://b2505gajvffei

View file

@ -1,14 +0,0 @@
extends MenuButton
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
var popup: PopupMenu = get_popup()
for locale in TranslationServer.get_loaded_locales():
popup.add_item(locale)
popup.index_pressed.connect(on_locale_selected)
func on_locale_selected(index: int):
var popup: PopupMenu = get_popup()
ClientSettings.LOCALE = popup.get_item_text(index)

View file

@ -1 +0,0 @@
uid://dx0tfstuwspll

View file

@ -1,9 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://cbtp4rvg66ba1"]
[gd_scene load_steps=3 format=3 uid="uid://cbtp4rvg66ba1"]
[ext_resource type="Script" uid="uid://bsyuos803g7qf" path="res://gui/main_menu/main_menu_gui.gd" id="1_l6cm7"]
[ext_resource type="PackedScene" uid="uid://dswn8a8anj2hu" path="res://gui/host_menu/host_menu.tscn" id="2_85nol"]
[ext_resource type="Script" uid="uid://fhfot05mnhua" path="res://gui/main_menu/version_label.gd" id="3_qy2xc"]
[ext_resource type="Script" uid="uid://dx0tfstuwspll" path="res://gui/main_menu/language_button.gd" id="4_6wy0j"]
[node name="MainMenu" type="CenterContainer"]
anchors_preset = 15
@ -24,7 +22,7 @@ layout_mode = 2
[node name="NicknameEdit" type="LineEdit" parent="MainMenu/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
placeholder_text = "nick"
placeholder_text = "Nickname"
max_length = 16
[node name="HBoxContainer" type="HBoxContainer" parent="MainMenu/VBoxContainer"]
@ -33,7 +31,7 @@ layout_mode = 2
[node name="HostButton" type="Button" parent="MainMenu/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "host"
text = "HOST"
[node name="VBoxContainer" type="VBoxContainer" parent="MainMenu/VBoxContainer/HBoxContainer"]
layout_mode = 2
@ -41,21 +39,16 @@ size_flags_horizontal = 3
[node name="ConnectButton" type="Button" parent="MainMenu/VBoxContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "connect"
text = "CONNECT"
[node name="IpEdit" type="LineEdit" parent="MainMenu/VBoxContainer/HBoxContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
placeholder_text = "ip"
[node name="LanguageButton" type="MenuButton" parent="MainMenu/VBoxContainer"]
layout_mode = 2
text = "language"
script = ExtResource("4_6wy0j")
[node name="ExitButton" type="Button" parent="MainMenu/VBoxContainer"]
layout_mode = 2
text = "exit"
text = "Выйти из игры"
[node name="Lobby" type="PanelContainer" parent="."]
visible = false
@ -80,7 +73,7 @@ size_flags_horizontal = 3
[node name="TeamName" type="Label" parent="Lobby/HBoxContainer/ClientMenu/Players/AttackTeam"]
layout_mode = 2
text = "attack"
text = "Attack"
horizontal_alignment = 1
[node name="DefenceTeam" type="VBoxContainer" parent="Lobby/HBoxContainer/ClientMenu/Players"]
@ -90,7 +83,7 @@ size_flags_horizontal = 3
[node name="TeamName" type="Label" parent="Lobby/HBoxContainer/ClientMenu/Players/DefenceTeam"]
layout_mode = 2
text = "defence"
text = "Defence"
horizontal_alignment = 1
[node name="SpectatorsTeam" type="VBoxContainer" parent="Lobby/HBoxContainer/ClientMenu/Players"]
@ -100,7 +93,7 @@ size_flags_horizontal = 3
[node name="TeamName" type="Label" parent="Lobby/HBoxContainer/ClientMenu/Players/SpectatorsTeam"]
layout_mode = 2
text = "spectators"
text = "Spectators"
horizontal_alignment = 1
[node name="Buttons" type="HBoxContainer" parent="Lobby/HBoxContainer/ClientMenu"]
@ -110,23 +103,28 @@ alignment = 1
[node name="LeaveButton" type="Button" parent="Lobby/HBoxContainer/ClientMenu/Buttons"]
unique_name_in_owner = true
layout_mode = 2
text = "leave"
text = "Leave"
[node name="StartButton" type="Button" parent="Lobby/HBoxContainer/ClientMenu/Buttons"]
unique_name_in_owner = true
layout_mode = 2
text = "Start"
[node name="JoinAttackButton" type="Button" parent="Lobby/HBoxContainer/ClientMenu/Buttons"]
unique_name_in_owner = true
layout_mode = 2
text = "join_attack"
text = "Join Attack"
[node name="JoinDefenceButton" type="Button" parent="Lobby/HBoxContainer/ClientMenu/Buttons"]
unique_name_in_owner = true
layout_mode = 2
text = "join_defence"
text = "Join Defence"
[node name="JoinSpectatorsButton" type="Button" parent="Lobby/HBoxContainer/ClientMenu/Buttons"]
unique_name_in_owner = true
visible = false
layout_mode = 2
text = "join_spectators"
text = "Join Spectators"
[node name="HostConainer" type="ScrollContainer" parent="Lobby/HBoxContainer"]
layout_mode = 2
@ -136,38 +134,13 @@ horizontal_scroll_mode = 0
unique_name_in_owner = true
layout_mode = 2
[node name="Independent" type="Control" parent="."]
layout_mode = 2
[node name="VersionPanel" type="PanelContainer" parent="Independent"]
top_level = true
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -8.0
offset_top = -8.0
grow_horizontal = 0
grow_vertical = 0
[node name="Version" type="RichTextLabel" parent="Independent/VersionPanel"]
layout_mode = 2
bbcode_enabled = true
fit_content = true
scroll_active = false
autowrap_mode = 0
horizontal_alignment = 2
vertical_alignment = 2
script = ExtResource("3_qy2xc")
[connection signal="text_changed" from="MainMenu/VBoxContainer/NicknameEdit" to="." method="_on_nickname_edit_text_changed"]
[connection signal="text_submitted" from="MainMenu/VBoxContainer/NicknameEdit" to="." method="_on_nickname_edit_text_submitted"]
[connection signal="pressed" from="MainMenu/VBoxContainer/HBoxContainer/HostButton" to="." method="_on_host_button_pressed"]
[connection signal="pressed" from="MainMenu/VBoxContainer/HBoxContainer/VBoxContainer/ConnectButton" to="." method="_on_connect_button_pressed"]
[connection signal="pressed" from="MainMenu/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"]
[connection signal="pressed" from="Lobby/HBoxContainer/ClientMenu/Buttons/LeaveButton" to="." method="_on_leave_button_pressed"]
[connection signal="pressed" from="Lobby/HBoxContainer/ClientMenu/Buttons/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="Lobby/HBoxContainer/ClientMenu/Buttons/JoinAttackButton" to="." method="_on_join_attack_button_pressed"]
[connection signal="pressed" from="Lobby/HBoxContainer/ClientMenu/Buttons/JoinDefenceButton" to="." method="_on_join_defence_button_pressed"]
[connection signal="pressed" from="Lobby/HBoxContainer/ClientMenu/Buttons/JoinSpectatorsButton" to="." method="_on_join_spectators_button_pressed"]

View file

@ -24,10 +24,16 @@ func cleanup_lobby() -> void:
%JoinDefenceButton.show()
%JoinSpectatorsButton.hide()
func _on_start_button_pressed() -> void:
Lobby.start_game()
func hide_host_buttons() -> void:
%StartButton.hide()
%HostMenu.hide()
func show_host_buttons() -> void:
%StartButton.show()
%HostMenu.show()
func _on_host_button_pressed() -> void:

Some files were not shown because too many files have changed in this diff Show more