VScript
< Zh
Jump to navigation
Jump to search
本页面内容最后由115steam翻译,基于先前Ellent和Dazai Nerau的版本参照英文原页面进行了更新. 欢迎任何人补充新内容或者修改其中的错误。 最后修改时间(截止至本次编辑):2025.2.24
VScript,在 求生之路2中首次引入,在后来的更新中被移植回了
军团要塞2(包括 此游戏衍生的分支),是一种用于脚本编程的虚拟机,它在
起源引擎和
起源2和外部脚本之间充当一个抽象的绑定层。根据
Alien Swarm - SDK我们可以推知,以下的脚本语言已经或者在不久的将来能够得到支持:
- Squirrel 待完善: 参考翻译:松鼠脚本
- Lua
- Gamemonkey
- Python
脚本文件放置于游戏目录内的 scripts/vscripts/
文件夹中。
要了解如何使用 VScript,请参阅: VScript 基本原理

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|zh}} 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.
。
实现
Squirrel
![]() This article has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|zh}} 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. ![]() This article has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|zh}} 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.
|
Lua
|
Python |
推荐阅读

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|zh}} 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.
- logic_script
- script, script_execute (控制台命令)