S&box: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{lang|S&box|title=S&box}}
{{lang|S&box|title=S&box}}
{{GmodHierarchy}}
{{GmodHierarchy}}
{{stub}}<br>
{{stub:ru}}
<div style="background-color: #4b3b28; border: 1px solid #525252; border-left: 10px solid #a87e53; font-style: normal; margin: 10px 10% 0 10%; padding: 3px 7px;">The article may contain shortcomings and incorrect wording.</div><br>


[[File:Sbox-Logo-5may2022.png|thumbnail|S&box logo dated May 5, 2022]]
<!-- Right -->
[[File:Sbox-Logo-5may2022.png|300px|S&box logo dated May 5, 2022|thumbnail]]


{{game name|s&box|name=S&box}} is the upcoming spiritual successor of {{game name|GMOD|name=Garry's Mod}}. It is currently being developed in {{game name|source2|name=Source 2}}.
<!-- Left -->
{{game name|s&box|name=S&box}} - engine developed by [https://facepunch.com/ Facepunch] studio. Initially, the development was based on Unreal Engine 4, but as soon as {{game name|hla|name=Half-Life: Alyx}} came out, Facepunch immediately requested the engine of the newly minted game, to which they received a positive response in the form of the 1st terabyte of source data, after which, in 2020, it was announced S&box transition to {{game name|source2|name=Source 2}}. This event was the first time that Source 2 was transferred to third-party developers.


==About S&box==
<div class="note" style="background: linear-gradient(90deg, rgba(231,233,191,.05) 0%, transparent 80%); border-left: 2px solid rgba(231,233,191,1.0); box-sizing: border-box; padding: 6px 0px 4px 0; margin-bottom: 10px; font-size: 12px">{{note:ru|S&box is not a game! This is the name of a modified Source 2 with some set of tools and resources that you can use in your games and addons for them, created for [https://sw.facepunch.com/ S&Works].}}</div>


S&box is a game developed by Garry Newman (Creator of Garry's Mod and Founder of Facepunch Studios). As stated on its about page, "We've been playing with it for a long time. It started off on the Unreal Engine, but now it's being developed on Source 2." S&box has (almost) all of the tools that Valve used to make ''[[Half-Life: Alyx]]''.
<br>__TOC__


==Programming==
== User Access ==
В настоящее время S&box находится в состоянии закрытого бета-тестирования. Получить доступ к движку (на момент 5 мая 2022 г.) невозможно, поскольку набор участников для тестирования был остановлен в декабре 2021 года.


Instead of utilizing Lua like in Garry's Mod, S&box uses C# for scripting.
Ранее доступ можно было получить на [https://sbox.facepunch.com/dev/ странице] для разработчиков, которая теперь занимается перенаправлением пользователей на главную страницу S&Works.


{{todo|Talk more about S&box coding}}
== Release Date ==
Точная дата выхода неизвестна, но Facepunch планирует выпустить S&box ближе к 2023 году, о чем гласит [https://sbox.facepunch.com/about/ сообщение] на странице с кратким описанием проекта, в котором сказано следующее: "Наш план состоит в том, чтобы в течении следующих 6-12 месяцев достичь достаточного для выпуска состояния, а затем заняться улучшением S&box в течении 10-20 лет."


==User Access==
For the first time, the approximate dates for the completion of primary work were announced by Harry Newman on February 19, 2022 on the [https://discord.gg/TEWk3GmU4w official S&box Discord server]:


Currently, S&box is in a closed beta state.  
[[File:9vDaB4.png|350px|Message from Garry Newman]]


{{todo|Go into more detail/depth about the developer preview}}
== Addons ==
S&box currently supports 4 types of add-ons: games, maps, content and tools, where...
* '''Games''' - addons that run through the main menu of the engine;
* '''Maps''' - game locations that are addons for games;
* '''Content''' - probably these are future addons for games (the publication is temporarily unavailable);
* '''Tools''' - improved or created from scratch editors, compilers, etc. designed to make your life easier (the publication is temporarily unavailable).


==See Also==
<div class="note" style="background: linear-gradient(90deg, rgba(231,233,191,.05) 0%, transparent 100%); border-left: 2px solid rgba(231,233,191,1.0); box-sizing: border-box; padding: 6px 0px 4px 0; margin-top: 10px; margin-bottom: 10px; font-size: 12px">{{note:ru|Дополнения (оружие, npc и др.) для игр, как сообщается на [https://wiki.facepunch.com/sbox/ S&box Wiki], планируются, но в данный момент ведутся работы над улучшением API, что не позволяет Facepunch фокусироваться на разработке системы аддонов (дополнений) из Garry's Mod. Важно подметить, что в игре Sandbox '''(официальном дополнении для S&box)''' впервые появилась функция под названием [https://sw.facepunch.com/ S&Works], являющаяся подобием [https://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index8f6f.html Garry's Mod Toybox]. S&Works, получившая отдельный сайт и поддержку всех типов дополнений, позволяет загружать модели и всё их содержимое на ходу, из-за чего вы можете использовать загруженный в реальном времени реквизит (пропы) без перезапуска игры.}}</div>
* [https://wiki.facepunch.com/sbox/ S&box Wiki]
 
* [https://sbox.facepunch.com/news S&box News]
== Maps ==
[[File:Sbox-Hammer-6may2022.png|300px|S&box Hammer May 6, 2022|thumbnail]]
 
Создателям карт предоставляется частично переписанный редактор карт Hammer.
 
<h5 style="color: rgba(255,255,255,.9); font-weight: 400;">Addon control panel</h5>
В панели управления вы можете прописать поддерживаемые игры, тем самым запретив поиск карты в общем браузере карт для игр, не указанных в списке.
 
<h5 style="color: rgba(255,255,255,.9); font-weight: 400;">Publication</h5>
В настоящее время запускать карты прямо из игры невозможно, из-за чего их приходится выпускать в качестве отдельного дополнения (по одному на каждую карту). Публикация карты происходит путём нажатия на специальную кнопку в панели управления дополнением.
 
<h5 style="color: rgba(255,255,255,.9); font-weight: 400;">Characteristics</h5>
{| class="standard-table"
|-
| '''<center>Available territory</center>'''
| Unlimited for models, but 32768 units (624.23 m / 2048 ft) for meshes
|-
| '''<center>Visibility</center>'''
| The player currently sees approximately 2.5 km (131233.6 units) in front of him
|}
 
<div style="background: linear-gradient(90deg, rgba(255,4,4,.04) 0%, transparent 100%); border-left: 2px solid rgba(200,55,55,1.0); box-sizing: border-box; padding: 6px 0px 4px 0; margin-bottom: 10px; font-size: 12px">{{warning|Запекание освещения за пределами 32768 юнитов временно невозможно}}</div>
 
<div style="background: linear-gradient(90deg, rgba(255,4,4,.04) 0%, transparent 100%); border-left: 2px solid rgba(200,55,55,1.0); box-sizing: border-box; padding: 6px 0px 4px 0; margin-bottom: 10px; font-size: 12px">{{warning|Навигационная сетка еще не была адаптирована под большие пространства, из-за чего ваша ОС зависнет, если размер доступной территории превышает 32768 юнитов. В случае зависания единственным выходом будет экстренное выключение компьютера. '''Отключайте навигационную сетку в окне компиляции карты!'''}}</div>
 
<div style="background: linear-gradient(90deg, rgba(255,4,4,.04) 0%, transparent 100%); border-left: 2px solid rgba(200,55,55,1.0); box-sizing: border-box; padding: 6px 0px 4px 0; margin-bottom: 10px; font-size: 12px">{{warning|Наблюдаются проблемы в Точности с плавающей запятой (англ. Floating point precision). Полигоны начинают вести себя неправильно, если вы находитесь слишком далеко от нулевых координат (слабозаметные дефекты начинаются после пересечения 8 км, а крайне заметные после 20 км)}}</div>
 
== Shaders ==
S&box supports HLSL Shader Model 3.0, 4.0 and 5.0. You can create your own shaders and customize their interface for the material editor.
 
<div style="background: linear-gradient(90deg, rgba(231,233,191,.05) 0%, transparent 100%); border-left: 2px solid rgba(231,233,191,1.0); box-sizing: border-box; padding: 6px 0px 4px 0; margin-top: 10px; margin-bottom: 10px; font-size: 12px">{{note|На данный момент в S&box нет каких-либо интерфейсов для редактирования шейдеров, так что их написание происходит вручную.}}</div>
 
== Sounds ==
[[File:S&box - Audio Node Graph Editor - 6 may 2022.png|230px|Future Node Graph Editor|thumbnail]]
 
Currently, the sounds are arranged in an extremely primitive way due to the content associated with them cut from the engine.
 
An analogue of Steam Audio using C# is currently being developed. In addition, a convenient sound editor based on graph nodes is being developed.
{{clr}}
 
== Programming ==
S&box uses C#, which greatly expands the possibilities for developers in comparison with the same Lua, which is used in Garry's Mod.
 
Currently, the API is underdeveloped, which is why not all ideas can be fully implemented.
 
== Gallery ==
<gallery mode=packed>
Image:Sbox-Editor-6may2022.png
Image:Sbox-News-Screenshot-01.jpg
Image:Sbox-Construct-Screenshot-01.jpg
</gallery>
 
== Links ==
<h5 style="color: rgba(255,255,255,.9); font-weight: 400;">For Developers</h5>
* [https://github.com/Facepunch/sbox-issues Report a bug]
* [https://sw.facepunch.com/ S&Works]
* [https://wiki.facepunch.com/sbox/ Wiki]
 
<h5 style="color: rgba(255,255,255,.9); font-weight: 400;">Other</h5>
* [https://sbox.facepunch.com/news News]
* [https://forum.facepunch.com/ Forum]
* [https://discord.gg/TEWk3GmU4w Discord]

Revision as of 23:33, 7 May 2022

English (en)Français (fr)Русский (ru)中文 (zh)Translate (Translate)

id Tech 2 id Tech 2GoldSrc GoldSrcSource SourceSource 2 Source 2

Template:Stub:ru

The article may contain shortcomings and incorrect wording.


File:Sbox-Logo-5may2022.png
S&box logo dated May 5, 2022

Template:Game name - engine developed by Facepunch studio. Initially, the development was based on Unreal Engine 4, but as soon as Template:Game name came out, Facepunch immediately requested the engine of the newly minted game, to which they received a positive response in the form of the 1st terabyte of source data, after which, in 2020, it was announced S&box transition to Template:Game name. This event was the first time that Source 2 was transferred to third-party developers.


User Access

В настоящее время S&box находится в состоянии закрытого бета-тестирования. Получить доступ к движку (на момент 5 мая 2022 г.) невозможно, поскольку набор участников для тестирования был остановлен в декабре 2021 года.

Ранее доступ можно было получить на странице для разработчиков, которая теперь занимается перенаправлением пользователей на главную страницу S&Works.

Release Date

Точная дата выхода неизвестна, но Facepunch планирует выпустить S&box ближе к 2023 году, о чем гласит сообщение на странице с кратким описанием проекта, в котором сказано следующее: "Наш план состоит в том, чтобы в течении следующих 6-12 месяцев достичь достаточного для выпуска состояния, а затем заняться улучшением S&box в течении 10-20 лет."

For the first time, the approximate dates for the completion of primary work were announced by Harry Newman on February 19, 2022 on the official S&box Discord server:

Message from Garry Newman

Addons

S&box currently supports 4 types of add-ons: games, maps, content and tools, where...

  • Games - addons that run through the main menu of the engine;
  • Maps - game locations that are addons for games;
  • Content - probably these are future addons for games (the publication is temporarily unavailable);
  • Tools - improved or created from scratch editors, compilers, etc. designed to make your life easier (the publication is temporarily unavailable).

Maps

S&box Hammer May 6, 2022

Создателям карт предоставляется частично переписанный редактор карт Hammer.

Addon control panel

В панели управления вы можете прописать поддерживаемые игры, тем самым запретив поиск карты в общем браузере карт для игр, не указанных в списке.

Publication

В настоящее время запускать карты прямо из игры невозможно, из-за чего их приходится выпускать в качестве отдельного дополнения (по одному на каждую карту). Публикация карты происходит путём нажатия на специальную кнопку в панели управления дополнением.

Characteristics
Available territory
Unlimited for models, but 32768 units (624.23 m / 2048 ft) for meshes
Visibility
The player currently sees approximately 2.5 km (131233.6 units) in front of him
Warning.pngWarning:Запекание освещения за пределами 32768 юнитов временно невозможно
Warning.pngWarning:Навигационная сетка еще не была адаптирована под большие пространства, из-за чего ваша ОС зависнет, если размер доступной территории превышает 32768 юнитов. В случае зависания единственным выходом будет экстренное выключение компьютера. Отключайте навигационную сетку в окне компиляции карты!
Warning.pngWarning:Наблюдаются проблемы в Точности с плавающей запятой (англ. Floating point precision). Полигоны начинают вести себя неправильно, если вы находитесь слишком далеко от нулевых координат (слабозаметные дефекты начинаются после пересечения 8 км, а крайне заметные после 20 км)

Shaders

S&box supports HLSL Shader Model 3.0, 4.0 and 5.0. You can create your own shaders and customize their interface for the material editor.

Note.pngNote:На данный момент в S&box нет каких-либо интерфейсов для редактирования шейдеров, так что их написание происходит вручную.

Sounds

Future Node Graph Editor

Currently, the sounds are arranged in an extremely primitive way due to the content associated with them cut from the engine.

An analogue of Steam Audio using C# is currently being developed. In addition, a convenient sound editor based on graph nodes is being developed.

Programming

S&box uses C#, which greatly expands the possibilities for developers in comparison with the same Lua, which is used in Garry's Mod.

Currently, the API is underdeveloped, which is why not all ideas can be fully implemented.

Gallery

Links

For Developers
Other