Weapon flaregun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(cleanup)
Line 1: Line 1:
{{DISPLAYTITLE:weapon_flaregun}}
{{hl2}} '''weapon_flaregun''' was a [[point entity]] cut from [[Half-Life 2]].
 
This entity is not in the [[FGD]], and its code is not fully developed at all.


==Introduction==
==Introduction==
The flare gun was cut from the final [[Half-Life 2]] release, but the beginnings of its code can be seen in <code>hl2_dll\weapon_flaregun.cpp</code>, which also defines the entity [[env_flare]]. The weapon was originally, as its name suggests, intended as a handheld flare-firing device, which fired an env_flare from its barrel that set objects and NPCs on fire. Its code briefly defines basic Precache, PrimaryAttack, and SecondaryAttack methods.
The remnants of its code can be seen in <code>hl2_dll\weapon_flaregun.cpp</code>, which also defines [[env_flare]]. The weapon was originally, as its name suggests, intended as a handheld flare-firing device that sets objects and NPCs on fire. Its code briefly defines basic Precache, PrimaryAttack, and SecondaryAttack methods.


The code and models for the flare gun were completed for use in the [[Source]] mod [[Missing Information]]. You can find the gun in the Borealis chapter.
Flares are fired briefly in [[Route Kanal]], but there is no gun to go along with them.


[[Category:Weapons]]
[[Category:Weapons]]

Revision as of 22:41, 26 December 2013

Half-Life 2 weapon_flaregun was a point entity cut from Half-Life 2.

Introduction

The remnants of its code can be seen in hl2_dll\weapon_flaregun.cpp, which also defines env_flare. The weapon was originally, as its name suggests, intended as a handheld flare-firing device that sets objects and NPCs on fire. Its code briefly defines basic Precache, PrimaryAttack, and SecondaryAttack methods.

Flares are fired briefly in Route Kanal, but there is no gun to go along with them.