Half life 2 flashlight for half life 1 (realistic flashlight) Created 3 years ago2020-07-15 12:38:07 UTC by Rodi Rodi

Created 3 years ago2020-07-15 12:38:07 UTC by Rodi Rodi

Posted 3 years ago2020-07-15 12:38:07 UTC Post #344540
Hello everyone, I am a beginner modder, doing one mod for Half life 1
I want to make a normal flashlight for Half life, as in Half life 2, but I don’t know how.
I have the source code Half life 1.
Posted 3 years ago2020-07-15 13:04:14 UTC Post #344541
That will require some OpenGL programming, and that's not really meant for beginners.
Specifically, you would have to implement a projected texture, although if you really want to do it, you can probably take a look at Trinity Renderer's source code.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 3 years ago2020-07-20 17:14:11 UTC Post #344555
Hmm, this would be hard. But i recommended just using HL1 Flashlight, cause it really fit for the game.
John Pot John PotIt's Me, From Discord
You must be logged in to post a response.