Zh/VScript: Difference between revisions
< Zh
Jump to navigation
Jump to search
Dazainerau (talk | contribs) No edit summary |
Dazainerau (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
|ru=VScript:ru | |ru=VScript:ru | ||
}} | }} | ||
本页面内容由[//steamcommunity.com/id/utagawashii/ Dazai Nerau]译自[[VScript|英文版页面]]. 欢迎任何人补充新内容或者修改其中的错误. | |||
'''VScript''' | |||
'''VScript''' 是一种用于脚本编程的虚拟机,它在起源引擎和外部脚本之间充当一个抽象的绑定层. 根据[[Alien Swarm SDK]]我们可以推知, 以下的脚本语言已经或者在不久的将来能够得到支持: | |||
* [[Squirrel]] | * [[Squirrel]] | ||
Line 13: | Line 16: | ||
* [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python] | * [http://en.wikipedia.org/wiki/Python_%28programming_language%29 Python] | ||
脚本文件放置于游戏目录内的 <code>scripts/vscripts/</code> 文件夹中. | |||
== | ==实现== | ||
===[[Squirrel]]=== | ===[[Squirrel]]=== | ||
;{{game link|Left 4 Dead 2}} | ;{{game link|Left 4 Dead 2}} | ||
:[[L4D2 Vscripts| | :[[L4D2 Vscripts|脚本介绍]] | ||
:[[L4D2_Director_Scripts| | :[[L4D2_Director_Scripts|导演脚本]] | ||
:[[L4D2 Vscript Examples| | :[[L4D2 Vscript Examples|脚本范例]] | ||
:[[List of L4D2 Script Functions| | :[[List of L4D2 Script Functions|脚本API列表]] | ||
;{{game link|Nuclear Dawn}} | ;{{game link|Nuclear Dawn}} | ||
:[[List of ND Script Functions| | :[[List of ND Script Functions|脚本API列表]] | ||
;{{game link|Alien Swarm}} | ;{{game link|Alien Swarm}} | ||
;{{game link|Portal 2}} | ;{{game link|Portal 2}} | ||
:[[List of Portal 2 Script Functions| | :[[List of Portal 2 Script Functions|脚本API列表]] | ||
;{{game link|Counter-Strike: Global Offensive}} | ;{{game link|Counter-Strike: Global Offensive}} | ||
:[[List_of_Counter-Strike:_Global_Offensive_Script_Functions| | :[[List_of_Counter-Strike:_Global_Offensive_Script_Functions|脚本API列表]] | ||
:[[CSGO_Vscript_Examples| | :[[CSGO_Vscript_Examples|脚本范例]] | ||
;{{game link|Contagion}} | ;{{game link|Contagion}} | ||
:[[List of Contagion Script Functions| | :[[List of Contagion Script Functions|脚本API列表]] | ||
;{{game link|Alien Swarm: Reactive Drop}} | ;{{game link|Alien Swarm: Reactive Drop}} | ||
:[[List of Reactive Drop Script Functions| | :[[List of Reactive Drop Script Functions|脚本API列表]] | ||
;{{game link|Titanfall}} | ;{{game link|Titanfall}} | ||
===Lua=== | ===Lua=== | ||
;{{game link|Portal 2}} ( | ;{{game link|Portal 2}} (仅限于 客户端/用户界面) | ||
;{{game link|Dota 2}} | ;{{game link|Dota 2}} | ||
:[[Dota_2_Workshop_Tools/Scripting| | :[[Dota_2_Workshop_Tools/Scripting|脚本介绍]] | ||
:[[Dota_2_Workshop_Tools/Scripting/API| | :[[Dota_2_Workshop_Tools/Scripting/API|脚本API]] | ||
;[[Destinations]] | ;[[Destinations]] | ||
:[[Destinations/Scripting| | :[[Destinations/Scripting|脚本介绍]] | ||
:[[Destinations/Scripting/API| | :[[Destinations/Scripting/API|脚本API]] | ||
;General Source 2 | ;General Source 2 | ||
:[[Source 2 Animation System VScript API]] | :[[Source 2 Animation System VScript API|起源2 动画系统脚本API]] | ||
===Python=== | ===Python=== | ||
;{{game link|Source Filmmaker}} | ;{{game link|Source Filmmaker}} | ||
:[[SFM/Scripting_with_Python| | :[[SFM/Scripting_with_Python|脚本/操控]] | ||
== | ==脚本的基本原理== | ||
'' | ''详阅文章 [[Vscript_Fundamentals|VScript基本原理]]'' | ||
== | ==推荐阅读== | ||
*[[Entity_Scripts| | *[[Entity_Scripts|实体脚本]] | ||
*[[Logic_script|logic_script]] | *[[Logic_script|logic_script]] | ||
[[Category:Technical]] | [[Category:Technical]] | ||
[[Category:Scripting]] | [[Category:Scripting]] |
Revision as of 23:43, 8 May 2019
Template:Otherlang2 本页面内容由Dazai Nerau译自英文版页面. 欢迎任何人补充新内容或者修改其中的错误.
VScript 是一种用于脚本编程的虚拟机,它在起源引擎和外部脚本之间充当一个抽象的绑定层. 根据Alien Swarm SDK我们可以推知, 以下的脚本语言已经或者在不久的将来能够得到支持:
脚本文件放置于游戏目录内的 scripts/vscripts/
文件夹中.
实现
Squirrel
Lua
Portal 2 (仅限于 客户端/用户界面)
- General Source 2
- 起源2 动画系统脚本API
Python
脚本的基本原理
详阅文章 VScript基本原理