A group for the Spanish community on ModDB! Open to all users, Spanish or otherwise. Feel free to join. | Grupo dedicado a los españoles en ModDB.

Post news Report content RSS feed I need help with animtree and melee atack! help me please!

Hi friends! I need some help with animtree, melee atacks and custom animations too!

Posted by on

Hi friends: Looking for help desperately! It´s about the enemies I leave a animtree pictures an video about player and enemy pawns, video with the problem and failures and scripts pawn and pawnAI



Script code here:
Forums.epicgames.com

Each type of enemy has a script associated by Pawn, and that are posted, meshes, aniset, AnimTree, features, etc. ..) The pawn_enemies are walking around, each with its characteristics of speed and attack damage ... I am working in UDK March 2012 build. But, I have two open problems, and can not find any solution.

1-The enemies to get to the position player, stop its movement (there is fine, put in a position to break ...) but why the enemy lowers the z axis and passes through the floor? If this all seems ok, right?

2-The enemies by touching the player, take away life, it sounds like the sound of attack, but not how to make me leave the animation! I've proven it all! In the end I left the attack animations anim node linked by tree (also for the player, that does not work), but do not know what else to release the attack animation happy!

Looking for urgent help, I'm desperate!

Comments
Dimanjy
Dimanjy

You are using PathNodes now, but maybe NavMesh will be the better decision?
I'm using NavMesh and my Pawns just aiming to the floor when reach the player but not passign through the floor :)

Reply Good karma Bad karma+2 votes
titobruni Author
titobruni

well i am in the office now, thanks anyway

i´ll try about that you said this afternoom.

well, i am looking foir google and other forums, and maybe i have some solution: basetranslationoffset, in default properties to my enemy pwan...

well, i´ll write this afternoon if work or not work!

see you!

Reply Good karma+2 votes
Dimanjy
Dimanjy

I don't recommend you to use any offsets. If your Pawn has one of UDKPawn or UTPawn base classes than it should work fine out of the box. I'm trying not to change any custom properties, because if it's not working than I'm doing something wrong :)

And about part 2 of Your quastion:
When enemy collides whith the player maybe it is worth to check if player is in attacking state. And if it so, than enemies take damage. Otherwise do not apply any damage to enemy (if player is not in attacking state).

Reply Good karma Bad karma+1 vote
titobruni Author
titobruni

well, this afternoom i´ll study the NavMesh and the base traslation offset (in other forums said that is the solution!)... so i´ll come to write here this afternoom.

Reply Good karma+1 vote
AVittoz
AVittoz

I know how to trigger custom attack animations and do hit detection for damage dealing. its to complex to explain here tho

Reply Good karma Bad karma+1 vote
titobruni Author
titobruni

well, I solved the first problem, the enemies dont skin the floor...
(no good solution: radius cillinder collision=2.5)

AVittoz: you can link some tutorial? i know some tutorial in kismet, but i want make in unreal script code, like my enmies_pawn.

Reply Good karma+1 vote
titobruni Author
titobruni

I get it!!! tomorrow post a video bccause i am very tired... but i am so happy! i get the control of my enemies attack animations and i get fix the little bug too!

It has been so hard! but i get it!!

Reply Good karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Established
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Homepage
Es.wikipedia.org
Membership
Join group
Group watch
Start tracking
News
Browse
News
New
Post news
Share
Related Games
2012
2012 Adventure
Gears of War
Gears of War Third Person Shooter
Unreal Tournament 3
Unreal Tournament 3 First Person Shooter
Related Engines
Unreal Development Kit
Unreal Development Kit Commercial
Related Groups
España
España Geographic
titobruni fangames
titobruni fangames Developer