This method for generating an overview map has been succeeded by my tile based overview map: https://github.com/the1killer/sm_overview
https://the1killer.github.io/scrapmechanicmap/
!!!! BACKUP YOUR SAVE, not responsible for any issues !!!!
- Really backup your save!
- Install AutoHotKey
- Enable dev mode in SurvivalGame.lua, change
if g_survivalDev then
toif true then
around line 84 after function SurvivalGame.client_onCreate - Add /tp command to SurvivalGame.lua (see SurvivalGame.lua):
- add /tp to list of chat commands ~line 130
- add /tp handler ~line 529, before block of commands starting with elseif params[1] == "/clearpathnodes
- Reload save if already in game.
- Set FOV to 90, see makemap.ahk for other quality settings (alternates for FOV 70 and 90)
- Use Borderless Window Mode, disable Depth of Field, recommended turn everything down to low besides view distance
- If you resolution is NOT 1080p look at lines 26-34 of the AHK file and change to suit your resolution or choose 1440p by commenting out the 1080p section
- Make sure Geforce Experience hotkey is NOT alt+z, this is so we can hide in game UI
- Make sure you have nothing in your toolbar 0 slot or 5 slot....
- Sometimes the tp command hits 5 even though command is sent fine
- Make sure /god is on for godmode incase of falling and stops hunger/thirst
- Make sure you use /day to set 12:00 time and no time progression for best looking terrain. If you want night you could do /timeofday 1 and /timeprogress off
- Double click makemap.ahk script to load the script
- Press 5 or 0 or any other empty slot on your toolbar to remove tool from view
- Hit Shit+F1 to start the script, Dont touch your mouse and keyboard until its done
- Will show a popup "Map Done!" when its finished
- Open html/index.html to view your map
- Shift + F2 to reload the script if you make changes, or to stop it while generating
- Terrain height especially along edges of images will cause lines to not match up
- I reccomended you restart your game between map generations, seems to be a memory leak and FPS slow down.
- Game updates will remove the lua changes, requiring you to re-add them
- Sometimes the teleport will get stuck in a loop if your body goes into ragdoll
- If your machine takes a while to render the tiles after teleport change the delay on line ~101
Sleep, 4000
- How to setup your own free GitHub website
- v1.0.0
- Initial Release
- Support for quality 1,2 on 1080p and 1440p
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Scrap Mechanic is property of Axolot Games AB, I have no affiliation with them.