map marker icons


(mrfin) #1

Hello mapping types

Can someone suggest the best way to add an entity to my map that will have a command map icon, but after a while (after a script event) the entity and map icon will be removed.

Thanks for help…


(thegnat) #2

What about a misc_commandmap_marker entity combined with a TOI?


(Ifurita) #3

Download anyone of the Dubrovnik maps (_final or _etc) from and look thru the script. I turn command map icons on and off using the setstate commands when:

  • objective is capped
  • constructable doors are built
  • obj is taken

I also added seperate TOIs and command map markers to show the red x or green check. These are setstated invisible at game start and default upon completion of objectives

Here’s an example


(mrfin) #4

excellent - thanks Ifurita

…in my map there is a train that is not activated for fixing until a truck gets to a certain point. The train icon only appears when the train is first fixed and I tought of making a seperate map icon to show the position of the train before the fixing.

In fact I’m still in two minds about this because the train is not that relevant until the truck reaches it - besides which the map is a simple layout and the train is easilly found. The icon materialises when the train is active


(Ifurita) #5

you can also use remapshader on cm_icons to change cm markers (see Reactor_B3 for an example of this script). Let me know if you need any help.