Okay, I know theres a lot of these on here, but im having trouble making a level. I'm a newb so please bear with me.
I have a .x file I would like to use for my 'level', and I only have a camera for my player, no .x file for him. However, every time i start my program the player falls thru the x file into the sky-sphere. I have downloaded and used the sparky DLL, however that did nothing for me, unless im doing something wrong.
This is how im starting my game:
rem Standard Setup Code
sync on : sync rate 0 : color backdrop rgb(0,0,64) : backdrop on
set text font "arial" : set text size 16
set text to bold : set text transparent
rem Loading prompt
STOP MUSIC 1
sync : center text screen width()/2,screen height()/2,"LOADING" : sync
rem Set camera
set camera range 0.1,5000
position camera 2,400,2
rotate camera 0,45,0
autocam off
rem Load BSP world
SkyObj=1 : load object "skies\sky.x",SkyObj
wrld=2 : load object "world.x",wrld
POSITION OBJECT 2,0,0,0
SC_setupObject 2,0,2
SC_setObjectCollisionOn 2
rem Setup sky model
set object SkyObj,1,0,0,0,0,0,0
scale object SkyObj,20,20,20
After that its just key/movement handlers.
Apparently .bsp files are a lot easier to work with, if any one knows of a utility to create a .bsp file from a .x file, let me know. I've looked and looked but I've found nothing that actually works.
Any help would be appreciated! Thx in advance.