AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D1] Flashlight with large beam cone (https://forums.alliedmods.net/showthread.php?t=341410)

Sunyata 01-21-2023 07:03

[L4D1] Flashlight with large beam cone
 
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

Marttt 01-21-2023 07:16

Re: [L4D1] Flashlight with large beam cone
 
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"  :


Sunyata 01-21-2023 07:50

Re: [L4D1] Flashlight with large beam cone
 
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?

Marttt 01-21-2023 08:03

Re: [L4D1] Flashlight with large beam cone
 
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

Sunyata 01-21-2023 08:12

Re: [L4D1] Flashlight with large beam cone
 
Yeah, addons are great for l4d2, but I want this specifically for l4d1. But thanks for the quick reply again. :)


All times are GMT -4. The time now is 04:39.

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