I'm reading through the second part of lesson 7 in the tutorials, and am having a few problems.
1) I can't get the hovercraft object glued to the player object for 3rd person camera mode. I tried to run the example code and got the same exceptions as I did when I ran it. Does anyone know of problems with this? What am I doing wrong.
2) I can't get the hovercraft textured. It keeps telling me it is unable to read the bmp. I'm able to load it in Paint, it is coming from the same directory as the hovercraft.3ds (which loaded fine), I've checked the spelling numerous times (example was hovercraft.bmp, but the directory has hovercraft_1.bmp, 2,3,4...). I've checked the documentation and it looks like I'm using everything correctly.
Does anyone have any suggestions?
Outcast
`---------
` Player Loading
`---------
`make a temporary player object
PLAYER_OBJ_ID = 1
make object cube PLAYER_OBJ_ID,1
HOVERCRAFT_OBJ_ID = 102
load object "media/hovercraft.3ds", HOVERCRAFT_OBJ_ID
scale object HOVERCRAFT_OBJ_ID,175,175,175
position object HOVERCRAFT_OBJ_ID, 250,1,250
HOVERCRAFT_TEXTURE_ID = 1
`load image "media/hovercraft_1.bmp", HOVERCRAFT_TEXTURE_ID
`texture object HOVERCRAFT_OBJ_ID, HOVERCRAFT_TEXTURE_ID
`set object texture HOVERCRAFT_OBJ_ID, 0, 1
glue object to limb HOVERCRAFT_OBJ_ID, PLAYER_OBJ_ID, 1
hide limb PLAYER_OBJ_ID, 1
position object PLAYER_OBJ_ID,250,1,250