lukemax 0 Posted July 2, 2003 Hi this is my copy of the animaion sectian of my vechiles config but ingame the animations dont work any ideas? class Animations { class thegear { type="rotation"; animPeriod=3; selection="thegear"; axis="gearaxis"; angle0=0.000000; angle1=-0.0500; }; class backramp { type="rotation"; animPeriod=3; selection="backramp"; axis="axisbackramp"; angle0=0; angle1=1.361352; }; class thegear1 { type="rotation"; animPeriod=3; selection="thegear1"; axis="gearaxis1"; angle0=0.000000; angle1=1.221726; }; class thegear2 { type="rotation"; animPeriod=3; selection="thegear2"; axis="gearaxis2"; angle0=0.000000; angle1=1.221726; }; }; class UserActions { class LandingGearup { displayName="Gear up"; position="doors"; radius=25.5; condition="this animationPhase ""thegear"" < 0.05"; statement="this animate [""thegear"", 1]"; }; class LandingGeardown { displayName="Gear down"; position="doors"; radius=25.5; condition="this animationPhase ""thegear"" >= 0.05"; statement="this animate [""thegear"", 0]"; }; class OpenDoors1 { displayName="Open Ramp" position="axisbackramp"; radius=15.5; condition="this animationPhase ""backramp"" < 0.05"; statement="this animate [""backramp"", 1]"; }; class CloseDoors1 { displayName="Close Ramp"; position="axisbackramp"; radius=18100; condition="this animationPhase ""backramp"" >= 0.5 and player distance this < 20"; statement="this animate [""backramp"", 0]"; }; class LandingGearup1 { displayName="Thuster 1 Back"; position="doors"; radius=25.5; condition="this animationPhase ""thegear1"" < 0.05"; statement="this animate [""thegear1"", 1]"; }; class LandingGeardown1 { displayName="Thuster 1 Froward"; position="doors"; radius=25.5; condition="this animationPhase ""thegear1"" >= 0.05"; statement="this animate [""thegear1"", 0]"; }; class LandingGearup2 { displayName="Thuster 2 Back"; position="doors"; radius=25.5; condition="this animationPhase ""thegear2"" < 0.05"; statement="this animate [""thegear2"", 1]"; }; class LandingGeardown2 { displayName="Thuster 2 Froward"; position="doors"; radius=25.5; condition="this animationPhase ""thegear2"" >= 0.05"; statement="this animate [""thegear2"", 0]"; }; Share this post Link to post Share on other sites
BraTTy 0 Posted July 6, 2003 None of the anims work? I would assume that your cfgvehicles is closing early and not including the anims...maybe post the rest of your cpp Share this post Link to post Share on other sites
franze 196 Posted July 7, 2003 I found recently the hard way that if you have any "};" between cfgvehicles and animations that it won't load the animations or will crash. What Bratz said - wheres the rest of the .cpp? Share this post Link to post Share on other sites