sultim-t / vkquake-rt

GNU General Public License v2.0
345 stars 14 forks source link

Flashlight #37

Open Alfmaron opened 1 year ago

Alfmaron commented 1 year ago

Can someone add a flashlight to the mod, it will make wonders? Thanks

ccarmatic commented 1 year ago

you turn on the flashlight with the console command 'rt_flashlight' ... the value you give is the strength of the flashlight

Alfmaron commented 1 year ago

Thanks! Is there a way to bind it to the key?

ccarmatic commented 1 year ago

alias flashlight-on "rt_flashlight 100; bind q flashlight-off" alias flashlight-off "rt_flashlight 0; bind q flashlight-on" bind q flashlight-on

this should work if you put it in your autoexec.cfg, i think but change the key and the flashlight value for yourself

ccarmatic commented 1 year ago

one thing to note is that the flashlight is offset to the left side of your character, I know that in the Half Life RTX mod there are parameters you can set to change the offset, but I don't know if the same is true for this mod

Alfmaron commented 1 year ago

Thank You very much!! Works great : ) As for the offset, can you write the code here so I can experiment with the settings. Thanks again

ccarmatic commented 1 year ago

Unfortunately it seems that it is not accessible via console commands, Sultim himself would have to make it accessible before anyone can do anything about it

Alfmaron commented 1 year ago

Thanks for all Your help.