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.

DarkBASIC Discussion / How do I make a GOOD flashlight in DBC

Author
Message
HWT
20
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 10th Sep 2005 00:58
Hi there

I would be most grateful if anyone could provide me with some help as to how one could go about making a good flashlight like in HalfLife for example.

Thanks

HelloWorld Tommorrow
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 10th Sep 2005 02:17
Point like 40 lights, some brighter then the other

I dont know if that WILL work, might slow down the game too.
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 10th Sep 2005 03:15
You can only have (I think) seven lights in DBC!

TDK_Man

blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 11th Sep 2005 20:50
A ghosted cone.



Doesn't look that bad, does it? All you've got to do from there is rotate it either to come from your character's hand, or to come from the screen (depending on whether it's a 3rd person or 1st person viewpoint.)

If the camera will end up actually inside the cone (like for a 1st person game), change the last '1' of the 'set object' command to '0'. (Otherwise the cone will become invisible when you look inside of it.)

Part of the 'Emergency Response Noob Shooting Team' :: Feel free to add me to MSN, but don't expect any big favours [unless you like VB6]. ... I pwn small creatures.
HWT
20
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 12th Sep 2005 02:01
Thanks for you help guys Very much appreciated I'm trying out something right now...

Thanks again

HelloWorld Tommorrow

Login to post a reply

Server time is: 2025-05-22 08:46:36
Your offset time is: 2025-05-22 08:46:36