CodeBase - FPS code with mini view that uses a dbo level or map

Return to the CodeBase listing

Category: World

Version: 1.0

0
0

Information

Uploaded: 11th Jul 2009 14:49

Modified: 11th Jul 2009 15:07

Author:  Softwizz

Summary

This is code I am working on to give FPS (first person shooter) control for maps (or levels) in the dbo format. I myself am using '3D World Studio'

Full Description

This is code I am working on to give FPS (first person shooter) control for maps (or levels) in the dbo format. I myself am using '3D World Studio'<br /> You must forgive the crap comments in my code as it is a mixture of stuff gleaned from the forums and changed to work.<br /> <br /> This code uses 'sparky's collision dll' and parts of the code are adapted from the 'sliding demo' that comes with the dll <br /> <br /> You will need to replace media/skyspheregrey.bmp with your own sky image<br /> you will need to replace media/level2.dbo with your own level<br /> <br /> the radius# variable is the player size<br /> you will need to change this line:<br /> if keystate(46)=1 then radius# = 15.0 else radius#= 24.5 : ` hold c to crouch<br /> as well if you change the radius value<br /> <br /> When I build my maps in 3D World Studio I always make the spawn point at o,o,o and build the map around this point.<br /> <br /> Remember this is a work in progress and is put up here more for a backup of the code than anything else, but feel free to use it if it is helpfull

Comments

No comments yet.