2kristof2 Posted July 17, 2018 Share Posted July 17, 2018 Hello, I've got gta particles in dff files and I have a question if it is possible to edit for example gunshot animation and make it looped? Because when I create an object with this animation it disappears when the animation ends. Also another question, is it possible to make a breakable object in mta? As I know a .dat file is needed so probably it isn't. Thanks. Link to comment
Saml1er Posted July 17, 2018 Share Posted July 17, 2018 5 hours ago, 2kristof2 said: I've got gta particles in dff files and I have a question if it is possible to edit for example gunshot animation and make it looped? Yes, take a look at the loop parameter (5th one). 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] ) 5 hours ago, 2kristof2 said: Also another question, is it possible to make a breakable object in mta? As I know a .dat file is needed so probably it isn't. No, it's not possible. You're right, you'll need to edit the .dat file which MTA does not allow. 1 Link to comment
Captain Cody Posted July 17, 2018 Share Posted July 17, 2018 By combining elements and animating them yes. But not the in the conventional way (for now) 1 Link to comment
2kristof2 Posted July 17, 2018 Author Share Posted July 17, 2018 As I thought. It would be cool to make breakable objects like glass or walls in the future. About particles I meant effects like smoke, explsions, gunshots etc, not ped animations, @Saml1er. I recreate an object every 100 ms and it works fine. Thanks for the answers. Link to comment
Saml1er Posted July 17, 2018 Share Posted July 17, 2018 3 hours ago, 2kristof2 said: About particles I meant effects like smoke, explsions, gunshots etc, not ped animations, @Saml1er. I recreate an object every 100 ms and it works fine. Which object exactly are you talking about? If you don't mind, can you send me a code snippet via PM? I'm already working on a project related to MTA where I properly implement new features, I might take a look at effects. : ) 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