1. Post #1

    April 2009
    118 Posts
    *** The Wenli's Tools wiki page is now up! ***

    ok, so I've decided it's finally time to start releasing my tools! I made these purely out of necessity while trying to build my contraptions, so they're really for myself, but I think it's about time I cleaned them up and put them out there.

    For those of you who aren't aware, the Nodex servers are home of the best build tools in GMod, and here I'll be releasing three separate installments of some of my own contributions. These were prototyped and tested on Nodex, and have been used on the servers for a while. These tools have been really useful to me as well as the players there, so I hope you'll find them equally useful. I believe that if you learn how to use these tools well, they really will transform the way you build.

    As these are released I'll be cleaning them up and tweaking them for "general consumption", so bugs may still arise. Please let me know if you find any problems with them, or can suggest possible improvements.


    [release]RELEASE 1: Axis / Ball Socket Centre

    Forget linedraw or smartsnap, you won't need them once you have this. Axis and Ballsocket Centre are very simple, but with luck they'll end up all but replacing your current axis/ballsocket stools.

    They work by making constraints at the exact centre of mass of whatever you choose to constrain, so you can be as lazy as you like with your clicking and you'll still get perfect wheels and turrets every time. I created these tools to build the turrets and propellers on the original AC-130, so I can guarantee they really do the job!

    What's more, there's a special "rotation constraint" option in ball socket centre, that will act like a 0/0/0 adv. ballsocket that'll make two props keep the same rotation. The trick with this is that not only is it just one checkbox, but it creates three separate adv. ballsockets at the same point, one for each axis - so you'll find it's much more stable, and much easier and quicker to do than using regular adv. ballsocket. Give it a try![/release]
    [release]RELEASE 2: Physgun Build Mode

    Since the beginnings of GMod people have had to deal with constantly having to use-shift, right click, right click, use-shift to place things. No more! Physgun Build Mode adds a whole host of settings to your physgun, and it'll change the way you build. New settings include auto-freeze/sleep, auto-nocollide, GMod 9 style rotation, snap to grid, and snap to angles. If you're a person who uses the physgun but also demands precision, you'll want this tool. In fact, you'll find it useful even if you're like me and barely use the physgun for building.

    Fed up with constantly having to right click to freeze things? Keep needing to bring out the nocollide tool just to place props? Always having to use servers with smaller angle snap settings? With this everything's automatic, and each player can set their own settings individually so everyone's happy.

    To access Physgun Build Mode, just look in your Q menu Options tab. You can toggle it on/off there, or alternatively you can use the concommand "phys_buildmode" to toggle it on and off. I usually recommend binding it to a key for super quick access.


    In that video you might also spot me stacking and ignoring props - in case you're wondering, that's ECS, one of the other addons we have on Nodex.[/release]
    [release]RELEASE 3: Precision Alignment

    A lot of people have been eagerly awaiting this release, and with good reason; as it stands, I have no qualms claiming it as the most powerful, versatile building stool in GMod (and if you find that isn't true, let me know and maybe we'll both learn something new). It gives you absolute control over the positioning of individual props, with as much accuracy as Source will allow.

    The idea behind PA was to create a stool that would allow any prop to be aligned in any practical arrangement that could be mathematically defined in linear terms. Simply put, I built it to tackle any situation, so no more needing to nudge props bit by bit until they're "about right"; this tool is designed to get it exactly right, first time. No more messy corners, no more being forced to settle for anything less than perfect.

    PA is designed around creating and modifying objects I've called "constructs" - basically, points, lines and planes that represent 3D vector data. Think of these like construction lines you might use when drawing in CAD. PA is all about manipulating these constructs, and moving props between them. It sounds complicated but it'll become obvious once you see how it works.

    Be warned that since this stool is very versatile, that means it also has a lot of depth and it can require a bit of thought when doing complicated tasks. Once you know how to use it though, it can be faster than easy precision, and much more accurate.

    [/release]
    Downloads

    There are two ways to download these addons: as a .zip file from garrysmod.org, and via svn. Both versions will be kept equally up to date, although the gmod.org zip file contains Physgun Build Mode presets which are client-only.
    [release]To install, unzip the contents to steamapps\Email\garrysmod\.

    (If downloads are extremely low on that link, it's probably because I just updated the file!)[/release][release]Wenli's Tools has moved to Sourceforge, so be sure to update your downloaders
    SVN address: https://wenlistools.svn.sourceforge....ot/wenlistools

    The SVN version only includes the contents of the Wenlis Tools folder and goes in the addons directory. It does not include the Physgun Build Mode presets, and unlike the gmod.org zip file, does not go in the garrysmod folder.[/release]*** The Wenli's Tools wiki page is now up! ***

    Thanks to Hatred for random lua advice, and all the players who've been using and testing these tools for me!
    Reply With Quote Edit / Delete United Kingdom Show Events Useful x 59Lua King x 26Dumb x 13Artistic x 2Friendly x 2Informative x 2Agree x 2Funny x 2Lua Helper x 1Winner x 1 (list)

  2. Post #2
    InoUBtUDntnoMe's Avatar
    November 2009
    407 Posts
    Yay! :D:D:D:D:D:D:D:D
    Reply With Quote Edit / Delete United Kingdom Show Events Dumb x 14Agree x 8Optimistic x 1Disagree x 1Funny x 1 (list)

  3. Post #3
    Gold Member
    Kert97's Avatar
    August 2008
    1,001 Posts
    I think mapping section is the wrong place.

    Post it here: http://www.facepunch.com/forumdisplay.php?f=66
    Reply With Quote Edit / Delete Estonia Show Events Dumb Dumb x 2Funny Funny x 1Lua King Lua King x 1 (list)

  4. Post #4

    October 2009
    122 Posts
    Question sir, what does this have to do with mapping?




    But uh, nice tool.
    Reply With Quote Edit / Delete Canada Show Events Funny Funny x 2Dumb Dumb x 1Agree Agree x 1Lua King Lua King x 1 (list)

  5. Post #5

    April 2009
    118 Posts
    What the... I could have sworn I posted in the lua releases section. Can someone move this for me or should I do it manually?
    Reply With Quote Edit / Delete United Kingdom Show Events Funny Funny x 1Lua King Lua King x 1 (list)

  6. Post #6
    InoUBtUDntnoMe's Avatar
    November 2009
    407 Posts
    Nope >.<

    Or maybe yes >.<
    Reply With Quote Edit / Delete United Kingdom Show Events Dumb Dumb x 1Funny Funny x 1Lua King Lua King x 1 (list)

  7. Post #7
    Gold Member
    Santz's Avatar
    June 2009
    6,866 Posts
    Just PM a Gmod moderator asking for the moving of the thread, that should do it.
    Reply With Quote Edit / Delete Guatemala Show Events Informative Informative x 2Lua King Lua King x 1 (list)

  8. Post #8

    April 2009
    118 Posts
    ok I'll try that, ty
    Reply With Quote Edit / Delete United Kingdom Show Events Friendly Friendly x 2Dumb Dumb x 1Lua King Lua King x 1 (list)

  9. Post #9
    bitshift's Avatar
    August 2008
    31 Posts
    Great to see the release; sucks you put it in the wrong spot.

    Regardless, I recommend any serious builders to try the tools. They will take your building skills up a level.

    Even Billy Mayes wanted to sell them.
    Reply With Quote Edit / Delete United States Show Events Bad Spelling Bad Spelling x 3Agree Agree x 1Funny Funny x 1Lua King Lua King x 1 (list)

  10. Post #10
    Creator of Exsto
    Prefan's Avatar
    January 2009
    1,049 Posts
    Quality.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 10Lua King Lua King x 1 (list)

  11. Post #11
    Bull_Frog's Avatar
    December 2007
    74 Posts
    well its in the right spot now,... great start...
    Reply With Quote Edit / Delete Australia Show Events Lua King Lua King x 1 (list)

  12. Post #12
    Gold Member
    LimEJET's Avatar
    November 2007
    1,709 Posts
    I can not see a use for this. I have never wanted to axis/ballsocket something by its exact center.
    Reply With Quote Edit / Delete Sweden Show Events Disagree Disagree x 26Dumb Dumb x 14Agree Agree x 1Lua King Lua King x 1 (list)

  13. Post #13
    I AM A PUTRID FUCK WHO CHASES AFTER PEOPLE'S VANS, SCARES GIRLS, FELL FOR A RANDOM FUCK ON THE INTERNET WHO I'VE NEVER EVEN SEEN, AND SHOVED RUSTY NAILS DOWN MY COCK FOR THEM.
    demoniclemon's Avatar
    July 2008
    4,193 Posts
    I can not see a use for this. I have never wanted to axis/ballsocket something by its exact center.
    I think it will aid with one of those props where if you use smartsnap, the grid's length is unnecessarily doubled.

    Downloaded.
    Reply With Quote Edit / Delete United States Show Events Lua King Lua King x 1 (list)

  14. Post #14
    Gold Member
    Whitesinner0's Avatar
    December 2006
    954 Posts
    OMG, WENLI POSTED IT! LOl its me Brahe!

    I can not see a use for this. I have never wanted to axis/ballsocket something by its exact center.
    Oh you will. Trust me.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 11Dumb Dumb x 2Funny Funny x 1Lua King Lua King x 1 (list)

  15. Post #15
    Gold Member
    LimEJET's Avatar
    November 2007
    1,709 Posts
    I think it will aid with one of those props where if you use smartsnap, the grid's length is unnecessarily doubled.
    ...Then I change the grid size.

    Edited:

    Oh you will. Trust me.
    Example?
    Reply With Quote Edit / Delete Sweden Show Events Dumb Dumb x 3Lua King Lua King x 1 (list)

  16. Post #16
    I AM A PUTRID FUCK WHO CHASES AFTER PEOPLE'S VANS, SCARES GIRLS, FELL FOR A RANDOM FUCK ON THE INTERNET WHO I'VE NEVER EVEN SEEN, AND SHOVED RUSTY NAILS DOWN MY COCK FOR THEM.
    demoniclemon's Avatar
    July 2008
    4,193 Posts
    ...Then I change the grid size.
    Reply With Quote Edit / Delete United States Show Events Informative Informative x 1Lua King Lua King x 1 (list)

  17. Post #17
    Gold Member
    LimEJET's Avatar
    November 2007
    1,709 Posts
    ...Oh.

    Can't say I've ever had that problem.

    Then again, why would you want to constrain the middle of an APC to something?
    Reply With Quote Edit / Delete Sweden Show Events Funny Funny x 7Dumb Dumb x 2 (list)

  18. Post #18
    bitshift's Avatar
    August 2008
    31 Posts
    Welds don't care about hitpoint.
    Reply With Quote Edit / Delete United States Show Events Agree x 5Dumb x 1Informative x 1Bad Reading x 1Lua King x 1 (list)

  19. Post #19
    kp3
    Gold Member
    kp3's Avatar
    January 2008
    2,986 Posts
    ...Oh.

    Can't say I've ever had that problem.

    Then again, why would you want to constrain the middle of an APC to something?
    You can use this when making turrets and shit that need to be ballsocketed, axised in their exact center for stability.

    But i don't see why i should use this over axis and ballsocket linedraw. Do the same thing, except those are free'er.

    And adding 3 adv.ballsockets instead of one is dumb. Why would that increase stability? If they all limit the same axises, then maybe. But 3 ballsockets- 1 for each axis? What the hell. Just make sure you build facing +Y and you'll have no problems at all with the regular adv ballsocket.
    I don't want unnecessary constraint while building. I try to keep it at the very minimum, for stability.


    Okay, First when i read the post i thought, okay, decent for people who don't like linedraw. But when i read that about the ballsockets? What the hell.
    This is the reason i don't play on nodex. You over-complicate everything.

    I really hope that the axis thing includes an offset. Otherwise it's pretty much useless compared to easy-precision and smartsnap. I don't care if it's not as precise, What if i want my axis to be 10% higher than yours does it?

    But now, to be honest. I wouldn't have ranted this much in my post if you didn't say "the Nodex servers are home of the best build tools around". Because this tool isn't all that great.

    Great to see the release; sucks you put it in the wrong spot.

    Regardless, I recommend any serious builders to try the tools. They will take your building skills up a level.

    Even Billy Mayes wanted to sell them.
    Yes, because obviously it's the tools that decides how well of a builder you are. While the tools you use might aid you, they won't make you any better at building.

    TLDR;
    Get rid of your "rotation-constraint". It's stupid. If you remove it, Then this tool might be useful.
    I can see it being used when placing ballsockets in tight places where you can't linedraw.
    Reply With Quote Edit / Delete Sweden Show Events Dumb Dumb x 13Disagree Disagree x 2Agree Agree x 2 (list)

  20. Post #20
    Gold Member
    Whitesinner0's Avatar
    December 2006
    954 Posts
    Example?
    Well, for me, when I when I want to make a mouse aimed turret.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 1 (list)

  21. Post #21
    Gold Member
    LimEJET's Avatar
    November 2007
    1,709 Posts
    Well, for me, when I when I want to make a mouse aimed turret.
    I do it with an adv. ballsocket to the bottom of the gun/base/whatever.
    Makes it look more realistic.

    Hmm, ballsocket comes up as a spelling error.
    The checker's suggestion?
    Ballcock.
    Reply With Quote Edit / Delete Sweden Show Events Funny Funny x 16Dumb Dumb x 2 (list)

  22. Post #22

    April 2009
    118 Posts
    Typical FP rant
    whoa dude, calm down... this is a tool for people who want to use it. If you don't want to use it I honestly don't care, but I can assure you a lot of people do which is why I'm releasing it. You seem to be confused about a lot of things though, so I'll take the time and see where I can correct you. I wonder if I'm feeding the trolls, but at least I can clear up a few things about why I've done things this way.


    But i don't see why i should use this over axis and ballsocket linedraw. Do the same thing, except those are free'er.
    You contradict yourself when you say you prefer linedraw, but don't like ball socket centre because it's somehow more complicated. Linedraw is the epitome of over-complication. I have yet to see anyone use it for doing anything other than a centre-ball socket or axis, and it requires far more steps. If you've ever tried making multiple wheels or turrets, you can do it in a fraction of the time than you could with linedraw, because it's literally two clicks with the centre tools.

    Not only this, linedraw is useless if your prop's centre of mass happens to differ from the centre of its bounding box, which is surprisingly often. The centre tools allow you to get the centre of mass every time, and this is definitely not true for linedraw. The centre tools make the job much, much more simple, and allow you to create perfect ballsockets/axes in cases where it would be very difficult or even impossible with other tools.

    I don't want unnecessary constraint while building. I try to keep it at the very minimum, for stability.
    You don't seem to understand how adv. ballsocket works. Try making an adv. ballsocket to world with 0/0/0 axis limits, then try rotating it with the physgun. It's really unreliable, even if you use lots of them. By creating separate ballsockets for each axis, this solves the axis limits problem and actually ends up making it much more stable, not less.

    You also don't mention it here, but you mentioned on the servers that constraints somehow increase player lag. They don't at all; the only impact that additional constraints make is on server CPU load, and creating 3 axis limits rather than 1 is absolutely negligible. The end result is it creates a much more stable rotation constraint without affecting players at all. The only tangible thing you'll notice is slightly increased dupe times, but even that is negligible unless you're creating many, many constraints - which isn't great building practice regardless of what methods you're using.

    The other benefit is that the rotation constraint is extremely quick to do, and it's much easier for players because they don't need to fiddle with settings or set anything up. You just enable the checkbox and click-click and it's perfect every time.

    I really hope that the axis thing includes an offset. Otherwise it's pretty much useless compared to easy-precision and smartsnap. I don't care if it's not as precise, What if i want my axis to be 10% higher than yours does it?
    If you don't want an axis in the centre of mass, then don't use axis centre! It's not like I'm stopping you from using regular axis. I made these tools to work in conjunction with other tools, not act as a complete replacement.

    This is the reason i don't play on nodex. You over-complicate everything.
    You only say this because you don't understand the tools that we use. Once you learn them, you'll find that they make building much more efficient and much more accurate, and will allow you to do things that would be basically impossible on any other server. You can think of it like shaping metal with a hand file compared to using a CNC machine; you can still do amazing things with the file, but if you get an equally skilled person on the CNC machine it'll take a fraction of the time and will end up far more refined.

    While the tools you use might aid you, they won't make you any better at building.
    This is only true to a certain extent. While using better tools won't make a terrible builder into a good one, it can definitely allow people to do things that they couldn't otherwise. I don't think anyone can argue that faster and more precise building isn't "better". And let's be honest, are you seriously complaining about having better tools?

    The truth of the matter is that the default tools, and the tools that are available to most servers, are just plain crap. If you look at it objectively, they're so basic and ancient that they really limit how well you can do things. People only put up with it because it's always been that way and they've learned to work with what little they have. I think the last significant improvement was when smartsnap was released years ago. On Nodex we've tried to address that and improve the way people build, and I think to a large extent we've been pretty successful.
    Reply With Quote Edit / Delete United Kingdom Show Events Agree Agree x 26Friendly Friendly x 6Informative Informative x 1Winner Winner x 1 (list)

  23. Post #23
    InoUBtUDntnoMe's Avatar
    November 2009
    407 Posts
    Rated Agree.
    Reply With Quote Edit / Delete United Kingdom Show Events Friendly Friendly x 8Agree Agree x 3 (list)

  24. Post #24
    kp3
    Gold Member
    kp3's Avatar
    January 2008
    2,986 Posts
    Tried some of the stuff at nodex. While this one wasn't that interesting the other ones were really impressive.
    Reply With Quote Edit / Delete Sweden Show Events Friendly Friendly x 7 (list)

  25. Post #25

    April 2009
    118 Posts
    Yeah, next release will be this weekend. I'm doing them in rough order of complexity.
    Reply With Quote Edit / Delete United Kingdom Show Events

  26. Post #26
    I AM A PUTRID FUCK WHO CHASES AFTER PEOPLE'S VANS, SCARES GIRLS, FELL FOR A RANDOM FUCK ON THE INTERNET WHO I'VE NEVER EVEN SEEN, AND SHOVED RUSTY NAILS DOWN MY COCK FOR THEM.
    demoniclemon's Avatar
    July 2008
    4,193 Posts
    ...Oh.

    Can't say I've ever had that problem.

    Then again, why would you want to constrain the middle of an APC to something?
    The APC isn't the only model with that grid error, plus it can be useful for props that don't have a center like the PHX cylinders.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 1 (list)

  27. Post #27
    kp3
    Gold Member
    kp3's Avatar
    January 2008
    2,986 Posts
    Yeah, next release will be this weekend. I'm doing them in rough order of complexity.
    Can't wait for phys_buildmode. Really innovative and awesome.
    Reply With Quote Edit / Delete Sweden Show Events Funny Funny x 3Dumb Dumb x 1 (list)

  28. Post #28
    Gold Member
    Whitesinner0's Avatar
    December 2006
    954 Posts
    Wenli, can't wait for the tools. Your awesome! Good job on the phys_buildmode. And the most epic is the Precision Alignment!
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 1Bad Spelling Bad Spelling x 1 (list)

  29. Post #29

    April 2009
    118 Posts
    The second release is up! As always, let me know if you run into problems with it. I've updated the download, but remember to pay attention to which folder you extract it to as it's no longer just addons.
    Reply With Quote Edit / Delete United Kingdom Show Events Lua King Lua King x 1 (list)

  30. Post #30
    ICDWILL117's Avatar
    July 2007
    16 Posts
    Quality.
    Nodex Quality.


    I fell in love with phy_buildmode when I first used it.
    Just waiting on capofamiglia to update ECS!
    *cough* Hat
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 3Bad Spelling Bad Spelling x 1 (list)

  31. Post #31
    Gold Member
    Whitesinner0's Avatar
    December 2006
    954 Posts
    Nodex Quality.


    I fell in love with phy_buildmode when I first used it.
    Just waiting on capofamiglia to update ECS!
    *cough* Hat
    Lol. Agreed.
    Reply With Quote Edit / Delete United States Show Events

  32. Post #32
    Gold Member
    SGTNAPALM's Avatar
    October 2007
    22,214 Posts
    Question:
    Is the Physgun Buildmode clientside? And if it isn't, is it possible to make the Physgun Buildmode an entirely clientside script?
    Reply With Quote Edit / Delete United States Show Events

  33. Post #33

    April 2009
    118 Posts
    Question:
    Is the Physgun Buildmode clientside? And if it isn't, is it possible to make the Physgun Buildmode an entirely clientside script?
    Unfortunately no, in fact it started out as a server-only script. Everything meaningful is done server-side since it's basically fighting against the C++ physgun code for control of the props. It's not the prettiest code ever written but it ended up working even better than I expected. I think even if I had direct access to the physgun it's all server-side anyway. The only thing that would be noticeably different is the way angle snap behaves, and even that would be a small difference.

    EDIT: I just added a sleep option to Physgun Buildmode, so you when you release props they'll sleep instead of freezing.
    Reply With Quote Edit / Delete United Kingdom Show Events

  34. Post #34
    bitshift's Avatar
    August 2008
    31 Posts
    Nodex Quality.


    I fell in love with phy_buildmode when I first used it.
    Just waiting on capofamiglia to update ECS!
    *cough* Hat
    The ECS is a lie!

    And you sir suck.


    Wenli, love the release and video... keep up the fine work. Unlike the other useless nodex admin, you actually release and participate in the community.

    Get a yob Will!

    ECS is now being worked on by someone else; my son. He will release it sometime soon.


    He is learning and will soon bring the end of the internet. lol
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 1Optimistic Optimistic x 1Funny Funny x 1 (list)

  35. Post #35
    kp3
    Gold Member
    kp3's Avatar
    January 2008
    2,986 Posts
    Oh god you released it!
    Awesome.

    I think it's become pretty obvious that i got myself a new favorite server.
    Reply With Quote Edit / Delete Sweden Show Events

  36. Post #36
    ICDWILL117's Avatar
    July 2007
    16 Posts
    The ECS is a lie!

    And you sir suck.


    Wenli, love the release and video... keep up the fine work. Unlike the other useless nodex admin, you actually release and participate in the community.

    Get a yob Will!

    ECS is now being worked on by someone else; my son. He will release it sometime soon.


    He is learning and will soon bring the end of the internet. lol
    Oh God he discovered the computer! We're all Doomed!
    We'll be seeing "Owned by Hatred Jr." on every website.

    But at least I still make videos for Nodex... Kind of. lol
    Reply With Quote Edit / Delete United States Show Events

  37. Post #37

    April 2009
    118 Posts
    The ECS is a lie!

    ECS is now being worked on by someone else; my son.
    Oh wow, great to hear... only another generation or two of coders until it's finished!

    Oh god you released it!
    Awesome.

    I think it's become pretty obvious that i got myself a new favorite server.
    Looks like we have another recruit... I'll take it as the best sort of compliment that we can turn even our most vocal critics into supporters.
    Reply With Quote Edit / Delete United Kingdom Show Events

  38. Post #38
    Gold Member
    Whitesinner0's Avatar
    December 2006
    954 Posts
    Great Job Wenli. Whats next on your list of releases?
    Reply With Quote Edit / Delete United States Show Events

  39. Post #39

    April 2009
    118 Posts
    Great Job Wenli. Whats next on your list of releases?
    haha, well I wouldn't want to give the game away so early... although I've already said I'm releasing them in rough order of complexity, so I think anyone who's been on Nodex should be able to guess already.
    Reply With Quote Edit / Delete United Kingdom Show Events

  40. Post #40
    ben1066's Avatar
    August 2009
    1,078 Posts
    Lemme guess, precision alignment, the best tool ever?
    Reply With Quote Edit / Delete United Kingdom Show Events Lua Helper Lua Helper x 1Late Late x 1 (list)