1. Create a SANDBOX (3D, NOT HDRP)
2. Add a demo scene with melee Emerald AI
3. Create a camera,
4. Add a player
5. Change layer to the same as enemy (water)
6. Test melee combat
- How to add weapons and Ammo ?
In Invector > Shooter > DemoScene
In hierarchy: Hive > Shooter_Hive > ShooterFeatures > Inventory_Collectables
– Ammo > vAmmoAssaultRifle_Inventory
– Weapons > vCollectibleAssaultRifle
The weapon should be a Triggers layer.
The hero should be a Player layer. (vShooterController_Woman_01_With_Helmet_04)
- Collision detection or layer problem, or both ?
Follow tutorial :
https://github.com/Black-Horizon-Studios/Emerald-AI/wiki/Invector-Integration-Tutorial
- set enemy inspector to: tag enemy and layer enemy
- change tag option from respawn to enemy
- in player controller >
I have purchased Emerald AI 3.0 and Invector Third Person Controller – Shooter Template .
I try to follow a tutorial (https://github.com/Black-Horizon-Studios/Emerald-AI/wiki/Invector-Integration-Tutorial)
I don’t find the « Shooter Manager ». « This can be found on your Invector player. » it’s in vShooterController_Woman_01_With_Helmet_04 (scroll down)
- in asset > invector > script > weapon > vProjectileControl.cs
- in EmeraldAIPlayerDamage script, import script replacement DamageInvectorPlayer
- uncomment function DamageInvectorPlayer(int DamageAmount, Transform Target) ;