+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Smartsnap (released)

  1. #1
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    Currently official thread: http://forums.facepunchstudios.com/s...d.php?t=322155 (download here too)

    I decided to make my own Autosnap, and I decided to make it really really good I and hope you will think so too. Because the old one had problems but still was really useful, so it was time to make one without most of thoste problems.

    Improvements
    • Black and white grid, so that is can be used for both black and white objects
    • Cursor indicates dangerous angles with red/yellow/green
    • The cursor is tilted to provide better visibility
    • The aim now perfectly snaps and is not affected by mouse movement, you can place an object from the other side of the map with pinpoint accuracy
    • You can position using the mouse in the context window, the cursor turns turqoise when the margin of error will be too big (the cursor is inprecise, when too far away)
    • It actually snaps to the grid, so you can even walk around the prop, still snapped to the same point, it never detaches unless you release the button
    • Proper grid coding, works on all square props, no model dependent stuff that I know of, if there is it can be fixed
    • The grid has been offset inwards very slightly, so that there is no longer a gap there (for most square props, less for the rest)
    • The grid has been properly offset from the corners so that they are useable (note: not scaled, because that sucks)
    • Blue markers for all the corners to improve visibility (will be toggleable)
    • Adaptive grid, adds more squares for larger objects (most likely toggleable)
    • The grid is selected by the mouse and not by the viewing angle (choosing which surface to snap to)
    • Constant time snap point finding, does not use nested loops to find out where the mouse is on the object (very very fast)
    I can't remember more at the moment I'm writing this.

    There will be a number of options, some for controlling the grid, and I'm having plans on less obtrusive mode, that simply just shows you small part of the grid where you look, or even just one intersection where you look so that you can still place objects without showing the entire grid everytime.

    Many thanks to Black Phoenix for help with some of the vector maths.

    Just to tease you a little I've added some pictures! Sorry for the poor quality however (and lack of creativity), there will be better later, or even better, you can try it out yourself very soon. I'm just polishing some small things, and then I'll give you a beta to play around with.

    [attachment=305:a.JPG]
    [attachment=306:b.JPG]
    [attachment=307:c.JPG]
    [attachment=308:d.JPG]
    [attachment=309:e.JPG]
    [attachment=310:f.JPG]

  2. #2
    Administrator Tad2020's Avatar
    Join Date
    Feb 2007
    Location
    California, USA
    Posts
    1,498

    Default

    [attachment=310:f.JPG][/b]
    That is impressive.
    "Our death ray doesn't seem to be working. I'm standing right in it, and I'm not dead yet." - Jamie Hyneman
    "Yes, managing the anonymous activity of the entire Internet is a challenge. Shoving the entire universe into a mason jar for use as a personal flashlight would also be a pesky bother." - Karl, BBR

    WIREMOD WILL NOT WORK ON YOUR FACE! BUT IT DOES ON YOUR MOM :shifty:

  3. #3
    Wire Sofaking nescalona's Avatar
    Join Date
    Apr 2007
    Location
    Shoreline, Washington
    Posts
    1,299

    Default

    Make SURE you get rid of that godawful way autosnap thinks you want the grid on the side you're closest to, not the one you're actually pointing at.

    Aaaagh.

  4. #4
    Wire Sofaking ShaRose's Avatar
    Join Date
    Mar 2007
    Location
    Burin, Newfoundland, Canada
    Posts
    542

    Default

    I would worship you as a god of garry's caliber if you get this to work on ALL props (round and all), but that's impossible. But still, WEWT!

  5. #5
    Wire Amateur TheApathetic's Avatar
    Join Date
    Feb 2007
    Location
    Pennsylvania, USA
    Posts
    99

    Default

    Make SURE you get rid of that godawful way autosnap thinks you want the grid on the side you're closest to, not the one you're actually pointing at.

    Aaaagh.[/b]
    I second this. Seems to be one of the more annoying "features" of Autosnap .
    There are two types of people: those who classify people into two types, and those who don't.

  6. #6
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    Make SURE you get rid of that godawful way autosnap thinks you want the grid on the side you're closest to, not the one you're actually pointing at.

    Aaaagh.[/b]
    Mentioned as an improvement, it now selects the grid by the face you are looking at instead of the angle (I hated that too).

    I would worship you as a god of garry's caliber if you get this to work on ALL props (round and all), but that's impossible. But still, WEWT![/b]
    As you say it is impossible to do it properly, but I might add certain commands that would allow it to draw a cylinder instead, but that is a big "might" because it is a lot of work and a lot of new mappings/options that would be required and would require me to write muct of it again, as it require different maths and so on.

    On another note, I'm planning support for adding default offsets to different props (in a .txt-file or something), and bundle some by default, so that the grids for e.g. the container can have perfectly snapped edges.

    (I would then also add controls in-game for modifying the offsets, and most likely give support for automatically saving, most likely as a console command to avoid confusion and other problems)

  7. #7
    Wire Amateur Neotracer's Avatar
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    75

    Default

    On another note, I'm planning support for adding default offsets to different props (in a .txt-file or something), and bundle some by default, so that the grids for e.g. the container can have perfectly snapped edges.

    (I would then also add controls in-game for modifying the offsets, and most likely give support for automatically saving, most likely as a console command to avoid confusion and other problems)[/b]
    this would be a great help. please relese soon ^^
    Es gibt genau 10 Typen von Menschen auf der Welt. Welche die Binär verstehen und Welche die nicht.
    (german)
    STOP USING BMP FILES! USE JPEG FOR YOUR SAKE!!

  8. #8
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    this would be a great help. please relese soon ^^[/b]
    For your information I will likely release Smartsnap tonight or tomorrow, it's basically polished and working now, I just need to create an options-panel for it and add support for the options.
    However, regarding "prop support" it might take another day or so depending on the time it takes to implement, and he amount of free time I have.

  9. #9
    Wire Amateur Finaldeath's Avatar
    Join Date
    Apr 2007
    Location
    Michigan
    Posts
    46

    Cool

    This looks amazing! How the autosnap would like never snap right to corners and how the grid would go off the prop was kind of annoying.
    I can't wait.

  10. #10
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    It has now been released, available for download at http://forums.facepunchstudios.com/s...d.php?t=322155
    I hope you enjoy it!

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Released! d3c-OS V-2.97
    By d3cr1pt0r in forum Finished contraptions
    Replies: 31
    Last Post: 08-20-2009, 03:40 PM
  2. GWCD - MiyA CPU released
    By [GWCD]_HalfBurntToast in forum Finished contraptions
    Replies: 5
    Last Post: 10-21-2008, 06:29 PM
  3. smartsnap grid sometimes not showing
    By Pyro-Fire in forum Installation and Malfunctions Support
    Replies: 3
    Last Post: 06-09-2008, 10:45 AM
  4. SmartSnap 1.0.0, FPS drops fixed
    By Syranide in forum Wiremod General Chat
    Replies: 6
    Last Post: 03-31-2008, 03:49 PM
  5. Do you use Smartsnap?
    By Locklear in forum Ideas & Suggestions
    Replies: 22
    Last Post: 11-28-2007, 07:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots