Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, 1 invisible), 877 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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