brawler89 10 Posted April 15, 2010 hi all i modeled a house with a door (its not rotating round an axis, its translating). now i added an action menu entry to open it ingame. the problem is, that it doesnt slide. i press the button and its open. but it should slowly slide. :confused: here is a part of my config.cpp class AnimationSources { class Open_door1 { source = "userD1"; animPeriod = 5; initPhase = 0; }; }; class UserActions { class Open_Door1 { displayName="$STR_TUT_OpenDoor"; onlyforplayer = true; position="D1B"; radius=10; condition="this animationPhase ""Open_door"" < 0.95"; statement="this animate [""Open_door1"", 1]"; }; class Close_Door1 : Open_Door1 { displayName="$STR_TUT_CloseDoor"; condition="this animationPhase ""Open_door1"" >= 0.1 "; statement="this animate [""Open_door1"", 0]"; }; }; }; }; raising the animperiod does not work need raelly help Share this post Link to post Share on other sites
[frl]myke 15 Posted April 15, 2010 PLease also post the relevant part of the model.cfg Share this post Link to post Share on other sites
granQ 293 Posted April 15, 2010 shouldn't source = "userD1"; be just "source=user" ? Share this post Link to post Share on other sites
brawler89 10 Posted April 15, 2010 i changed the source and it really works! :D thank you really much Share this post Link to post Share on other sites