Localization WIP
This commit is contained in:
parent
a02cce8108
commit
3b6c4a1a5a
|
@ -0,0 +1,12 @@
|
|||
[gd_resource type="Resource" script_class="LocaleResource" load_steps=4 format=3 uid="uid://c451dxih84hxd"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/LocaleResource.cs" id="1_10yxx"]
|
||||
[ext_resource type="Script" path="res://Scripts/LocaleResourceEntry.cs" id="1_evemc"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_rcoje"]
|
||||
script = ExtResource("1_evemc")
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_10yxx")
|
||||
labelsArray = PackedStringArray()
|
||||
entriesArray = Array[Object]([SubResource("Resource_rcoje"), null])
|
Binary file not shown.
|
@ -0,0 +1,51 @@
|
|||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b0wjlbb58jevr"
|
||||
path="res://.godot/imported/pumpkin.glb-a2bcd93e4e1873070bea6b7f2e3a041a.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/Main/Pumpkin/pumpkin.glb"
|
||||
dest_files=["res://.godot/imported/pumpkin.glb-a2bcd93e4e1873070bea6b7f2e3a041a.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
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=""
|
||||
_subresources={
|
||||
"meshes": {
|
||||
"pumpkin_Sphere_008": {
|
||||
"generate/lightmap_uv": 0,
|
||||
"generate/lods": 0,
|
||||
"generate/shadow_meshes": 0,
|
||||
"lods/normal_merge_angle": 60.0,
|
||||
"lods/normal_split_angle": 25.0,
|
||||
"save_to_file/enabled": false,
|
||||
"save_to_file/path": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
Binary file not shown.
After Width: | Height: | Size: 2.3 MiB |
|
@ -0,0 +1,38 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c7630hebobive"
|
||||
path.s3tc="res://.godot/imported/pumpkin_Pumkin_Bake1_PBR_Ambient Occlusion-Pumkin_Bake1_PBR_Glossiness-Pumkin_Bake1_PBR_Metalness.png-eb1fb90f62c77e6d039fe1cd0eed3926.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "9ca1cec97ac5cceb1f62738ac66539e6"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/Main/Pumpkin/pumpkin_Pumkin_Bake1_PBR_Ambient Occlusion-Pumkin_Bake1_PBR_Glossiness-Pumkin_Bake1_PBR_Metalness.png"
|
||||
dest_files=["res://.godot/imported/pumpkin_Pumkin_Bake1_PBR_Ambient Occlusion-Pumkin_Bake1_PBR_Glossiness-Pumkin_Bake1_PBR_Metalness.png-eb1fb90f62c77e6d039fe1cd0eed3926.s3tc.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=8
|
||||
roughness/src_normal="res://Scenes/Main/Pumpkin/pumpkin_Pumkin_Bake1_PBR_Normal.png"
|
||||
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.
After Width: | Height: | Size: 2.2 MiB |
|
@ -0,0 +1,38 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bb1b826qiwsm8"
|
||||
path.s3tc="res://.godot/imported/pumpkin_Pumkin_Bake1_PBR_Diffuse.png-678821f67929c85b6d30413d44148f9f.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "6e5fd834b9a26576749d41feb876e98c"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/Main/Pumpkin/pumpkin_Pumkin_Bake1_PBR_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/pumpkin_Pumkin_Bake1_PBR_Diffuse.png-678821f67929c85b6d30413d44148f9f.s3tc.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
|
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
|
@ -0,0 +1,38 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://de0g568en0xfu"
|
||||
path.s3tc="res://.godot/imported/pumpkin_Pumkin_Bake1_PBR_Emission.png-b3a7e9d5ca2a052a71c0427df2b4dacc.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "efeebdda98ec1d7fb2ad83d23f0713bf"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/Main/Pumpkin/pumpkin_Pumkin_Bake1_PBR_Emission.png"
|
||||
dest_files=["res://.godot/imported/pumpkin_Pumkin_Bake1_PBR_Emission.png-b3a7e9d5ca2a052a71c0427df2b4dacc.s3tc.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
|
Binary file not shown.
After Width: | Height: | Size: 12 MiB |
|
@ -0,0 +1,38 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c1xqigcw2ppgb"
|
||||
path.s3tc="res://.godot/imported/pumpkin_Pumkin_Bake1_PBR_Normal.png-bab42ebfd42c1ce791e67143c0b37982.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "b0d4a1245dd0fca12249d3893ae86fcd"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/Main/Pumpkin/pumpkin_Pumkin_Bake1_PBR_Normal.png"
|
||||
dest_files=["res://.godot/imported/pumpkin_Pumkin_Bake1_PBR_Normal.png-bab42ebfd42c1ce791e67143c0b37982.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://Scenes/Main/Pumpkin/pumpkin_Pumkin_Bake1_PBR_Normal.png"
|
||||
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.
After Width: | Height: | Size: 395 KiB |
|
@ -0,0 +1,38 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://hs4xq378k6oe"
|
||||
path.s3tc="res://.godot/imported/pumpkin_Shadows.png-817d5201cab6b0649c379a31089327cb.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "6dec4ac7a6548fee0637f9bcdc69e609"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/Main/Pumpkin/pumpkin_Shadows.png"
|
||||
dest_files=["res://.godot/imported/pumpkin_Shadows.png-817d5201cab6b0649c379a31089327cb.s3tc.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
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using Godot;
|
||||
|
||||
|
||||
[GlobalClass]
|
||||
public partial class LocaleResource:Resource
|
||||
{
|
||||
[Export]
|
||||
public string[] labelsArray;
|
||||
|
||||
[Export]
|
||||
public LocaleResourceEntry[] entriesArray;
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using Godot;
|
||||
|
||||
|
||||
[GlobalClass]
|
||||
public partial class LocaleResourceEntry:Resource
|
||||
{
|
||||
public string type;
|
||||
public string value;
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using Godot;
|
||||
|
||||
|
||||
[GlobalClass]
|
||||
public partial class LocaleString:Resource
|
||||
{
|
||||
[Export]
|
||||
public string comment;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string en_english;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string de_german;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string es_spanish;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string fr_french;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string ja_japanese;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string ko_korean;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string ru_russian;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string pl_polish;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string pt_portuguese;
|
||||
|
||||
[Export(PropertyHint.MultilineText)]
|
||||
public string zh_chinese;
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
[gd_resource type="Resource" script_class="LocaleString" load_steps=2 format=3 uid="uid://cd6lngusjtei7"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/LocaleString.cs" id="1_lovra"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_lovra")
|
||||
comment = ""
|
||||
en_english = ""
|
||||
de_german = ""
|
||||
es_spanish = ""
|
||||
fr_french = ""
|
||||
ja_japanese = ""
|
||||
ko_korean = ""
|
||||
ru_russian = ""
|
||||
pl_polish = ""
|
||||
pt_portuguese = ""
|
||||
zh_chinese = ""
|
Loading…
Reference in New Issue