DaedalicEntertainment / ue4-orders-abilities

Sample code of the talk "Hero AI: Gameplay Abilities Meet Behaviour Trees" at Unreal Fest Europe 2019.
https://www.daedalic.com
MIT License
192 stars 58 forks source link

c++ gameplay tags #3

Open Starkium opened 4 years ago

Starkium commented 4 years ago

I have moved OrdersAbilities into my own project as a module and everything compiles fine. I have not implemented any of the system. I went to do a test package and compilation fails saying that it can't find the gameplay tags that are being searched for.

Scanning through the code here I don't see any declaration of a tag table and in the examples I don't see any .ini files that include the tags so I'm wondering what it is I'm missing here?

Error:

Requested Tag Status.Changing.IsAlive was not found. Check tag data table.
Error: [Callstack] 0x00007ffaefffff15 UE4Editor-OrdersAbilities.dll!URTSGlobalTags::Status_Changing_IsAlive() [c:\projects\dm\iahh\source\ordersabilities\private\abilitysystem\rtsglobaltags.cpp:113]
npruehs commented 4 years ago

Hey @Starkium!

Sorry, I might have missed that one … You should find everything you need at https://docs.unrealengine.com/en-US/Gameplay/Tags/index.html. More specifically, there's an DefaultGameplayTags.ini file in your project Config folder which is writable from the Unreal Editor (or any text editor you like, that's the way we're doing it).

Hope that helps!

Best regards, Nick

Starkium commented 4 years ago

@npruehs you wouldn't by chance have a list of the tags being used would you?

fpwong commented 4 years ago

@Starkium Not related to the Daedalic guys, but I've been meaning to upload my basic implementation of the system. It has quite a few code changes (and the code is in a mess) but most of the basic combat works.

The config file you're looking for is here: https://github.com/fpwong/ue4-orders-abilities/blob/fpwong/Config/DefaultGameplayTags.ini

There are many bugs and some issues with using abilities atm but I'll hopefully fix those in a few days.

Starkium commented 4 years ago

@Starkium Not related to the Daedalic guys, but I've been meaning to upload my basic implementation of the system. It has quite a few code changes (and the code is in a mess) but most of the basic combat works.

The config file you're looking for is here: https://github.com/fpwong/ue4-orders-abilities/blob/fpwong/Config/DefaultGameplayTags.ini

There are many bugs and some issues with using abilities atm but I'll hopefully fix those in a few days.

I'm trying to get this up and running, but honestly I'm like missing something here. A working example work be amazing.

fpwong commented 4 years ago

What part did you fail on, building the project or running it? The project should run without needing any changes as of the latest commit.

If you failed on building, check the build instructions in the readme (also you need to be running 4.24): https://github.com/fpwong/ue4-orders-abilities/tree/fpwong

Starkium commented 4 years ago

What part did you fail on, building the project or running it? The project should run without needing any changes as of the latest commit.

If you failed on building, check the build instructions in the readme (also you need to be running 4.24): https://github.com/fpwong/ue4-orders-abilities/tree/fpwong I got it to compile, but it seems theres a ton of blueprint errors and references missing

image

Starkium commented 4 years ago

seems a lot of the issues are around montage proxy

fpwong commented 4 years ago

Can you try to do a fresh pull of the project? I believe I've removed all the unrelated files which may cause issues in the last update. Also might be better if you make another issue in my branch of the project.

Starkium commented 4 years ago

@fpwong Sorry to bug you, but I couldn't find any other way of contacting you. Your fork doesn't have an issues tab and I wanted to say that the get position under mouse function isn't working correctly as it is colliding with volumes in my scene and I haven't been able to find where in the code I can change the trace channel.

Not sure if it's colliding with a nav volume, dungeon architect negation volumes, etc. But changing everything to no collision wasn't helping.

fpwong commented 4 years ago

@Starkium Opened an issue for you: https://github.com/fpwong/ue4-orders-abilities/issues/1