Author Topic: Mask help.  (Read 820 times)

Creating some masks for Blockland, I already have them modeled and exported I just need to figure out how to mount them to the center of the face.
The origin.
Is there a specific code I can use to test this?

dump() a player, find the function that lets you mount an image, head slot is 2 5.
« Last Edit: January 01, 2014, 03:24:08 PM by boodals 2 »

dump() a player, find the function that lets you mount an image, head slot is 2.
Thanks


Hmm, thats odd. Im sure in my hat mod code I use slot 2 and it works fine. Maybe I misread it or something dumb.
I guess if 5 doesn't align with the head, try 2, it couldn't hurt.

Hmm, thats odd. Im sure in my hat mod code I use slot 2 and it works fine. Maybe I misread it or something dumb.
I guess if 5 doesn't align with the head, try 2, it couldn't hurt.
2 made it upside-down.
Nvm I did the axis wrong on the model.

But yeah 5 and 2 work fine.

I'm pretty sure 2 is head and 5 is helmet.

I'm pretty sure 2 is head and 5 is helmet.
talk($HeadSlot);

Pretty sure it is 5 for the head.

You should always use the variables, like $HeadSlot and $BackSlot.

You should always use the variables, like $HeadSlot and $BackSlot.
I disagree. Why waste the extra variable lookup? Use the variable to figure out what number you should use then use the number. Torque is already slow as stuff, why bother making your code even slower?

talk($HeadSlot);

Pretty sure it is 5 for the head.
If you print $HeadSlot and it returns 5, it's 5 for head. Does this confuse you? Why are you only "pretty sure?"