iamaPotato Posted January 11, 2017 Share Posted January 11, 2017 i got a map seed from my favorite world and i want to play that world again. i got into worldgen_main.lua, which variables do i replace with my mapseed# @Toorimakun, Link to comment https://forums.kleientertainment.com/forums/topic/73296-how-to-replace-mapseed/ Share on other sites More sharing options...
superfast Posted January 11, 2017 Share Posted January 11, 2017 There a few ways to do this. Perhaps the easiest is as follows: 1. Use "print(TheWorld.meta.seed)" to find the seed of the world you want to use (yourseed). 2. In the worldgen_main.lua, add the line "SEED = yourseed". 3. To revert a random world, simply delete the added line. Link to comment https://forums.kleientertainment.com/forums/topic/73296-how-to-replace-mapseed/#findComment-857397 Share on other sites More sharing options...
iamaPotato Posted January 12, 2017 Author Share Posted January 12, 2017 @superfast this is my worlgen_main.lua looks like --local BAD_CONNECT = 219000 -- --SEED = 1434760235-- Force roads test level 3 if SEED == nil then SEED = os.time() end math.randomseed(SEED) it seems "SEED" is already defined. so what do i change or do i replace anyline with "SEED= myseed"? Link to comment https://forums.kleientertainment.com/forums/topic/73296-how-to-replace-mapseed/#findComment-857683 Share on other sites More sharing options...
superfast Posted January 13, 2017 Share Posted January 13, 2017 3 hours ago, iamaPotato said: --local BAD_CONNECT = 219000 -- --SEED = 1434760235-- Force roads test level 3 if SEED == nil then SEED = os.time() SEED = 1434760235 end math.randomseed(SEED) You can add a line in bold like I've done above (assuming "1434760235" is the seed of the world you want). Then just restart the world. Link to comment https://forums.kleientertainment.com/forums/topic/73296-how-to-replace-mapseed/#findComment-857720 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.