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:zh-cn

From Valve Developer Community
Jump to: navigation, search
English (en)Русский (ru)中文 (zh)
... Icon-Important.png

前言

本教程将教你如何将玩家的手部换成戈登的手套。

配置

创建一个测试房间。插入一个logic_playerproxy实体,在本教程中,将其名称设置为“playerproxy”。

HLA SDK Gordon Gloves Img1.png

插入一个logic_auto实体。在输出栏中,填入以下:

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

您可以使用具有以下输出的logic_relay或类似实体切换回Alyx手套:

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

完成

编译并运行你的地图,你应该是戈登手套。

你可以在这里下载示例地图文件[[1]]。

HLA SDK Gordon Gloves Img2.png