sbox吧 关注:76贴子:224

[搬运]s&box 4月开发总结

只看楼主收藏回复

更新翻译,楼下开更


IP属地:安徽1楼2021-06-01 14:30回复
    Developer Preview
    by → Garry Newman
    开发者说
    The biggest event this month was that we gave out access to a few devs. This was less than 100 keys.
    这个月做出最重大的决定就是向外提供了开发版进入权限,不过向外流出的激活码少于100个。
    It's been great for us, to show where we should be focusing energy, what's missing, what we're ****ing up. Not only in terms of the game, but in terms of developer support, things like the wiki, discord, error reporting, feature requests and bug reporting. We've managed to get that in pretty good shape now so we can build on it in the future.
    这对我们感觉很好,我们知道该将精力主要投放在哪里,什么地方有遗漏的点,我们又搞砸了什么。
    当然这不仅仅指的是游戏上,在开发者支持上,我们也更新了wiki,discord,错误报告以及bug反馈。现在状态不错,我们可以在此基础上开发更多的东西了。
    Obviously we're getting continually hounded for keys now, so we're giving keys out via nominations. The people with access nominate who should get keys. This is obviously a biased, unfair, popularity contest, flawed way of doing it, but so far it's serving its purpose of getting keys into the hands of capable people.
    我们现在使用提名的进行分发密钥,只有有权进入的人才有能力分发密钥,虽然不公平,但是我们希望密钥尽量交到有能力的人手上。
    Finally, I want to emphasise that this is a developer preview. There's no game to play. We've been working on foundations for the last 4 months. So if you're a player and want to play GMod2, this isn't for you, don't get excited for it, you'd be disappointed if you got access.
    目前仍是开发者版本,所以游戏性很少,所以:耐心等待。


    IP属地:安徽2楼2021-06-01 14:31
    回复
      Scaling 缩放
      s&box中添加了缩放功能,由于这个功能几乎不需要写什么代码,所以暂时保留。
      I added a scaling tool to the sandbox mode. I actually initially forgot to add a check to disable it on players because I just assumed it wouldn't work. Turns out it just works without me needing to code anything special for it - so I kept it in.


      IP属地:安徽3楼2021-06-01 14:44
      收起回复
        Dev Site 开发者网站
        I spend the first couple of weeks of April setting up the s&box dev site, which lets people upload their games and maps. This is all obviously still a work in progress, there's a lot to think about and part of the reason to invite developers was to force us to think about that early on.
        该项目目前正在开发中,暂时可以上传地图和游戏模式。


        IP属地:安徽4楼2021-06-01 14:47
        回复
          ORGANISATIONS 组织化
          We organise assets into organisations. This means that name clashes won't happen. So if you want to play the flatgrass map by facepunch, you can go in the console and do "map facepunch.flatgrass". If you want to play sandbox by facepunch you can go in the console and do "gamemode facepunch.sandbox".
          In reality you won't need to type these things in the console (because UI exists) but internally this is how it works.
          将资源组织化,使得资源的名称不会冲突,如果你想游玩官方的flatgrass地图,只需要在命令行中使用map facepunch.flatgrass, 如果想游玩官方的沙盒模式只需要输入gamemode facepunch.sandbox, 当然这一切都有UI可以操作。


          IP属地:安徽5楼2021-06-01 14:47
          回复
            CONTENT 内容
            You can add content to your organisation. Right now this means maps and gamemodes, but this should expand to a bunch of things I want to try.
            An important thing to note here is that in the system gamemodes and maps are the same thing. The end goal is if you make a map and upload it to this system you'll be able to add achievements and see play stats just like a gamemodes would.
            Content can be uploaded a multitude of ways too. I imagine this will evolve over time too, like providing separate host and client downloads.
            你可以想开发网站添加内容,不过现在只能添加地图和游戏模式,在未来将会添加更多可自定义的内容,如游玩统计或者成就,未来可能提供多种方式进行上传,如提供主机和客户端下载。


            IP属地:安徽6楼2021-06-01 14:48
            回复
              Remote Maps 远端地图
              当检测到你没有游玩的地图时,会自动下载并加载,并且下载速度很快.
              It took a few days but I got remote maps working.
              So what happens is if you're trying to load a map that you don't already have, it'll query the backend and ask about it. Then it'll download it and load it. No manual downloading, no installing, just playing.
              This is actually that fast that you don't even know it's happening most of the time. When you think of map downloads like this you're probably thinking of 10 years ago waiting for 20 minutes while a map downloads from the server at 30kb/s.
              This ain't that.
              当检测到你没有游玩的地图时,会自动下载并加载,并且下载速度很快.


              IP属地:安徽7楼2021-06-01 14:49
              收起回复
                Asset Folders 资源文件夹
                在alyx游戏中,资源文件分布如下:
                /content/alyx/models/gman.mdl <-- 源文件 /game/alyx/models/gman.mdl_c <-- 编译文件
                我们改为:
                /game/addons/sandbox/content_src/models/balloon.mdl /game/addons/sandbox/content/models/balloon.mdl_c
                然后现在我们又改成这样:
                /game/addons/sandbox/models/balloon.mdl /game/addons/sandbox/models/balloon.mdl_c
                So here's the logic here.
                Being in separate folders definitely has its benefits, it creates a clear line between what should be shipped and what shouldn't.
                But on the other hand, it's confusing, it's another thing that you have to explain to people. It's another folder to be aware of, it feels so much nicer to have related files next to each other. You know if something is source or compiled because compiled files end in _c.
                So I decided on balance that this is the way forward for us.
                虽然将源文件和编译文件分开存放是有意义的,但是这就让人对两个文件夹产生歧义,所以又改回去了。


                IP属地:安徽8楼2021-06-01 14:50
                回复
                  Culture Clash 文化冲突
                  Something funny that I never considered came up when we started getting other people playing. Russian people were getting a black screen when starting up. They couldn't parse the stylesheets.
                  Something I hadn't considered was how float.Parse changes with culture. In English it's expecting a number like "1.23", but in Russian it's expecting a number like "1,23".
                  在发放测试码时从未想过不同国家之间会有非常有意思的冲突,比如对于一些俄罗斯玩家,无法正常理解字符表。
                  应为在他们文化中,表示浮点为',', 而在英语中表示'.',所以 1.23和 1,23就有很大差距
                  I got this fixed and now our Russian devs can play just fine.
                  当然,现在俄罗斯玩家可以愉快玩耍了。


                  IP属地:安徽9楼2021-06-01 14:51
                  回复
                    Citizen V2 工具人 V2
                    Taylor and I have been working on refining the Citizen model, so that it can be a much better foundation going forwards, not only for ourselves, but also everyone wishing to create clothing, animations & other content for these funky little fellas.
                    Taylor 和 Maxime Lebled 一直尝试对工具人模型进行改进,我们希望它可以使用服装,动画等其他内容。
                    We've taken the original model and reworked it from the ground up to better take advantage of the Source 2 engine, with a brand new mesh and set of materials. Fundamentally it's the same character, just a much more polished and functional version.
                    现在他更加实用了。
                    Although the visual changes are subtle, many of the changes are "under the hood". There's a completely new rig with much smoother weighting and procedural helpers!
                    虽然看上去差不多,但是现在有了全新的更加完美的rig。
                    This new version is not hooked up in the preview build yet; it's in the process of being animated. It should replace the old one sometime in May!
                    但是目前并不在开发者版本中,估计在5月加入。
                    You can grab the current source file here. If you had already gotten started on clothing for the V1, you may need to adjust it to the new bind pose. Please be aware that s&box is in active development, and we can't guarantee there won't be any breaking changes down the line!
                    你可以在https://files.facepunch.com/Taylor/1b3011b1/citizen_v2_staging_2021-04-29.zip下载到该文件,如果你在V1基础上创建一些内容你可能需要在新的v2版本中进行调整。


                    IP属地:安徽11楼2021-06-01 14:52
                    回复
                      Level Design & Art 关卡设计
                      I spent most of the month creating a couple of visually pleasing maps trying to help nail down the style for our levels while also giving some variety in level design.
                      Louie Turner花了大约1个月的时间创建了这个看起来不错的关卡地图,目前正在确定关卡的样式。

                      This map is one of the bigger ones I have made so far supporting open spaces and tight areas, similar told old 90s shooters. This is helped to flush some ideas out for more of a interior science/ warehouse art assets, also though not final I feel like its a good direction to make improvments on.
                      这张枪战地图很大,可以在各种地形进行射击。

                      This is using the deathmatch map showed from the last update blog, It's based on brutalist architecture which helped get something out fairly quickly so we aren't looking at dev textures all day, but also makes it look fairly boring as its a lot of greys. This is probably not the direction we want to go.
                      使用的时上次更新日志的死斗地图,基于 brutalist architecture风格,但是目前地图灰灰的,不喜欢,会改。


                      IP属地:安徽12楼2021-06-01 14:56
                      回复
                        Animgraph Hotloading 动画热加载
                        Animgraph hotloding wasn't working but now it does
                        动画热加载现在可以使用了


                        IP属地:安徽13楼2021-06-01 14:56
                        收起回复
                          Explosion Stuff 爆炸物
                          Explosion data can be set in model doc, if the entity is a prop, it will use that data to apply forces and deal damage within a radius. Your custom entities can also make use of it.
                          爆炸参数可以在model里设置了,如果是实体则会以实体为中心,在半径范围内造成伤害。


                          IP属地:安徽14楼2021-06-01 14:57
                          收起回复
                            Hammer Updates 锤子更新
                            Hole primitive to make easy holes.
                            打孔更简单了


                            IP属地:安徽15楼2021-06-01 14:57
                            收起回复
                              Property Sliders Property 滑块
                              Value properties in the tools didn't have sliders before, now you can click and drag at the side of them to slide the value, like most other tools have.
                              之前的工具没有滑块这个东西,现在你可以使用滑块更轻松的修改参数了


                              IP属地:安徽17楼2021-06-01 14:59
                              收起回复