Jump to content
TitansWeasel

Make Pilot carrying his helmet under arm

Recommended Posts

Hello

 

Im experimenting with scrrenshots and video making.

and i wanna use this Animation, Acts_JetsPilotWalking.

But i cant get the Pilot to carry his helmet under the arm.

 

has anybody an hint to solve this?

 

greets Mike

Share this post


Link to post
Share on other sites

Place an helmet on ground. In init field:

this attachTo [bob,[0.15, 0.05, -0.15], "leftHand"];  // where bob is your pilot

 

Share this post


Link to post
Share on other sites

Just the attachto dont look very good because the pilot is moving his hand and body.

 

8 hours ago, pierremgi said:

this attachTo [bob,[0.15, 0.05, -0.15], "leftHand"];  // where bob is your pilot

This works perfect.

i added a setdir to the helmet because it was facing bakwards and adjustet the coordinates a bit.

Thanks for your help!!

Share this post


Link to post
Share on other sites

attach it to his hand memorypoint with a small offset. it will lok better. read the wiki about how to do it

Share this post


Link to post
Share on other sites
On 6/27/2018 at 7:14 AM, TitansWeasel said:

This works perfect.

i added a setdir to the helmet because it was facing bakwards and adjustet the coordinates a bit.

Thanks for your help!!

Hey TitansWeasel, how about posting your final solution with setdir and adjusted coordinates?  Thanks!  A screenshot would be cool too...

Share this post


Link to post
Share on other sites

Sure

 

I made the pilot walking straight along the apron to a trigger.

Trigger is setting back the position of the pilot, so he starts again and again.

 

Init Helmet (helm)

helm attachTo [pilot,[0.1, -0.2, -0.14], "leftHand"]; helm setdir 180;

 

Init Pilot (pilot)

this switchmove "Acts_JetsPilotWalking"; removeallWeapons this; this disableAI "ALL"; this allowDamage false;

 

when Trigger is Active

pilot setpos [0,0,0];

 

greets Mike

  • Like 1
  • Thanks 2

Share this post


Link to post
Share on other sites
On ‎8‎/‎6‎/‎2018 at 5:32 AM, TitansWeasel said:

Sure

 

I made the pilot walking straight along the apron to a trigger.

Trigger is setting back the position of the pilot, so he starts again and again.

 

Init Helmet (helm)

helm attachTo [pilot,[0.1, -0.2, -0.14], "leftHand"]; helm setdir 180;

 

Init Pilot (pilot)

this switchmove "Acts_JetsPilotWalking"; removeallWeapons this; this disableAI "ALL"; this allowDamage false;

 

when Trigger is Active

pilot setpos [0,0,0];

 

greets Mike

 

Just used this for a video I'm making...looks fantastic!

 

Thanks for the collective effort to bring together something so simple to implement but so impressive.

  • Like 3

Share this post


Link to post
Share on other sites

This needs to be put somewhere like the wiki for easy reference.

  • Like 1

Share this post


Link to post
Share on other sites
22 hours ago, Rich_R said:

 

Just used this for a video I'm making...looks fantastic!

 

Thanks for the collective effort to bring together something so simple to implement but so impressive.

 

Can you show us a link of the video?

 

Greets mike

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×