PSA: This was made for nutscript but can easily be converted for clockwork by simply changing the item skeleton.
Whipped up this little tool in a couple minutes (nothing fancy, just a private tool I thought I'd share to anyone else who wanted it) because it was absolute pain to make items on the fly in garrysmod for nutscript, as you had to first make a new .lua file, rename it, open it, paste in the skeleton for the item, and then you'd have to fill it out. Filling it out consisted of Alt-Tabbing between Garrysmod and Notepad++ (even if dual monitors it's a hassle) and then moving your mouse all the way over there to paste in the model path and then save the file. What this does is creates a menu which not only is easily accessible, but eliminates most of the tedious foreplay required to make your items.
[url]http://pastebin.com/Y4XbRVB4[/url]
Saves items to .txt file in:
[quote]garrysmod\data\nutscriptitems[/quote]
To open/close the menu (I advise binding it to something):
[quote]nsitem_menutoggle[/quote]
[video=youtube;nXRy1tWWX80]https://www.youtube.com/watch?v=nXRy1tWWX80[/video]
Cheers!
Why is this better than just making and editing a Lua file directly?
Saves me about 10 seconds of time per item.
Just makes the workflow easier when I need to create a shitton of next to worthless items.
[video=youtube;CFFqVW5I1EM]https://www.youtube.com/watch?v=CFFqVW5I1EM[/video]
[video=youtube;BaXW40DrzSw]https://www.youtube.com/watch?v=BaXW40DrzSw[/video]
To my own amusement there is actually a 28-30 second different between the two (if you account for recording), which comes to about 14.5 seconds per item.
It may not seem like much but it's time saved nonetheless.
If you don't like the tool just don't use it lol
Or you could, you know, make it actually be worthwhile by making an in-game item editor (Which is not that hard.)
As in, editing the item tables live and networking the changes to clients.
[QUOTE=Kemerd;49312252]Saves me about 10 seconds of time per item.
To my own amusement there is actually a 28-30 second different between the two (if you account for recording), which comes to about 14.5 seconds per item.
It may not seem like much but it's time saved nonetheless.
If you don't like the tool just don't use it lol[/QUOTE]
If you're open to talking about time, how long did you take to write this?
Always nice to see people making stuff for people's stuff.
Where do I put this? O_O
[QUOTE=adelaideisbur;49327789]If you're open to talking about time, how long did you take to write this?[/QUOTE]
But how long did it take for you to download this :P
Also, not too long-- I'd say a minute or two at most.
It's helpful when I have to make an insane amount of items-- it adds up.
lmao just put all your items in one file and loop through an array to put the items together if you have 'a lot of items'
[QUOTE=Johnny Guitar;50482742]lmao just put all your items in one file and loop through an array to put the items together if you have 'a lot of items'[/QUOTE]
pls
your ruining my reasoning!!!!
Sorry, you need to Log In to post a reply to this thread.