Callum Posted February 21, 2010 Share Posted February 21, 2010 (edited) DOWNLOAD LINK: https://community.multitheftauto.com/index.php?p= ... ils&id=603 Overview The animations menu is binded for all players to F2. Server owners/scripters can fully customize all the animations on the menu with ease. It's also very straight forward and tidy for the clients. The client code isn't too big either so it doesn't cause a massive download for joining players. This is one of my first community resources. Please report any bugs and feedback. How to use (for owners/scripters) To add a new animation simply open the animations.map file, template the example, edit the block and code, save, and you're done. You can find all the animation blocks and codes by clicking here. How to use (for clients) Press F2, select a category, select an animation, and press F2 again to hide the menu. If you want to change animation just click another, or if you want to stop doing an animation all together just click the "Stop Animation" button. Known Issues/Bugs The "Stop Animation" button isn't 100% reliable (but jumping works as a substitute). As I said, this is my first community script so I apologize if it's a bit buggy and/or dodgy. Any feedback and bug reports would be gratefully accepted. Edited February 21, 2010 by Guest Link to comment
Xierra Posted March 23, 2010 Share Posted March 23, 2010 Nice work Ca11um! But please fix it the resolutions problem. I'm using 800x600 right now and the GUI is too narrow. Link to comment
Gamesnert Posted March 23, 2010 Share Posted March 23, 2010 I haven't tried the script yet. However, looking at the Lua code: 1. Don't use relative GUI positions sizes. They usually fuck up under different screen resolutions. (like XX3 noted) 2. Why are you saving animations in a .map file? You could use an XML file for this, which you don't need to send twice if the player reconnects. 3. Make a default file including all animations listed on the wiki. Should be very useful. Link to comment
Callum Posted March 31, 2010 Author Share Posted March 31, 2010 3. Make a default file including all animations listed on the wiki. Should be very useful. Sorry, Gamesnert, I don't understand what you mean, but thanks for the other suggestions, I'll work on them for a future release. Link to comment
Callum Posted March 31, 2010 Author Share Posted March 31, 2010 Ok, I've released 1.2.0 which fixes the resolution problem. Link to comment
Gamesnert Posted April 1, 2010 Share Posted April 1, 2010 3. Make a default file including all animations listed on the wiki. Should be very useful. Sorry, Gamesnert, I don't understand what you mean, but thanks for the other suggestions, I'll work on them for a future release. I meant exactly what I said, instead of having a small file which contains only a few animations, why not including all of them? Link to comment
karlis Posted April 1, 2010 Share Posted April 1, 2010 jsut go to wiki anim page, press "source'' tab, and copy&paste, then in notepad++ with replacements make it xml-like Link to comment
Gamesnert Posted April 1, 2010 Share Posted April 1, 2010 jsut go to wiki anim page, press "source'' tab, and copy&paste, then in notepad++ with replacements make it xml-like I know that, but over 9000 others don't. 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