Raised This Month: $32 Target: $400
 8% 

Small request* Flashlight for TF2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 04-14-2015 , 10:35   Small request* Flashlight for TF2
Reply With Quote #1

I don't know how to make plugins, but this request for you...maybe anyone wants do it.
Maximilian_ is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 04-14-2015 , 19:12   Re: Small request* Flashlight for TF2
Reply With Quote #2

You can try using a plugin [CS:GO] Flashlight (it works fine in the game NMRiH, but do not work variables sm_flashlight_lookatweapon & sm_flashlight_return because there is no such command +lookatweapon ).
Only beam of a flashlight is located at the waist of the player, and not on the weapons or in the hand.
__________________
Grey83 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-14-2015 , 19:51   Re: Small request* Flashlight for TF2
Reply With Quote #3

Quote:
Originally Posted by Grey83 View Post
You can try using a plugin [CS:GO] Flashlight (it works fine in the game NMRiH, but do not work variables sm_flashlight_lookatweapon & sm_flashlight_return because there is no such command +lookatweapon ).
Only beam of a flashlight is located at the waist of the player, and not on the weapons or in the hand.
afaik tf2 removed the flash light, you will need to attach a point spotlight and a light entity to the player's view.
Mitchell is offline
arthurdead
Senior Member
Join Date: Jul 2013
Old 04-14-2015 , 20:42   Re: Small request* Flashlight for TF2
Reply With Quote #4

impulse 100 still works in tf2 but you need mp_flashlight and mat_supportflashlight look at how sf2 does it
arthurdead is offline
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 04-15-2015 , 07:51   Re: Small request* Flashlight for TF2
Reply With Quote #5

Excuse me, i newbie...maybe someone do this plugin?

Last edited by Maximilian_; 04-15-2015 at 08:01.
Maximilian_ is offline
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 04-15-2015 , 08:09   Re: Small request* Flashlight for TF2
Reply With Quote #6

I did it, with this commands:
sv_cheats 1
mat_supportflashlight 1 //0 - do not support flashlight (don't load flashlight shader combos), 1 - flashlight is supported
mp_flashlight 1
r_flashlight_version2 0
r_flashlightambient 0.0
r_flashlightclip 0
r_flashlightconstant 0.0
r_flashlightculldepth 1
r_flashlightdepthres 1024
r_flashlightdepthtexture 1
r_flashlightdrawclip 0
r_flashlightdrawdepth 0
r_flashlightdrawfrustum 0
r_flashlightdrawfrustumbbox 0
r_flashlightdrawsweptbbox 0
r_flashlightfar 750.0
r_flashlightfov 45.0
r_flashlightladderdist 40.0
r_flashlightlinear 100
r_flashlightlockposition 0
r_flashlightmodels 1
r_flashlightnear 4.0
r_flashlightnodraw 0
r_flashlightoffsetx 10.0
r_flashlightoffsety -20.0
r_flashlightoffsetz 24.0
r_flashlightquadratic 0.0
r_flashlightrender 1
r_flashlightrendermodels 1
r_flashlightrenderworld 1
r_flashlightscissor 1
r_flashlightshadowatten 0.35
r_flashlightupdatedepth 1
r_flashlightvisualizetrace 0
give item_suit
bind f "impulse 100"

Last edited by Maximilian_; 04-15-2015 at 08:10.
Maximilian_ is offline
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 04-15-2015 , 08:13   Re: Small request* Flashlight for TF2
Reply With Quote #7

But how do it in plugin?
Maximilian_ 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:15.


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