Subscribe
 Post #1
 23rd December 2006
OverloadUT's Avatar
December 2006
389 Posts

OLStacker
by Greg "OverloadUT" Laabs
v2.2

Download: OLStacker_2.2.zip
This STool is included in my STool Pack.



Overview

This is a STool that makes stacking props very easy. Simply fire at the prop you want to stack and there will be a perfectly aligned duplicate prop on top of it. You can choose to stack in any direction, and if you want it stacked relative to the world or the prop. It also has special support for PropDefender so that your duplicated props will be owned by you.


Installation

Extract this archive to your garrysmod/garrysmod directory. The files will be placed in the appropriate folders.


Configuration and usage

Once you install this, the "Stacker" tool will show up in the list of tools, in the "Construction" category.


Changelist

v2.2
= Updated to work with the latest patch. NOTE: Due to a Garry's Mod bug, the stacker will no longer prevent objects from spawning outside of the world. This will hopefully be fixed soon.

v2.1
= Fixed it so it works in singleplayer.

v2.0
+ Added a checkbox to adjust rotation of the stacked props on each spawn. This allows you to things like arcs and spirals.
+ Added a ghost preview of the first item in a stack. You can even adjust the values and watch the ghost update instantly.
= Changed the X,Y,Z offsets to be relative to the prop being stacked. This has a big effect on how these offset values change the stack, but it's a good change that gives you a lot more power.

v1.5.1
= Fixed it so cleaning up all props will include props created with the stacker

v1.5
+ Added a button to reset all of the advanced options back to 0
+ Added a button to auto-weld the stacked props together
+ Added a button to make each prop in the stack nocollide with the prop below
= Changed the way I detect if the desired position is outside the map.

v1.0
+ First Release


If the stacker stool is not working, check the following folders for a "ol_stacker.lua" file:
garrysmod\garrysmod\gamemodes\sandbox\entities\wea pons\gmod_tool\stools
garrysmod\garrysmod\lua\weapons\gmod_tool\stools

If there is a "ol_stacker.lua" file there, delete it. This is caused by some people redistributing my stools incorrectly.
 Post #2
 23rd December 2006
The Pope Man's Avatar
November 2005
1,714 Posts
man that is cool,can you say easy fort building?
 Post #3
 23rd December 2006
sHiBaN's Avatar
April 2006
898 Posts
Holy shit. This is so awesome. I can now stack props easily without worrying about ECS and the hassle. THANK YOU!
 Post #4
 23rd December 2006
catfishtango's Avatar
June 2006
622 Posts
I never thought I would would bother downloading additional tools for gmod10, but THIS one is definitely worth getting.
 Post #5
 23rd December 2006
sHiBaN's Avatar
April 2006
898 Posts
OverloadUT, you're my LUA god. Don't stop posting Stools please.
 Post #6
 23rd December 2006
Technicha's Avatar
November 2005
1,523 Posts
This is brilliant!
Downloading
 Post #7
 23rd December 2006
Gold Member
Skorpy's Avatar
July 2005
4,208 Posts
Awesome.
 Post #8
 23rd December 2006
Safefire's Avatar
January 2005
97 Posts
I actually prefer stacking via console commands, but this is very useful too. Lua king for you my friend :)
 Post #9
 23rd December 2006
JackHoper's Avatar
March 2006
221 Posts
Great Work! This truly enhances my gmod experience.
 Post #10
 23rd December 2006
totster15's Avatar
December 2006
488 Posts
Awesome job and as i keeo saying on all of your releases "Great Job And Keep Up The Good Work" This is really good anyway lua king'd
 Post #11
 23rd December 2006
goncalo's Avatar
November 2006
7 Posts
I must say that this stool is better than the ECS thing, :D Nicely done.
Got to lua king you :)
 Post #12
 23rd December 2006
Gold Member
mike's Avatar
October 2005
13,904 Posts
I warrant this makes barrel spam easier.

Gigantic towers of doom are fun.

 Post #13
 23rd December 2006
Gold Member
kobilica's Avatar
March 2006
2,364 Posts
Whoa OverLoad...your Stools will really overcrash forums :).
Don't stop releasing,and Lua king for you :).
 Post #14
 23rd December 2006
lord hobo's Avatar
June 2006
1,707 Posts
dude that is so helpful keep posting the stools
 Post #15
 23rd December 2006
thed3f's Avatar
August 2006
285 Posts
This is infinitely helpful, and easy. Kinged.
 Post #16
 23rd December 2006
makatut's Avatar
January 2006
777 Posts
I love you Ol keep up the good work
(i'm not gay)
 Post #17
 23rd December 2006
MadMax417's Avatar
July 2006
20 Posts
Nice i love it thank you!
 Post #18
 23rd December 2006
Gold Member
Fijgum's Avatar
September 2005
2,870 Posts
Whoa, I think we devinetely need a new rating thingy.

It would be called "OverloardUT-Like" and would count as a hundred gold stars.

You're awesome and your stools too O.O
 Post #19
 23rd December 2006
SuperV's Avatar
March 2005
662 Posts
Best STOOL ever!!!!!

Please add these ideas in next version:

Checkbox( Stack welded to world )
Button( Reset values ) this will be useful for reset xyz and rotations

Please! Lua king'd.
 Post #20
 23rd December 2006
haooken's Avatar
December 2006
11 Posts
A+ #1! Definitely makes forts and stairs easier. Oh, and mike, be carefull where you toss explosives, hehe.
 Post #21
 23rd December 2006
waldwicht's Avatar
February 2005
64 Posts
Hey,
great stool you made there.

But I get these weird small white pixel boxes every time I stack a prop.





Can you tell me why?

Edit: Just reinstalled Gmod10 and installed only this stool. Still the white boxes :-(.
 Post #22
 23rd December 2006
Pure's Avatar
November 2006
743 Posts
I don't know why you would get those. They look like they are in the skybox though...

Nice stool king'd.
 Post #23
 23rd December 2006
BODYPRINT's Avatar
December 2006
153 Posts
OL, thanks for taking STOOLS and using your imagination on them. I love the way you go, "What would I like in my STOOL"!!

Awesome work man.

Could you add an autoweld/nocollide function to it for the next release?
 Post #24
 23rd December 2006
PsiSoldier's Avatar
April 2006
735 Posts
I would Lua-King you right now, but not while this bug is in there. After changing the rotation to a number other than 0 it seems you can't set it back to 0, only -1 or 1.
 Post #25
 23rd December 2006
Gold Member
Muscar's Avatar
July 2006
3,607 Posts
This fucking ownz!
 Post #26
 23rd December 2006
Property of T-Minus
Dennab
November 2005
4,823 Posts
waldwicht posted:
But I get these weird small white pixel boxes every time I stack a prop.

Can you tell me why?
Looks like a graphics card issue, overheating perhaps, or maybe just a poor fillrate. Turn down your graphics options and see if it still happens.
 Post #27
 23rd December 2006
BIGBITCH!'s Avatar
September 2006
1,042 Posts
F'ing thanks dewed.!!
 Post #28
 23rd December 2006
waldwicht's Avatar
February 2005
64 Posts
Cheeslick! posted:
Looks like a graphics card issue, overheating perhaps, or maybe just a poor fillrate. Turn down your graphics options and see if it still happens.
This problem only happens on gm_construct. Don't ask me why :-(.
 Post #29
 23rd December 2006
Gold Member
Termy58's Avatar
September 2006
7,398 Posts
waldwicht posted:
Hey,
great stool you made there.

But I get these weird small white pixel boxes every time I stack a prop.

Can you tell me why?

Edit: Just reinstalled Gmod10 and installed only this stool. Still the white boxes :-(.
That isn't that stool's fault there is no evil white sky box command in his script or virii I checked it over.
 Post #30
 23rd December 2006
OverloadUT's Avatar
December 2006
389 Posts
PsiSoldier posted:
I would Lua-King you right now, but not while this bug is in there. After changing the rotation to a number other than 0 it seems you can't set it back to 0, only -1 or 1.
Just type in 0 manually. It's not a bug. I never use sliders because you can't make them exact. However, I will add a "Reset" button that will reset all of the offsets to 0 in the next version.

As for the white box thing - the only thing I can think of is that I am spawning some info_targets on each spawn to make sure it's inside the level, but that shouldn't make anything draw on your screen.

The next version will have an option to auto no-collide and auto-weld. I meant to put them in this version, but I forgot. :D

Edit:


Version 1.5 Released
See first post for download link

Changelist:

v1.5
+ Added a button to reset all of the advanced options back to 0
+ Added a button to auto-weld the stacked props together
+ Added a button to make each prop in the stack nocollide with the prop below
= Changed the way I detect if the desired position is outside the map.
 Post #31
 23rd December 2006
Blaat's Avatar
December 2006
1,181 Posts
This is fantastic, exactly what I have been looking for for a substitute for ECS.
 Post #32
 23rd December 2006
SuperV's Avatar
March 2005
662 Posts
Can you add a checkbox to spawn props welded to WORLD?

Also, when you stack props with no collide option, you cannot undo stacks.

And, last bug i found, totally messed up my weld stool.
 Post #33
 23rd December 2006
sHiBaN's Avatar
April 2006
898 Posts
One thing though, can you add this little fix to the next update? Can you make it so that the props you duplicate count toward your prop count? So, when I press the "cleanup" button, the props go as normal ones. Because what if someone spams them in a server, and the admin can't delete them, only by using the remover, clicking one by one....
 Post #34
 23rd December 2006
OverloadUT's Avatar
December 2006
389 Posts
If you are getting errors in the console I need you to post them. Props you spawn do count towards your prop limit, so if that's not working, a script error must be occurring.

And how does it mess up your weld stool SuperV? Please be more descriptive.

Edit: Okay, I did a bit of testing. Undo always works for me, no matter what settings I have. However, cleaning up all props does not work, and I know why. I will fix this for the next release.
 Post #35
 23rd December 2006
sHiBaN's Avatar
April 2006
898 Posts
Wait, yes, they do count towards my prop count. No errors on the console. But the props are not included in the "cleanup" function. It would also help if the stacker supported PropDefender.

:)
 Post #36
 23rd December 2006
FreeWilly's Avatar
November 2006
17 Posts
When you stack are the copies always frozen or can you turn that off?
 Post #37
 23rd December 2006
dev127's Avatar
September 2006
161 Posts
Wow, that's awesome. And so easy to use.
For some reason though I crash alot when making forts (not even too big ones).
 Post #38
 23rd December 2006
Gold Member
mike's Avatar
October 2005
13,904 Posts


Heeheee barrel tower.

I love this STOOL.
 Post #39
 23rd December 2006
haooken's Avatar
December 2006
11 Posts
mike posted:
Heeheee barrel tower.

I love this STOOL.
Nice! Now, for anyone interested,

To Crash Computer:
1) Shoot mike's barrel tower
2) ...well, that's it.
 Post #40
 23rd December 2006
