Implemented dialogue system and dialogue UI prototype
Implemented Dialogue System using dialogue Component and Interface, make Dialogue UI Prototype, and change the data type of the characters to be displayed in the UI in source code
This commit is contained in:
parent
28b3894640
commit
75c36782a9
BIN
hwanyoung2/Content/Hwanyoung/Character/NPC/BP_PuzzleNPCBase.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/NPC/BP_PuzzleNPCBase.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_HYPlayerCharacController.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_HYPlayerCharacController.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_Interact.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_Interact.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/SystemBP/DialogueableSystem/BP_DialogueComponent.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/SystemBP/DialogueableSystem/BP_DialogueComponent.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/SystemBP/DialogueableSystem/S_OptionsDialogue.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/SystemBP/DialogueableSystem/S_OptionsDialogue.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/UI/Dialogue_HUD/BP_DialogueOptionWidget.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/UI/Dialogue_HUD/BP_DialogueOptionWidget.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/UI/Dialogue_HUD/BP_DialogueWidget.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/UI/Dialogue_HUD/BP_DialogueWidget.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/UI/Images/T_DialogueBox.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/UI/Images/T_DialogueBox.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/UI/Images/T_DialogueOption.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/UI/Images/T_DialogueOption.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -8,7 +8,7 @@ public class hwanyoung2Target : TargetRules
|
||||
public hwanyoung2Target(TargetInfo Target) : base(Target)
|
||||
{
|
||||
WindowsPlatform.Compiler = WindowsCompiler.VisualStudio2022;
|
||||
WindowsPlatform.CompilerVersion = "14.38.33130"; // ġ Ȯ ȣ ٲ ּ
|
||||
WindowsPlatform.CompilerVersion = "14.38.33130"; // 설치된 정확한 버전 번호로 바꿔주세요
|
||||
|
||||
Type = TargetType.Game;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V4;
|
||||
|
@ -16,9 +16,12 @@ void AHYInteractableActor::Interact_Implementation(APlayerController* Controller
|
||||
return;
|
||||
}
|
||||
|
||||
FString AHYInteractableActor::GetInteractText() const
|
||||
FText AHYInteractableActor::GetInteractText() const
|
||||
{
|
||||
return FString::Printf(TEXT("%s: Press F to %s"), *Name, *Action);
|
||||
|
||||
FText ReturnText = FText::Format(NSLOCTEXT("HYInteractableActor", "HowToInteraction", "{0}: Press F to {1}"), Name, Action);
|
||||
return ReturnText;
|
||||
//return FString::Printf(TEXT("%s: Press F to %s"), *Name, *Action);
|
||||
}
|
||||
|
||||
// Called when the game starts or when spawned
|
||||
|
@ -25,13 +25,13 @@ public:
|
||||
virtual void Interact_Implementation(APlayerController* Controller);
|
||||
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
FString Name;
|
||||
FText Name;
|
||||
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
FString Action;
|
||||
FText Action;
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category = "Pickup")
|
||||
FString GetInteractText() const;
|
||||
FText GetInteractText() const;
|
||||
|
||||
protected:
|
||||
// Called when the game starts or when spawned
|
||||
|
@ -11,8 +11,8 @@ AHYManualPickUp::AHYManualPickUp()
|
||||
|
||||
ItemID = FName("No ID");
|
||||
|
||||
Super::Name = "Item";
|
||||
Super::Action = "pick up";
|
||||
Super::Name = NSLOCTEXT("HYManualPickUp", "InteractionName", "Item");
|
||||
Super::Action = NSLOCTEXT("HYManualPickUp", "InteractionAction", "pick up");
|
||||
}
|
||||
|
||||
void AHYManualPickUp::Interact_Implementation(APlayerController* Controller)
|
||||
|
@ -9,8 +9,8 @@ AHYSaveGameActor::AHYSaveGameActor()
|
||||
SavepointMesh = CreateDefaultSubobject<UStaticMeshComponent>("SavepointMesh");
|
||||
RootComponent = Cast<USceneComponent>(SavepointMesh);
|
||||
|
||||
Super::Name = "Haetae statue";
|
||||
Super::Action = "touch";
|
||||
Super::Name = NSLOCTEXT("HYSaveGameActor", "InteractionName", "Haetae statue");
|
||||
Super::Action = NSLOCTEXT("HYSaveGameActor", "InteractionAction", "touch");
|
||||
}
|
||||
|
||||
void AHYSaveGameActor::Interact_Implementation(APlayerController* Controller)
|
||||
|
Loading…
x
Reference in New Issue
Block a user