quakergamer 0 Posted July 2, 2002 Hey all, Is it possible to make the cargo door of the C130 Open like in real life. It would only be some rotations ... Would this be possible ? Share this post Link to post Share on other sites
Scorpio 0 Posted July 2, 2002 *stares at quakergamer as he gets the "real" version of oxy he was "granted"* Share this post Link to post Share on other sites
KTottE 0 Posted July 2, 2002 Well, in OFP:R you have an animation of a door opening. Along with an action to do it. This should be able to be applied to your cargo door. If you don't have OFP:R or are unsure of what I am talking about: In the multi-story buildings there are elevators. These elevators have doors. When you walk up to it you get the action "Open Door" in the action menu. Share this post Link to post Share on other sites
quakergamer 0 Posted July 3, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (KTottE @ July 02 2002,20:52)</td></tr><tr><td id="QUOTE">Well, in OFP:R you have an animation of a door opening. Along with an action to do it. This should be able to be applied to your cargo door. If you don't have OFP:R or are unsure of what I am talking about: In the multi-story buildings there are elevators. These elevators have doors. When you walk up to it you get the action "Open Door" in the action menu.<span id='postcolor'> yea but hte door rotates on Y axis i want it to rotate on X axis. Like a c130 cargo door Share this post Link to post Share on other sites
PiNs_Da_Smoka 0 Posted July 3, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Dum02: HousesDatadisk { model="\O\Hous\KBud"; animated=1 class Animations { class Dvere1 { type="rotation"; animPeriod=1 selection="dvere1"; axis="osa_dvere1"; angle0=0 angle1=-1.600000; }; }; class UserActions { class OpenDoors { displayName="$STR_DN_OUT_O_DOOR"; position="osa_dvere1"; radius=2.500000; condition="this animationPhase ""Dvere1"" < 0.5"; statement="this animate [""Dvere1"", 1]"; <span id='postcolor'> "Dvere1" would be the group selection you want to rotate (the door...duh) And then insert a point on the axis you want it too move and name it "osa_Dvere1". Keep in mind, i have NO IDEA if this will work. And i have no idea how to get it to work. Maybe the second half of the code sample may help. May the force be with you, because it sure as hell ain't with me ;D Share this post Link to post Share on other sites