Half-Life: Alyx Workshop Tools/Level Design/Energy Gun
Jump to navigation
Jump to search
Introduction
This tutorial will teach you how give the player the Pistol, or Energy Gun.
Making it pickable
Create a test room. Insert a weapon_energygun entity. You can set the initial ammo via the property Spawn Ammo.
Giving it on spawn
Insert an info_hlvr_equip_player entity. Set the following properties:
Key | Value |
---|---|
Equip on Map Start | ✓ |
Pistol | ✓ |
You can set the initial loaded ammo with the following property:
Key | Value |
---|---|
Loaded Pistol Ammo | 10 |
You can set the backpack ammo amount with the following property:
Key | Value |
---|---|
Pistol Ammo | 10 |