ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Maps - Add topographic map item

Open PabstMirror opened this issue 5 years ago • 3 comments

Adds a simple topo map that doesn't magically show every single building, wall, rock and tree

New: 20200405185251_1

Old (sat tex off): 20200405185242_1

Creates a new map ctrl over the old one this breaks anything that uses drawEH on the old map (dspCtrl 51) ace already has decent support for non "itemMap"

TODO?

  • [ ] probably re-add hill numbers
  • [ ] maybe show urban areas with some kind of shading (scripted?)

PabstMirror avatar Apr 06 '20 00:04 PabstMirror

So this got a lot more complex than I thought, most of the diff is just moving code over to a new helper: ace_common_fnc_addMapEventHandler for adding events to maps

  • proper save/load support (markers/maptool did not support)
  • runs events on the correct map, since there may be more than one now

markers, maptools, gestures, flashlight effects all seem to work correctly the only bug right now is vanilla line drawing does not work on the new map

PabstMirror avatar Apr 12 '20 23:04 PabstMirror

the only bug right now is vanilla line drawing does not work on the new map

Could add a note in a corner or something that drawing is not supported?

jonpas avatar Sep 11 '23 01:09 jonpas

Could add a note in a corner or something that drawing is not supported?

It could be re-implemented with "new" commands that allow creating polylines.

veteran29 avatar Sep 11 '23 15:09 veteran29