Jump to content
  • The forum downloads section will be removed on Jan 1st 2023. Players may still download mods that are currently hosted, but new submissions are no longer being accepted. Mod makers are advised to relocate their mods to alternative hosting solutions.

Geometric Placement 3.1.3


10 Screenshots

About This File

This should work with all versions of the game (vanilla, Reign of Giants, Shipwrecked, and Don't Starve Together). Also available on the Steam Workshop (single-player, DST).

Snaps objects to a grid when placing and displays a build grid around it (unless you hold ctrl).

Credits to zkm2erjfdb and Levorto for writing the original single-player versions (Architectural Geometry and Assisted Geometry). This mod is a replacement for those mods; if you have one of them enabled as well, unpredictable things will happen.

Description of the options:

  • CTRL Turns Mod: "On" makes it so that the mod is off by default, but turns on while holding CTRL. "Off" does the opposite, temporarily disabling the mod while holding CTRL.
  • Options Button: By default, "B" (for controllers, right-stick click in single-player and left-stick click from the scoreboard in DST). Brings up a menu for changing these options. Note that it cannot save these options in-game like it can on the configuration menu, so if you find new favorite settings with this, you should make those changes in the configuration menu too.
  • Toggle Button: By default, "V" (no binding for controllers). Toggles between the most recently used geometries (it will guess if it doesn't know, which should only happen if you just transferred between the caves and the surface or joined the game).
  • In-Game Menu: If set to "On" (default), the options button will bring up the menu. If set to "Off", the button will simply toggle the mod on and off (like it did before the menu was added).
  • Show Build Grid: Determines whether it shows the grid at all.
  • Grid Geometry: The shape and layout of the grid. Square is the normal one, aligned with the game's X-Z coordinate system. The hexagonal geometries allow you to do the tightest possible plots. Walls and turf always use the square geometry.
  • Refresh Speed: How much of the available time to use for refreshing the grid. Turning this up will make the grid update faster, but may cause lag. 
  • Hide Placer: If set to on, the ghost-version of the thing you're about to place is hidden, and instead the point where you'll place it is marked.
  • Hide Cursor: If set to on, the item you're placing won't show up on the cursor while you're placing it (sometimes it gets in the way of being able to see where you'll put it).
  • Fine Grid Size: The number of points in each direction that it uses for things with a fine grid (most things).
  • Wall Grid Size: The number of points in each direction that it uses for walls.
  • Sandbag Grid Size: The number of points in each direction that it uses for sandbags.
  • Turf Grid Size: The number of points in each direction that it uses for turf/pitchfork.
  • Colors: Red/Green is the game's normal color scheme. Red/Blue should be more readable to players with red-green colorblindness. Black/White is there for fully colorblind players, or players who want the grid to be more readable at night. Outlined uses black and white with outlines to give the best visibility in all situations.
  • Tighter Chests: Allows chests to be placed more closely together. This doesn't always work in DST. I keep this only as a legacy setting because the other geometry mods override a special case the game makes for chests.
  • Controller Offset: Allows you to disable the usual offset that rotates around the player when placing objects. Defaults to off.
  • Show Nearest Tile: In addition to showing each of the points, this can set it to show the outline of the nearest tile, making it easier to align placement with the turf.
  • Hide Blocked Points: Instead of showing red/black points where you can't place things, this can set it to hide those points instead.
  • Overlay Grid: Instead of letting points be hidden behind trees, beefalo, or the player, this makes them overlay on top so the full grid is visible.

What's New in Version 3.1.1   See changelog

Released

This release should work in both DST and single-player (that wasn't guaranteed for some of the previous ones).

I missed releasing a bunch of updates here, so here's the combined changelog:

3.0.0

Add support for Reap What You Sow's farming system; tilling now snaps to a grid.
Add Smart Spacing option (default off). This adjusts grid spacing to match what you're placing.
Add Snap Grid Key option (default off). This lets you set a key that you can use to snap the grid to something you're hovering or a part of a tile. This helps with the fact that smart spacing is often pretty large and doesn't give you many choices of where to put things.
Fixed some visual bugs that showed up over time (tile outline being faded for example)

3.0.1

Fix tilling not respecting CTRL and turning the mod off if you were the host
Update the "can you till here" test to check for nearby soil that would be destroyed (it will show as red/black as if you can't till there, but you can, it'll just destroy some other soil)
Densify Smart and Till spacing to give you more options on where to put things
Reduce Snap Grid resolution from 0.5 to 1 (this means instead of 81 points in a tile that you can snap to, there are now 25, which makes it way easier to hit the center of the tile, center of edges, and corners)
Prevent the host grid from overriding the client grid when tilling

3.0.2

Removed a debug override that forced Smart Spacing on. Oops.

3.0.3

Add button in the in-game options menu for Smart Spacing
Allow snapping to tilled soil while holding a hoe

3.0.4

Snap the grid to the center of the boat, if hovered (tiles are less meaningful for boats).
Fix crash when using Chinese Plus translation mod.

3.0.5

Fix Smart Spacing button not reflecting the current state of the option in the menu (always showing on)
Fix spider eggs and lureplant bulbs not having grids

3.0.6

Fix crash with custom seed placers added by other mods
Default Smart Spacing to On (now that it has an options button it's easy to turn off, but I think it behaves pretty well now)
Adjust till spacing to 4/3. This makes it consistent between tiles, so snapping is not necessary to till well.

3.0.7

Automatically disable till grid when Snapping Tills mod is enabled

3.0.8

Smart Spacing defaults to Off again (this made normal base building pretty hard)
Fix persistent saving of Smart Spacing option
Add Till Grid option and button on the in-game menu
Make Wormwood planting seed always use the Till Grid, regardless of Smart Spacing
Add an in-game keybindings menu

3.0.9

Fixed bug where tilling still snapped even when Till Grid was off (or Snapping Tills was being used)

3.0.10

Fixed bug where tilling never snapped as the client (introduced in 3.0.9, oops)

3.0.11

Fix a bug where placers could show the wrong rotation (thanks to surg for investigating and finding the fix)

3.1.0

Fix inputs being read while typing into the crafting menu (bringing up the menu, switching geometry, etc)
Fix a bug where switching geometry would cause the item to reappear on the cursor unless you toggled the grid again
Port all of 3.x.x functionality over to single-player, if applicable; notably the keybindings menu, crash fixes, smart spacing, and the snap grid button (unbound by default).

3.1.1

Fix a crash that happened when pressing any Geometric Placement hotkeys in the main menus (introduced in 3.1.0)

  • Like 19
  • Thanks 5
  • Haha 2
  • Health 1
  • Wavey 1
  • Big Ups 2
 Share


User Feedback

Recommended Comments



Now whenever a bearger comes, i crash. Other then that, a great mod!

That's... really weird. What crash message? Single-player or DST?

  • Like 1
Link to comment
Share on other sites

hello i just wanted to say that when i plant the grass the alignments are not good at all some goes wider space and some are not,,some goes vertically when i want it to be a straight line pls fix it, i really am a fan of this mod..and its great

Link to comment
Share on other sites

hello i just wanted to say that when i plant the grass the alignments are not good at all some goes wider space and some are not
 Are you using this in Don't Starve Together? Some older versions of it didn't actually snap the placement to the grid for clients. Should have been fixed by this version, though, but I'll upload the latest one that's currently on the Steam workshop.
Link to comment
Share on other sites

@Zenytram I'm working on a really big update that should also resolve crashing issues. But the circumstances under which it's crashing for you would help me check to make sure I really fixed that.

  • Like 1
Link to comment
Share on other sites

@LeggoLas DS with/without Shipwrecked/RoG? DST? Using a controller? It's working for me right now everywhere I managed to test it, but there are a lot of potential permutations. Also, your log file after a crash would help narrow it down. It'll be in Documents/Klei/DoNotStarve(Together)/(client_)log.txt

Link to comment
Share on other sites

I have DS with shipwrecked and RoG, but I dont use a controller. I have other mods installed so I dot know if they are compatible

 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...