Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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... |
||||
|
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..:) |
||||
|
One issue I just noticed: you strafe around a few times, and the enemy NPC will walk straight through static geometry... |
||||
|
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. |
||||
|
Great, I want to use this! |
||||
|
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 |
||||
|
Hi bulletchain i do not quite understand .. can you not kill the player or the opposite force? |
||||
|
@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 |
||||
|
bulletchain i dont know why you cant shoot the opposite force I dont think it has something to do with the behavior. |
||||
|
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. |
||||
|
@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! |
||||
|
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)); |
||||
|
@coa what is the ppl? |
||||
|
An abbreviation of the word people, bulletchain. |
|