Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Guest

Revolving

Recommended Posts

Guest

I have this model done an on real gun drum is turning...so i want that on my model to.!!

But there is a problem, whit revolving comand in cpp the drum is turning at wrong axsis lets say thats axsis x and i wat the drum on y axis to turn??Now is turning like revolver drum sad_o.gif

Is that possible???

9.JPG

Share this post


Link to post
Share on other sites

Im sure it is possibly.If it can rotate one way im sure it can rotate another way.Maybe trying to Rotate the points in the Memory part of the .p3d.And looking at what ever makes it rotate when Fired.

Share this post


Link to post
Share on other sites

instead of the revloving thing you could try using reload animations.

like from the vulcan cpp

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class ReloadAnimations

{

class VulcanCannon

{

weapon="VulcanCannon";

angle0=0;

angle1="-2 * 3.141592654";

multiplier=500;

type="rotation";

animPeriod=1;

selection="gatling";

begin="usti hlavne";

end="konec hlavne";

};

};

usti hlavne and konec hlavne are the axis points but i think you can change them to fit your needs.its pretty easy to put on a addon,maybe this willl work.

Share this post


Link to post
Share on other sites
Guest

this is not working on gun smile_o.gif

Share this post


Link to post
Share on other sites

use two vertex's as an axis

place them on top of each other,if its rotating the wrong way ,turn them around (the bottom one on top and the top to the bottom)

Share this post


Link to post
Share on other sites
Guest

BraTTy i used as u say, and i was surprised whit result ,its working now smile_o.gifbiggrin_o.gif

thanks

Btw

2 memory points one over other whit same name biggrin_o.gif

Share this post


Link to post
Share on other sites

Looks nice ! Pretty good quality on that fraps clip too,great work!

Next is ejecting shells (I don't think I saw ejecting brass?)

Share this post


Link to post
Share on other sites
Guest

u could not see the ejecting shells , because is on the botom of the gun... i used on video right mouse button all the time , thats why u did not see biggrin_o.gif

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
Sign in to follow this  

×