robhol Posted June 15, 2008 Share Posted June 15, 2008 Dunno if this has been asked before, I tried searching but didn't find anything useful. Does anybody know of a scripting editor with the MTA commands in it? useful for noobs like me... Link to comment
50p Posted June 15, 2008 Share Posted June 15, 2008 No there isn't one, but maybe some day someone will make a plugin for Notepad++ with them. That would be really useful. Link to comment
robhol Posted June 15, 2008 Author Share Posted June 15, 2008 No there isn't one, but maybe some day someone will make a plugin for Notepad++ with them. That would be really useful. Word. I actually thought about Notepad ++ myself, but: a) I have NO idea how to do it b) we are talking about a considerable amount of commands here, and it would be too time-consuming and/or boring for one person to do by himself... Link to comment
50p Posted June 15, 2008 Share Posted June 15, 2008 If I knew how to do it I'd probably do it... but that's right, make that file with a thousand of functions is quiet boring. Link to comment
Willy Posted June 15, 2008 Share Posted June 15, 2008 download this file: http://www.pinkboxstudio.com/lua.api put it in your notepad++/plugins/APIs/ directory. in notepad++ go into settings->style configurator select lua in the language scroll list, select one of the styles (i use FUNC1) in the style scroll list and copy and past all of the functions in the lua.api file (you can open it in notepad++) into the "user defined keywords" box. You now have both colour coded MTA functions, and auto complete (by starting to type a function and then pressing ctrl+space). fin! EDIT: this may be an old list (and is definitely not complete for DP3 functions) Link to comment
50p Posted June 15, 2008 Share Posted June 15, 2008 Just after my post I started making my list and when I visited this topic I saw your list... my time was wasted... anyway here is my list http://y50p.50g.com/mtasa/misc/lua.api It contains all the dp3 functions (up to today) all of the dp3 functions are suffixed "dp3". Link to comment
robhol Posted June 16, 2008 Author Share Posted June 16, 2008 Thanks a FRICKING lot! Now I won't have to open the wiki for every other function I want to write x) (If I get it working, that is) Edit; oh.. no function prototypes.. would that be possible to add? I'd be willing to help. Link to comment
darkdreamingdan Posted June 16, 2008 Share Posted June 16, 2008 Someone is making a proper resource editor that hooks straight into development.mtasa.com which sounds intriguing, keep your eyes peeled for that. Link to comment
robhol Posted June 16, 2008 Author Share Posted June 16, 2008 That sounds VERY interesting - but many things that sound VERY interesting either turn out crappy, or don't turn out at all... I think this could be a nice tool in the meantime... anybody up for it? As I said, I'll be able to help. Link to comment
robhol Posted June 18, 2008 Author Share Posted June 18, 2008 Bump, I'd really like some feedback on the idea, and I have NO idea how to pull it off... anybody care to help? Link to comment
robhol Posted June 26, 2008 Author Share Posted June 26, 2008 Anybody know how to start, how to do it? In any case, bump again. Link to comment
50p Posted June 26, 2008 Share Posted June 26, 2008 So you want to program a scripting editor? If you are a programmer it isn't difficult for you to start. I haven't heard of someone making such editor, but I've heard someone is making GUI editor (not an in-game editor). Link to comment
robhol Posted June 26, 2008 Author Share Posted June 26, 2008 Actually, I just figured out that Notepad ++ 5.0 supports custom keyword lists WITH code preview tooltips.. if anybody would like to help me with throwing together a database, that'd be great. 5.0 BETA can be found here, and I'll be checking it out. Link to comment
DutchCaffeine Posted June 27, 2008 Share Posted June 27, 2008 I be busy with my own editor. It is going to be the best editor for mta. So keep your eyes open. Link to comment
DutchCaffeine Posted June 27, 2008 Share Posted June 27, 2008 Nope, i'ts going to be released when it is done. And what do you mean with MTA commands? Link to comment
robhol Posted June 27, 2008 Author Share Posted June 27, 2008 What do you think I mean with MTA commands? All the MTA-provided functions... But will you be done SOON or will I have to look for another way to solve this in the meantime? Link to comment
DutchCaffeine Posted June 27, 2008 Share Posted June 27, 2008 I try to release it soon as i can but for now i have to much bugs and the project system need to be rewritten and also i need to build in an test server. All with all i thing it going to be released when DP 3 is released. 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