asw_weapon_night_vision

From Source Entities
Jump to navigation Jump to search
Info.png

This entity is not in the stock FGD files by default.
See below for instructions on making it available.

Code classes:

Asw itemboxsmall skin5.png

asw_weapon_night_vision is a point entity present in Asw.pngAlien Swarm. The MNV34 Nightvision Goggles give the wearer the ability to see better in dark areas and highlights enemies.

FGD Code[edit | edit source]

@PointClass base(Weapon) studio("models/items/itembox/itemboxsmall.mdl") = asw_weapon_night_vision : "Night Vision"
[
	Skin(integer)readonly : "Skin" : 5
]

ConVars/Commands[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
asw_night_vision_duration20.0SecondsHow long the night vision effect will last.

See Also[edit | edit source]