Forum posts

Thanks for the help! Everything works fine instead of crosshairs, they remain the same color. But I guess that's the reason of sprite itself, as it is already colored.
Hello,

I am following this tutorial and I run into the problem. I compile everything without errors, but hud remains green even if I try to change it's color via options.

Any ideas on how to resolve this problem? Maybe there are additional steps while working with op4 SDK?
Posted 3 years ago2021-05-27 19:06:06 UTC
in Editing Flashlight Post #345667
You are a saver! I have copy pasted all of the lines from HL to OF and it worked! I have also had to delete few lines which were not in HL.

Anyway, thank you! :glad:
Posted 3 years ago2021-05-19 08:23:24 UTC
in Editing Flashlight Post #345634
Hello, I am working on my mod set on OF source code and I wish to change OF nightvision to HL flashlight.

Do you know where in source code could I find the files and lines which are responsible for flashlight and how it works.

I have replaced flashlight.cpp with the one from original Half-Life, but the flashlight still casts the light around the player just like in OF instead of lighting into the distance.

Thank you.