Compare commits

..

12 Commits

Author SHA1 Message Date
e8aafdebf7 wip 2025-04-24 21:34:58 +02:00
bdbb2397c1 wip 2025-04-24 16:13:56 +02:00
78005d450c minigames bug fixes 2025-04-20 21:59:18 +02:00
906f085249 Level 2 complete 2025-04-20 10:59:09 +02:00
cb5a2a834f bug fix & Level2 without end dialogue 2025-04-18 10:09:46 +02:00
c3f07fcd6e barrier, world dev text 2025-04-13 23:11:22 +02:00
cb905f62f1 bug fix 3 2025-03-24 00:36:34 +01:00
a7dcb72a2f bugfix2 2025-03-22 08:26:53 +01:00
14b4244237 bug fixes 2025-03-15 09:49:11 +01:00
bfc8efd5fd Minigames, quest pointer 2025-02-24 00:45:35 +01:00
2d4fd61ea3 house and moss 2025-02-17 22:58:39 +01:00
f16d51168a Level 2 cleanup, grass system 2025-02-17 08:03:12 +01:00
38 changed files with 66 additions and 79 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 KiB

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 KiB

After

Width:  |  Height:  |  Size: 218 KiB

View File

@ -158,6 +158,9 @@ ManualIPAddress=
+ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic")
+ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor")
+ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic")
+ProfileRedirects=(OldName="AgeOfWarUnitComputer",NewName="AgeOfWarUnitPlayerZone")
+ProfileRedirects=(OldName="AgeOfWarUnit",NewName="AgeOfWarUnitPlayer")
+ProfileRedirects=(OldName="AgeOfWarUnitPlayerZone",NewName="AgeOfWarUnitComputer")
-CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic")
-CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic")
-CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle")

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -7,17 +7,16 @@ public class Lost_Edge : ModuleRules
public Lost_Edge(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
//MinCpuArchX64 = MinimumCpuArchitectureX64.AVX2;
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "OpenCV" });
PrivateDependencyModuleNames.AddRange(new string[] { "EnhancedInput", "UMG", "RHI", "RenderCore", "Lost_EdgeShaders", "PakFile", //"TextureCompressor",
"LevelSequence", "MovieScene", "HTTP", "Json", "ApplicationCore", "ProceduralMeshComponent", "Landscape", "MoviePlayer", "Slate", "SlateCore" });
"LevelSequence", "MovieScene", "HTTP", "Json", "ApplicationCore", "ProceduralMeshComponent", "Landscape", "MeshDescription", "StaticMeshDescription",
"AssetRegistry", "LevelEditor", "MoviePlayer", "Slate", "SlateCore" });
if (Target.bBuildEditor)
{
PrivateDependencyModuleNames.AddRange(new string[] { "UnrealEd", "LevelEditor",
"MeshDescription", "StaticMeshDescription", "AssetRegistry" });
PrivateDependencyModuleNames.AddRange(new string[] { "UnrealEd" });
}
// UE_LOG(LogTemp, Log, TEXT("capture: %s"), (capture ? TEXT("true") : TEXT("false")));

View File

@ -3,4 +3,4 @@
#include "Lost_Edge.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Lost_Edge, "Lost_Edge" );
IMPLEMENT_PRIMARY_GAME_MODULE(FDefaultGameModuleImpl, Lost_Edge, "Lost_Edge");

View File

