Hani2001 Posted September 1, 2018 Share Posted September 1, 2018 i have object with txd and dff and ifp files i need to add it on my server so how to make animated object Please Help Me Download Files Link to comment
Keiichi1 Posted September 1, 2018 Share Posted September 1, 2018 (edited) You can't animate objects. Use moveObject Edited September 1, 2018 by Keiichi1 Link to comment
sanyisasha Posted September 1, 2018 Share Posted September 1, 2018 It's not possible to animate object. Only possible way as Keiichi1 said: bool moveObject ( object theObject, int time, float targetx, float targety, float targetz, [ float moverx, float movery, float moverz, string strEasingType, float fEasingPeriod, float fEasingAmplitude, float fEasingOvershoot ] ) In later versions, you may able to animate Peds. In (maybe) 1.5.6 there is a function called ifp engineLoadIFP ( string ifp_file / string raw_data, string CustomBlockName ) where you can include IFP, and then use it with bool setPedAnimation ( ped thePed [, string block=nil, string anim=nil, int time=-1, bool loop=true, bool updatePosition=true, bool interruptable=true, bool freezeLastFrame=true, int blendTime=250] ) Good luck Link to comment
Mr.Loki Posted September 1, 2018 Share Posted September 1, 2018 2 hours ago, sanyisasha said: In later versions, you may able to animate Peds. In (maybe) 1.5.6 there is a function called engineLoadIFP has already been added as of 1.5.5 r12195 and is available in-game. The current latest version as of now is 1.5.5 r12411 1 Link to comment
sanyisasha Posted September 1, 2018 Share Posted September 1, 2018 35 minutes ago, Mr.Loki said: engineLoadIFP has already been added as of 1.5.5 r12195 and is available in-game. The current latest version as of now is 1.5.5 r12411 That's why i writed: "Maybe" Link to comment
Hani2001 Posted September 2, 2018 Author Share Posted September 2, 2018 So now I can not make it in version 1.5.5 So I will wait 1.5.6 Link to comment
sanyisasha Posted September 2, 2018 Share Posted September 2, 2018 2 hours ago, Hani2001 said: So now I can not make it in version 1.5.5 So I will wait 1.5.6 I heard IFP support only avaiable in 1.5.6 and 1.5.5 Nightly versions. (Nightly: not stable, only developer version. Good for making script before updates.) Link to comment
Saml1er Posted September 2, 2018 Share Posted September 2, 2018 (edited) If your MTA 1.5.5 build version is beyond r12195, then you can access that function. @Hani2001that's not a ped object. It will not work. Current IFP animations only work for ped (skinned) objects. Edited September 5, 2018 by Saml1er Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now