Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
behavior available

coa
Registered User
Quote
2022-08-22 18:28:24

A free to use and modify for non-commercial and commercial projects Extension for Coppercube 3d engine

note: extension is made for windows export.

put the behavior on a computer ai node that has game actor to make it follow and attack selected node, selected node must have game actor also

You can choose the following In the behavior

Player: the node that the computer ai follows and attacks
attack_delay: time between attacks
Damage: Total damage dealed each time
attackrange: the range when the computer ai attacks
Followrange: the range when computer ai starts to follow.


https://coa010101.itch.io/comput...


onceforloops
Registered User
Quote
2022-08-25 22:05:01

Nice job coa! Now we have lots of tools at our disposal. It's amazing how far the user made ai actions and behaviors for coppercube have come along in the last year or two..:)


onceforloops
Registered User
Quote
2022-08-25 22:19:07

One issue I just noticed: you strafe around a few times, and the enemy NPC will walk straight through static geometry...


coa
Registered User
Quote
2022-08-25 22:49:05

thanks onceforloops!

I havent been able to reproduce this issue you mentioned?
i tried setting a wall in front of opposite force node and he would always be blocked by the wall i tried straffing and moving.


andgameplay
Registered User
Quote
2022-08-26 02:02:59

Great, I want to use this!


bulletchain
Registered User
Quote
2022-08-26 05:00:07

Why do I use your behavior extension for a node of "player with life value (AI)", but I can't kill him? Or I can't hit him


coa
Registered User
Quote
2022-08-26 09:37:19

Hi bulletchain

i do not quite understand .. can you not kill the player or the opposite force?


bulletchain
Registered User
Quote
2022-08-27 01:53:53

@coa
I mean: after I add your behavior extension to a node with vital values, everything can work normally, but all my weapons can't hit it, so it can't be killed by me


coa
Registered User
Quote
2022-08-27 08:13:56

bulletchain i dont know why you cant shoot the opposite force
I dont think it has something to do with the behavior.


coa
Registered User
Quote
2022-08-27 09:00:26

bulletchain in case you dont know.. when you have killed the node with the behavior on it will continue to follow and attack .. you need to delete the node to make it stop or modify the behavior.


bulletchain
Registered User
Quote
2022-08-27 13:15:56

@coa
Er, er, er, this is a bit embarrassing. In this case, my rocket can't hit him. It will only pass through him. Therefore, the explosion cannot appear on him, but on the wall behind him! Moreover, after his death, we need to delete him in order to stop his activities, so the effect of the game is very strange! This is the biggest drawback of your expansion! Hope you can improve as soon as possible! Not only for me, but also for all game developers who use your extensions!


coa
Registered User
Quote
2022-08-27 14:17:31

quote
, my rocket can't hit him. It will only pass through him

i dont know why it does that it works ok at my site?

quote
Moreover, after his death, we need to delete him in order to stop his activities, so the effect of the game is very strange! This is the biggest drawback of your expansion!

I used this behavior in a game by me were i delete node when it is killed.. its nothing strange. done all the time.

but i updated the extension with the option when node health is 0 the behavior will stop working

note: if ppl are making clones at runtime you need to change the name of the cloned node to a original name for the node health 0 to work.

ppl could add name for the clone in for example in "action to to with the clone"
execute javascript
ccbSetSceneNodeProperty(ccbGetCurrentNode(), "Name", "creature_" + Math.round(Math.random() * 1000));



bulletchain
Registered User
Quote
2022-08-28 01:43:23

@coa
what is the ppl?


Guest
Guest
Quote
2022-08-28 02:12:25

An abbreviation of the word people, bulletchain.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (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