Page 1 of 1

[MOD 0.16] Map Ping 1.0.4

Posted: Fri Oct 21, 2016 2:02 am
by Supercheese
Map Ping
Ping.gif
Ping.gif (966.29 KiB) Viewed 9590 times
Screenshots
Info / Long Description: This mod adds a Map Ping Tool that is free to craft and available immediately at the beginning of a game, and also available via hotkey.
This tool allows you to highlight a location on the map that will be visible to other players. Clicking with the tool will "ping" the selected location to players of your force.
A distinctive sound will play and a swirling graphic will be visible on the field and a custom marker, complete with blinking pointer, will be visible on the minimap.
A custom alert will also be shown next to your toolbelt, similar to the alerts for destroyed structures.

You can also Shift+Click with the ping tool to enter Selection Display Mode. This will draw an arrow pointing towards any entity you hover your cursor over, and this arrow will be visible to all players on your team.
You exit Selection Display Mode simply by changing your held item (e.g. pressing Q by default). Only one player can be in Selection Display Mode at a time.

In order to prevent abuse in an MP environment, whenever an admin selects the Map Ping Tool, an admin GUI will open that allows them to toggle permissions for all players in the game.
If players are abusing the ping tool, they can be easily banned from using it. The default permission for new players that join follows the state of the "Toggle All" checkbox; if the box is unchecked, new players will be banned by default.

Suggestions & Feedback:

Naturally, this is a multiplayer-oriented mod, and while functional in singleplayer, is of essentially no benefit there.

If you know of any other cool "ping" sounds or graphics out there with an open license, I welcome suggestions. Currently, the mod randomly chooses between three ping sounds each time the ping tool is used, and there is only one spinning ping-graphic used (as seen at the top of the thread).
Version history

Re: [MOD 0.14] Map Ping 0.1.0

Posted: Fri Oct 21, 2016 3:07 am
by aubergine18
fantastic mod!! this is full of awesome win!

EDIT: 9.9 meg? Those 2048x2048 sprite sheets really need to be that huge?

EDIT 2: Btw, you can ditch the null graphic and use 1x1 pixel __core__/graphics/empty.png ;)

Re: [MOD 0.14] Map Ping 0.1.0

Posted: Fri Oct 21, 2016 7:20 pm
by Supercheese
aubergine18 wrote:EDIT: 9.9 meg? Those 2048x2048 sprite sheets really need to be that huge?

EDIT 2: Btw, you can ditch the null graphic and use 1x1 pixel __core__/graphics/empty.png ;)
Yeah, I know, it's part of the the WIP-ness of this mod. :P

Re: [MOD 0.14] Map Ping 0.1.0

Posted: Fri Oct 21, 2016 10:51 pm
by aubergine18
It's still awesome, I'm even enjoying messing around with it in SP.

The admin settings panel - maybe a custom-input to trigger that rather than auto appearing when admin uses the tool?

I'm still trying to work out how you got the force-only display working, where only members of same force can see it. I assume it's one of the prototype properties, but didn't see any that looked like they would have that effect...?

You could potentially halve the sprite sheets by providing only 180º of animation (as the other 180º would look the same). With further tweakage maybe even get it down to just needing 45º of animation that can loop?

Re: [MOD 0.14] Map Ping 0.1.0

Posted: Sat Oct 22, 2016 12:23 am
by Supercheese
aubergine18 wrote:You could potentially halve the sprite sheets by providing only 180º of animation (as the other 180º would look the same). With further tweakage maybe even get it down to just needing 45º of animation that can loop?
You'd think that'd be the case, but that graphic as I grabbed from this page isn't quite symmetrical!

I will investigate reducing the frame count though, as 128 anim-steps might be indistinguishable from 64 anim-steps.

Re: [MOD 0.14] Map Ping 0.1.0

Posted: Sat Oct 22, 2016 4:23 am
by aubergine18
Could potentially use something like this, sort of mirror the lit segments in all quadrants so the animation only covers 90º of the frames:
gif

Re: [MOD 0.14] Map Ping 0.1.0

Posted: Fri Oct 28, 2016 4:06 am
by aubergine18
Could you add a remote interface to the mod? It would be extremely useful if other mods could request pings, etc. For example, I might need to highlight an entity or mark a place on map, etc.

Would be cool if other mods could somehow provide their own sounds.

Re: [MOD 0.14] Map Ping 0.1.0

Posted: Fri Oct 28, 2016 7:51 am
by nuhll
Good idea, but as item is shit, so low inventory... make it like left click on map..^^

Re: [MOD 0.15] Map Ping 0.2.0

Posted: Tue Jun 27, 2017 1:19 am
by Supercheese
Updated for Factorio 0.15!

Mainly just compatibility fixes and moving config.lua settings over to the in-game mod options.

Of note, however: With 0.15's new zoom-to-map feature, you can remotely ping any location on the map without your Factoriodude having to be physically present!

Re: [MOD 0.16] Map Ping 1.0.0

Posted: Wed Jan 17, 2018 12:25 am
by Supercheese
Updated for Factorio 0.16. I believe things are stable enough now to tag this as 1.0.0.

One new minor feature, a custom alert akin to the ones for destroyed structures, ion cannon firing, etc.

EDIT:

1.0.1 also released, with some performance improvements.

Re: [MOD 0.16] Map Ping 1.0.2

Posted: Wed Feb 07, 2018 10:08 pm
by Supercheese
Version 1.0.2 released, adding a hotkey to directly access the ping tool (Shift+P by default). Also comes with a setting to effectively enable "hotkey-only" mode, so you no longer need to have a ping tool lying around in your inventory/quickbar.

EDIT: 1.0.3 released, just a bugfix and some optimization.

Re: [MOD 0.16] Map Ping 1.0.4

Posted: Mon Mar 12, 2018 7:40 pm
by Supercheese
Version 1.0.4 released, with some contributions from meslem12 from GitHub!

Also a bugfix related to the new Factorio v0.16.29; check the Changelog for full details.

Re: [MOD 0.16] Map Ping 1.0.4

Posted: Wed Feb 27, 2019 12:48 am
by Supercheese
Since Factorio 0.17 now includes native Map Ping functionality, this mod is now redundant! :)

Re: [MOD 0.16] Map Ping 1.0.4

Posted: Sun Mar 29, 2020 9:08 pm
by Anton_K
Supercheese wrote: Wed Feb 27, 2019 12:48 am Since Factorio 0.17 now includes native Map Ping functionality, this mod is now redundant! :)
I've recently switched from 0.16.51 to 0.17.79, and ... where is the built-in map ping? Can you give a hint how to discover it? :)