S&box

From Valve Developer Community
Jump to navigation Jump to search
English (en)Français (fr)Русский (ru)中文 (zh)Translate (Translate)

Garry's Mod Garry's ModS&box S&box

Template:Stub:zh-cn

File:Sbox-Logo-5may2022.png
2022年5月5日时的S&box图标

S&box S&box 是一个由 Facepunch 开发,由 起源2 起源2 提供技术支持的平台和游戏开发工具集。 最初, 游戏的开发基于 Unreal Engine 4, 但是当 半衰期:爱莉克斯 半衰期:爱莉克斯 一发售时, Facepunch 立刻向 Valve 请求了那个新发售游戏的引擎分支。 几个星期后,Valve 给了 Facepunch 访问那个TB级大小的存储库, 之后, 在 2020年, S&box的开发转向 起源2 起源2 的消息被宣布。 这是第一次(目前也是仅有的) Source 2 被许可给第三方开发者。

Template:ModernNote


用户访问

S&box 现在处于开发者封闭测试中,截至2022年5月5日, 由于2021年12月测试招募终止,招募队列已被无限期地关闭。

之前,测试权可从 页面 取得,现在此页面担当将访客重定向至 Asset.Party 主页面的任务。

发售日

确切的发售日是未知的,但是 Facepunch 打算在2023年发售 S&box,根据一个在项目的介绍页面的 帖子 上说:“Our plan is to get to a releasable state over the next 6–12 months, then improve it over 10–20 years.”(我们的计划就是在接下来的6到12个月里使它进入一个可发售的阶段,然后在10到20年中改善它。)

完成主要的工作的大致日期由 Garry Newman 在2022年2月19日首次宣布,在 官方的 S&box Discord服务器上

Message from Garry Newman

插件

S&box 目前支持4种附加组件: Template:MdQuote

Template:ModernNote

地图

File:Sbox-Hammer-26july2022.png
Hammer Dated July 26th 2022

开发工具附带了 Source 2 Hammer 地图编辑器的修改版本,其中某些部分用 C# 脚本编写,提高了灵活性。

项目设置菜单

在开发工具里的项目菜单中, 你可以去选择你的地图的游戏模式。 你可以将其修改为开发中地图并且标记支持的游戏模式。

发布

目前,地图无法直接从游戏中启动,它们必须作为单独的项目(每个地图对应一个项目)发布。通过点击开发工具中项目设置菜单中的上传按钮来发布地图。

地图特性
地图尺寸
大小没有限制,但是网格只有32768个单位 (624.23 米 / 2048 英尺)
可见度
玩家目前看到在他面前的大约78740个单位(2000米 / 6561.68英尺)

Template:ModernWarning

Template:ModernWarning

Template:ModernWarning

着色器

S&box支持HLSL Shader Model 3.0、4.0和5.0,您可以创建自己的着色器,并在材质编辑器中自定义材质的着色器。

Template:ModernNote

音效

Future Node Graph Editor

目前,由于与音效相关的内容在S&box中缺失很多,因此声音以极其原始的方式播放。

目前S&box开发团队正在开发使用C#与Steam Audio的声音效果。此外,他们也正在开发一种基于图形节点的方便开发者操作的声音编辑器。

Programming

S&box uses C#, which is significantly more powerful than the Lua scripting language used in Garry's Mod, as it is a fully-fledged scripting language.

Currently, the C# API and tools are in heavy development. API breaks happen semi-frequently and there are areas of the engine bindings that are underdeveloped. There are also APIs completely missing at this time. These restrictions in many cases make at best engine integration impossible or tedious. At worst it bars you from implementing a feature entirely.

Gallery

External Links

For Developers
Other