Guest major gandhi Posted November 21, 2004 Hi, I started works on another helicopter and am trying to animate the gear at the moment. I have one frontgear and two sidegears. They are supposed to retract in an angle of 90 degrees. I used the "Degree2Radians" tool to convert the 90 degrees into radians. I got 1,570790 radians, but in game the gear doesn't move full 90 degrees. I f you try to convert these 1,570790 radians into degrees again you get 57,296000 degrees?!?!?!? And I think this is the angle the game uses to retract the gear. So does someone have an idea how I can fix that? Share this post Link to post Share on other sites
nephilim 0 Posted November 21, 2004 hey gandhi forget the converter try this in ur cfg in the line angle=0/1 write: "rad 90" this will set ur gear to exact 90° this works with all radians simply note down the degree number in oxy and write it with a "rad" indront of it in the cfg it shoudl look like this eg angle1= "rad 36" ofp will autoconvert that note that this is tricky with really small numbers for example if u wnat to create sliding doors Share this post Link to post Share on other sites
Guest major gandhi Posted November 21, 2004 thanks very much, it works perfectly another question, I want to animate a flap, consisting of two parts covering the gear bay. First both parts should move and then when this move is finished one single part should move into another postion. This is a part from the config: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class UserActions { class GearDown { displayName="Gear Down"; position="Cockpit"; radius=9 condition="this animationphase ""GearSide"" >= 0.5 and player in this"; statement="this animate [""GearFrDrA"", 1],~3,this animate [""GearFrDrPt"", 1],this animate [""GearSide"", 0],this animate [""GearFront"", 0]"; }; class GearUp { displayName="Gear Up"; position="Cockpit"; radius=9 condition="this animationphase ""GearSide"" < 0.5 and player in this"; statement="this animate [""GearFrDrA"", 0],~3,this animate [""GearFrDrPt"", 0],this animate [""GearSide"", 1],this animate [""GearFront"", 1]"; }; }; Is it possible that the game waits after animating "GearFrDrA" and then continues? Share this post Link to post Share on other sites
nephilim 0 Posted November 21, 2004 hmm it shoudl be possible but i dont know if delays (~) are accepted by the config if u want a delayed gear coverae u need to use a script that delays the anims and is activated through action menu hope i coudl help if any more questions dont hesitate to ask Share this post Link to post Share on other sites
Guest major gandhi Posted November 22, 2004 thx for your help nephilim. I'm now using scripts for the gear-function. the time-delay thing works now but I have another problem now. I made two animations, The first one is "GearFrDrA" it's the whole flap. "GearFrDrPt" is the second animation, it's one part of the flap. When the heli starts ingame, the gear is down and the flap is out. So with the Gear-Up option the GearFrDrPt-animation starts first and after it's finished the GearFrDrA-animation starts. But here is the problem. Only the second part of the flap is moved (during the GearFrDrA-animation), the other part which is animated with GearFrDrPt doesn't move. So my question, is it possible that one can't have one part of a modell in two selections for animations? Share this post Link to post Share on other sites
colonel_klink 0 Posted November 22, 2004 hey gandhi forget the convertertry this in ur cfg in the line angle=0/1 write: "rad 90" this will  set ur gear to exact 90° this works with all radians simply note down the degree number in oxy and write it with a "rad" indront of it in the cfg it shoudl look like this eg angle1= "rad 36" ofp will autoconvert that note that this is tricky with really small numbers for example if u wnat to create sliding doors lol even tho I've used the convertor on every addon I've made, I didn't realise that the rad command could be used in the config. Thanks nephilim, I've learned something new today Oh and major gandhi the convertor does work ok. you wrote 1,570790 instead of 1.570790 which if converted back would have given you 89.999984 which is close enuff to 90 degrees Share this post Link to post Share on other sites
shinRaiden 0 Posted November 23, 2004 Sigh, the red-headed step child of the metric debate... many parts of Europe use the comma (,) for noting the decimal place, and in America generally its the period (.) Share this post Link to post Share on other sites
nephilim 0 Posted November 23, 2004 @ klink be my guest @ghandi shouw us the script and cfg and lets see where the bugs in Share this post Link to post Share on other sites