Zh/S&box: Difference between revisions
mNo edit summary |
(→Maps) |
||
Line 40: | Line 40: | ||
{{ModernNote|There are plans for addons (Weapons, NPCs, etc.) for the games, as reported on the [https://wiki.facepunch.com/sbox/ S&box Wiki], but is a lesser priority to the API, the base toolset, along with the currently implemented addon types. As such, Garry's Mod-style addons are not currently implemented. It's important to note that Sandbox, (the official Garry's Mod style sandbox add-on for S&box) first introduced a feature called S&Works (Now it is [https://sw.facepunch.com/ Asset.Party]), similar to [https://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index8f6f.html Garry's Mod Toybox]. Asset.Party, with its own website and support for all (currently available) types of add-ons. It allows you to download models and all their content on the fly, so you can load props from Asset.Party in real-time without restarting the game.}} | {{ModernNote|There are plans for addons (Weapons, NPCs, etc.) for the games, as reported on the [https://wiki.facepunch.com/sbox/ S&box Wiki], but is a lesser priority to the API, the base toolset, along with the currently implemented addon types. As such, Garry's Mod-style addons are not currently implemented. It's important to note that Sandbox, (the official Garry's Mod style sandbox add-on for S&box) first introduced a feature called S&Works (Now it is [https://sw.facepunch.com/ Asset.Party]), similar to [https://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index8f6f.html Garry's Mod Toybox]. Asset.Party, with its own website and support for all (currently available) types of add-ons. It allows you to download models and all their content on the fly, so you can load props from Asset.Party in real-time without restarting the game.}} | ||
== | == 地图 == | ||
[[File:Sbox-Hammer-26july2022.png|300px|thumb|Hammer Dated July 26th 2022]] | [[File:Sbox-Hammer-26july2022.png|300px|thumb|Hammer Dated July 26th 2022]] | ||
开发工具附带了 Source 2 Hammer 地图编辑器的修改版本,其中某些部分用 C# 脚本编写,提高了灵活性。 | |||
<h5 style="color: rgba(255,255,255,.9); font-weight: 400;"> | <h5 style="color: rgba(255,255,255,.9); font-weight: 400;">项目设置菜单</h5> | ||
在开发工具里的项目菜单中, 你可以去选择你的地图的游戏模式。 你可以将其修改为开发中地图并且标记支持的游戏模式。 | |||
<h5 style="color: rgba(255,255,255,.9); font-weight: 400;"> | <h5 style="color: rgba(255,255,255,.9); font-weight: 400;">发布</h5> | ||
目前,地图无法直接从游戏中启动,它们必须作为单独的项目(每个地图对应一个项目)发布。通过点击开发工具中项目设置菜单中的上传按钮来发布地图。 | |||
<h5 style="color: rgba(255,255,255,.9); font-weight: 400;"> | <h5 style="color: rgba(255,255,255,.9); font-weight: 400;">地图特性</h5> | ||
{| class="standard-table" | {| class="standard-table" | ||
|- | |- | ||
| '''<center> | | '''<center>地图尺寸</center>''' | ||
| | | 大小没有限制,但是网格只有32768个单位 (624.23 米 / 2048 英尺) | ||
|- | |- | ||
| '''<center> | | '''<center>可见度</center>''' | ||
| | | 玩家目前看到在他面前的大约78740个单位(2000米 / 6561.68英尺) | ||
|} | |} | ||
{{ModernWarning| | {{ModernWarning| 超大地图超过 32768 个单位时的照明烘焙暂时不可用}} | ||
{{ModernWarning| | {{ModernWarning| 导航至物体暂时未适配超大地图,如果创建区域的大小超过 32768 个单位,这将导致操作系统故障瘫痪。如果无响应,唯一的解决办法将是紧急关闭电脑。关闭地图编译窗口!}} | ||
{{ModernWarning| | {{ModernWarning|超大地图浮点精度存在问题,如果离初始坐标太远,多边形开始表现不正确( 8 km 后开始出现细微问题,在 20 km 后问题非常明显)}} | ||
== Shaders == | == Shaders == |
Revision as of 20:10, 11 August 2022
S&box 是一个由 Facepunch 开发,由
起源2 提供技术支持的平台和游戏开发工具集。 最初, 游戏的开发基于 Unreal Engine 4, 但是当
半衰期:爱莉克斯 一发售时, Facepunch 立刻向 Valve 请求了那个新发售游戏的引擎分支。 几个星期后,Valve 给了 Facepunch 访问那个TB级大小的存储库, 之后, 在 2020年, S&box的开发转向
起源2 的消息被宣布。 这是第一次(目前也是仅有的) Source 2 被许可给第三方开发者。
用户访问
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服务器上:
插件
S&box 目前支持4种附加组件: Template:MdQuote
地图
开发工具附带了 Source 2 Hammer 地图编辑器的修改版本,其中某些部分用 C# 脚本编写,提高了灵活性。
项目设置菜单
在开发工具里的项目菜单中, 你可以去选择你的地图的游戏模式。 你可以将其修改为开发中地图并且标记支持的游戏模式。
发布
目前,地图无法直接从游戏中启动,它们必须作为单独的项目(每个地图对应一个项目)发布。通过点击开发工具中项目设置菜单中的上传按钮来发布地图。
地图特性
大小没有限制,但是网格只有32768个单位 (624.23 米 / 2048 英尺) | |
玩家目前看到在他面前的大约78740个单位(2000米 / 6561.68英尺) |
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.
Sounds
Currently, the sounds are arranged in an extremely primitive way due to the content associated with them cut from the engine.
An analog 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 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.