Affinity locations added, some decorations and final floors work
BIN
Zennysoft.Game.Ma/src/map/Placeables/Paintings/F196808P.jpg
Normal file
|
After Width: | Height: | Size: 175 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d2w0pk6ird53v"
|
||||
path.bptc="res://.godot/imported/F196808P.jpg-f4f9f5a05daf1cc8a3d56e349e2c7a40.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/F196808P.jpg"
|
||||
dest_files=["res://.godot/imported/F196808P.jpg-f4f9f5a05daf1cc8a3d56e349e2c7a40.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
|
After Width: | Height: | Size: 101 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b85duqkec5twh"
|
||||
path.bptc="res://.godot/imported/HA13LE3aAAIXgBJ.jpg-086748ee3578cd7ed1ff914fa967f233.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/HA13LE3aAAIXgBJ.jpg"
|
||||
dest_files=["res://.godot/imported/HA13LE3aAAIXgBJ.jpg-086748ee3578cd7ed1ff914fa967f233.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
|
After Width: | Height: | Size: 276 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dv4qbwwwcfg4n"
|
||||
path.bptc="res://.godot/imported/HDOPyWVbsAAJLV6.jpg-aedc0166b7f91c774ff3977e2efb3055.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/HDOPyWVbsAAJLV6.jpg"
|
||||
dest_files=["res://.godot/imported/HDOPyWVbsAAJLV6.jpg-aedc0166b7f91c774ff3977e2efb3055.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
|
After Width: | Height: | Size: 84 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ji0ul23iaahf"
|
||||
path.bptc="res://.godot/imported/Manet-StillLife-614.jpg-7a3e8ccc5bfc6aacda0d58a4d47cbdf9.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/Manet-StillLife-614.jpg"
|
||||
dest_files=["res://.godot/imported/Manet-StillLife-614.jpg-7a3e8ccc5bfc6aacda0d58a4d47cbdf9.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
BIN
Zennysoft.Game.Ma/src/map/Placeables/Paintings/P1953216.jpg
Normal file
|
After Width: | Height: | Size: 338 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ctc2r4jjjyt4l"
|
||||
path.bptc="res://.godot/imported/P1953216.jpg-c6d3af7da5d37d5503d6feeddf874cbd.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/P1953216.jpg"
|
||||
dest_files=["res://.godot/imported/P1953216.jpg-c6d3af7da5d37d5503d6feeddf874cbd.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
BIN
Zennysoft.Game.Ma/src/map/Placeables/Paintings/P198023.jpg
Normal file
|
After Width: | Height: | Size: 408 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d0doeoxkraakx"
|
||||
path.bptc="res://.godot/imported/P198023.jpg-c65ad40d873646eeb91fe024a6f351fd.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/P198023.jpg"
|
||||
dest_files=["res://.godot/imported/P198023.jpg-c65ad40d873646eeb91fe024a6f351fd.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
|
After Width: | Height: | Size: 154 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c1abhfhqcxf0d"
|
||||
path.bptc="res://.godot/imported/chango-ii-francisco-toledo-1987.jpg-e61303ec40db16bf9653b0e62dd1917d.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/chango-ii-francisco-toledo-1987.jpg"
|
||||
dest_files=["res://.godot/imported/chango-ii-francisco-toledo-1987.jpg-e61303ec40db16bf9653b0e62dd1917d.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dgeq4cwvgma7y"
|
||||
path.bptc="res://.godot/imported/cuerpos-celestes-rufino-tamayo-1946-300x241.jpg-e246a49df4ea3089c58d3a298e3ae696.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/cuerpos-celestes-rufino-tamayo-1946-300x241.jpg"
|
||||
dest_files=["res://.godot/imported/cuerpos-celestes-rufino-tamayo-1946-300x241.jpg-e246a49df4ea3089c58d3a298e3ae696.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
BIN
Zennysoft.Game.Ma/src/map/Placeables/Paintings/unnamed.jpg
Normal file
|
After Width: | Height: | Size: 80 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d0uya1t48x1xl"
|
||||
path.bptc="res://.godot/imported/unnamed.jpg-bfc851414fd1990405706cc5ab14fad4.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/Placeables/Paintings/unnamed.jpg"
|
||||
dest_files=["res://.godot/imported/unnamed.jpg-bfc851414fd1990405706cc5ab14fad4.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
@@ -8,7 +8,7 @@ height = 10.272
|
||||
radius = 2.56201
|
||||
|
||||
[node name="Sarco" type="Node3D"]
|
||||
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
|
||||
transform = Transform3D(0.595, 0, 0, 0, 0.595, 0, 0, 0, 0.595, 0, 0, 0)
|
||||
|
||||
[node name="sarco altar" parent="." instance=ExtResource("1_35fk8")]
|
||||
|
||||
|
||||
BIN
Zennysoft.Game.Ma/src/map/assets/EX Assetts/1.png
Normal file
|
After Width: | Height: | Size: 5.8 MiB |
35
Zennysoft.Game.Ma/src/map/assets/EX Assetts/1.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://h4hyjwy3q1h3"
|
||||
path.bptc="res://.godot/imported/1.png-67210c9bf98b7b83f152e6629ef0760b.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/assets/EX Assetts/1.png"
|
||||
dest_files=["res://.godot/imported/1.png-67210c9bf98b7b83f152e6629ef0760b.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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
|
||||
BIN
Zennysoft.Game.Ma/src/map/assets/EX Assetts/MOON.png
Normal file
|
After Width: | Height: | Size: 762 KiB |
35
Zennysoft.Game.Ma/src/map/assets/EX Assetts/MOON.png.import
Normal file
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cbpw07ft33je5"
|
||||
path.bptc="res://.godot/imported/MOON.png-18320618df56f6d4a5dfa5cc070a266b.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/assets/EX Assetts/MOON.png"
|
||||
dest_files=["res://.godot/imported/MOON.png-18320618df56f6d4a5dfa5cc070a266b.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
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/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,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://omivkcmp7slf"
|
||||
path="res://.godot/imported/space platform applied.glb-ba413f81e817f62c31edfa52aab90121.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/assets/EX Assetts/space platform applied.glb"
|
||||
dest_files=["res://.godot/imported/space platform applied.glb-ba413f81e817f62c31edfa52aab90121.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
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=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -35,76 +35,76 @@ public partial class Overworld : SpecialFloor, IDungeonFloor
|
||||
|
||||
public override void InitializeDungeon()
|
||||
{
|
||||
Show();
|
||||
Exit.AreaEntered += Exit_AreaEntered;
|
||||
RestoreArea.AreaEntered += RestoreArea_AreaEntered;
|
||||
RestoreArea.AreaExited += RestoreArea_AreaExited;
|
||||
RestoreTimer = new Timer();
|
||||
RestoreTimer.WaitTime = 0.3f;
|
||||
RestoreTimer.Timeout += RestoreTimer_Timeout;
|
||||
AddChild(RestoreTimer);
|
||||
FloorIsLoaded = true;
|
||||
Show();
|
||||
Exit.AreaEntered += Exit_AreaEntered;
|
||||
RestoreArea.AreaEntered += RestoreArea_AreaEntered;
|
||||
RestoreArea.AreaExited += RestoreArea_AreaExited;
|
||||
RestoreTimer = new Timer();
|
||||
RestoreTimer.WaitTime = 0.3f;
|
||||
RestoreTimer.Timeout += RestoreTimer_Timeout;
|
||||
AddChild(RestoreTimer);
|
||||
FloorIsLoaded = true;
|
||||
|
||||
Game.ItemRescueMenu.SetProcessInput(false);
|
||||
var torches = DeathTorches.GetChildren().OfType<Torch>().ToList();
|
||||
var torchesToLight = Mathf.Min(Game.QuestData.DeathCount, 15);
|
||||
for (var i = 0; i < torchesToLight; i++)
|
||||
torches[i].Show();
|
||||
Game.ItemRescueMenu.SetProcessInput(false);
|
||||
var torches = DeathTorches.GetChildren().OfType<Torch>().ToList();
|
||||
var torchesToLight = Mathf.Min(Game.QuestData.DeathCount, 15);
|
||||
for (var i = 0; i < torchesToLight; i++)
|
||||
torches[i].Show();
|
||||
|
||||
ItemRescueInteractZone.AreaEntered += ItemRescueInteractZone_AreaEntered;
|
||||
var dimmableAudio = DimmableAudio.GetChildren().OfType<IDimmableAudioStreamPlayer>();
|
||||
foreach (var dimmable in dimmableAudio)
|
||||
dimmable.FadeIn();
|
||||
ItemRescueInteractZone.AreaEntered += ItemRescueInteractZone_AreaEntered;
|
||||
var dimmableAudio = DimmableAudio.GetChildren().OfType<IDimmableAudioStreamPlayer>();
|
||||
foreach (var dimmable in dimmableAudio)
|
||||
dimmable.FadeIn();
|
||||
}
|
||||
|
||||
public void OnResolved()
|
||||
{
|
||||
Game.ItemRescueMenu.MenuClosing += ItemRescueMenu_MenuClosing;
|
||||
Game.ItemRescueMenu.MenuClosing += ItemRescueMenu_MenuClosing;
|
||||
}
|
||||
|
||||
private void ItemRescueMenu_MenuClosing()
|
||||
{
|
||||
GameRepo.Resume();
|
||||
Game.ItemRescueMenu.SetProcessInput(false);
|
||||
GameRepo.Resume();
|
||||
Game.ItemRescueMenu.SetProcessInput(false);
|
||||
}
|
||||
|
||||
private void ItemRescueInteractZone_AreaEntered(Area3D area)
|
||||
{
|
||||
GameRepo.Pause();
|
||||
Game.ItemRescueMenu.Show();
|
||||
Game.ItemRescueMenu.SetProcessInput(true);
|
||||
GameRepo.Pause();
|
||||
Game.ItemRescueMenu.Show();
|
||||
Game.ItemRescueMenu.SetProcessInput(true);
|
||||
}
|
||||
|
||||
private void RestoreTimer_Timeout()
|
||||
{
|
||||
if (!Player.HealthComponent.AtFullHealth)
|
||||
Player.HealthComponent.Heal(1);
|
||||
if (!Player.VTComponent.AtFullVT)
|
||||
Player.VTComponent.Restore(1);
|
||||
if (!Player.HealthComponent.AtFullHealth)
|
||||
Player.HealthComponent.Heal(1);
|
||||
if (!Player.VTComponent.AtFullVT)
|
||||
Player.VTComponent.Restore(1);
|
||||
}
|
||||
|
||||
private void RestoreArea_AreaExited(Area3D area)
|
||||
{
|
||||
if (area.GetOwner() is IPlayer)
|
||||
{
|
||||
RestoreTimer.Stop();
|
||||
Player.SetHealthTimerStatus(true);
|
||||
}
|
||||
if (area.GetOwner() is IPlayer)
|
||||
{
|
||||
RestoreTimer.Stop();
|
||||
Player.SetHealthTimerStatus(true);
|
||||
}
|
||||
}
|
||||
|
||||
private void RestoreArea_AreaEntered(Area3D area)
|
||||
{
|
||||
if (area.GetOwner() is IPlayer)
|
||||
{
|
||||
RestoreTimer.Start();
|
||||
Player.SetHealthTimerStatus(false);
|
||||
}
|
||||
if (area.GetOwner() is IPlayer)
|
||||
{
|
||||
RestoreTimer.Start();
|
||||
Player.SetHealthTimerStatus(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void Exit_AreaEntered(Area3D area)
|
||||
{
|
||||
if (area.GetOwner() is IPlayer)
|
||||
ExitReached();
|
||||
if (area.GetOwner() is IPlayer)
|
||||
ExitReached();
|
||||
}
|
||||
|
||||
public void ExitReached() => Game.FloorExitReached();
|
||||
@@ -113,10 +113,10 @@ public partial class Overworld : SpecialFloor, IDungeonFloor
|
||||
|
||||
public void OnExitTree()
|
||||
{
|
||||
Exit.AreaEntered -= Exit_AreaEntered;
|
||||
RestoreArea.AreaEntered -= RestoreArea_AreaEntered;
|
||||
RestoreArea.AreaExited -= RestoreArea_AreaExited;
|
||||
RestoreTimer.Timeout -= RestoreTimer_Timeout;
|
||||
Exit.AreaEntered -= Exit_AreaEntered;
|
||||
RestoreArea.AreaEntered -= RestoreArea_AreaEntered;
|
||||
RestoreArea.AreaExited -= RestoreArea_AreaExited;
|
||||
RestoreTimer.Timeout -= RestoreTimer_Timeout;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://cxxa317b24cql"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://cxxa317b24cql"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dwt6302nsf4vq" path="res://src/map/dungeon/code/DungeonFloor.cs" id="1_s4gx8"]
|
||||
[ext_resource type="PackedScene" uid="uid://cohomtpkoicvf" path="res://src/map/dungeon/rooms/Set A/MazeFloor.tscn" id="2_cky7f"]
|
||||
[ext_resource type="PackedScene" uid="uid://dcrcdoq0tpy3d" path="res://src/map/assets/false maze wall.glb" id="4_px4li"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqjovmlt1y4tb" path="res://src/map/Placeables/Sarco.tscn" id="5_qdto8"]
|
||||
[ext_resource type="PackedScene" uid="uid://cihbmyo0ltq4m" path="res://src/map/dungeon/rooms/Set A/19. Floor Exit A.tscn" id="6_vj1d1"]
|
||||
|
||||
[sub_resource type="NavigationMesh" id="NavigationMesh_cky7f"]
|
||||
@@ -51,7 +53,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40.209, -0.146965, 67.371)
|
||||
transform = Transform3D(-2, 0, -1.78814e-07, 0, 2, 0, 1.78814e-07, 0, -2, 36.432, 0, 117.503)
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D"]
|
||||
visible = false
|
||||
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="NavigationRegion3D/StaticBody3D"]
|
||||
transform = Transform3D(37.8564, 0, 0, 0, 3.78564, 0, 0, 0, 37.8564, 43.7062, 1.5733, 60.5469)
|
||||
@@ -265,3 +266,9 @@ skeleton = NodePath("../..")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_o0qu5")
|
||||
|
||||
[node name="false maze wall" parent="." instance=ExtResource("4_px4li")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -0.03, 0, 1, 0, 1, 0, -1.31134e-09, 33.665, 13.861, 74.583)
|
||||
|
||||
[node name="Sarco" parent="." instance=ExtResource("5_qdto8")]
|
||||
transform = Transform3D(0.595, 0, 0, 0, 0.595, 0, 0, 0, 0.595, 27.2569, -0.0255134, 74.3447)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[gd_scene load_steps=184 format=4 uid="uid://dvnc26rebk6o0"]
|
||||
[gd_scene load_steps=185 format=4 uid="uid://dvnc26rebk6o0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cuhfkyh3d7noa" path="res://src/map/dungeon/code/Overworld.cs" id="1_5hmt3"]
|
||||
[ext_resource type="Texture2D" uid="uid://co6h8vyi11sl2" path="res://src/map/overworld/Models/Overworld_CLOUD_RINGS_INNER_63.png" id="2_g6b7b"]
|
||||
[ext_resource type="AudioStream" uid="uid://dqmsaok6fyhe7" path="res://src/audio/AMB/amb_perlin.wav" id="2_wbbo3"]
|
||||
[ext_resource type="AudioStream" uid="uid://dl07vg00se7hd" path="res://src/audio/AMB/amb_white_noise.wav" id="3_c2gp5"]
|
||||
[ext_resource type="AudioStream" uid="uid://boypvgaweep8a" path="res://src/audio/AMB/amb_beach.wav" id="3_pvi8n"]
|
||||
[ext_resource type="AudioStream" uid="uid://ym4ur8a2qxhp" path="res://src/audio/AMB/amb_perlin.wav" id="2_wbbo3"]
|
||||
[ext_resource type="AudioStream" uid="uid://b7wxddjx3qw5o" path="res://src/audio/AMB/amb_white_noise.wav" id="3_c2gp5"]
|
||||
[ext_resource type="AudioStream" uid="uid://ddii3pi8x75xc" path="res://src/audio/AMB/amb_beach.wav" id="3_pvi8n"]
|
||||
[ext_resource type="Texture2D" uid="uid://w33fr6exryiy" path="res://src/map/overworld/Models/Overworld_CLOUD_RINGS_INNER_37.png" id="3_uyygh"]
|
||||
[ext_resource type="Texture2D" uid="uid://dv10yaqvp3mub" path="res://src/map/overworld/Models/Overworld_CLOUD_RINGS_INNER_71.png" id="4_r8r3k"]
|
||||
[ext_resource type="Shader" uid="uid://brhf7s3riyag5" path="res://src/map/map shaders/Metal.gdshader" id="5_d1qcb"]
|
||||
@@ -37,6 +37,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://b88bm86hnc8m6" path="res://src/map/overworld/Overworld Fixes Models/Overworld Reexport Fixes_stone_column_carved.png" id="29_8ti3u"]
|
||||
[ext_resource type="Texture2D" uid="uid://co3s2s5tswuj4" path="res://src/map/overworld/Overworld Fixes Models/Overworld Reexport Fixes_MOSAIC.png" id="30_6gklp"]
|
||||
[ext_resource type="Texture2D" uid="uid://pu4o1pwi6hnf" path="res://src/map/overworld/Overworld Fixes Models/Overworld Reexport Fixes_rock_outside_colored_CORRECTED1.png" id="31_kdqo4"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqjovmlt1y4tb" path="res://src/map/Placeables/Sarco.tscn" id="59_mic3u"]
|
||||
[ext_resource type="PackedScene" uid="uid://doncarj3f8iua" path="res://src/vfx/Torch.tscn" id="60_xqf5a"]
|
||||
[ext_resource type="Script" uid="uid://b83kye8yinfxs" path="res://src/audio/AmbientSFXPlayer3D.cs" id="66_q7hpd"]
|
||||
[ext_resource type="Texture2D" uid="uid://c38grr8d22ukg" path="res://src/map/assets/Overworld Assetts/cloudscape.png" id="67_uyygh"]
|
||||
@@ -2438,6 +2439,9 @@ visible = false
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.72844, 3.271, 11.0727)
|
||||
visible = false
|
||||
|
||||
[node name="Sarco" parent="." instance=ExtResource("59_mic3u")]
|
||||
transform = Transform3D(0.307782, 0, -0.50921, 0, 0.595, 0, 0.50921, 0, 0.307782, -296.51, 2.61698, 3.30074)
|
||||
|
||||
[editable path="Node3D/Actors/Rat"]
|
||||
[editable path="Node3D/Actors/Clalo"]
|
||||
[editable path="Node3D/Actors/Caretaker of Saints"]
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://omivkcmp7slf"
|
||||
path="res://.godot/imported/space platform applied.glb-b6a6b316e5646281a3a0b3f62a34061c.scn"
|
||||
uid="uid://btdwtan0yoop2"
|
||||
path="res://.godot/imported/grassy.glb-fc9a9a2f7988a204520b7f8abd71b1f4.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/dungeon/models/Special Floors & Rooms/EX Assetts/space platform applied.glb"
|
||||
dest_files=["res://.godot/imported/space platform applied.glb-b6a6b316e5646281a3a0b3f62a34061c.scn"]
|
||||
source_file="res://src/map/dungeon/models/Special Floors & Rooms/EX-Grassy/grassy.glb"
|
||||
dest_files=["res://.godot/imported/grassy.glb-fc9a9a2f7988a204520b7f8abd71b1f4.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
|
After Width: | Height: | Size: 303 KiB |
@@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cb50sv16tctox"
|
||||
path.bptc="res://.godot/imported/grassy_Stone_Floor_005_basecolor.jpg-55f57e4ad66d843f920cf9ccca720092.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "08c89cf051c841b40bda1c3637a473dd"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/dungeon/models/Special Floors & Rooms/EX-Grassy/grassy_Stone_Floor_005_basecolor.jpg"
|
||||
dest_files=["res://.godot/imported/grassy_Stone_Floor_005_basecolor.jpg-55f57e4ad66d843f920cf9ccca720092.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
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
|
||||
|
After Width: | Height: | Size: 2.2 MiB |
@@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://de2ylktr3jek6"
|
||||
path.bptc="res://.godot/imported/grassy_concrete_0001_color_1k-concrete_0001_normal_opengl_1k.png-c52423d1004ddab3fa67de4aa4e1afa1.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "38a50729e02b306da376b5ba92eb8b87"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/dungeon/models/Special Floors & Rooms/EX-Grassy/grassy_concrete_0001_color_1k-concrete_0001_normal_opengl_1k.png"
|
||||
dest_files=["res://.godot/imported/grassy_concrete_0001_color_1k-concrete_0001_normal_opengl_1k.png-c52423d1004ddab3fa67de4aa4e1afa1.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
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
|
||||
|
After Width: | Height: | Size: 152 KiB |
@@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://do12dimijp7cs"
|
||||
path.bptc="res://.godot/imported/grassy_concrete_0001_color_1k.jpg-3f205b829eed66f235bb99259278feb3.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "6e95f3a87b26c477bb2e821f5937b1e0"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/dungeon/models/Special Floors & Rooms/EX-Grassy/grassy_concrete_0001_color_1k.jpg"
|
||||
dest_files=["res://.godot/imported/grassy_concrete_0001_color_1k.jpg-3f205b829eed66f235bb99259278feb3.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
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
|
||||
|
After Width: | Height: | Size: 1.1 MiB |
@@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cus6061b228fc"
|
||||
path.bptc="res://.godot/imported/grassy_concrete_0001_height_1k.png-0d700a3a408f60bb00cb27e8cb7495b0.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "91281c3a6fc5ddeceed6d95b76e15dd6"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/dungeon/models/Special Floors & Rooms/EX-Grassy/grassy_concrete_0001_height_1k.png"
|
||||
dest_files=["res://.godot/imported/grassy_concrete_0001_height_1k.png-0d700a3a408f60bb00cb27e8cb7495b0.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
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://src/map/dungeon/models/Special Floors & Rooms/EX-Grassy/grassy_concrete_0001_height_1k.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
|
||||
|
After Width: | Height: | Size: 718 KiB |
@@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://x1nxm0tydkt6"
|
||||
path.bptc="res://.godot/imported/grassy_concrete_0001_roughness_1k.png-b8f21b1098d47108bba18dcbfb40236a.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "ab57cb97daa24305edd9d2414b6e1f1b"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/dungeon/models/Special Floors & Rooms/EX-Grassy/grassy_concrete_0001_roughness_1k.png"
|
||||
dest_files=["res://.godot/imported/grassy_concrete_0001_roughness_1k.png-b8f21b1098d47108bba18dcbfb40236a.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
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
|
||||
|
After Width: | Height: | Size: 68 KiB |
@@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://xhbvxuu4wpss"
|
||||
path.bptc="res://.godot/imported/grassy_ulrick-wery-tileableset-grassflower.jpg-dba2a8bcf5f880c63bc56f810cd1c8e8.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "728cc9c34654631d4f9820ac044b1a4f"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/dungeon/models/Special Floors & Rooms/EX-Grassy/grassy_ulrick-wery-tileableset-grassflower.jpg"
|
||||
dest_files=["res://.godot/imported/grassy_ulrick-wery-tileableset-grassflower.jpg-dba2a8bcf5f880c63bc56f810cd1c8e8.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
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
|
||||
7
Zennysoft.Game.Ma/src/map/map shaders/Grassland.tres
Normal file
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://bm1de5j44btc5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dwxgtwhc0u172" path="res://src/map/assets/grass10.jpg" id="1_4k3n2"]
|
||||
|
||||
[resource]
|
||||
albedo_texture = ExtResource("1_4k3n2")
|
||||
uv1_scale = Vector3(8, 8, 8)
|
||||