Emerald AI Integration

glindsten

New member
Has anyone managed to get the shield to absorb damage? I can't get it to work even with a huge collider... and I'm wondering if it has to do with Emerald.
 

Vlaxep

Active member
I'm assuming most people in this thread would've dealt with the 'Line of sight' not working for AI detecting the player?

I've never gotten this to work really. Currently the AI will only detect the player if I attack them.

When set to line of sight they simply won't attack or enter combat mode.

Emerald AI debug mode shows a yellow raycast to the player, but doesn't enter attack mode.

Basics are set up, AI looks for Player tag on Character layer, Player is set to Enemy in relations.

If I use a test cube set with Player tag and Character layer, the AI enters combat mode when they see it but doesn't fire.

Anyone managed to successfully get it working with Opsive character?
 

Mattis

Member
I'm assuming most people in this thread would've dealt with the 'Line of sight' not working for AI detecting the player?

I've never gotten this to work really. Currently the AI will only detect the player if I attack them.

When set to line of sight they simply won't attack or enter combat mode.

Emerald AI debug mode shows a yellow raycast to the player, but doesn't enter attack mode.

Basics are set up, AI looks for Player tag on Character layer, Player is set to Enemy in relations.

If I use a test cube set with Player tag and Character layer, the AI enters combat mode when they see it but doesn't fire.

Anyone managed to successfully get it working with Opsive character?

It works great for me . I set up like the intergration said and it just worked.
 

Vlaxep

Active member
Hey @Mattis yes updating fixed the LOS issue!

I'm now getting the 'There's a missing ability object in one of the ability objects slots of EmeraldAICharacter'

Pretty sure it's just an Emerald issue, but anyone had it and know a fix? I get it a lot but can't nail down what causes it, neither can the Emerald dev.

AI Character has ability object set correctly, no empty slots, animations are set up with animation events and everything.
 

Mattis

Member
Hey @Mattis yes updating fixed the LOS issue!

I'm now getting the 'There's a missing ability object in one of the ability objects slots of EmeraldAICharacter'

Pretty sure it's just an Emerald issue, but anyone had it and know a fix? I get it a lot but can't nail down what causes it, neither can the Emerald dev.

AI Character has ability object set correctly, no empty slots, animations are set up with animation events and everything.
I guess BHS have made an update where Emerald AI can have abilities.. so it's a bug.. I would bypass it by making a fake ability that doesn't do anything. Until it's fixed.
 

Vlaxep

Active member
I guess BHS have made an update where Emerald AI can have abilities.. so it's a bug.. I would bypass it by making a fake ability that doesn't do anything. Until it's fixed.
The abilities aren't new, it's basically the projectile. It's already set correctly, there's definitely a bug in their code.

I even have another AI using the same 'ability object' which is just a bullet. Something in emerald code doesn't correctly see that the ability is already set. Got the Dev support emailed to help out
 
Top