Hi sven, for your ai in your 3rd person and AI project I suggest that you allow multiple hit and attack animations for the AI and let them play randomly when activated, can this be possible, and can you please do this?
Please reply
P.S. Sorry for asking here but it seems like you don't check your email often that's why :)
targetname is player name who gets damaged.. man in this case. damage val is value of damage that happens if attack action executed 10 in this case. use random if enabled puts additional damage to the damage val..damageVal+random(number) random max 10 is in range between 0 to 9... so if random val is 9 and damageVal is 10 -total will be 19
ifRND0miss hit.. if random is 0 ..player gets no damage at all.if enabled.
critical hit not enabled in this script-- it will be used to freeze player if hit is 19 (means total) in this case. so player hit animation + maybe some camera shake or something i will figure out.
You are welcome- i added HIT animation to the AI as you suggested- it needs some work but sometimes it looks good.. i will relase update soon so its easier to setup animations and timers and other parameters that are needed for use of this scripts.
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
Hi sven, for your ai in your 3rd person and AI project I suggest that you allow multiple hit and attack animations for the AI and let them play randomly when activated, can this be possible, and can you please do this?
Please reply
P.S. Sorry for asking here but it seems like you don't check your email often that's why :)
So for the patrol points how do i set them up and what are the meaning of the array parameters in the svcAI
For performance, it works well but can you please explain the parameters in the svcattack .js file
targetname is player name who gets damaged.. man in this case.
damage val is value of damage that happens if attack action executed 10 in this case.
use random if enabled puts additional damage to the damage val..damageVal+random(number)
random max 10 is in range between 0 to 9...
so if random val is 9 and damageVal is 10 -total will be 19
ifRND0miss hit.. if random is 0 ..player gets no damage at all.if enabled.
critical hit not enabled in this script-- it will be used to freeze player if hit is 19 (means total) in this case. so player hit animation + maybe some camera shake or something i will figure out.
That's amazing,
Thank you sven
You are welcome- i added HIT animation to the AI as you suggested- it needs some work but sometimes it looks good.. i will relase update soon so its easier to setup animations and timers and other parameters that are needed for use of this scripts.
Oh nice, I'm glad, I hope you release the update soon :)