Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashlight #37

Open
Alfmaron opened this issue Apr 29, 2023 · 7 comments
Open

Flashlight #37

Alfmaron opened this issue Apr 29, 2023 · 7 comments

Comments

@Alfmaron
Copy link

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

@ccarmatic
Copy link

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

@Alfmaron
Copy link
Author

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

@ccarmatic
Copy link

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
Copy link

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
Copy link
Author

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
Copy link

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
Copy link
Author

Alfmaron commented Apr 30, 2023

Thanks for all Your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants