A little problem with commands

Blitz3D Forums/Blitz3D Beginners Area/A little problem with commands

Chad(Posted 2006) [#1]
I can't seem to get my "shooting" code to work.. Please take a look and help me out. I think it might be something with the Update(renderworld) command but I'm not sure. Also, I'd like some good fog, if anyone has any recommendations?



b32(Posted 2006) [#2]
The shooting code did not work because it wasn't in the main loop:

A way to implement fog is to use the B3d fog commands.
These commands are used for that:
CameraFogRange camera, 5, 50 ;set fog range
CameraFogMode camera, 1 ;turn fog on
CameraFogColor camera, 255, 0, 0 ;color fog
CameraClsColor camera, 255, 0, 0 ;color backg


Rook Zimbabwe(Posted 2006) [#3]
This is the example that helped me the best... JFK is a genius!!! I had to model my own crossbow and bolts and change quite a bit of code but whoa!!!

This is IN the Code archives...


Chad(Posted 2006) [#4]
Very nice, thanks Rook :-D