Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ent_animate play wrong animation #456420
11/22/15 10:29
11/22/15 10:29
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 785
Serbia
Hi Jcl

I noticed that ent_animate messes up animation if names start with the same letters. For example if we have animations "walk" and "walkback" and in code we call "walk" animation, and in model "walkback" standing before a "walk" animation, ent_animate will play "walkback" animation. Also if this two animations stand next to each other, engine will play both animations together. Seems ent_animate takes only the first 4-5 letters to grab animation from mdl.
This thing is not so important but sometimes can be really confusing. Perhaps a little explanation in the manual is enough.

Here is test level


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: ent_animate play wrong animation [Re: Iglarion] #456427
11/22/15 14:26
11/22/15 14:26

M
Malice
Unregistered
Malice
Unregistered
M




I found is in the manual
http://www.conitec.net/beta/aent_animate.htm
Quote:

Entity scene and bone names must consist of at least 3 characters. For finding the scene, only the length of the scene string is compared. Therefore models must not contain scene names that begin with the complete name of another scene

Last edited by Malice; 11/22/15 14:27.
Re: ent_animate play wrong animation [Re: ] #456428
11/22/15 14:46
11/22/15 14:46
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 785
Serbia
lol thanks Malice, it looks like i missed it.
Btw i already renamed all my animation names, it is well to know for the future smile
If something was useful from this post, it's that you got zombie with another 3 animations grin


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: ent_animate play wrong animation [Re: Iglarion] #456430
11/22/15 16:01
11/22/15 16:01

M
Malice
Unregistered
Malice
Unregistered
M



Quote:
If something was useful from this post, it's that you got zombie with another 3 animations grin

Awesome! Kind and generous!

Thank you.


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1