Raised This Month: $12 Target: $400
 3% 

[L4D1] Flashlight with large beam cone


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 01-21-2023 , 07:03   [L4D1] Flashlight with large beam cone
Reply With Quote #1

Just a quick question but also a request:

Can a simple script be created to modify the default settings of "r_flashlightfov" and "r_flashlightfar" to increase the game's own flashlight beam length and cone for all players on map start? I haven't been able to find a simple plugin through the forum's filter search at this link here

Any help would be appreciated,

Sunyata
Sunyata is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 01-21-2023 , 07:16   Re: [L4D1] Flashlight with large beam cone
Reply With Quote #2

I believe is client-sided so no.

https://developer.valvesoftware.com/..._of_L4D2_Cvars

Code:
r_flashlightfar                          : 750.0    : , "cheat", "cl"  : 
r_flashlightfov                          : 53.0     : , "cheat", "cl"  :
__________________

Last edited by Marttt; 01-21-2023 at 07:17.
Marttt is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 01-21-2023 , 07:50   Re: [L4D1] Flashlight with large beam cone
Reply With Quote #3

Marttt, thanks for getting back to me so promptly. I suspected as much, that it only works on the client-side and not the server-side. That's unfortunate. I'm wondering why the SM API can't modify those values. Could it be related to Valve again - similar to when they removed certain glow effects in the past?
Sunyata is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 01-21-2023 , 08:03   Re: [L4D1] Flashlight with large beam cone
Reply With Quote #4

Usually client-side means that it only runs at the "client-side" since SM is server-side you can't modify some stuff like this, the workaround is going for addons
__________________
Marttt is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 01-21-2023 , 08:12   Re: [L4D1] Flashlight with large beam cone
Reply With Quote #5

Yeah, addons are great for l4d2, but I want this specifically for l4d1. But thanks for the quick reply again.

Last edited by Sunyata; 01-21-2023 at 08:13.
Sunyata is offline
Reply


Thread Tools
Display Modes

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 17:01.


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