Black And Yellow Objective


(Stektr33) #1

I truly apologize if this has been answered, but I have been looking and trying different things for a couple hours now, trying to fix my tiny issue.

Here’s the problem, I have a (pump) objective that is satchetable by Axis; Allies are defending it. On the Axis side, it shows up with the satchet icon on the cm, as it should, but on allies, when its not destroyed, it appears as a black&yellow grid. The same goes for my simple dynamiteable generator. I know this has been somewhat addressed; one thread mentions explicitly specifying the customimages for the toi. I actually haven’t tried that because I’m not convinced that that’s the issue. I’m probably just missing one simple thing, but I’m not sure. Thanks.


(Mean Mr. Mustard) #2

I believe it’s because you’ve check ‘is_objective’ in the toi entity window. See if you did that. If so, uncheck it and all will be good.


(Stektr33) #3

I was really hoping that was it, but when I tried it turning of is_objective, it still showing up. Here’s some pertinent info:

Generator:

"classname" "func_explosive"
"targetname" "power_generator"
"scriptname" "power_generator"
"spawnflags" "4"
"health" "0"
"type" "metal"
"mass" "150"

TOI (spawn flags is for allied_objective)


"classname" "trigger_objective_info"
"spawnflags" "2"
"track" "the Power Generator"
"target" "power_generator"
"shortname" "Power Generator"

script

power_generator
{
	spawn
	{
		wait 50
		constructible_class 3 // Dynamite
	}
	
	death
	{
		trigger game_manager generator_destroyed
	}
}

(Mean Mr. Mustard) #4

hmmmm…I just ckecked the ‘is_objective’ on one of my TOI’s which targets a func_explosive. I get the black and ornage square then. Uncheck it and it disappears. Sorry, I’m out of ideas…

I believe it’s looking for an icon to display, doesn’t find one, so gives you the black and ornage square. Check goldrush (the gold in the vault) on to set an icon.


(Stektr33) #5

Alright, thanks a lot.


(Stektr33) #6

ok i just tried it again, and now it works!
i think for some reason when I unchecked it, it might not have really updated or something,but I know I saved it radiant. I moved a couple brushes around and saved it and now their gone…THANKS FOR YOUR HELP!


(Mean Mr. Mustard) #7

Cool!! Yeah, I had know idea what to suggest if it didn’t work. Glad it worked for you! :banana: