Im trying to give players a santa hat on holidays, and im currently struggling on creating the hat.
Syntax: Select all
SANTA_HAT_MODEL = Model('models/player/holiday/santahat.mdl')
prop_dynamic_override = Entity.create('prop_dynamic_override')
prop_dynamic_override.set_model(SANTA_HAT_MODEL)
prop_dynamic_override.spawn_flags = 256
prop_dynamic_override.set_parent(player)
And the my questions are:
1. How can I make it not solid
2. How do I properly set it on top of the player? (Just +64 units ..?)
3. How can I hide it for the player itself
4. How can I remove the hat e.g. on player_death