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.

Difference between revisions of "Half-Life: Alyx Workshop Tools/Level Design/Gordon Gloves"

From Valve Developer Community
Jump to: navigation, search
(Added HLATools page template)
m (Make entities link to their wiki page)
Line 9: Line 9:
 
== Setup ==
 
== Setup ==
  
Create a test room. Insert a '''logic_playerproxy''' entity and, for this tutorial, set it's name to ''playerproxy''.
+
Create a test room. Insert a '''[[logic_playerproxy]]''' entity and, for this tutorial, set it's name to ''playerproxy''.
  
 
[[File:HLA_SDK_Gordon_Gloves_Img1.png]]
 
[[File:HLA_SDK_Gordon_Gloves_Img1.png]]
  
Insert a '''logic_auto''' entity. In the outputs, add the following output:
+
Insert a '''[[logic_auto]]''' entity. In the outputs, add the following output:
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 30:
 
|}
 
|}
  
You can switch back to use Alyx Gloves with a logic_relay or similar entity with the following output:
+
You can switch back to use Alyx Gloves with a [[logic_relay]] or similar entity with the following output:
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 01:09, 21 July 2020

Русский

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