@ -2,20 +2,20 @@
#include "GrassGenerator.h"
#include "Components/BoxComponent.h"
#include "ProceduralMeshComponent.h"
#if WITH_EDITOR
#include "AssetRegistry/AssetRegistryModule.h"
#include "Components/BoxComponent.h"
#include "Engine/SkyLight.h"
#include "Engine/StaticMeshActor.h"
#include "MeshDescription.h"
#include "PhysicalMaterials/PhysicalMaterial.h"
#include "ProceduralMeshConversion.h"
#include "StaticMeshDescription.h"
#include "Editor/EditorEngine.h"
#include "LevelEditorSubsystem.h"
#include "Landscape.h"
#include "LandscapeComponent.h"
#include "LevelEditorSubsystem.h"
#include "MeshDescription.h"
#include "PhysicalMaterials/PhysicalMaterial.h"
#include "ProceduralMeshComponent.h"
#include "ProceduralMeshConversion.h"
#include "StaticMeshDescription.h"
#if WITH_EDITOR
#include "Editor/EditorEngine.h"
#endif
AGrassGenerator::AGrassGenerator()
@ -34,7 +34,6 @@ void AGrassGenerator::PostLoad()
Update();
}
#if WITH_EDITOR
void AGrassGenerator::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
{
Super::PostEditChangeProperty(PropertyChangedEvent);
@ -44,7 +43,6 @@ void AGrassGenerator::PostEditChangeProperty(FPropertyChangedEvent& PropertyChan
// || PropertyChangedEvent.GetPropertyName() == TEXT("Tile Size"))
// Update();
}
#endif
void AGrassGenerator::Generate()
{
@ -237,10 +235,8 @@ void AGrassGenerator::Export()
void AGrassGenerator::Update()
{
#if WITH_EDITOR
areaBrush->SetBoxExtent({ tileCount.X * tileSize * 0.5, tileCount.Y * tileSize * 0.5, 200 }, false);
mesh->SetMaterial(0, grassMaterial.LoadSynchronous());
//for(int32 i = 0; i < sectionsCount; ++i)
// mesh->SetMaterSetMaterial(i, grassMaterial.LoadSynchronous());
#endif
}

View File

@ -22,13 +22,13 @@
ALevelBase* ALevelBase::Get()
{
if(auto GM = AMainGameModeBase::Get())
return GM->leadLevel;
return GM->leadLevel.Get();
return nullptr;
}
void ALevelBase::BeginPlay()
{
AMainGameModeBase::leadLevel = this;
AMainGameModeBase::leadLevel = TStrongObjectPtr<ALevelBase>{ this };
ALevelScriptActor::BeginPlay();

View File

@ -19,7 +19,7 @@ TStrongObjectPtr<UWidgetsManager> AMainGameModeBase::widgetsManager = nullptr;
TStrongObjectPtr<UCutsceneManager> AMainGameModeBase::cutsceneManager = nullptr;
TStrongObjectPtr<UQuickTimeEventManager> AMainGameModeBase::quickTimeEventManager = nullptr;
TStrongObjectPtr<UDialogueManager> AMainGameModeBase::dialogueManager = nullptr;
ALevelBase* AMainGameModeBase::leadLevel = nullptr;
TStrongObjectPtr<ALevelBase> AMainGameModeBase::leadLevel = nullptr;
void AMainGameModeBase::StartPlay()
{
@ -38,11 +38,11 @@ void AMainGameModeBase::EndPlay(const EEndPlayReason::Type EndPlayReason)
{
cutsceneManager->LockCallback(true);
cutsceneManager->Clear();
leadLevel.Reset();
widgetsManager.Reset();
cutsceneManager.Reset();
quickTimeEventManager.Reset();
dialogueManager.Reset();
leadLevel = nullptr;
Super::EndPlay(EndPlayReason);
}

View File

@ -44,7 +44,7 @@ public:
void SwitchCameraMode();
static class ALevelBase* leadLevel;
static TStrongObjectPtr<class ALevelBase> leadLevel;
FQuestsUpdateDelegate questsUpdateDelegate;

View File

@ -66,7 +66,6 @@ void AAgeOfWarUnit::EndPlay(const EEndPlayReason::Type EndPlayReason)
AAgeOfWarUnit::AAgeOfWarUnit()
{
root = CreateDefaultSubobject<UBoxComponent>(TEXT("Collision"));
SetRootComponent(root);
allyblocker = CreateDefaultSubobject<UBoxComponent>(TEXT("AllyBlocker"));
allyblocker->SetupAttachment(root);
traceStart = CreateDefaultSubobject<USceneComponent>(TEXT("TraceStart"));

View File

@ -6,8 +6,7 @@ public class Lost_EdgeShaders : ModuleRules
{
public Lost_EdgeShaders(ReadOnlyTargetRules Target) : base(Target)
{
//bPrecompile = true;
//bUsePrecompiled = true;
bUsePrecompiled = true;
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[] { });
PrivateDependencyModuleNames.AddRange(new string[] { "Core",