An option to place items in a straight row


Recommended Posts

Hello dear Don’t Starve community,

 

so far, I was only able to place items in a row with a mod like "Assisted Geometry" which allows the player to organize their plants, machines and everything else in a straight line. I would like to ask if there will be a future update which allows the player to turn on and off a function to place items like this while playing the game. For me, such a possibility would come in handy while playing the singleplayer version or Don’t Starve Together as I like to organize my camp in a nice way.

 

When rotating the camera around the character, I do not get as good results as they come out when using a mod – that is why I would like to see such a function in the game to assist the players.

 

 

Greetings,

 

Gharex

Link to comment
Share on other sites

Thank you for your answer.

As I already wrote, I used Assisted Geometry since now and want to ask if there will be an update that will bring this feature into the normal game.

 

I would like to see this option in the normal game, not via mods.

 

 

Greetings,

 

Gharex

Link to comment
Share on other sites

It might be a good idea to add a feature like Assisted Geometry in Don't Starve. Most people do indeed like organized bases, but I don't see making a base like that being completely impossible in the current build of Don't Starve.

Link to comment
Share on other sites

Thank you for your answer as well.

Sure thing, it is possible to build a pretty good camp without any mod, but I prefer to place them in a row in a quick way. If I want to have a straight row of plants or anything else, it takes quite a while and there is still a chance it is not a right line.

 

So, I would be happy to see such a function in the normal Don’t Starve game.

Link to comment
Share on other sites

I attempted to make a mod to do exactly this thing: place multiple objects in a row.  I worked on it for a few months, but I never finished it.  There are two problems preventing me from publishing the mod.

 

Problem#1: Gameplay issue:

The mod can place multiple objects in a row or nice pattern (walls, grass & twigs, berry bush garden).  However, getting an entire wall instantly with the click of a button just feels wrong to me.  I want to make Wilson walk around, automatically placing objects on the ground in a neat line, very similar to the Action Queue mod.  

Unfortunately...

 

Problem#2: Stack overflow:

The Action Queue mod is basically the same idea without placing things in the world.  I looked at that code for ideas on how to fix my problem, but that didn't help.  I am using a similar routine to queue up Wilson's actions, but the stack overflows or the whole routine just executes all at once.  In the action queue code, Wilson is given a series of commands, with listeners that start up the next command based on certain conditions.

 

There's a difference between Action Queue mod and what I'm trying to do.  With Action Queue, Wilson is directed to an object that already exists in the game world.  With this object-placement mod, Wilson must be made to walk to a set of coordinates, then his animation must be played, then the object can be removed from inventory and placed in the world.  In this case, I cannot have a listener checking if the object in the world has been interacted with because it does not exist yet!

 

I've tried many different ideas, but I get one of two results every time I push the button:

Result #1: stack overflow, game crashes

Result #2: Wilson walks to position #1, does the placing animation, then suddenly all 10 wall segments appear in the world at the correct positions. Wilson is still standing at position #1, looking like a smug jerk.

 

At this point I've given up on the whole idea.  Maybe the author of Action Queue could write this mod, but I think it's beyond my skill level.

Link to comment
Share on other sites

The way to implement an idea like this so it doesnt feel cheaty is to just adjust the location variables for where items are placed. Examine the value and adjust it so its 'grid aligned' using a little modulus or rounding math. That is enough to make placing items in perfect rows easy without the other cheaty side effects

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.