Thank you all very much!
I'll compile a mail to garry about this issue.
Thank you all very much!
I'll compile a mail to garry about this issue.
Same here! I was really concerned, thinking it was because of the new update. When the grid shows up in SmartSnap I get a bunch of stuttering and "micro-freezes" that last like 0.5 - 2 seconds at a time. That translates into my FPS tropping to the teens for a split second.
I wonder why that's happening?
Good luck, I was researching this problem for 9 days during the beta. It was driving me nuts. My normal frame rate would be like 80 then it would drop to 6 for a second every 30 seconds or so. Seems to do with the amount lua drawing that's done, seems to build up over time and snap back to normal. It got better in several of the updates, but I still notice it with smartsnap or with a lot of wires.
But even without addons its there (although some Lua is still running I guess), I can clearly see my FPS drop quickly every now and then, when I enable SmartSnap it simply gets amplified most likely because SmartSnap is required to draw every frame and thus for some reasons the drops gets unusually noticable.tad2020 posted:
Garry said that he will try to look into it, but I'm guessing the cause might be quite complex to find.
The amplification is the troubling part; the more lua drawing you do, the more frequent and longer those drops get. Sometimes I'll be get 80 average for 25 seconds then it will drop to 6-8 for 4 seconds, then return to 80 and repeat.
it still does not work with the gmod update :( I deleted the old version and put there the new one. Anyone knows what to do? I have it enabled in the settings
Check the console for errors, and just to make sure, look through the settings to make sure nothing is odd (like fully transparent grid, etc).VitasLoWang posted:
oh I made it working again! I have recently moved all lua, materials, models and sounds from addons to their folders, because I have read somewhere, that it will speed up loading of gmod. OK maybe it did, but the file client.lua stayed in lua/autorun and was not overwritten by it's newer version from addons :o Why? Now it seems I have the sasme problem with wire - it does not appear at all in the game :-]
aha I got it! I had wire folder and under it another one and wire model pack 1 instead of having it directly under addons...
I have .9.4 but since the update the in-game menu for smartsnap (and propsecure too, but that's another issue) has vanished when on my usual server. The server has the same version of SS installed, and other users report it working fine. Any ideas? =/
SmartSnap is the building assistant to end all projects, it's helped me through planes and tanks, boats and artillery, and everything in between. This has been a great asset to the community.
Sorry for the late response Syranide, the idea you stated (Auto-Toggle off) was interesting and I'd like to see that happen (perhaps also an option to turn Auto-Toggle on/off). Another thing that would be rather handy is the ability to change the color via the color wheel (the wheel in the Color stool that allows you to change colors).
any news from garry for the FPS drops ?
i binded the mouse4 and mouse5 to turn on/off the smartsnap, because even if i'm not aiming at something to see it's grid, i get fps drops and freezes, it's impossible to play like that...but if you turn it off when you aren't going to use it, the game works great :)
Still useful, just installed for the update.
Sorry, been busy lately, anyways.
No idea actually, it has changed placement though, it's under player now I believe. Or I just remember wrong.Nick Seafort posted:
Glad ot hear it ;)Killer_Steel posted:
Ah, color yeah, never thought of that, I'll add it when I get a chance.aX Banano posted:
Of course, auto-toggle would be toggleable, same here, when I get time.
Sadly no, if he finds what the problem is it'll probably make the blog since it is quite major.HarZens posted:
By the way, you can actually bind one button if you want instead, don't remember the command right now, but you can toggle the grid using a command. "snap_toggle" or something like that.
that's good to know, i will find the command myself, thanks =)
I downloaded "29276_smartsnap094". If I understand its purpose correctly, it is a tool to aid placing props quicker and more precisely.
The problem I am having is that when I follow the instructions:
"If you press use (e), the mouse should snap to the point you look at, and will signal with colors how precise the placement will be...
I switch to the tool gun and I am left with whatever tool I was using before (ex. duplicator), so how do I pick up another prop to align it with the first one?
I'm having a bit of a dilemma here, using the latest version I've got no control panel in Utilities and when I press "use" once the grid will click off. This makes it very hard to get SmartSnap to actually align for me, oftentimes for only a second before the grid clicks off. Is there some way to manually disable the toggle? Such as editing a line in the code somewhere?
Sorry for the delay, been somewhat busy.
Well, it is not a tool for placing props quicker, but a tool for aiming more precisely. So it's basically just a helping hand for the other tools, for instance easy-weld and so on. So, you cannot place them in free air with precision, but you can weld and place stuff with perfect precision. And some people have come up with their own "combinations" to make certain setups etc, like axis-welding etc.Brinnie posted:
Hmm, that's strange, in 0.9.4 I moved the menu up a notch (in the player one now I believe), is it really in utilities, I thought it was in "options", but I might remember wrongly. I changed to garrysmod internal preset system for saving options (should be safer), but it's really strange how certain gmod installations seem to turn on the gridtoggle by themselves.MrDoomBringr posted:
Anyways, yes, there is a convar, don't have access to smartsnap at the moment, but check the "snap_*" convars, should be something like "snap_toggledelay", "snap_griddelay" or something like that, there aren't many of them anyway. Just set it to zero.
"Well, it is not a tool for placing props quicker, but a tool for aiming more precisely. So it's basically just a helping hand for the other tools, ..."
Thanks for the explaination.
Is there a tool for aligning props , for ex. rails, bricks ...?
That's what this tool is. It creates a grid on a prop that allows you to properly align it with the grid on another prop, or to evenly align thrusters on touch rockets, or dead-on accurate hydraulics.
It's an excellent build help tool.
And yes, it lets you align rails and bricks.
MrDoomBringr's reply wasn't quite accurate. You can align props using this and axis (or any other constraint that moves the original prop), but it isn't good if you just want props next to each other, not joined. For your purposes, you may find Easy Precision easier.
Very useful :D
Regarding the FPS drops, it seems the newest update of Gmod is much laggier with Lua drawing. Spawning a bunch of lua-rendered bouncy balls runs a LOT slower on the newest Gmod than it used to.
No more Chuck E. Cheese ball pits. :(
Yeah. FPS drops real bad sometimes :(
I would like to inform you that you have just won my personal BEST ADDON EVER award!
My escape pods fly STRAIGHT!!!!
Second only to spacebuild.
Actually, no, better, because SB is no fun if nothing flies straight.
Best Addon EVER :D :D :D
coming from a guy with negative smartness...Oh well, I agree that this is the best AIM ASSISTER ever, better than many aimbots, including JetBot, which doesn't work...At all.
Nice job dude, this helps me in everything I make.
When easy-welding two things together is there a way to have the rotation snap to angles using this this? (like shift-e with physgun)
Or is that not built in and I need a special easy-weld tool instead?
I accept if you don't want to implement this into SmartSnap but I think it would complete the ability to make perfect welds.
Check the tool mentioned 6 posts above yours.
What Vir hinted, SmartSnap is only intended for aiming, and features like angles, position is left for other addons to implement, basically because I would have to implement special features for every tool otherwise and it still probably wouldn't work very well (aka, it would be up to easy-weld to implement that, or some other addon which does).BradB posted:
Thank, i been looking for something useful as this for a long time ^_^
Perhaps in the next version, you could make grids for the life support items? It would greatly help in spacebuild. :D Thanks
Turn on the option to display on all entities, it'll show up.
There is a anoying error when you use the sodan cloaking device from the stargate pack :
And i reported this on the stargate mantis but i heard it is a bug from smartnap.Code:Hook 'SmartsnapPaintHUD' Failed: autorun/client.lua:382: Tried to use a NULL entity!
It seems to be working, i can't recreate the error.
Great (it should be working).kevkev posted:
I'll upload it as an official version "soon".
Cool. Really cool i seen this on someones video and i wondered what it was.
Time for some goodies!
SmartSnap is now up to version 1.0.0, and guess what?
It appears that I found a cure for FPS drops, still I'd like to point out that it is not directly caused by smartsnap, but an appearingly not so clever garbage collector in Lua. I'd like to have feedback on how this works out for you all.
2008-03-30, v1.0.0 (important update):
● FPS drops when the grid is showing have been fixed, it is not directly caused by SmartSnap, but the use of SmartSnap increases per frame memory consumption and the garbage collector obviously handles this very poorly. Please give me some feedback on how this works out for you all.
● "default model offset" has been removed to improve consistency for model addons, it now hardcoded to 0.25 which appears to the default for the source models.
● Bumped to version 1 because it is about time now!
2008-03-30, v0.9.5 (useful update):
● Grid offset only affects the outer border of the grid now and does not scale the entire grids, provides better snapping for "building blocks".
● Per model offsets are now provided for each separate model addon instead, update your model addons! (links above)
● Added "click grid" mode, disables the grid until USE is clicked while looking at a prop, looking away from a prop disables the grid again.
● Fixed a very rare bug that causes SmartSnap errors (thanks kevkev)
Awesome finally is the damn lag gone!
Works as described, though the maximum fps is only very slightly lower with it on. Average fps over time is much higher thanks to this.Syranide posted:
Also, thank you so much for not scaling the whole grid by the outer offset anymore; before I used to snap by using the corners only, now I can use anywhere as long as it's not corner to non-corner and still remain as accurate :D
Regarding the custom offsets that are to be included in model addons; I've not changed custom offsets before. Is it easy enough to specify the same offset for all models in a pack? Like copy+paste the config then change the name to a different model?
I've just tested with my tiled blocks, and it seems 0.228 is slightly better than the default 0.25, though I'll need to test a bit more to get a more accurate reading, I suspect the offset will be the same for every model I make.