Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / laser sight with raycasting in pure dbp code no dll

Author
Message
Cliff 3degs network
21
Years of Service
User Offline
Joined: 23rd May 2003
Location: Sweden
Posted: 5th Jul 2005 02:53 Edited at: 5th Jul 2005 03:28
i started working with math89s raycasting code and found it very usefull and merged it with my own code for the laser sight that i had started for my game.
so let me know wath you all think of it is it any usefull or yust crapp.
i do not usually enter snippets.
screenie is included.
and special thanks to math89 (france)



fixed an tiny bugg the code is ok now

AMD ATHLON 1.8 XP WITH AN GEFORCE 4 TITANIUM 4600 (128 MB) AND 256 MB DDRAM (266).

Attachments

Login to view attachments
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 5th Jul 2005 14:52
awesome code
got plenty of potential(especially spy themed games)

n00bs will be shot on spot...
i need some more ammo there are just too many of them better call in the moderators to help
Cliff 3degs network
21
Years of Service
User Offline
Joined: 23rd May 2003
Location: Sweden
Posted: 6th Jul 2005 02:19
thanks.
i cant take that much cred for it as i think math89 should have the greater deal of it.
i yust added some tiny bits.
only crapper is that i am having alot of problems to get it to work right in my own game as i started writing it a long time ago.(the game that is)
and have learned lately that much of my old code is crapp and should be rewritten.

AMD ATHLON 1.8 XP WITH AN GEFORCE 4 TITANIUM 4600 (128 MB) AND 256 MB DDRAM (266).
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 15th Jul 2005 05:48
if u make loads and loads of rays... all dispersing out, you can make a Volumetric lighting effect which will look pretty cool

SSDD
Same Sh** Different Day

Login to post a reply

Server time is: 2024-11-23 10:31:56
Your offset time is: 2024-11-23 10:31:56