Lua Scripting
Jump to navigation
Jump to search
Template:Finishtranslation:zh-cn
Half-Life: Alyx和之前的
Dota 2与
SteamVR Home一样,都采用了使用lua语言的VScript脚本系统。它提供了在Hammer构建自定义关卡时使用Lua脚本的功能。
脚本可以用于任何事情,包括创建新的游戏模式、武器和其他类型的复杂逻辑。
Template:ModernNote:zh-cn
Template:ModernNote:zh-cn
Introduction to Source 2 VScript
- Half-Life: Alyx Lua脚本入门.
- Hello, Gordon: 为Hammer的实体制作脚本.
- [Video Introduction to Setting Up Lua Scripts in Half-Life: Alyx].
- [Video Tutorial for Teleporting Entities using Lua Scripts in Half-Life: Alyx].
- [Video Tutorial for Creating Think Functions using Lua Scripts in Half-Life: Alyx].
- [Video Tutorial for Spawning Entities using Lua Scripts in Half-Life: Alyx].
- [Video Tutorial for Setting Barnacles to Drop Random Items using Lua Scripts in Half-Life: Alyx].
Resources
This article has been marked as a candidate for speedy deletion for the following reason:
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourselfAdministrators / Moderators - Remember to check if anything links here and the page history before deleting.