Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
I need help with enemy ai in my game

spicymilk
Registered User
Quote
2023-03-18 03:31:28

I can get the built in enemy AI to work I just don't like how slow and unresponsive3 it is is there anything I can do to add a better one?


dynamogames
Registered User
Quote
2023-03-18 12:21:02

I really don't know of any other Enemy AI in CopperCube apart from "Game Actor" behavior, you can try tweaking values like Movement Speed, Activation Radius and see if you get favorable results and make sure your tags are correct. That is, the enemy is actually attacking the Player Tag and not something else.
There might be a way to create an alternative Enemy AI with JavaScript but I really don't know how to do that.


dynamogames
Registered User
Quote
2023-03-18 12:22:12

Then also make sure your player mode is set to "This is the Player"


forloops_64
Registered User
Quote
2023-03-18 12:37:07

Check out Sven's behaviors on itch.io, they're way better than the native AI behaviors. Also, if we could get a hold Samhndy, he made an excellent navmesh/pathfinding setup for CC. NGame and Robo also made great AI behaviors/actions. Perhaps the one I use most commonly is "AI for Melee Combat", it's very easy to set up.
You could also store the health variable directly, it's something like player1.health and that will track the player's/NPC's health.


forloops_64
Registered User
Quote
2023-03-18 12:40:43

Also, you can buy Hadoken's RayCast hit behavior and action, very useful for the enemy AI detecting an approaching player.


forloops_64
Registered User
Quote
2023-03-18 12:42:46

And last but not least, (my bad for not mentioning it earlier), JustInCase's "AI follows Custom Path" behavior is really cool too.


spicymilk
Registered User
Quote
2023-03-19 00:58:32

Thanks do any of ya'll have those links?


dynamogames
Registered User
Quote
2023-03-19 14:25:07

Check website:
http://neophyte.cf for the Custom Path action. There also many other cool behaviors, actions, plugins and shaders you can use which can help your use of CopperCube.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact