I've got some sounds stored as memblocks within files - my problem is getting them out of the files...
TempMem=254
read memblock SoundsFile,TempMem
make sound from memblock val(Items$(DataLoad,5)),TempMem
is there anyway to make a 3D sound from a memblock, because before I packaged them they were 3D sounds, now I can't seem to do that. Sounds that weren't 3D (like music) are obviously unaffected by this...
and another point is skyboxes:
TempMem=252
read memblock SkyFile,TempMem
make mesh from memblock val(Sky$(DataLoad,2)),TempMem
read memblock SkyFile,TempMem
make image from memblock val(Sky$(DataLoad,2)),TempMem
make object val(Sky$(DataLoad,2)),val(Sky$(DataLoad,2)),val(Sky$(DataLoad,2))
problem with this? all sides of the skybox are textured the same!
Items$(x,5)=Name of sound to play when object is used (val of (x,6) is the sound number)
sky$(x,2)=Is the object number to use for the skybox (and this is the highest possible number available)
Any help would be mich appreciated...
...maybe one day I'll finish a project
