Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 10/15/25 20:44
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, Quad, 1 invisible), 7,124 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
No bone_ command works while ent_blendpose #472834
05/25/18 16:52
05/25/18 16:52
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline OP
Expert
alibaba  Offline OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Why is ent_blendpose locking up all other bone functions? I can neither ent_bonereset, nor move or anything at all.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: No bone_ command works while ent_blendpose [Re: alibaba] #472844
05/26/18 01:26
05/26/18 01:26
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline
Serious User
jumpman  Offline
Serious User

Joined: Apr 2002
Posts: 1,246
ny
Can we see a stripped down version of the relevant code?

Check to see where you place your bone functions in regards to the ent_blendpose. Try placing ent_bonereset/ent_bonemove/etc BEFORE the ent_blendpose and see what happens.

Im currently doing animation states, which is kind of not the best, but it works for me so far. Let me know if this helps:

Code:
while(state_lower==3)
{
			
animsa+=10*time_step;  // one way animation

			
my.pose = 2;   /// set pose 2 to the target animation
				
ent_animate(my, "swing",animsa, ANM_CYCLE);  // upper half of body
ent_animate(my,"ua_stand",animsa,ANM_CYCLE+ANM_ADD); // lower half of body
		
		
my.skill3+=5*time_step  ; // blend percent while in this state
			
my.skill3 = clamp(my.skill3,0,100);  // clamp the blend to 100 percent
			
			
ent_bonerotate();  /////////////your manual bone rotation, ent_bone commands here
			
			          
ent_blendpose(my,1,2,my.skill3);  // perform the blend
      
      

my.pose=1;  /// use this final skeleton state as pose 1
      
      
if(my.skill3>=100)  // when the one way animation is done
{
last_lower_state=2;  //break out of this animation state
state_lower=0;
//break;
}
			
			
wait(1);
}


Re: No bone_ command works while ent_blendpose [Re: jumpman] #472952
06/01/18 18:12
06/01/18 18:12
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline OP
Expert
alibaba  Offline OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Thanks, it kinda works, I had to do a dirty workaround which I found thanks to your code.
My problem was (still kinda is) that when the player dies while blending animation I can't use ragdolls, because it heavily relies on bone functions. What I did is setting pose to 1 and blending back to pose 1, then resetting everything. The downside of this is that the ragdoll now spawns in T-pose, which does not look good.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de

Moderated by  old_bill, Tobias 

Gamestudio download | 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