OverloadUT's Avatar
December 2006
389 Posts
sHiBaN posted:
It would also help if the stacker supported PropDefender.
Are you saying that because you think it would be a good idea, or are you saying that because you checked and it does not currently?

Because it does. ;) But if it's not working, then I need to know!
 Post #41
 23rd December 2006
sHiBaN's Avatar
April 2006
898 Posts
I think it does, I said I think it would be a good idea.
 Post #42
 23rd December 2006
Dantai's Avatar
December 2005
1,791 Posts
Yay! No more confusing commands! I love this addon! and these !
 Post #43
 23rd December 2006
SuperV's Avatar
March 2005
662 Posts
OverloadUT posted:
And how does it mess up your weld stool SuperV? Please be more descriptive.
I'm really sorry, it was my fault. No problem with weld stool, the only bug is the one i descripted.
 Post #44
 23rd December 2006
OverloadUT's Avatar
December 2006
389 Posts

Version 1.5.1 Released
See first post for download link

Changelist

v1.5.1
= Fixed it so cleaning up all props will include props created with the stacker
 Post #45
 23rd December 2006
SuperV's Avatar
March 2005
662 Posts
Oh my god this is awesome! Now, please, add the "stack welded to world" option and I'll love you.
 Post #46
 23rd December 2006
sHiBaN's Avatar
April 2006
898 Posts
Thanks OverloadUT!
 Post #47
 23rd December 2006
