Raised This Month: $ Target: $400
 0% 

[clarified] Flashlight efficiency


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-07-2009 , 20:02   Re: Flashlight efficiency
Reply With Quote #1

Yes I know, I searched for that plugin to get the distance codes... but in time I learned more and I just replaced all those xs stuff with get_distance() ... you should do that too

Well thanks for input, I'll try the 2nd and see what I can get xD

edit: ... well, big downside, can't set size (wich is pretty BIG for a flashlight), can't set color (wich I don't even care 'cause it's white but w/e ) ... aand you must set a model or something for the effect to work... :} so I think I'll stick with the message one

made some shots:
http://img9.**************/img9/1273/dedust20083.jpg
http://img7.**************/img7/4435/dedust20084.jpg
__________________

Last edited by Hunter-Digital; 05-07-2009 at 20:22.
Hunter-Digital is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-08-2009 , 03:41   Re: Flashlight efficiency
Reply With Quote #2

In last version of my plugin is don't use xs anymore (still include, my bad, but has no impact on plugin as all xs are stocks).
Well, you can stay with tempents method, but instead of prethink, make a thinking ent (1 to handle all players), may be make it think every 0.1 or 0.05, and set the tempent life in consequence.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-08-2009 , 04:08   Re: Flashlight efficiency
Reply With Quote #3

hmm, would be better to use a "global thinking" entity that updates all player's data like flashlight, battery, regeneration, etc ?

also, I was wondering... is while() faster than for() ?
__________________
Hunter-Digital is offline
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 01:30.


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