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/Vort Energy Gloves"

From Valve Developer Community
Jump to: navigation, search
m
(Added HLATools page template)
Line 2: Line 2:
 
|ru=Инструменты_мастерской_Half-Life:_Alyx/Дизайн_уровней/Оружие/Vort_Energy_Gloves:ru
 
|ru=Инструменты_мастерской_Half-Life:_Alyx/Дизайн_уровней/Оружие/Vort_Energy_Gloves:ru
 
}}
 
}}
 +
{{HLATools page|leveldesign=1}}
 
== Introduction ==
 
== Introduction ==
  
Line 123: Line 124:
  
 
[[File:HLA_SDK_Vort_Energy_Gloves_Img1.png]]
 
[[File:HLA_SDK_Vort_Energy_Gloves_Img1.png]]
 
[[Category:Half-Life:_Alyx_Workshop_Tools/Level_Design]]
 
[[Category:Half-Life:_Alyx_Workshop_Tools]]
 

Revision as of 21:41, 27 May 2020

Русский

Introduction

This tutorial will teach you how change the player hands to use Vortigaunt Energy Gloves, seen at the climax of Half-Life: Alyx. Make sure you have the latest SDK Tools.

Setup

Create a test room. Insert a info_hlvr_equip_player entity and check at least the following keys:

Key Value
Equip on Map Start
Grabbity Gloves

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

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

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

HLA SDK Vort Energy Gloves Img3.png

Charging the gloves

Using an input

You can charge the gloves with a logic_relay or similar entity with the following output:

My Output Target Entity Target Input Parameter Delay
<output> !player GiveVortEnergy 0.00

Using energy rings

HLA SDK Vort Energy Gloves Img2.png

Insert a point_vort_energy entity and rotate it accordingly. Make sure Start Enabled is checked:

Key Value
Equip on Map Start
Grabbity Gloves

If you want it to charge the glove only once, add the following output:

My Output Target Entity Target Input Parameter Delay
OnEnergyPulled !self Disable 0.00

You can recharge the energy ring by using the following input:

My Output Target Entity Target Input Parameter Delay
<output> <entity_name> Enable 0.00

Finishing up

Compile and run your map, and you should have the Vortigaunt Energy Gloves and working Energy Rings.

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

HLA SDK Vort Energy Gloves Img1.png