Pixelettee Posted August 15, 2019 Share Posted August 15, 2019 I want to make a mod or at least edit the files to increase the digging and construction range by +1. Since a lot of buildings are 4 blocks high and creating a "ceiling" for them is a pain. I am not sure what property to target for this? Can someone please point me in the right direction? Link to comment Share on other sites More sharing options...
SrCreator Posted August 15, 2019 Share Posted August 15, 2019 +1 i hope this mod; and yes, the main build, the print pod? is more of 4 no? Link to comment Share on other sites More sharing options...
Pholith Posted August 15, 2019 Share Posted August 15, 2019 I like this idea too, I'll see if I can make this mod quickly. ) Link to comment Share on other sites More sharing options...
Guinaro Posted August 15, 2019 Share Posted August 15, 2019 @Pholith If you do happen to find this. Would it also possible to integrate this into the skill tree? I think reducing initial range by 1 and then having each Construction skill apply a +1 bonus, so in the end it becomes +2 range. Would be wonderful. Or give leave default range as is. And give a +2 range increase upon mastering Construction. However I gladly settle for a quick mod that increase range + 2 as I like to design my floors as 4 high and 2 inbetween layers, and that way I can easily construct a new level from the bottom, without cumbersome ladder builds. Link to comment Share on other sites More sharing options...
Haze33E Posted August 16, 2019 Share Posted August 16, 2019 It should be digging, construction, and sweeping range +1-2. It would be great if it was an upgrade in the research tree somehow like a new dupe tool. Link to comment Share on other sites More sharing options...
Guinaro Posted August 16, 2019 Share Posted August 16, 2019 Going through the code, I cannot find any reference to an attribute or value that easily changes this. Furthermore the way the code seems structured, it seems that if we want to change this, it will be for all duplicants and all tasks at the same time. Will be gladly proven otherwise. The first indication I found regarding what a duplicant standard has as reach is the following In Class OffsetGroups public static CellOffset[] Standard = OffsetGroups.InitGrid(-2, 2, -3, 3); However various other functions seems that increasing this grid won't suffice. Link to comment Share on other sites More sharing options...
Pixelettee Posted August 16, 2019 Author Share Posted August 16, 2019 public static bool IsValidBuildingCell(int cell) { return cell >= 0 && cell < Grid.CellCount - Grid.WidthInCells * Grid.TopBorderHeight; } public static int TopBorderHeight = 2; Found this under Grid. Not sure if this would be of any help. Link to comment Share on other sites More sharing options...
weareryan Posted August 17, 2019 Share Posted August 17, 2019 I had this exact thought yesterday. Is someone reading my mind?? The skill tree needs to have more interesting stuff. Link to comment Share on other sites More sharing options...
Pixelettee Posted August 19, 2019 Author Share Posted August 19, 2019 I am not good with programming and dnspy is not compiling the dll with changes. Hence I cannot test what works and what doesn't? Link to comment Share on other sites More sharing options...
Nezerathian Posted August 27, 2019 Share Posted August 27, 2019 +1. this would be best mod ever for me to play in my own style. Link to comment Share on other sites More sharing options...
Nezerathian Posted September 1, 2019 Share Posted September 1, 2019 Sooo.... Any progress? Link to comment Share on other sites More sharing options...
Barebox Posted September 3, 2019 Share Posted September 3, 2019 On 9/1/2019 at 5:11 PM, Nezerathian said: Sooo.... Any progress? Yup. I've been fiddling with a compute shader to improve pathing performance with multiple dupes, and haven't gotten around to this yet, but I have identified the functionality. It may not be a trivial thing to increase, but it's doable (it may have a performance hit, but not sure). I might look into it this week. Construction and digging doesn't have a range as much as it has a "reach" through sets of paths determined by offsets in space that are run through a filter of obstacles (which is why we can't dig stuff that's behind walls, something that happened when I initially tried a simple solution), and the possible paths need to be added to the correct arrays in the correct way. FWIW, if I remember correctly, the reach table for digging and single tile placement appears to be the InvertedStandardTable in OffsetGroups class, and for structure placement it's the one with corners (or the other way around, not sure, at work). Link to comment Share on other sites More sharing options...
Pixelettee Posted September 4, 2019 Author Share Posted September 4, 2019 20 hours ago, Barebox said: It may not be a trivial thing to increase, but it's doable (it may have a performance hit, but not sure). I might look into it this week. I really hope this "problem" gets solved quickly. Link to comment Share on other sites More sharing options...
mrhashem Posted September 4, 2019 Share Posted September 4, 2019 +1 Ah I need this mod. +1 range makes so much difference. Thanks Link to comment Share on other sites More sharing options...
Nezerathian Posted September 4, 2019 Share Posted September 4, 2019 Yea I also hope it will work. This will help me play the way I always wanted Link to comment Share on other sites More sharing options...
Barebox Posted September 5, 2019 Share Posted September 5, 2019 On 9/4/2019 at 8:08 AM, Pixelettee said: I really hope this "problem" gets solved quickly. Are you mainly concerned with upwards reach? I can very quickly add the global possibility to dig and build tiles one or two tiles higher if you are standing below the chore target. Currently the way I have it working is for the three tiles directly above the dupe and on each side. I haven't modded the animation yet, though, so the beam doesn't reach all the way. It's not ugly though. Without mod: With mod: Link to comment Share on other sites More sharing options...
Barebox Posted September 5, 2019 Share Posted September 5, 2019 Here you go. Bare Link to comment Share on other sites More sharing options...
Haze33E Posted September 5, 2019 Share Posted September 5, 2019 Wish it was all directions but this is nice too. Thanks for the mod. Link to comment Share on other sites More sharing options...
Barebox Posted September 5, 2019 Share Posted September 5, 2019 1 minute ago, Haze33E said: Wish it was all directions but this is nice too. Thanks for the mod. Not a problem. Will give it a few more paths promptly, and some settings to tune it at a later time. Link to comment Share on other sites More sharing options...
Pixelettee Posted September 5, 2019 Author Share Posted September 5, 2019 3 hours ago, Barebox said: Here you go. Bare Thank you very. It is way better than nothing. It works!. Link to comment Share on other sites More sharing options...
mihe Posted September 5, 2019 Share Posted September 5, 2019 Thanks for the mod! It would be great as you mention that ends up having a config file. That way it will make happy everybody... you know, people here have discussions about what is cheating or not like it is matter of life or death. Anyway, thanks for the mod again, really good work. Link to comment Share on other sites More sharing options...
Barebox Posted September 5, 2019 Share Posted September 5, 2019 51 minutes ago, Pixelettee said: Thank you very. It is way better than nothing. It works!. 9 minutes ago, mihe said: Thanks for the mod! It would be great as you mention that ends up having a config file. That way it will make happy everybody... you know, people here have discussions about what is cheating or not like it is matter of life or death. Anyway, thanks for the mod again, really good work. 3 hours ago, Haze33E said: Wish it was all directions but this is nice too. Thanks for the mod. This just in: I made a full reach increase. Here's a mod with all directions! The Duplicant Reacharound. Link to comment Share on other sites More sharing options...
Haze33E Posted September 5, 2019 Share Posted September 5, 2019 The names of the mods Link to comment Share on other sites More sharing options...
mrhashem Posted September 7, 2019 Share Posted September 7, 2019 You just saved many lives :)) Link to comment Share on other sites More sharing options...
Recommended Posts
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.