Unsolved Create map based on Small Island

Discussion in 'World Editor' started by bob64, Mar 6, 2022.

  1. bob64

    bob64
    Expand Collapse

    Joined:
    Oct 6, 2017
    Messages:
    20
    Hello,

    I already manage to create my own may using a generic template.

    But this time, I would like to start from Small Island map.
    What I did :
    - I unzipped the map inside mods/unpacked.
    - I changed the name of Small-island using find in files Notepad++ feature.
    - I changed the name of the files (name that contains "small_island" were changed with the new name)

    --> It still crashes on loading.

    Any point I missed?
     
  2. el_ferrito

    el_ferrito
    Expand Collapse

    Joined:
    Sep 30, 2020
    Messages:
    125
    I usually unzip to the levels folder rather than the mod folder. But otherwise no.

    Try changing the level.info file, but put the new name in manually for the title, etc. Some of the vanilla maps reference something instead of stating the name. Maybe that causes an issue. No idea, just guessing.

    Good luck
     
  3. bob64

    bob64
    Expand Collapse

    Joined:
    Oct 6, 2017
    Messages:
    20
    Hi,

    I tried to replace the description fields that contains a sort of path by simple text.
    It does not work... Still chrashing during "Forest" loading...

    Sad.
     
  4. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    514
    Probably too many occurrences were overwritten in the mass renaming process. Try again with a new copy of the level, and use slashes so only the paths gets renamed. In Notepad++ replace all /small_island/ with /bob64_island/
     
    • Like Like x 1
  5. bob64

    bob64
    Expand Collapse

    Joined:
    Oct 6, 2017
    Messages:
    20
    Yeahhhh, thank you very much Itntai. It is working that way!
    --- Post updated ---
    But.... ground textures does not work... (Terrain painter).
    I converted the map to PBR (it was) but the texture are still broken.
     
    • Like Like x 1
  6. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    514
    If you didn't rename the terrain, terrain painter should work without extra steps. If you renamed the terrain and then reloaded it in the editor, painter starts working when you save the map, delete the extra terrain files from 0.24/levels and restart the game. It still uses the SmallIslandTerrainTextureSet (in art/terrains/main.materials.json).

    You can change it to bob64_islandTerrainTextureSet in that json (delete the ID code between the " " so the game creates a new one). In editor, choose theTerrain and change the set in inspector window. Then open the terrain painter's material library and save changes to file. Black terrain goes away and the new set starts working.
     
    #6 ltntai, Mar 7, 2022
    Last edited: Mar 7, 2022
  7. bob64

    bob64
    Expand Collapse

    Joined:
    Oct 6, 2017
    Messages:
    20
    Terrain material library is still here and looks good.
    On terrain painter window, I had to click on "<Add Terrain Material>"
    Then I had a list of texture. But if i select it and try to paint.
    But terrain remains black.... (previously I had the orange "no texture" texture).

    What I did before : I imported a heigh map. The shape is good, but no terrain texture applies.
     
    #7 bob64, Mar 7, 2022
    Last edited: Mar 7, 2022
  8. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    514
    screenshot_2022-03-07_19-16-37.jpg
    Not sure how it goes with an import
     
  9. bob64

    bob64
    Expand Collapse

    Joined:
    Oct 6, 2017
    Messages:
    20
    This what i have :
     
  10. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    514
  11. el_ferrito

    el_ferrito
    Expand Collapse

    Joined:
    Sep 30, 2020
    Messages:
    125
    Agreed. Check your base texture size matches your base texture file resolution. It doesn't have to be the same as your map, because you can change that on the right hand panel (first image).
     
  12. bob64

    bob64
    Expand Collapse

    Joined:
    Oct 6, 2017
    Messages:
    20
    I manage to make it work.,
    Started some modification. Saved and exit the game.
    Now crashing at the beggining of the loading process.
    Very disapointed and fed up.
    --- Post updated ---
    Question :
    I'm unzipping the content of small-island.zip in 0.24/mods/unpacked folder. The new name is Bob_Island.

    I don't know why but some file on a Bob_island folder located under 0.24/levels. Is it normal?
     
  13. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    514
    Saved changes go to 0.24/levels/bob_island. You must cut and paste its contents to unpacked/bob_island if you want to pack the map. If you see extra .ter or terrain.json files in 0.24/levels, delete them. They might be causing the crash.
     
  14. bob64

    bob64
    Expand Collapse

    Joined:
    Oct 6, 2017
    Messages:
    20
    Loading is working now.
    I created a generic base map to have a single color instead of having backgroung that does not match the new terrain.
    I keep fighting against color of some items.

    I leave this thread open as I might have some new questions soon.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice