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.3   See changelog

Released

Avoid a crash that could occur if other mods interfere with fixedcameraoffset being saved to placers

  • Like 20
  • Thanks 5
  • Haha 2
  • Health 1
  • Wavey 1
  • Big Ups 2

User Feedback

Recommended Comments



I am new, this is the first time I downloaded a mod. I downloaded the folder, then extracted the zip file. Now I see a list of folders and files. I don't see an .exe file. What do I do next to make this work with ROG? Do I need to move these files to a Don't Starve file? Thanks.

Link to comment
Share on other sites

Please tell me how to instal this MOD.. it can't enable 
thanks

On 7/8/2016 at 11:13 AM, alexamder said:

Dont work ( 

11.jpg

yes me too.. how to fix this error?

Link to comment
Share on other sites

Hi Rez. I'm trying to display a diamond grid and apparently I can't use anything other than the default square. I must be doing something wrong. I tried to change it in mods settings and in-game setting with no success. Playing with SW. Could you help? Thanks so much.

Edited by EveBloom
Link to comment
Share on other sites

On 7/8/2016 at 0:13 AM, alexamder said:

Dont work ( 

11.jpg

Are you on the latest version of Shipwrecked? This was a bug in the game's mod support early on during Shipwrecked's development, and it should have been fixed quite a while ago.

 

5 hours ago, EveBloom said:

Hi Rez. I'm trying to display a diamond grid and apparently I can't use anything other than the default square. I must be doing something wrong. I tried to change it in mods settings and in-game setting with no success. Playing with SW. Could you help? Thanks so much.

If you're using walls and turf, it will always use square, because the game already snaps them to that grid. Are you stuck on square with grass/saplings/trees too?

Link to comment
Share on other sites

5 hours ago, rezecib said:

If you're using walls and turf, it will always use square, because the game already snaps them to that grid. Are you stuck on square with grass/saplings/trees too?

Thanks for your reply. I was stuck on square for everything, structures, grass, trees... Started a new game and had the same problem. So I did a bit of research, updated my game (which I though was up to date since I bought it only a couple weeks ago), died and stared a new game again and THEN it finally worked. Thanks for your help though. I love your mod by the way. :)

  • Like 1
Link to comment
Share on other sites

Hey, 

I'm getting this error when I try to run in Vanilla DS. 

Is there a simple fix that I'm missing? I've gotten the same error on other mods so hopefully if I fix this one it will fix them all. 

Thanks.

Screen Shot 2016-08-11 at 12.47.48 PM.png

Link to comment
Share on other sites

@dtorrance Have you updated the game recently? The GetGameID function is part of the API that's supposed to tell whether it's single-player or DST. So there was a time when it didn't exist because DST didn't exist yet. It looks like it was added in a version after yours (rev. 134052, your screenshot shows 115739).

You could also fix it by just making a small change to each mod's code, by going to the line that the error screen mentions. In this case, it's line 35 of the modmain, change GLOBAL.TheSim:GetGameID() to "DS" (with the quotes), because that's what it should be returning in vanilla.

  • Like 1
Link to comment
Share on other sites

@rezecib I love you. Replacing the GLOBAL.TheSim:GetGameID() with "DS" worked perfectly!

I'm betting this will work on all other mods that have this problem, so you just fixed all my problems in one fell swoop.

I'm now happily planting perfectly aligned rows of marijuana. 

Link to comment
Share on other sites

Unfortunately not working any more after the latest DS (SW)-Update in a SR-Compatible Savestat :(

When you only activate RoG it will work perfectly ... 

Any solutions???

Link to comment
Share on other sites

21 hours ago, Doktor.Groove said:

Unfortunately not working any more after the latest DS (SW)-Update in a SR-Compatible Savestat :(

When you only activate RoG it will work perfectly ... 

Any solutions???

I tested just now and it seems to be working fine for me. Are you sure you have the latest version? Also, an error message or description of what's not working might help.

Link to comment
Share on other sites

6 hours ago, rezecib said:

I tested just now and it seems to be working fine for me. Are you sure you have the latest version? Also, an error message or description of what's not working might help.

You are absolutely right, it's working fine. I figured it out that the "Always Status On" Mod is responsible for the failure. If I only activate Geometric Placement it's gonna work. Nevertheless here is a screenshot from the error message although it's not the right commentary section. I think I will post it in the comments from the above mentioned mod. Perhaps someone has an idea how to fix it ...

Thank you so far! :)

DS_Mod_Fault.png

Link to comment
Share on other sites

3 hours ago, rezecib said:

@Doktor.Groove Glad you figured it out! If you can't get Always On Status working, I maintain a similar mod Combined Status which should be working right now (I was using it when I tested Geometric Placement earlier).

Hey rezecib, your Combined Status mod is very cool ... and it works fine! :)

Thank you very much for your support and the tip to use Combined Status instead! I hope your mods will work as long as people are starving (ingame of course) :D ;) 

Kind regards, DG

Link to comment
Share on other sites

Placing objects not snapping into place really hits the OC nerve. This is exactly what I was looking for the moment I played the game. :D Good job, man!

Link to comment
Share on other sites

@Breez That's a very old game version (from back in the beta, I believe, when this bug still existed), if you update the game it shouldn't crash.

  • Like 1
Link to comment
Share on other sites

@TheAndresPlays Have you updated the game recently? The GetGameID function is part of the API that's supposed to tell whether it's single-player or DST. So there was a time when it didn't exist because DST didn't exist yet. It looks like it was added in a version after yours (rev. 134052, your screenshot shows 102572).

You could also fix it by just making a small change to each mod's code, by going to the line that the error screen mentions. In this case, it's line 35 of the modmain, change GLOBAL.TheSim:GetGameID() to "DS" (with the quotes), because that's what it should be returning in vanilla.

  • Like 2
Link to comment
Share on other sites

when you place fence it sometimes places not where it showed it would, but usually closer to you (or even in wrong direction), same problems with gates

it works fine without a mod, so i'll just let you know

Link to comment
Share on other sites

Help? It keeps crashing and I THINK that it has that weird command so I uploaded the image of the code to see if I did something wrong so if I could get help I would REALLY appreciate it.

Screen Shot 2017-03-19 at 8.58.11 AM.png

Screen Shot 2017-03-19 at 9.00.30 AM.png

Link to comment
Share on other sites

@Jimothan That means you have a very old game version where they have not yet added that function. You can either update or replace that line with

local DST = false

 

Link to comment
Share on other sites

I don't have the steam version so I have no clue how to update :\ is there something on the Klei website that allows me to "Update?" (I'm sorry for seeming like a huge moron :?)

 

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...