Editing Flashlight Created 2 years ago2021-05-19 08:23:24 UTC by GeckoOrange GeckoOrange

Created 2 years ago2021-05-19 08:23:24 UTC by GeckoOrange GeckoOrange

Posted 2 years ago2021-05-19 08:23:24 UTC 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.
Posted 2 years ago2021-05-19 11:59:50 UTC Post #345636
bumping for interest :freeman:
Posted 2 years ago2021-05-19 13:08:54 UTC Post #345637
Posted 2 years ago2021-05-27 19:06:06 UTC 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:
You must be logged in to post a response.