Author Topic: Separate the reload and light key  (Read 1397 times)

It's very annoying to have them on the same key because if you aren't sure you're out of ammo and then reload but then it turns out you had full ammo, then your light turns on. The light can be a nuisance when it comes to hiding in spots because it could alert enemies and make them aware of your location.

you can always change the code

you can always change the code
I've went in the control area of the options and changed the light key and when that is changed, the reloader is changed to that same key.

you need to change the reloading system on the server, it's bound to the light command which the light keybind sends to the server, you can also use the /light or /uselight (whichever it is) to reload/use your light

there's no good way to do this on the client, maybe keeping track of ammo somehow

there's no good way to do this on the client, maybe keeping track of ammo somehow

A simple solution is to send the light command twice when the key is pressed.

probably the best way to do it, but it should still play the light on/off sound
although, does the light work while reloading? it might just toggle the light after initiating the reload

probably the best way to do it, but it should still play the light on/off sound
although, does the light work while reloading? it might just toggle the light after initiating the reload

The light never came on during the reload animation unless new weapons came out where that happens.

There is a mod called toggle lights which is a command that disables or enables the light server wide, maybe that could work

one button acts like the normal light button
one button sends "/light" to the server

nope
« Last Edit: May 19, 2015, 12:47:25 PM by TristanLuigi »

There is a mod called toggle lights which is a command that disables or enables the light server wide, maybe that could work
would need to make sure that the light disabling addon is loaded after the reloading scripts, otherwise it'll break reloading