S19TealPenguin Posted December 3, 2020 Share Posted December 3, 2020 I'm planning to do a little science experiment soon where I need to generate a large number of worlds (I'm thinking 25-50) and examine the world generation. To save time, I would like a way to reveal the map quickly and easily. What commands could I use? Link to comment Share on other sites More sharing options...
fall211 Posted December 3, 2020 Share Posted December 3, 2020 local r=25;local p=math.sqrt(3);local q=.5*p*r;local w,h=TheWorld.Map:GetSize();w=4*w;h=4*h;for _,v in pairs(AllPlayers) do for x=-w,w,3*r do for y=-h,h,2*q do v.player_classified.MapExplorer:RevealArea(x,0,y) end end for x=-w+q*p,w,2*q*p do for y=-h+q,h,2*q do v.player_classified.MapExplorer:RevealArea(x,0,y) end end end Here is the one I use. When you paste it make sure your console is set to Remote instead of Local or it won't work. Link to comment Share on other sites More sharing options...
CarlZalph Posted December 3, 2020 Share Posted December 3, 2020 15 minutes ago, fall211 said: local r=25;local p=math.sqrt(3);local q=.5*p*r;local w,h=TheWorld.Map:GetSize();w=4*w;h=4*h;for _,v in pairs(AllPlayers) do for x=-w,w,3*r do for y=-h,h,2*q do v.player_classified.MapExplorer:RevealArea(x,0,y) end end for x=-w+q*p,w,2*q*p do for y=-h+q,h,2*q do v.player_classified.MapExplorer:RevealArea(x,0,y) end end end Here is the one I use. When you paste it make sure your console is set to Remote instead of Local or it won't work. Ayy, hexagon packing. Link to comment Share on other sites More sharing options...
Fictitious Posted December 3, 2020 Share Posted December 3, 2020 there's also a mod that reveals the map when you press shift + r https://steamcommunity.com/sharedfiles/filedetails/?id=363112314 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.