Update
This commit is contained in:
@@ -6,3 +6,6 @@ bAllowClassAndBlueprintPinMatching=true
|
||||
bReplaceBlueprintWithClass= true
|
||||
bDontLoadBlueprintOutsideEditor= true
|
||||
bBlueprintIsNotBlueprintType= true
|
||||
|
||||
[/Script/AdvancedPreviewScene.SharedProfiles]
|
||||
|
||||
|
||||
BIN
Content/Assets/Kronos/M_Kronos.uasset
Normal file
BIN
Content/Assets/Kronos/M_Kronos.uasset
Normal file
Binary file not shown.
BIN
Content/Assets/Kronos/SM_KronosShip.uasset
Normal file
BIN
Content/Assets/Kronos/SM_KronosShip.uasset
Normal file
Binary file not shown.
BIN
Content/Assets/Landscape/M_LandscapeAnubis.uasset
Normal file
BIN
Content/Assets/Landscape/M_LandscapeAnubis.uasset
Normal file
Binary file not shown.
BIN
Content/Assets/SolarPlantSmall/M_SolarPlant_Small.uasset
Normal file
BIN
Content/Assets/SolarPlantSmall/M_SolarPlant_Small.uasset
Normal file
Binary file not shown.
BIN
Content/Assets/SolarPlantSmall/SM_SolarPlant_Small.uasset
Normal file
BIN
Content/Assets/SolarPlantSmall/SM_SolarPlant_Small.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Blueprints/BP_TAPawn.uasset
Normal file
BIN
Content/Blueprints/BP_TAPawn.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Blueprints/Helpers/BP_TacticalCamera.uasset
Normal file
BIN
Content/Blueprints/Helpers/BP_TacticalCamera.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_CameraRotation.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_CameraRotation.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_Crouch.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_Crouch.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_Interact.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_Interact.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_MoveBackward.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_MoveBackward.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_MoveForward.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_MoveForward.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_MoveLeft.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_MoveLeft.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_MoveRight.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_MoveRight.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_Pause.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_Pause.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_PointAndClick.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_PointAndClick.uasset
Normal file
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_PointAndClickAlternative.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_PointAndClickAlternative.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Data/Input/Actions/IA_SwitchMode.uasset
Normal file
BIN
Content/Data/Input/Actions/IA_SwitchMode.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Content/Materials/M_PlaceableTranslucent.uasset
Normal file
BIN
Content/Materials/M_PlaceableTranslucent.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/Materials/WidgetMaterial_Emissive.uasset
Normal file
BIN
Content/Materials/WidgetMaterial_Emissive.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/UI/Textures/T_Carbon.uasset
Normal file
BIN
Content/UI/Textures/T_Carbon.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Textures/T_Electricity.uasset
Normal file
BIN
Content/UI/Textures/T_Electricity.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Textures/T_Rectangle.uasset
Normal file
BIN
Content/UI/Textures/T_Rectangle.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Textures/T_Rectangle_Empty.uasset
Normal file
BIN
Content/UI/Textures/T_Rectangle_Empty.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Textures/T_Titanium.uasset
Normal file
BIN
Content/UI/Textures/T_Titanium.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Textures/T_Water.uasset
Normal file
BIN
Content/UI/Textures/T_Water.uasset
Normal file
Binary file not shown.
Binary file not shown.
BIN
Content/UI/Widgets/W_CrossMenu.uasset
Normal file
BIN
Content/UI/Widgets/W_CrossMenu.uasset
Normal file
Binary file not shown.
BIN
Content/UI/Widgets/W_Crosshair.uasset
Normal file
BIN
Content/UI/Widgets/W_Crosshair.uasset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -30,6 +30,9 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
FText Name;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
bool Enabled = true;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
TEnumAsByte<EObjectType> ObjectType = Building;
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#include "EnhancedInputSubsystems.h"
|
||||
#include "Engine/LocalPlayer.h"
|
||||
|
||||
DEFINE_LOG_CATEGORY(LogTemplateCharacter);
|
||||
|
||||
ATerraformingAnubisPlayerController::ATerraformingAnubisPlayerController()
|
||||
{
|
||||
bShowMouseCursor = true;
|
||||
@@ -42,10 +40,6 @@ void ATerraformingAnubisPlayerController::SetupInputComponent()
|
||||
// Setup mouse input events
|
||||
EnhancedInputComponent->BindAction(ClickAction, ETriggerEvent::Started, this, &ATerraformingAnubisPlayerController::OnClick);
|
||||
}
|
||||
else
|
||||
{
|
||||
UE_LOG(LogTemplateCharacter, Error, TEXT("'%s' Failed to find an Enhanced Input Component! This template is built to use the Enhanced Input system. If you intend to use the legacy system, then you will need to update this C++ file."), *GetNameSafe(this));
|
||||
}
|
||||
}
|
||||
|
||||
void ATerraformingAnubisPlayerController::OnClick()
|
||||
|
||||
@@ -12,7 +12,33 @@ class UNiagaraSystem;
|
||||
class UInputMappingContext;
|
||||
class UInputAction;
|
||||
|
||||
DECLARE_LOG_CATEGORY_EXTERN(LogTemplateCharacter, Log, All);
|
||||
UENUM(BlueprintType)
|
||||
enum EInteractionMode
|
||||
{
|
||||
TPP UMETA(DisplayName = "TPP"),
|
||||
Tactical UMETA(DisplayName = "Tactical")
|
||||
};
|
||||
|
||||
USTRUCT(BlueprintType)
|
||||
struct FResources
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
int32 ElectricEnergy;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
int32 Nanites;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
int32 Carbon;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
int32 Titanium;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
int32 Water;
|
||||
};
|
||||
|
||||
UCLASS()
|
||||
class ATerraformingAnubisPlayerController : public APlayerController
|
||||
|
||||
Reference in New Issue
Block a user