Currently LuaPlayer.open_map() takes position and scale (optional).
I would like to be able to specify surface as an optional 3rd parameter.
LuaPlayer.open_map(position, scale, surface)
Re: LuaPlayer.open_map(position, scale, surface)
This feature would be helpful in Space Exploration where people are on multiple different surfaces, or with Factorissimo / Warptorio.
Ideally if this could be added to the richtext support so when people click a map position and it goes to the console with [gps=x,y,surface]. The surface variable would be optional and default to the surface the player was on.
Ideally if this could be added to the richtext support so when people click a map position and it goes to the console with [gps=x,y,surface]. The surface variable would be optional and default to the surface the player was on.
Re: LuaPlayer.open_map(position, scale, surface)
The game doesn't support opening map for surface other than the player is currently on. It is pretty deeply tied to player's surface. I'm saying it so you don't expect this request to be fulfilled anytime soon.
Re: LuaPlayer.open_map(position, scale, surface)
Is it not the same as blueprint view screen?
Re: LuaPlayer.open_map(position, scale, surface)
No. In fact they share virtually nothing code wise that I can think of.
If you want to get ahold of me I'm almost always on Discord.
Re: LuaPlayer.open_map(position, scale, surface)
Hi,
I just wanted to +1 for this feature. it would be quite useful for my WIP mod: Dana. Right now I have to work with LuaPlayer.set_controller() & LuaPlayer.teleport() to swith from/to my interactive graphs, and that causes quite a few issues. Being able to just open a map (ideally with an option to disable the noise effect) would be much less bug prone.
You certainly have much better to do with the 1.0 release coming. I'm just posting in the hope that you'll consider this feature again at some point.
Sorry if I commited thread necroing
I just wanted to +1 for this feature. it would be quite useful for my WIP mod: Dana. Right now I have to work with LuaPlayer.set_controller() & LuaPlayer.teleport() to swith from/to my interactive graphs, and that causes quite a few issues. Being able to just open a map (ideally with an option to disable the noise effect) would be much less bug prone.
You certainly have much better to do with the 1.0 release coming. I'm just posting in the hope that you'll consider this feature again at some point.
Sorry if I commited thread necroing
Re: LuaPlayer.open_map(position, scale, surface)
+1 I’d love to be able to open the map on other surfaces for my mod Factory Search, primarily with Factorissimo. Though for space exploration planets I can use its navigation satellite remote interfaces.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Re: LuaPlayer.open_map(position, scale, surface)
I really could use that feature for GCKI! Players now can open a minimap for vehicles they have claimed or locked. Clicking on the minimap should open a big map view centered on their vehicle's position -- but that won't work if the vehicle is on another surface than the player (e.g. a Factorissimo building or an SE surface).
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
Re: LuaPlayer.open_map(position, scale, surface)
I just got a feature request for https://mods.factorio.com/mod/AlertsList2: Opening the map on a speaker with an alarm set on a different surface. At least for 2.0 we will need this.
- BrainGamer_
- Long Handed Inserter
- Posts: 93
- Joined: Sun Nov 14, 2021 9:52 pm
- Contact: