Difference between revisions of "Half-Life: Alyx Workshop Tools/Level Design/Rapidfire"
m (XBLAH moved page HLA SDK/Rapidfire to Half-Life: Alyx Workshop Tools/Level Design/Rapidfire) |
|
(No difference)
|
Revision as of 11:42, 16 May 2020
Introduction
This tutorial will teach you how give the player the SMG, or Rapidfire.
Making it pickable
Create a test room. Insert a weapon_rapidfire entity. You can set the initial ammo via the property Spawn Ammo.
You can spawn ammo by inserting an item_hlvr_clip_rapidfire point entity.
Giving it on spawn
Insert an info_hlvr_equip_player entity. Set the following properties:
Key | Value |
---|---|
Equip on Map Start | ✓ |
Rapidfire | ✓ |
You can set the initial loaded ammo with the following property:
Key | Value |
---|---|
Loaded Rapidfire Ammo | 30 |
You can set the backpack ammo amount with the following property:
Key | Value |
---|---|
Rapidfire Ammo | 30 |