I noticed, while looking through a decompiled version of gm_construct_flatgrass_v5, a few entities with key values that I had never seen before. I did some searches and the only places where gmod_allowphysgun <boolean> and gmod_allowtools <string> show up, is in some really old posts on a Russian forum. (Yay chrome for auto translation)
Anyway, there is a link on there that goes to the gmod wiki, but due to it being wiped and the mirror having really bad navigation issues, there is not really any way I could look at the page it links to.
[URL="http://wiki.garrysmod.com/?title=Category:Specific_Keyvalues"]http://wiki.garrysmod.com/?title=Category:Specific_Keyvalues[/URL]
I think there might be other, unknown and possibly useful hammer entities and/or more key values that are unknown, and that is why I'm really wondering about this. It would be really useful to have brush entities that do things on a build server without players screwing them up by moving them. As well as being able to further optimize maps specifically for the sandbox game mode.
Also, is there a way that I could possibly get hammer to recognize these two key values? I have already added gmod's .fgd file to hammer's configuration... (Suprisingly it didn't do much.)
Image of the bush with the key values:
[IMG]http://i43.tinypic.com/33duoep.jpg[/IMG]
gmod_allowtool allows only the specified tools on the brush.
gmod_allowphysgun tells gmod to allow physgun picking it up or not.
Those are the only two. The lua_run entity doesn't work right afaik.
[editline]14th March 2012[/editline]
It used to be documented, but the site got wiped.
While I already have this thread up, I might as well ask about hammerid then.
That is from decompiling.
[QUOTE=Firegod522;35144017]gmod_allowtool allows only the specified tools on the brush.
gmod_allowphysgun tells gmod to allow physgun picking it up or not.
Those are the only two. The lua_run entity doesn't work right afaik.
[editline]14th March 2012[/editline]
It used to be documented, but the site got wiped.[/QUOTE]
Only one works AFAIK. Don't know which of the 2 it is.
They both do last I checked.
[editline]15th March 2012[/editline]
But that was back in 2009
gmod_allowtools broke sometime back in 2010 ish
I just tested them, and they both work as of April 3rd, 2012.
Although I only tested gmod_allowtools with the value 'none'; it could be broken otherwise.
In case anyone is curious, when gmod_allowphysgun is set to '0', the entity acts as though it is a func_detail, ie the physgun beam never locks on or turns white; the beam doesn't 'bend' as if it was frozen by another player or something.
An entity with gmod_allowtool = 0 acts as though it doesn't exist to the toolgun, like when you try to weld it to something, it is as if you never clicked. Instead of giving an error or failing, it just waits until you click something tool-able.
Here's a demo video:
[url]http://www.youtube.com/watch?v=qnlQzJPUcqY&[/url]
Sorry, you need to Log In to post a reply to this thread.