Blockland Forums > Suggestions & Requests
"Flashlight" for using weapons
MasterBlockMan:
--- Quote from: Wolfie on May 15, 2010, 09:49:19 AM ---EXACTLY!
--- End quote ---
--- Quote from: Superlolman on May 14, 2010, 11:10:20 AM --- Use the default light.
--- End quote ---
Wedge:
The default is a point light that casts in every direction from the player's hand. He wants a spotlight directed forward. Is it really that difficult to understand?
The default light is not a spotlight, so no, it does not fulfill the requirements of the suggestion and you should stop suggesting it.
Another possible technique for the light would be to mount a series of point lights that had increasingly larger falloff distances along a line to approximate the shape of a cone and then using a raycast to hide/unhide lights positioned on the flash light beam based on the the distance to the wall. That might address the lag issue with moving lights but I don't really know how efficient it would be.
MasterBlockMan:
--- Quote from: Wedge on May 15, 2010, 12:51:48 PM ----not so long snip-
--- End quote ---
If he is in first-person, he wouldn't see the light on the back of him so he could just use the default. If im wrong Wedge is right.
Wedge:
A point light is still a point light, even if you can only see 180 degrees of it because the rest is behind you. He wants light with direction, as in a narrow shaft of illumination directed where your cross-hair is pointed.
psycopathic clown:
--- Quote from: MasterBlockMan on May 15, 2010, 01:31:56 PM ---If he is in first-person, he wouldn't see the light on the back of him so he could just use the default. If im wrong Wedge is right.
--- End quote ---
Wedge is right.
Thats all I have to say.