This article relates to the game "Half-Life: Alyx". Click here for more information.
This article relates to the workshop tools for "Half-Life: Alyx". Click here for more information.
This article's documentation is for Source 2. Click here for more information.

Gordon Gloves

From Valve Developer Community
Jump to: navigation, search
Русский

Introduction

This tutorial will teach you how change the player hands to use Gordon Gloves.

Setup

Create a test room. Insert a logic_playerproxy entity and, for this tutorial, set it's name to playerproxy.

HLA SDK Gordon Gloves Img1.png

Insert a logic_auto entity. In the outputs, add the following output:

My Output Target Entity Target Input Parameter Delay
OnNewGame playerproxy SetGlovesGordon 0.00

You can switch back to use Alyx Gloves with a logic_relay or similar entity with the following output:

My Output Target Entity Target Input Parameter Delay
<output> playerproxy SetGlovesAlyx 0.00

Finishing up

Compile and run your map, and you should have the Gordon Gloves.

You can download the example map here [[1]].

HLA SDK Gordon Gloves Img2.png