PsiSoldier's Avatar
April 2006
735 Posts
Sweet, now that you have added the reset button (I don't know how to do it in console) you deserve a King :D.

Am I right in thinking this stacks ALL props (PHX and stuff), or did you only make it stack the default props that come with GMod10? (I can't test it at the moment, defragging drives :'()
 Post #48
 23rd December 2006
Gold Member
mike's Avatar
October 2005
13,904 Posts
PsiSoldier posted:
Sweet, now that you have added the reset button (I don't know how to do it in console) you deserve a King :D.

Am I right in thinking this stacks ALL props (PHX and stuff), or did you only make it stack the default props that come with GMod10? (I can't test it at the moment, defragging drives :'()
It stacks them all.

Yeah, I didn't have any lag on the tower, but I put dynamite on it and the moment I pressed the button the game crashed :(
 Post #49
 23rd December 2006
Cazull's Avatar
June 2005
1,798 Posts
This is sexual. If it works as good as it sounds you deserve every Lua King, and Gold Star I can muster.

Thanks so much, I can't wait to try this! Could you make a Stool that allows us to grab props like the physgun, but doesn't have that annoying "Prop being held turns with you" effect? I need it for precise positioning of props.
 Post #50
 24th December 2006
Exitus's Avatar
January 2005
1,081 Posts
What is it with everyone and wanting to copy my ideas?
Nice STOOL by the way - I actually just finished my version for a new version of ECS.
 Post #51
 24th December 2006
Drekmoon's Avatar
May 2005
30 Posts
This has got to be the best construction STOOL out there. Thank You.
 Post #52
 24th December 2006
Gold Member
Cey22's Avatar
December 2006
5,931 Posts
Freaking amazing. Wow Caz, you were right. This kicks ass.
 Post #53
 24th December 2006
Gold Member
mikfoz's Avatar
January 2006
14,934 Posts
Thank shizzle for that!

All that bloody setrot stuff just made me grind my teeth.

This has so got my download!
 Post #54
 24th December 2006
TomatoSoup's Avatar
December 2006
1,636 Posts
This is great.
 Post #55
 25th December 2006
Guest
mblunk's Avatar

n/a Posts
mikfoz posted:
Thank shizzle for that!

All that bloody setrot stuff just made me grind my teeth.

This has so got my download!
I don't think I'll be using this STool much because I've already mastered ECS, but setrot and all of those things are easy once you get used to them. I even have the axises for GM_construct memorized, and if you're good with ECS it's a better choice because it offers more options. I'm going to give your entire pack a go though, it looks great.
 Post #56
 26th December 2006
MagicHat's Avatar
January 2005
138 Posts
Thank you OverloadUT. I had been waiting for something like this. This is the most useful Lua yet. I love you.
 Post #57
 27th December 2006
kriztofo's Avatar
February 2005
7 Posts
This is one of the most useful STOOLs released thus far. I use ECS to do slight translation adjustments, but the Prop Stacker fits all of my fort-constructing needs.
 Post #58
 28th December 2006
BlackWeed's Avatar
December 2006
14 Posts
OverloadUT posted:
can you make it showing a ghost prview when looking at a prop?
 Post #59
 28th December 2006
OverloadUT's Avatar
December 2006
389 Posts
BlackWeed posted:
can you make it showing a ghost prview when looking at a prop?
I'll look in to the possibility. I am implementing a new feature that is going to be pretty neat. :)
 Post #60
 28th December 2006
Gold Member
Yotrig's Avatar
August 2006
5,239 Posts
Nice, had this since 1.0 but haven't posted here, this is an incredibly useful stool, thanks for the updates and thanks for yet another awesome stool :)
 Post #61
 28th December 2006
Gold Member
Dennab
November 2006
8,900 Posts
Really awesome job, I love using this to build walls.

 Post #62
 28th December 2006
GoldHawk's Avatar
September 2006
102 Posts
This is great for fort-wars! Good job, awesome don't stop make more STOOL :D
 Post #63
 28th December 2006
Thor Erik's Avatar
September 2005
276 Posts
Good job :)
You're awesome :D You shall never stop making STOOL's :D
 Post #64
 28th December 2006
Blood-Fury's Avatar
July 2006
206 Posts
Very nice STool! Very handy for stares and so on!
Sad that not alots of servers have the STool supported. :(
 Post #65
 28th December 2006
ThiefMaster's Avatar
March 2006
14 Posts
Nice thing, but an option to stack the target and everything welded to it would be useful sometimes (for example when creating a missile battery).

Additionally an option to turn off the check if something is already in the place where the new object would be nice. I added it myself (so i could stack barrels in tubes), but having it as a regular feature would be better. Or fix the current code so it doesn't think someone is in the way if there's a hole.
Currently you cannot do something like this: spawn a tube (from phx pack), stack it and then put a barrel in it and try to stack it.
 Post #66
 28th December 2006
OverloadUT's Avatar
December 2006
389 Posts
ThiefMaster posted:
Nice thing, but an option to stack the target and everything welded to it would be useful sometimes (for example when creating a missile battery).

Additionally an option to turn off the check if something is already in the place where the new object would be nice. I added it myself (so i could stack barrels in tubes), but having it as a regular feature would be better. Or fix the current code so it doesn't think someone is in the way if there's a hole.
Currently you cannot do something like this: spawn a tube (from phx pack), stack it and then put a barrel in it and try to stack it.
The next version has that feature improved. It will now only deny placement if there is an object in exactly the same place as the new object is trying to go. The feature was added because if you click to stack a prop on top of the same prop a couple times, two objects get created exactly on top of each other which causes lag city in a server, so I was tyring to prevent that. My first try was a little too strict, but this new implementation should never stop you from building normally, just prevent you from creating more than 1 stack on the exact same spot.
 Post #67
 31st December 2006
sHiBaN's Avatar
April 2006
898 Posts
Would be nice if there was something that pointed where a prop was going to be stacked. Maybe like a ghost feature. I pretty much dislike how you cannot stack anything if the prop is going to go through, say a map, or another prop. Although it is useful, it is at the same time quite annoying.
 Post #68
 31st December 2006
Warmonkey's Avatar
January 2005
39 Posts
This looks great, and for my first post in quite a while, I'll give you lua king! Anyway, is there an ETA of your next release, or is this a "when it's done" kind of thing?
 Post #69
 1st January 2007
OverloadUT's Avatar
December 2006
389 Posts
sHiBaN posted:
Would be nice if there was something that pointed where a prop was going to be stacked. Maybe like a ghost feature. I pretty much dislike how you cannot stack anything if the prop is going to go through, say a map, or another prop. Although it is useful, it is at the same time quite annoying.
If it didn't stop that, then props would spawn outside the world and would fall down forever, using up the server's processing power.

As for a release, Christmas has caused me to spend all my time killing zombies in a mall. After the holidays (Tuesday) I'll finish my update and release. :)
 Post #70
 1st January 2007
Gold Member
asXas's Avatar
March 2006
2,020 Posts
is it posibel to make this admin only? people spamms it. :S
 Post #71
 1st January 2007
OverloadUT's Avatar
December 2006
389 Posts
You could use Admin Mod along with my STool Restriction plugin (which will be updated/released in a day or two)
 Post #72
 1st January 2007
Gold Member
asXas's Avatar
March 2006
2,020 Posts
Awesome! thanks.
 Post #73
 1st January 2007
TheApathetic's Avatar
December 2006
53 Posts
This is an excellent replacement for ECS. A Lua King for you.
 Post #74
 4th January 2007
OverloadUT's Avatar
December 2006
389 Posts
Hurrah, it's done! This is a very exciting update that allows you to do some really awesome new stacks. See the screenshot for what I mean. :)


Version 2.0 Released
See first post for download link

Changelist
v2.0
+ Added a checkbox to adjust rotation of the stacked props on each spawn. This allows you to things like arcs and spirals.
+ Added a ghost preview of the first item in a stack. You can even adjust the values and watch the ghost update instantly.
= Changed the X,Y,Z offsets to be relative to the prop being stacked. This has a big effect on how these offset values change the stack, but it's a good change that gives you a lot more power.

 Post #75
 4th January 2007
BlackNecro's Avatar
June 2005
635 Posts
Ok I tried your new update and now ... nothing is workin :/ I can fire the stool but no new spawned props and no errors :/
 Post #76
 4th January 2007
OverloadUT's Avatar
December 2006
389 Posts
BlackNecro posted:
Ok I tried your new update and now ... nothing is workin :/ I can fire the stool but no new spawned props and no errors :/
Strange... Have you tried freezing a prop in the air first to make sure it's not a problem with which direction it's trying to stack? Double check that the settings are all good. Try resetting everything to normal: 0 on all advanced options, stack number at 1, and stack "up".
 Post #77
 4th January 2007
BlackNecro's Avatar
June 2005
635 Posts
OverloadUT posted:
Strange... Have you tried freezing a prop in the air first to make sure it's not a problem with which direction it's trying to stack? Double check that the settings are all good. Try resetting everything to normal: 0 on all advanced options, stack number at 1, and stack "up".
I tried that - nothing.
 Post #78
 4th January 2007
Gold Member
Muscar's Avatar
July 2006
3,607 Posts
I think you have to deinstall the old one first.

Edit:

Nope, it won't work, nothing happens. Please fix this, this stool is to awesome to be broke.
 Post #79
 4th January 2007
haooken's Avatar
December 2006
11 Posts
Yeah, I'm getting the same thing. I miss my stacker :( Please fix soon?
 Post #80
 4th January 2007
sHiBaN's Avatar
April 2006
898 Posts
Suggestions:

-Multiple select feature. Stacks take longer if you can only
stack one at a time, by one click.

-Stack mouse button hold. Stack by just holding the mouse button.
No need for single clicks.
Reply


All times are GMT. The time now is 05:32PM.

Facepunch Studios 2009 - Server 'Softlayer 2.0'