Ru/VScript: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
m (Conform to translated page standards.)
(brought formatting in line with English version. still needs translation work.)
Line 1: Line 1:
{{lang|VScript}}
{{lang|VScript|title=VScript}}
{{finishtranslation:ru}}
'''VScript''' представляет собой виртуальную машину для выполнения сценариев, которые действуют между движком Source и внешних скриптов.Начиная с {{Game link|Alien Swarm SDK}}, поддерживаются, или будут поддерживаться такие языки программирования, как:
'''VScript''' представляет собой виртуальную машину для выполнения сценариев, которые действуют между движком Source и внешних скриптов.Начиная с {{Game link|Alien Swarm SDK}}, поддерживаются, или будут поддерживаться такие языки программирования, как:


* [[Squirrel]]
* [[Squirrel]] {{en}}
* [https://ru.wikipedia.org/wiki/Lua Lua]
* [https://ru.wikipedia.org/wiki/Lua Lua]
* [https://ru.wikipedia.org/wiki/GameMonkey Gamemonkey]
* [https://ru.wikipedia.org/wiki/GameMonkey Gamemonkey]
Line 10: Line 11:


==Реализации==
==Реализации==
 
{|
===[[Squirrel]]===
|- style=vertical-align:top
;{{l4d2}} [[Left_4_Dead_2:ru|Left 4 Dead 2]]
|style=padding-right:2em|
:[[L4D2 Vscripts|Скриптинг]]
===[[Squirrel:ru|Squirrel]] {{sq}}===
:[[L4D2_Director_Scripts | Скрипты создателей]]
;{{l4d2|4|suf=:ru}}
:[[L4D2 Vscripts|Скриптинг]] {{en}}
:[[L4D2_Director_Scripts | Скрипты создателей]] {{en}}
:[[L4D2 Vscript Examples|Примеры скриптов]]
:[[L4D2 Vscript Examples|Примеры скриптов]]
:[[List of L4D2 Script Functions | Список функций]]
:[[List of L4D2 Script Functions | Список функций]] {{en}}


;{{game link|Nuclear Dawn}}
;{{as|4|suf=:ru}}
:[[List of ND Script Functions|Список функций]]
;{{game link|Alien Swarm}}


;{{game link|Portal 2}}
;{{Portal2|4|suf=:ru}}
:[[List of Portal 2 Script Functions:ru|Список функций]]
:[[List of Portal 2 Script Functions:ru|Список функций]]


;{{game link|Counter-Strike: Global Offensive:ru}}
;{{Sfm|4|suf=:ru}}
:{{tf2|suf=:ru}} Only exists on the SFM build of TF2. No TF2 or SFM specific API. Unused.
 
;{{csgo|4|suf=:ru}}
:[[List_of_Counter-Strike:_Global_Offensive_Script_Functions:ru|Список функций]]
:[[List_of_Counter-Strike:_Global_Offensive_Script_Functions:ru|Список функций]]
:[[Примеры_скриптов_CSGO|Примеры скриптов]]
:[[Listening to Game Events in CS:GO]]{{en}}
:[[CSGO VScript Examples:ru|Примеры скриптов]]
 
;{{con|4|suf=:ru}}
:[[List of Contagion Script Functions|Список функций]] {{en}}


;{{game link|Contagion}}
;{{nd|4|suf=:ru}}
:[[List of Contagion Script Functions|Список функций]]
:[[List of ND Script Functions|Список функций]] {{en}}


;{{game link|Alien Swarm: Reactive Drop}}
;{{tf|4|suf=:ru}}
:[[List of Reactive Drop Script Functions|Список функций]]


;{{game link|Titanfall}}
;{{asrd|4|suf=:ru}}
:[[List of Reactive Drop Script Functions|Список функций]] {{en}}


===Lua===
{{mapbase|4|suf=:ru}} (Custom implementation)
;{{game link|Portal 2}} (Только Client/UI)
:[https://github.com/mapbase-source/source-sdk-2013/wiki/VScript-in-Mapbase Scripting] {{en}}
:[https://github.com/mapbase-source/source-sdk-2013/tree/master/sp/src/vscript GitHub] {{en}}
|
===Lua {{lua}}===
;{{Portal2|4|suf=:ru}} (Только Client/UI)


;{{game link|Dota 2}}
;{{Dota2|4|suf=:ru}}
:[[Dota_2_Workshop_Tools:ru/Scripting:ru|Скриптинг]]
:[[Dota_2_Workshop_Tools:ru/Scripting:ru|Скриптинг]]
:[[Dota_2_Workshop_Tools/Scripting/API|Scripting API]]
:[[Dota_2_Workshop_Tools/Scripting/API|Scripting API]]


;[[Destinations]]
;{{vRHome|4|suf=:ru}}
:[[Destinations/Scripting|Scripting]]
:[[SteamVR/Environments/Scripting|Скриптинг]]
:[[Destinations/Scripting/API|Scripting API]]
:[[SteamVR/Environments/Scripting/API|Scripting API]]
 
:[[SteamVR/Environments/Scripting/Custom Tool Creation|Scripted Tool Creation]]
;Source 2
:[[SteamVR/Environments/Scripting/Flashlight Tool Tutorial|Scripted Flashlight Tool Tutorial]]
:[[Source 2 Animation System VScript API|Система анимации в VScript]]


==Основы==
{{hla|4|suf=:ru}}
''Main article [[Vscript_Fundamentals| Vscript Fundamentals]]''
:[[Half-Life:_Alyx_Workshop_Tools/Lua_Scripting:ru|Скриптинг]]
:[[Half-Life: Alyx Workshop Tools/Scripting API:ru|Scripting API]]


;{{Source2|4|suf=:ru}}
:[[Source 2 Animation System VScript API|Система анимации в VScript]] {{en}}
|
===Python===
;{{sfm|4|suf=:ru}}
:[[SFM/Scripting_with_Python|Scripting/Rigging]] {{en}}
|}


==Смотрите также==
==Смотрите также==
*[[Entity_Scripts|Entity Scripts]]
*[[Vscript Fundamentals]]
*[[Logic_script|logic_script]]
*[[Entity Scripts]] {{en}}
*{{ent:ru|logic_script}}


[[Category:Technical:ru]]
[[Category:Technical:ru]]
[[Category:Scripting:ru]]
[[Category:Scripting:ru]]

Revision as of 11:35, 5 May 2022

English (en)Español (es)Русский (ru)中文 (zh)Translate (Translate)

Template:Finishtranslation:ru VScript представляет собой виртуальную машину для выполнения сценариев, которые действуют между движком Source и внешних скриптов.Начиная с Template:Game link, поддерживаются, или будут поддерживаться такие языки программирования, как:

Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Файлы скриптов размещаются в /scripts/vscripts/ и выполняются в папке с игрой.

Реализации

Squirrel Squirrel

Left 4 Dead 2 Left 4 Dead 2
Скриптинг
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Скрипты создателей
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Примеры скриптов
Список функций
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Alien Swarm Alien Swarm
Portal 2 Portal 2
Список функций
Source Filmmaker Source Filmmaker
Team Fortress 2 Only exists on the SFM build of TF2. No TF2 or SFM specific API. Unused.
Counter-Strike: Global Offensive Counter-Strike: Global Offensive
Список функций
Listening to Game Events in CS:GO
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Примеры скриптов
Contagion Contagion
Список функций
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Nuclear Dawn Nuclear Dawn
Список функций
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Template:Tf
Alien Swarm: Reactive Drop Alien Swarm: Reactive Drop
Список функций
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Mapbase Mapbase (Custom implementation)

Scripting
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
GitHub
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Lua Lua

Portal 2 Portal 2 (Только Client/UI)
Dota 2 Dota 2
Скриптинг
Scripting API
SteamVR Home SteamVR Home
Скриптинг
Scripting API
Scripted Tool Creation
Scripted Flashlight Tool Tutorial

Half-Life: Alyx Half-Life: Alyx

Скриптинг
Scripting API
Source 2 Source 2
Система анимации в VScript
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Python

Source Filmmaker Source Filmmaker
Scripting/Rigging
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Смотрите также

Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
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 yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.