Home   Help Search Login Register  

Author Topic: Map Markers Scipted vs. Addon  (Read 2128 times)

0 Members and 1 Guest are viewing this topic.

Offline Knight Trane

  • Members
  • *
Map Markers Scipted vs. Addon
« on: 11 Dec 2008, 22:29:54 »
Hey Guys,

Quick question.  Is it possible to add new map markers with just scripting?  I'd like to use some real military map markers, but I don't want to use addons.  Frankly the stock BIS markers look childish.  Any thoughts?  

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Map Markers Scipted vs. Addon
« Reply #1 on: 11 Dec 2008, 22:33:14 »
I think you will need to use external addons if you want to use extra marker types.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Map Markers Scipted vs. Addon
« Reply #2 on: 12 Dec 2008, 00:19:51 »
Yep. You can't add new markers or even new colours for them (you can only use red/green/blue/black/white/yellow by default), without an addon. The only conceivable alternative to this is to draw your own markers using just the square markers as lines (look at SPON Map, where I draw circles, squares and curves just using the square marker shape). I would advise you to just choose a decent addon marker set though...or live with the BIS ones, because drawing markers for yourself is never going to be easy or look very good.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Knight Trane

  • Members
  • *
Re: Map Markers Scipted vs. Addon
« Reply #3 on: 12 Dec 2008, 20:46:02 »
Yeah,
I thought so.  I titled it specifically for noobs.   Easy to search.  Thanks.  I think MAP Misc. has decent markers.

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: Map Markers Scipted vs. Addon
« Reply #4 on: 13 Dec 2008, 10:23:18 »
I wonder if it could be done using dialogs... ?

Has anyone tried yet?
try { return true; } finally { return false; }

Offline Ext3rmin4tor

  • Members
  • *
Re: Map Markers Scipted vs. Addon
« Reply #5 on: 13 Dec 2008, 12:36:05 »
No, but I don't get why you wanto t write a long and boring script when you can just put a small addon toghether your mission when you release it, few markers would be jus few KBs
How can you shoot women and children?
Easy! Ya' just don't lead'em so much! Ain't war hell?!!

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Map Markers Scipted vs. Addon
« Reply #6 on: 13 Dec 2008, 13:46:00 »
Yes, it is possible to overlay markers on the map using dialogs (I do this, and I suspect BIS does it too, when you are placing an icon on the map, but haven't committed it). However, you can't alter the BIS map dialog without using an addon, so the dialog-markers would just be on your own map controls. More importantly, you'd have to track all the zooming and map scrolling to ensure your marker was in the correct place...
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Knight Trane

  • Members
  • *
Re: Map Markers Scipted vs. Addon
« Reply #7 on: 20 Jan 2009, 17:42:06 »
Is it possible to limit the Markers that players can use in game?

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Map Markers Scipted vs. Addon
« Reply #8 on: 20 Jan 2009, 18:52:42 »
Not as far as I am aware. Do you mean to stop them using markers that other people don't have, which causes errors (Just play on a decent server that only allows set addons and this won't be a problem) or only letting a subset of the available markers be used by the players? Pretty certain that you couldn't limit what was available to players, except by removing the markers entirely from the addons, which would prevent them being available in the editor either.

Personally, I find that players only ever use a couple of markers for everything anyway, rather than scrolling through the list for the ones they should use, especially when they have a lot of markers available. Different matter with SPON Map though ;P
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Knight Trane

  • Members
  • *
Re: Map Markers Scipted vs. Addon
« Reply #9 on: 20 Jan 2009, 23:11:01 »
Does Spon Map work with the ACE mod?  Do I need Spon Core even though Spon Core is in ACE?

But I was also wondering, if I can't get rid of the Markers I don't want, could I at least put them in the order I want?  I like others only need a few, but I want to use the ones that are in the middle of the list.  Is it possible to reorganize the list? 

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Map Markers Scipted vs. Addon
« Reply #10 on: 21 Jan 2009, 11:10:46 »
You don't need SPON Core twice. You can happily use SPON Map with the ACE mod and it will use the Core it finds there. You'd need to ensure that the Map addon was loaded after ACE though, or it will complain that Core can't be found.

You could reorganise the list, I think, by creating a replacement addon that redefined all the markers. However, if you reorganise the list, you won't be able to access the ones that are easiest to access now ;P Certainly, if you are playing ACE, you can't avoid having a ridiculous number of markers, making the standard selection method quite unwieldy.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)