larsjsol / navgrid Goto Github PK
View Code? Open in Web Editor NEWUE4 plugin for navigation on a grid for turn based games
License: GNU Lesser General Public License v3.0
UE4 plugin for navigation on a grid for turn based games
License: GNU Lesser General Public License v3.0
I've posted the issue on the plugin thread as well.
https://forums.unrealengine.com/community/community-content-tools-and-tutorials/62299-navgrid-turn-based-navigation-on-a-grid
2.2.0 version works fine. But in 2.2.2 Pawn is not getting SelectedHighlight turned on (visual indication that class is not recognized by NavGrid?) and doesn't interact in anyway.
Hi!
I'm attempting to make a class derived from GridPawn.
#pragma once
#include "CoreMinimal.h"
#include "Classes/GridPawn.h"
#include "DSExampleGridPawn.generated.h"
UCLASS()
class DRAGONSPINE_API ADSExampleGridPawn : public AGridPawn
{
GENERATED_BODY()
public:
};
Whenever I attempt to compile however I'm getting these linking errors which seem to imply the GetTeamAttitudeTowards function in UE_4.19\Engine\Source\Runtime\AIModule\ClassesGenericTeamAgentInterface.h
of the Engine is undefined.
DSExampleGridPawn.cpp.obj : error LNK2001: unresolved external symbol "public: virtual enum ETeamAttitude::Type __cdecl IGenericTeamAgentInterface::GetTeamAttitudeTowards(class AActor const &)const " (?GetTeamAttitudeTowards@IGenericTeamAgentInterface@@UEBA?AW4Type@ETeamAttitude@@AEBVAActor@@@Z) DSExampleGridPawn.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual enum ETeamAttitude::Type __cdecl IGenericTeamAgentInterface::GetTeamAttitudeTowards(class AActor const &)const " (?GetTeamAttitudeTowards@IGenericTeamAgentInterface@@UEBA?AW4Type@ETeamAttitude@@AEBVAActor@@@Z)
Which it is of course. I've been trying to figure out why this might be happening all day, but haven't really been able to find anything substantial. You wouldn't happen to have ant idea why this might be happening would you? Thanks for your time and sorry to bother you.
Hi
I found your video example ,https://www.youtube.com/watch?v=FoqGXE3b7FE, Is it possible for you to upload your example somewhere?thanks.
The license you've selected for this is incompatible and against Unreal EULA.
- Other Restrictions on Your Use of the Licensed Technology
a. Non-Compatible Licenses
You may not, and may not permit others to, combine, Distribute, or otherwise use the Licensed Technology with any code or other content which is covered by a license that would directly or indirectly require that all or part of the Licensed Technology be governed under any terms other than those of this Agreement (those licenses, the “Non-Compatible Licenses”). This means, for example, that you may not combine the Licensed Technology with code or content that is licensed under any of the following licenses: GNU General Public License (GPL), Lesser GPL (LGPL) (unless you are merely dynamically linking a shared library), or Creative Commons Attribution-ShareAlike License.
Hello, thank you for such a long support of this project. but now i am getting problem with build a last NavGridDemo with unreal 4.25.0 , i am attaching a logs
https://dropmefiles.com/ReYUD
and i am changed build.cs like
`using UnrealBuildTool;
using System.IO;
public class NavGrid : ModuleRules
{
public NavGrid(ReadOnlyTargetRules TargetRules) : base(TargetRules) {
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.Add (Path.Combine (ModuleDirectory, "Public"));
PublicIncludePaths.Add (Path.Combine (ModuleDirectory, "Classes"));
PrivateIncludePaths.Add (Path.Combine (ModuleDirectory, "Private"));
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "AIModule" });
if (TargetRules.bBuildEditor)
{
PrivateDependencyModuleNames.AddRange(new string[] { "UnrealED" });
}
}
}`
Hi!
I'm attempting to alter the code a bit to make it work for a multiplayer game, but I've been running into this issue when the player count is increased to 2 or more (State->Grid is NULL.) This holds true for the original plugin without any of the edits I've made to it. I'm a bit stumped as to why this error is occurring other than perhaps multiple game states are being made when there is more than one player and one of the states is not being initialized correctly. That seems unlikely though, I would think only one game state is created. Anyway, if you have any idea as to what might be causing this I'd appreciate the input. Thanks!
void AGridPawn::BeginPlay()
{
Super::BeginPlay();
auto *State = GetWorld()->GetGameState<ANavGridGameState>();
check(State && State->Grid);
Grid = State->Grid;
SelectedHighlight->SetRelativeLocation(FVector(0, 0, Grid->UIOffset));
ATurnManager *TM = State->GetTurnManager(TeamID);
check(TM);
TM->Register(TurnComponent);
if (SnapToGrid)
{
MovementComponent->SnapToGrid();
}
}
Hello, I cant understand .Do not display all classes when adding a plug-in "http://imgur.com/JJSBgoI" ,Could you please explain this point in detail. I would like to see more examples,Thank you for help
I was going to start working on something very similar to this because the advanced tactics on the UE store is built only using blue prints and the creator is not interested in releasing it open source. I wanted to know what it is before I start work since it doesn't seem to be specified and there is no license file.
Public domain? MIT? BSD? GPL?
Hey would it be possible to update the plugin to either 4.16.3 or 4.17.1?
I am getting an version incompatibility error when I enable the plugin and restart the editor under the specified versions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.