Im having a bit of trouble programming a 3DWS map, saved in .X, into my current program.
I have got all the textures, and the .X file into my media tab on the right of the screen,. I have then put the x file into the program, by loading the model, and I have programmed in a few textures aswell.
When I try to run the map, the only texture that appears is the bottom most one in the list. This is what it looks like at the moment.
rem load textures
rem load grass texture
load bitmap "grass02.bmp",1
get image 1,0,0,256,256
delete bitmap 1
rem load stone texture
load bitmap "stone01.bmp",2
get image 2,0,0,256,256
delete bitmap 2
rem load player texture
load bitmap "thug_texture.dds",3
get image 3,0,0,256,256
delete bitmap 3
rem load map textures
rem load "cash-for-cheques-sign01.bmp"
load bitmap "cash-for-cheques-sign01.bmp",4
get image 4,0,0,1024,128
delete bitmap 4
rem load "bench_t.bmp"
load bitmap "bench_t.bmp",5
get image 5,0,0,512,512
delete bitmap 5
rem load objects
rem load player object
load object "thug.x",1
texture object 1,3
position object 1,100,0,100
scale object 1,5,5,5
rem load map
load object "american_streets.x",2
scale object 2,3,3,3
texture object 2,4
texture object 2,5
Then, of course, the coding goes on with the camera and player stuff etc.
Any help would be greatly appreciated!
www.the-anarchy.fusiveweb.co.uk