func_explosive and commandmap


(Siemnov) #1

Hi there,

I have this problem with the way my func_explosives are being shown on the command map. When they’re not supposed to be shown, they appear as yellowblack squares, so he can’t find the image. For the side that has to blow up the objective, it appears fine as either dynamite or a satchel, but when I join the other side, it shows as such a yellowblack square. Note that any other icontype shows just fine.
So how do I do this right? I’m sure it’s just something I don’t know about. Could this have something to do with using my func_explosive as the target for my toi? I heard Drakir had a similar problem…
Thanks in advance.


(nUllSkillZ) #2

It has something to do with the spawnflag.
If the is_objective option is checked then command map icons have to be set manually.
That’s my experience.
Try it with un-checked is_objective option.


(Siemnov) #3

Ok, works great now, thanks!
As I was saying, it’s probably just something I don’t know about.