Saiph

Registered Users
  • Content count

    19
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Saiph

  • Rank
    Junior Member
  1. Can you please detail how Simplex's method works ? I have tried what he says and the file still doesn't get overwritten. I have put a temp_override/map/forest_map.lua file in my mod directory and added this exact line at the end of my worldgenmain.lua: GLOBAL.package.path = ("%stemp_override/?.lua;"):format(MODROOT) .. GLOBAL.package.path Printing it shows: GLOBAL.package.path = ../mods/workshop-1073203411/temp_override/?.lua;../mods/workshop-1073203411\scripts\?.lua;scripts\?.lua;scriptlibs\?.lua;scripts/?.lua It seems to be the correct path yet the size changes I have done don't apply.
  2. Thanks, but I think this option increases the number of rooms not directly the size of them. The option I'm looking for is the "Huge" number of tiles in forest_map.lua: sizes = { ["tiny"] = 1, ["small"] = 350, ["medium"] = 400, ["default"] = 425, -- default == large, at the moment... ["large"] = 425, ["huge"] = 450, -- example: change this to 800 } I know this is the good one because I have already tested it and it truly makes the map gigantic. However, I can only change forest_map.lua in the original game file, not through a mod.
  3. Hello, I'd like to override forest_map.lua to increase map size. So, I have put an other forest_map.lua in my mod folder. But it doesn't work, the game still uses the original one. (I have added print statements in the "Generate" function, in the original game file and mine, and I see only the print from the original file) Looking at some previous topics about this I think this file can not be overwritten like that, but it still seems possible. For example there is an answer given in this post: but I didn't manage to make it work. I have put my forest_map.lua in temp_override/map/ and this line in my worldgenmain.lua, and it still doesn't change anything. But maybe there's something else to do ? Does anyone knows if it is possible ?
  4. Hello, I have a mod modifying world gen and I would like to show a text box warning on screen if the user forgot to select the preset I've added. It must be very visible for the user (if possible, force him to click "OK") but not crash the game. If possible the mod message would appear before the game starts. Is there a way to do this ?
  5. Thanks a lot, this is a very comprehensive answer ! I will let you know if i manage to do something.
  6. Not in the archive but in the original mod yes (and the problem persists)
  7. I have replaced FAKE_GROUND by SAVANNA in the original game files (3 relevant occurences). The result is that there's a bridge of Savanna leading to Atrium but there are still a lot of invisible tiles in both biomes. I think your explanation is right but there is probably an other problem. Atrium: (notice the savanna bridge) Labyrinth:
  8. This makes sense but that means the Atrium Maze should end disconnected right ? If so how can it be accessed once the fake_ground bridge gets deleted ? Sorry what does c-side means ?
  9. Yes sorry. Something as simple as: worldgenmain.lua: local require = GLOBAL.require require("map/lockandkey") require("map/tasks") require("map/rooms") require("map/terrain") require("map/level") local function LevelPreInit(level) if level.location ~= "forest" then return end table.insert(level.tasks, "TheLabyrinth") table.insert(level.tasks, "AtriumMaze") table.insert(level.tasks, "Residential") -- added this to show that only the 2 other ruins bug end AddLevelPreInitAny(LevelPreInit) Here is a full working archive that produces the bug: test_invisible.rar
  10. Hello, I have created a custom taskset with "TheLabyrinth" and "AtriumMaze" that I use on surface (a custom forest level). Every cave/ruin biome works fine, except these two. For some reason, they add these "invisible" tiles to the world: The tiles look like impassable (water) but they have borders and it is possible to walk on them. In the case of AtriumMaze (on this screen), the invisible tiles are always on the bridge connecting the maze to the rest of the world. The Atrium biome itself is fine. In the case of TheLabyrinth however, the whole background of the biome is made of these tiles so you can just ignore the labyrinth paths by walking on apparent water. Do you have any idea of what can cause it ? I saw a FAKE_GROUND terrain in the ruins files but modifying it with addRoomPreInit doesn't work.