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.

Half-Life: Alyx Workshop Tools/Level Design/Holo Hacking Puzzle

From Valve Developer Community
Jump to: navigation, search

Introduction

This tutorial will teach you how make the Holo Hacking Puzzles.

Setup

  1. Create a test room. Insert a info_hlvr_holo_hacking_plug entity at the position you want the player to use the multitool.
  2. Define the type of puzzle you want the player to do under PuzzleType. The four puzzles that have difficulties are listed below.
  3. Insert a info_hlvr_holo_hacking_spawn_target and ensure the player can access the entirety of its radius. (not required for the PointDrag puzzle type.)
    1. Set the name of the info_hlvr_holo_hacking_spawn_target, for this tutorial, to puzzle_target.
  4. Set the info_hlvr_holo_hacking_plug Puzzle Spawn Target to puzzle_target. Set the Difficulty Name to First, Easy, Medium, Hard, or VeryHard.
  5. (optionally) define the OnHackSuccess output to activate another entity, or re-enable the hacking plug after a set amount of time.

HLA SDK Holo Hacking Puzzle Img1.png

Puzzle Types

Sphere Trace Point Search Point Match Rod Pull Point Drag
HLA SDK Holo Hacking Puzzle Img2.png HLA SDK Holo Hacking Puzzle Img3.png HLA SDK Holo Hacking Puzzle Img4.png HLA SDK Holo Hacking Puzzle Img5.png Holo hack pointdrag.jpg

Outputs

Add an output to info_hlvr_holo_hacking_plug with any of the following My Output:

  • OnHackStarted
  • OnHackStopped
  • OnHackSuccess
  • OnHackFailed
  • OnHackSuccessAnimationComplete
  • OnPuzzleCompleted
  • OnPuzzleSuccess
  • OnPuzzleFailed

Finishing up

Compile and run your map, and you should have a working Holo Hacking Puzzle.

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

See also

List of Half-Life: Alyx Holo Hacking Difficulties