Zh/VScript: Difference between revisions
< Zh
Jump to navigation
Jump to search
m (Nesciuse moved page VScript/zh to Zh/VScript over redirect: Language prefixes) |
m (-Using L template for links) |
||
| Line 1: | Line 1: | ||
{{langsp|title=VScript}} | {{langsp|title=VScript}} | ||
本页面内容由[//steamcommunity.com/id/utagawashii/ Dazai Nerau]译自 | 本页面内容由[//steamcommunity.com/id/utagawashii/ Dazai Nerau]译自{{L|VScript|英文版页面}}. 欢迎任何人补充新内容或者修改其中的错误。 | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
'''VScript''',在 {{l4d2|4}} 中引入,是一种用于脚本编程的虚拟机,它在 {{source|4}} 引擎和外部脚本之间充当一个抽象的绑定层。根据 | '''VScript''',在 {{l4d2|4}} 中引入,是一种用于脚本编程的虚拟机,它在 {{source|4}} 引擎和外部脚本之间充当一个抽象的绑定层。根据 {{L|Alien Swarm SDK}} 我们可以推知,以下的脚本语言已经或者在不久的将来能够得到支持: | ||
* | * {{L|Squirrel}} | ||
* [[Wikipedia:Lua (programming language)|Lua]] | * [[Wikipedia:Lua (programming language)|Lua]] | ||
* [[Wikipedia:GameMonkey Script|Gamemonkey]] | * [[Wikipedia:GameMonkey Script|Gamemonkey]] | ||
| Line 13: | Line 13: | ||
脚本文件放置于游戏目录内的 <code>scripts/vscripts/</code> 文件夹中。 | 脚本文件放置于游戏目录内的 <code>scripts/vscripts/</code> 文件夹中。 | ||
要了解如何使用 VScript,请参阅 | 要了解如何使用 VScript,请参阅 {{L|VScript Fundamentals|VScript 基本原理}}{{zh-cn}}。 | ||
==实现== | ==实现== | ||
| Line 19: | Line 19: | ||
|- style=vertical-align:top | |- style=vertical-align:top | ||
|style=padding-right:2em| | |style=padding-right:2em| | ||
=== | ==={{L|Squirrel}} {{sq}}=== | ||
{{l4d2|4}} | {{l4d2|4}} | ||
: | :{{L|L4D2 Vscripts|脚本介绍}}{{zh-cn}} | ||
: | :{{L|L4D2_Director_Scripts|导演脚本}}{{zh-cn}} | ||
: | :{{L|L4D2 Vscript Examples|脚本范例}} | ||
: | :{{L|Left 4 Dead 2/Script Functions|脚本API列表}} | ||
{{as|4}} | {{as|4}} | ||
{{portal2|4}} | {{portal2|4}} | ||
: | :{{L|List of Portal 2 Script Functions|脚本API列表}} | ||
{{sfm|4}} | {{sfm|4}} | ||
| Line 35: | Line 35: | ||
{{csgo|4}} | {{csgo|4}} | ||
: | :{{L|List of CS:GO Script Functions|脚本API列表}} | ||
: | :{{L|Listening to game events in CS:GO|侦听游戏事件}} | ||
: | :{{L|CS:GO VScript Examples|脚本范例}} | ||
{{con|4}} | {{con|4}} | ||
: | :{{L|List of Contagion Script Functions|脚本API列表}} | ||
{{nd|4}} | {{nd|4}} | ||
: | :{{L|List of ND Script Functions|脚本API列表}} | ||
{{Titanfall|4}} | {{Titanfall|4}} | ||
{{asrd|4}} | {{asrd|4}} | ||
: | :{{L|List of Reactive Drop Script Functions|脚本API列表}} | ||
{{mapbase|4}} '''(自定义内容)''' | {{mapbase|4}} '''(自定义内容)''' | ||
| Line 58: | Line 58: | ||
{{dota2|4}} | {{dota2|4}} | ||
: | :{{L|Dota_2_Workshop_Tools/Scripting|脚本介绍}} | ||
: | :{{L|Dota_2_Workshop_Tools/Scripting/API|脚本 API}} | ||
{{gmod|4}} | {{gmod|4}} | ||
{{svrh|4}} | {{svrh|4}} | ||
: | :{{L|SteamVR/Environments/Scripting|脚本介绍}} | ||
: | :{{L|SteamVR/Environments/Scripting/API|脚本 API}} | ||
: | :{{L|SteamVR/Environments/Scripting/Custom Tool Creation|脚本化工具创建}} | ||
: | :{{L|SteamVR/Environments/Scripting/Flashlight Tool Tutorial|脚本化闪光灯工具教程}} | ||
{{hla|4}} | {{hla|4}} | ||
: | :{{L|Half-Life:_Alyx_Workshop_Tools/Lua_Scripting|脚本介绍}} | ||
: | :{{L|Half-Life_Alyx_Scripting_API|脚本 API}} | ||
;General {{source2|4}} | ;General {{source2|4}} | ||
: | :{{L|Source 2 Animation System VScript API}} | ||
| | | | ||
===Python=== | ===Python=== | ||
;{{sfm|4}} | ;{{sfm|4}} | ||
: | :{{L|SFM/Scripting_with_Python|脚本/操控}} | ||
|} | |} | ||
==推荐阅读== | ==推荐阅读== | ||
* | *{{L|Entity_Scripts|实体脚本}}{{zh-cn}} | ||
* | *{{L|Logic_script|logic_script}} | ||
Revision as of 09:06, 11 July 2024
本页面内容由Dazai Nerau译自英文版页面. 欢迎任何人补充新内容或者修改其中的错误。
VScript,在
求生之路2 中引入,是一种用于脚本编程的虚拟机,它在
起源 引擎和外部脚本之间充当一个抽象的绑定层。根据 Alien Swarm SDK 我们可以推知,以下的脚本语言已经或者在不久的将来能够得到支持:
脚本文件放置于游戏目录内的 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
|
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.