[QUOTE=Dacheet]You should (if possible) Make it so that hollow props (Dumpsters, those blue barrels, etc.) can be smartsnaped on the inside.[/QUOTE]
Like killer_steel said. I've had thoughts about allowing "snap models" that would allow arbitrary snapping surfaces but it boils down to a lot of problems and massive amounts of work for each model.
This is the best addon so far because there isn't 10 updates like dismemberment mod, (1.1, 1.2, 1.3, 1.4, ect)
I seriously couldn't live without this!
Holy fucking shit! 45418 downloads!
What would you expect from one of the games best addons :P?
It works on everything, but the physgun, why is this?
[QUOTE=JDMT]It works on everything, but the physgun, why is this?[/QUOTE]
If you snap while using the physgun, smartsnap will center the aim while the physgun will move the prop to the beam causing your aim to drift continously. If you really want it you can always snap with any tool and then just switch to the physgun while still snapping.
(It's also because I didn't want the grid showing up all the time, but only when you are building)
It's best just activated on the toolgun.
I'm still suffering a large fps hit when the grid shows after the last update. I have an 8800gt, framerate will usually dump from 100+ to 2-3 fps every time i put the crosshair on a new prop. If I pull out the physgun the lags go away.
[QUOTE=Jeramiah]I'm still suffering a large fps hit when the grid shows after the last update. I have an 8800gt, framerate will usually dump from 100+ to 2-3 fps every time i put the crosshair on a new prop. If I pull out the physgun the lags go away.[/QUOTE]
Then it is something else, the "fps drop" people were talking about is basically stuttering that would appear before, but it wouldn't be massive, it would just be every now and then.
As for your problem I honestly have no idea, it could possibly be some other addon that messes up or some bug in garrysmod. But I doubt it is anything in SmartSnap considering its simple nature. Trying temporarily removing your other addons and see if it persists.
I wouldn't say its massive, it studders after highlighting props. I have tested it alone without other mods just to pinpoint the root cause and determined it to be this mod. Every time I highlight a prop it drops to 2fps for rougly half a second and comes back 50. If I then switch to the grav gun, the FPS shoots up to 200+. If I spawn 10 huge boxes around me and spin in a circle with a tool out, which puts a grid on all of them, and then stop spinning, It seems to then have 10 consecutive drops to 2 fps, evenly spaced out in the same frequency I highlighted the boxes, as if it takes a short time for the lags to begin. I have also insured to have the latest version.
Now that is interesting...I don't think we've encountered a problem like that...have you tried turning off the grid, see what happens without the draw code initializing? Oh, and check console for any lua problems.
[QUOTE=Jeramiah]I wouldn't say its massive, it studders after highlighting props. I have tested it alone without other mods just to pinpoint the root cause and determined it to be this mod. Every time I highlight a prop it drops to 2fps for rougly half a second and comes back 50. If I then switch to the grav gun, the FPS shoots up to 200+. If I spawn 10 huge boxes around me and spin in a circle with a tool out, which puts a grid on all of them, and then stop spinning, It seems to then have 10 consecutive drops to 2 fps, evenly spaced out in the same frequency I highlighted the boxes, as if it takes a short time for the lags to begin. I have also insured to have the latest version.[/QUOTE]
That's odd, could be a worse case of the lua garbage collector (something must've broke in gmod or lua), which was the cause for the previous stuttering, which is currently fixed by increasing the rate at which the garbage collector is run.
But, it is odd that it happens when the grid appears, because, there is no special code for showing the grid, it is the same code that is run every frame. Which makes me believe that it isn't the really the fault of SmartSnap.
Either it is some other addon that is conflicting in some weird way, or the lua garbage collector is going bonkers on you for some reason. If you want to fiddle some, you can open the smartsnap-lua file and look for "collectgarbage" and fiddle with the specified values and see if it makes any difference, but I doubt it will. If that doesn't help I have no idea what could be wrong.
Are you sure you aren't checking the phys box in a special way for the draw code? Because it might be a fault or a mistake in the collision check :S.
[QUOTE=Killer_Steel]Are you sure you aren't checking the phys box in a special way for the draw code? Because it might be a fault or a mistake in the collision check :S.[/QUOTE]
There are no collision tests or anything done, it simply reads the bounding box and then draws the grid. Next frame, read the bounding box, draw the grid, and so it goes. It does do some minor caching on the first frame, but it is really minor, and it was previously run every frame without any noticeable implact.
Just the fact that it drops from 200 to 50 for you leads me to believe there is something else wrong, I only notice a small drop in FPS when the grid is shown (nothing even close to 50%, much less 75%). And as far as I can tell, you seem to be the only one having this problem.
[QUOTE=Syranide]There are no collision tests or anything done, it simply reads the bounding box and then draws the grid. Next frame, read the bounding box, draw the grid, and so it goes. It does do some minor caching on the first frame, but it is really minor, and it was previously run every frame without any noticeable implact.
Just the fact that it drops from 200 to 50 for you leads me to believe there is something else wrong, I only notice a small drop in FPS when the grid is shown (nothing even close to 50%, much less 75%). And as far as I can tell, you seem to be the only one having this problem.[/QUOTE]
I may be the only one having the problem and it is a mystery. Having no other addons or client side luas installed it still exibits the same lag. Smartsnap alone lag when I highlight props to draw the grid, if I turn the grid off, it stops lagging. I will experiment with the garbage collector now and see what happens.
[b]Edit:[/b]
I don't know lua very well. All I found is this and don't understand what it does or how its causing a framerate drop.
--ErrorNoHalt(collectgarbage("count"))
if GetConVarNumber("snap_gcboost") != 0 then
collectgarbage("step", GetConVarNumber("snap_gcstrength"))
Well I have a problem with smartshop, but i love the work it's just i bug :).
This is how it is when i join a server the smartsnap won't load and that mean i can't use it. But if i start singleplayer then join a server smartsnap load and it work, the thing is that i don't like the time it takes to join two servers insed for one.
[QUOTE=sunike]Well I have a problem with smartshop, but i love the work it's just i bug :).
This is how it is when i join a server the smartsnap won't load and that mean i can't use it. But if i start singleplayer then join a server smartsnap load and it work, the thing is that i don't like the time it takes to join two servers insed for one.[/QUOTE]
It should work when you join servers, however, if you have an old version, or an incorrectly updated version (remote the entire folder!), then this might happen. It might also happen if the server has some conflicting version.
[QUOTE=Syranide]It should work when you join servers, however, if you have an old version, or an incorrectly updated version (remote the entire folder!), then this might happen. It might also happen if the server has some conflicting version.[/QUOTE]
Okay, thanks, I think it's the server then, I got the newes version. I will soon find out about it :).
What the hell is this doing all the way at page 3?
such a perfect and great tool should belong on the front page!!!
(sorry for the bump but i see to many not knowing this tool, AND THEY SHOULD!)
Indeed, cmon Syranide, put the newest on the front page in the OP, GET TO IT MORE PEOPLE SHOULD KNOW ABOUT THIS!!!!
[QUOTE=Killer_Steel]Indeed, cmon Syranide, put the newest on the front page in the OP, GET TO IT MORE PEOPLE SHOULD KNOW ABOUT THIS!!!![/QUOTE]
Say what, the newest version to download is in the OP.
However, I cannot control where this thread is among the other relases.
So latest is 1.0?
[QUOTE=jiggu2]So latest is 1.0?[/QUOTE]
Yepp!
(The older ones were 0.x, aka beta)
This is going to help me a lot.
THIS IS AWESOME and so useful and more...
Greetings everyone :D
This is a "must have" addon for sure. I can't live without it, as I'm a perfectionist when it comes too precision.
So, ofcourse you have been LUA king'd. ^^
Thank you!
It just stopped working for me.
No grid showing and no snapping.
Tried reinstalling gmod and put a fresh copy of smartsnap as only addon.
Still doesnt work.
[QUOTE=snilton;13730049]It just stopped working for me.
No grid showing and no snapping.
Tried reinstalling gmod and put a fresh copy of smartsnap as only addon.
Still doesnt work.[/QUOTE]
Same problem here.
Sorry, you need to Log In to post a reply to this thread.