Quote: " would suggest the monster hunt tutorials: C:\Program Files\Dark Basic Software\Dark Basic\tutorials"
That would be right. the tutorials are also on the darkbasic web site:
http://developer.thegamecreators.com/?f=t01/3d_tutorial_index However the 'gun' is a cylinder. If you wanted to use, for example, a .x/3ds model, this would be the code you would use:
load object "H-MP40-Static.x",1
SCALE OBJECT 1,3000,3000,3000
FIX OBJECT PIVOT 1
position object 1,3,-3,4
Lock object on 1
obviously your model name/scale would differ, but thats what you wanted isnt it? Also, this method involves using a model, if you want to use a sprite, i remember a FPS game from the codebase which used sprites, though i never bothered reading his code... just played the game
--------------------| Current Rig |--------------------
P4 2.4GHz | 512MB DDR333 RAM | 80GB BarracudaIV | Geforce4 Ti4600 128MB | XP pro SP1 and 98SE dual boot