Raised This Month: $ Target: $400
 0% 

Flashlight distance/size/lightness relation function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 02-02-2010 , 19:16   Flashlight distance/size/lightness relation function
Reply With Quote #1

Which do you think is the function for getting the size of a flashlight by its distance, and the lightness?

I looked at SourceSDK but found nothing about calculating flashlight params. I am trying to find a function to get the proper size and color depending on the distance, like any "new" game.
01101101 is offline
capostrike93
Veteran Member
Join Date: Feb 2009
Location: adios y??
Old 02-02-2010 , 19:30   Re: Flashlight distance/size/lightness relation function
Reply With Quote #2

Edit: hay te mando mp
__________________

Last edited by capostrike93; 02-02-2010 at 19:41.
capostrike93 is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 02-02-2010 , 20:51   Re: Flashlight distance/size/lightness relation function
Reply With Quote #3

With some math I can get the size of the circle.
I can't do it now but if you want I can try tomorrow.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode