I was bored one day so I made a snowman that would follow you around. The hardest part was making it know what it was supposed to be standing on (and I still don't think I've got it 100% right).
The position of the snowman is calculated using 2 vectors:
- The first uses a ranger that starts just above the snowman and makes a trace down through the snowman to the floor - (this allows me to make the holo move up and down until it appears to be resting on something).
- I then made a vector between the player the snowman is following and the hologram itself. If the vector is too big the holo simply moves towards the player.
The commands are:
"!follow NAME" - Follows the player with the given NAME
"!rave" - Makes the snowman rave
"!sing" - Makes the snowman sing
"!shutup" - Stops the snowman from singing or raving
"!yes" - Makes the snowman nod
"!no" - Makes the snowman shake his head
"!hat" - Toggles it's hat
"!scarf" - Toggles it's scarf
"!mouth" - Toggles it's mouth
"!arms" - Toggles it's arms
"!buttons" - Toggles it's buttons
"!belt" - Toggles it's belt
[Apologies for the bad quality video]
HAVE FUN!
Bookmarks