Here is an example for you
Rem Project: faceTest
Rem Created: Tuesday, February 11, 2014
Rem ***** Main Source File *****
sync on
sync rate 60
set display mode 640, 480, 32
autocam off
position camera 0, 1, -250
point camera 0, 0, 0
hide light 0
make light 1
position light 1, -250, 250, -500
load object "facetest.x", 1
color object 1, rgb(180, 180, 180)
perform checklist for object limbs 1
do
mx = (mousex() - 320)
my = (mousey() - 240)
set cursor 0,0
print "Move mouse around"
print
print "Object Limb Numbers and Names:"
print "Limb 1 is the 'Head Bone'"
print "Limb 2 is the 'Nose Bone'"
for i = 2 to checklist quantity()
print i - 1, ". ", checklist string$(i)
next i
rotate limb 1, 1, 0, my / 25.0, -mx / 25.0
rotate limb 1, 2, 0, my / 5.0, -mx / 5.0
sync
loop
end
Attached is the object in a few different formats. I use the .x in the above code. There is also a .max file, a .3ds, and an .obj. Not sure if the .obj or .3ds will keep object names intact.
Hope this helps.
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.