black-horizon-studios / emerald-ai Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
RagDoll Multiplier don't work with this integration as is. The ragdoll.iChar interface within the vDamageReceiver file is null when used in conjection with Emerald. So I changed if ((ragdoll && !ragdoll.iChar.isDead))
to if (ragdoll)
and added the below inside the if statement. This allowed for body part multipliers to work again.
// Emerald AI Damage
var ai = ragdoll.gameObject.GetComponentInParent<EmeraldAI.EmeraldAISystem>();
if (ai) {
ai.Damage(_damage.damageValue, EmeraldAI.EmeraldAISystem.TargetType.Player, transform);
}
You also need a script to turn on all the colliders so that ragdoll with projectiles works.. For whatever reason Emerald AI turns off all the colliders in the mesh outside of the box collider they create, likewise the box collider that is create hides all the ragdoll components, so you'll want to shrink it to behind the ragdoll components if you want to control where body parts are hit.
example of what I did, just added it to a new monobehavior on the AI parent object at the end of the component list or after the emerald ai stuff.
private void Start()
{
// turn on arms, legs etc
foreach (var c in gameObject.GetComponentsInChildren<CapsuleCollider>()) {
c.enabled = true;
}
// should only be one, the head.
foreach (var c in gameObject.GetComponentsInChildren<SphereCollider>()) {
c.enabled = true;
}
}
I don't know if this is already possible, but having a way to hide from an enemy would be great. Also maybe having an option to have the enemy know where the player is if the enemy sees the player hide.
I have a 90 degrees turn animations for character in both directions, left and right, but the character [Emerald AI Character] does not play them correctly, the AI keeps rotating when the animations have stopped playing.
several "cannot convert from 'float' to 'int' " after compilation errors after following the Invector Integration tutorial. Invector 2.6.2a
I've sent 2 emails to the developer who has not responded. I'm using Emerald AI with the Game Kit Controller (GKC).
You can damage the animal AI once the animal is out of Idle mode but only when the AI is attacking you.
I'm using Unity version 2019.48f. The only things in my scene are the unity Viking Village, the GKC player & 3 animals with Emerald AI conf.
I've used the video tutorial along with this link https://github.com/Black-Horizon-Studios/Emerald-AI/wiki/Game-Kit-Controller-Integration
The GKC dev provided me an updated Emerald AI/GKC integration instructions. file:///C:/Users/patri/Desktop/EMERALD_INTEGRATION_New_Version%20(1).pdf
While shooting Ai agent only shooting towards my legs and not hitting my player upper body and in 3.1.0 update our setting options in look at options are change as compare to your wiki tutorials. Any way out of this issue?
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.