Triggering hats and weapons.

Untouch

L4: Comfortable Member
Jan 25, 2010
187
48
In part of a map I'm making the player is coloured via an input.
That works fine, but weapons and hats/miscs aren't coloured.

They don't seem to trigger triggers.
Is this due to parenting or can the entities not trigger triggers, I know some cannot.

Thanks.
 

Janeator

L2: Junior Member
Dec 12, 2012
66
26
I guess thy are not affected because they're not a part of the player's model somehow. I think it's because they're something customizable by the users. Just a theory.
 

henke37

aa
Sep 23, 2011
2,075
515
I think it could be a shader issue. And possibly a parenting issue.
 

Untouch

L4: Comfortable Member
Jan 25, 2010
187
48
They CAN be painted, they just can't be triggered.

I don't think they effectively have a collision box though.
 

Fish 2.0

L6: Sharp Member
Nov 22, 2012
324
262
Is this due to parenting or can the entities not trigger triggers, I know some cannot.

Assuming (assuming) that triggers only work on things Valve has defined triggers to work on (players, some props etc)...

I made a hat, and it's a completely separate entity to the player. It's parented to the head bone, to it's location/rotation follows relative to the head bone (or whatever bone the model is set to be child of)


I'm thinking that hats/miscs, whilst parented to bones aren't detected by triggers at all. Valve would have no use for it, so why would they implement a redundant feature?

Once again, assuming.