41 Results
[QUOTE=FPtje;40168631]how about a built in think hook that resumes all registered colourings every frame? that could be useful for generating systems, and prevents users from having to make this think hook themselves.[/QUOTE] That's kind of what I was thinking. A fire an...
garry Developing Reply
I don't think it's meant to. It works like a pcall, it returns false and the error iirc. Do you think we should have a built in system to attach a coroutine to.. so it resumes every cycle?
garry Developing Reply
Is there anything that would be useful to have built in for you for the coroutine stuff?
garry Developing Reply
This one? [hd]http://www.youtube.com/watch?v=4rYp2mFPp-E[/hd]
garry Developing Reply
A few NextBot things [hd]http://www.youtube.com/watch?v=6IGgt3YuXp8[/hd] The behaviour code is a coroutine [img]http://puu.sh/2pu6M[/img]
garry Developing Reply
You can run any script you want - but please don't!
garry Developing Reply
[QUOTE=Drakehawke;39998854]falco doesn't like that, DarkRP forces it to 1 if i remember rightly[/QUOTE] Haha really?
garry Developing Reply
Took a bit of fucking about.. but I got coroutines working flawlessly. Turns out destruction aren't called when a Lua error is thrown.. that ass fucked me for quite a while! [editline]20th March 2013[/editline] Now I need to stop coroutines without a yield making infinite...
garry Developing Reply
Sorry for forcing you to change your routine - but this is the right forum for it.
garry Developing Reply
Gamemodes + addon forums is for releases/wips, this forum is for development. There's arguments for it to be in either forum - but I think it belongs more in here.
garry Developing Reply
Decided to use coroutines for the nextbot system. I was going to emulate what Valve do in-engine.. but I figured it's probably best to use our strengths as a scripting language.
garry Developing Reply
*2000 posts
garry Developing Reply
Everything I do is on SVN [url]http://garry.tv/2013/03/11/paths/[/url]
garry Developing Reply
I won't be adding their entities into GMod like I did with the HL:S Npcs. [url]http://garry.tv/2013/03/07/next-bot/[/url]
garry Developing Reply
Binding the nextbot stuff.. [vid]http://puu.sh/2dz4G[/vid] [img]http://puu.sh/2dzeO[/img]
garry Developing Reply
Haha that's awesome
garry Developing Reply
Could potentially add l4d style NPCs too
garry Developing Reply
Better scripted NPCs
garry Developing Reply
Looking at binding the NextBot stuff.. this is gonna be fun! FYI all the TF2 bots, and NPCS and all of the L4D NPCs and bots use the NextBot stuff.
garry Developing Reply
Done
garry Developing Reply
Yeah - that'd be rad
garry Developing Reply
I'm gonna add them all to the sidebar, and make the search box filter them all [editline]27th February 2013[/editline] But yes, I will do that too
garry Developing Reply
All the class functions are converted to the new form system on the wiki [url]http://wiki.garrysmod.com/page/Category:Class_Functions[/url] Here's a list of 1000+ functions that aren't documented [url]http://wiki.garrysmod.com/page/Category:Incomplete_Functions[/url] ...
garry Developing Reply
Why does it hurt the eyes now? The background was white anyway? [editline]27th February 2013[/editline] [QUOTE=highvoltage;39727430]I'll post this here because its about what Garry is working on. Before I logged into the wiki the pages appeared fine, but after I logged in e...
garry Developing Reply
Got the 'generated' function page working better.. You can click on the categories at the bottom to get a list of those functions. [url]http://wiki.garrysmod.com/page/notification/AddLegacy[/url] Can edit it and it lays it all out automagically :) [url]http://wiki.gar...
garry Developing Reply
Glad to know that someone appreciates all the work I'm doing
garry Developing Reply
[QUOTE=bromvlieg;39723826]Thank you garry for making the wiki artist friendly, could you now make it developer friendly too?[/QUOTE] Thanks for being late
garry Developing Reply
Skull fucked the wiki further. Here's a list of functions [url]http://wiki.garrysmod.com/page/Category:Functions[/url] Here's a list of functions that need information [url]http://wiki.garrysmod.com/page/Category:Incomplete_Functions[/url] When you edit a functi...
garry Developing Reply
I'll try to add support for that too [editline]25th February 2013[/editline] Ok, it's looking for gma's in the root folder now. So if you wanted to you could put them in garrysmod/* - but you can make an addon to hold them - and put them in garrymod/addons/gma/* and they'll ...
garry Developing Reply
All folders in /addons/ will be mounted now - regardless of addon.txt existing inside or not. I'm making this change because I never liked the addon.txt solution (to not mounting old addons) and I feel like if people haven't removed/deleted their old incompatible addons by ...
garry Developing Reply
Ooh, is it the same thing? in the properties menu? You should have make a pull request - it would have saved me some time :v:
garry Developing Reply
Huuuh?
garry Developing Reply
Bodygroups property! [img]http://puu.sh/26CHt[/img]
garry Developing Reply
Yeah I will make one for the drive system. The drive system is pretty much the same thing though - it's just a nicer class based way to create new move types. [url]https://github.com/garrynewman/garrysmod/tree/master/garrysmod/lua/drive[/url]
garry Developing Reply
Explained the game movement system [url]http://wiki.garrysmod.com/page/Lua/Tutorials/Game_Movement[/url]
garry Developing Reply
Documented the entity editing stuff on the wiki that everyone hates [url]http://wiki.garrysmod.com/page/Editable_Entities[/url]
garry Developing Reply
[QUOTE=Drakehawke;39553490]If it's shipped with GMod then you may aswell just let the community contribute to the existing suitable libraries via GitHub, if it isn't shipped with GMod then it'll probably just end up like the dozens of other community created libraries. Or d...
garry Developing Reply
Then do not bother trying to contribute. This idea isn't for people that can't think of anything to contribute.
garry Developing Reply
I'm not talking about extra libraries. If a function belongs in util - then add it to util. If a function belongs in render, then add it to render etc. I'm not suggesting a new library called std with everything piled in.
garry Developing Reply
The util library consists of functions I find useful, not functions that the community agree are useful.
garry Developing Reply
Would be cool to have a kind of std library for GMod, with a lot of common functions that are used?
garry Developing Reply