misc_commandmap_marker


(isbowhten) #1

sounds easy… but … i cant get it working.

there were always problems with it…

what i want is a icon which is always there, i will disable the icon via script later…
i wanna a simple, single icon ^^ shown to BOTH teams and if disabled NOT shown for BOTH teams :slight_smile:
and there should be NO range-black box instead of the icon (the icon is ok it works if i use a constructible to show the icon)


(th0rn3) #2

Is it pointed to (by) a trigger


(isbowhten) #3

i know :stuck_out_tongue: but sometimes it wasnt shown for both teams etc… alot of problems occurred…


(IndyJones) #4

thread bump.


(IndyJones) #5

i have to bump again :frowning:


(Igloo) #6

What’s your problem?

It’s really simple to create a working icon on your map! You should use misc_commandmap_marker & trigger_objective_info.

An example:

classname "[b]trigger_objective_info[/b]"
targetname "[b]test_toi[/b]"
scriptname "[b]test_toi[/b]"
target "[b]test_marker[/b]"
track "[b].[/b]"
customimage "[b]gfx/limbo/cm_truck[/b]"
spawnflags "[b]19[/b]" [[b]axis_objective[/b]+[b]allied_objective[/b]+[b]is_objective[/b]]
classname "[b]misc_commandmap_marker[/b]"
targetname "[b]test_marker[/b]"
scriptname "[b]test_marker[/b]"
origin "[i]YOUR ORIGIN - I PLACE THIS ENTITY IN THE CENTER (of [b]X,Y-axis[/b]) OF THE TRIGGER[/i]"

I hope you understand. So if you only want to have an icon (track’s content can be anything like a dot etc.) you need also to place both very high… or low… wherever the player can’t reach them :smiley: AFAIR this trick is used in Dubrovnik near the church’s gate.

Greetings,
Igloo


(Wezelkrozum) #7

The problem was we tried the toi with spawnflags: axis_objective and is_objective. Never knew allied_objective must be checked


(isbowhten) #8

why scriptname?


(Igloo) #9

Why not? You can always make a routine. But it doesn’t matter if you use this or not, does it :slight_smile:


(isbowhten) #10

no it doesnt but perhaps it is needed ^^
would have been unlogical but i also thought i wont need spawnflags for allies and axis.


(pazur) #11

Maybe you can check in the original source maps? I can imagine that the “radars” from the map Radar are visible for both teams, but I’m not 100% sure.


(isbowhten) #12

problem … i only tested standard icons:
=> axis_objective + is_objective
func constructible: start built + axis constructible

result:orange black box… i tested it more to see the mistake…

it seems that alls built objectives do place a orange-black box? xD i am sure this is not true…

but dynamite works(if allied), constaxis works(if axis).
before built: allies nothing, axis -> constaxis
after built: alllies ->dynamite, axis -> orange-black box

so say me what i did wrong :stuck_out_tongue:


(pazur) #13

The icon requires two entities: a.) misc_commandmap_marker b.) trigger_objective_info

The misc_commandmap_marker doesn’t have many flags, but the trigger_objective_info has…

See screenshots of the gate icon entities in Adlerhorst:

misc_commandmap_marker: http://flickr.com/photos/86957127@N00/2758450161/sizes/o/

trigger_objective_info: http://flickr.com/photos/86957127@N00/2759288448/sizes/o/

Hope that helps. Maybe you can copy some of the keys.


(isbowhten) #14

but in my post i said that i only used standard icons… those with the “is_objective” spawnflag…
and the orange-black box of built objectives overlaps the working icons