It kinda works now but the light only shines on the house not on the matrix wich looks a bit odd here is the full code! [b])
`Initial Settings
set display mode 1024,768,32
sync on
sync rate 0
fastsync
color backdrop 0,rgb(0,0,0)
`camera data
set camera range 0,1,3200
`Media
load object "C:\Documents and Settings\Graham\Desktop\village\house.x",1
load image "grass1.jpg",1
`Matrix Properties
make matrix 1,3000,3000,5,5
prepare matrix texture 1,1,1,1
`3D Object Properties
position object 1,1500,-1,1400
`Lighting properties
position light 0,0,50,0
set directional light 0,0,150,0
point light 0,0,0,0
color light 0,rgb(255,255,0)
make light 1
set spot light 1,45,101
color light 1,rgb(255,255,255)
position light 1,0,80,0
point light 1,0,0,0
set light range 1,90
set normalization on
`Text Properties
set text size 30
`Main Loop
do
`Screen Fps
text 0,0,str$(screen fps())
`Camera Control
if downkey()=1 then move camera 0,-5
if upkey()=1 then move camera 0,5
inc mx#,mousemovex()
inc my#,mousemovey()
rotate camera my#,mx#,0
`Refresh Screen
sync
`End Of Loop
loop