csgo吧 关注:3,818,730贴子:63,478,835
  • 19回复贴,共1

有更新!57.8M!

只看楼主收藏回复



IP属地:北京1楼2025-09-25 08:44回复
    Updated tsconfig.json in the script_zoo, setting the target to "es2022" for more accurate type analysis.
    Changed point_script entity to no longer remove itself on a failed script load during spawn. Instead it will remain in an inactive state and listen for script changes if the game is running in tools mode.
    Fixed point_script entity to no longer potentially crash after an unsuccessful reload from an invalid script while running the game in tools mode.
    Changed point_script entity to hold onto the memory value returned by an Instance.OnBeforeReload callback until the next successful reload instead of forgetting it if the reload is unsuccessful.
    Changed methods expecting arguments of string type to now error instead of calling toString for arguments of the wrong type.
    Changed Instance.Msg and Instance.DebugScreenText to accept any type for the text value.
    Fixed a bug where RunScriptInput would crash the game when triggered with a null caller or activator.
    Removed Instance.OnGameEvent in favor of per-event registration methods. This gives us tools for stronger API stability and creates a consistent API for events that are not gameevents.
    Added Instance.DebugLine
    Added Instance.DebugBox
    Added Instance.OnPlayerConnect
    Added Instance.OnPlayerActivate
    Added Instance.OnPlayerDisconnect
    Added Instance.OnRoundStart
    Added Instance.OnRoundEnd
    Added Instance.OnBombPlant
    Added Instance.OnBombDefuse
    Added Instance.OnPlayerKill
    Added Instance.OnPlayerChat
    Added Instance.OnGunFire
    Added Instance.OnGrenadeThrow
    Added an overload to Instance.EntFireAtName that allows setting caller and activator
    Added an overload to Instance.EntFireAtTarget that allows setting caller and activator
    Added normal vector to the result of Instance.GetTraceHit
    Added Entity.GetGroundEntity
    Added CSWeaponBase.GetOwner
    Added CSPlayerController.GetName
    Added CSObserverPawn.GetOriginalPlayerController
    Added CSPlayerPawn.GetOriginalPlayerController
    Added CSPlayerPawn.IsCrouching
    Added CSPlayerPawn.IsCrouched
    Added CSPlayerPawn.IsNoclipping
    See maps/editor/zoo/scripts/point_script.d.ts for comprehensive details on the API
    Added "train_zoo.vmap" with all de_train assets and examples for mapmakers.


    IP属地:北京2楼2025-09-25 08:52
    回复
      2025-10-12 01:38:51
      广告
      不感兴趣
      开通SVIP免广告
      再探再报


      IP属地:广东来自iPhone客户端3楼2025-09-25 08:54
      回复


        IP属地:天津来自iPhone客户端4楼2025-09-25 08:56
        回复
          翻译下


          IP属地:海南来自iPhone客户端5楼2025-09-25 08:57
          回复
            以下是CSGO更新内容的翻译,涉及技术术语的部分已结合游戏开发场景优化表述:
            1. 更新了script_zoo中的tsconfig.json文件,将目标版本设置为“es2022”,以实现更精准的类型分析。
            2. 修改了point_script实体,使其在生成阶段加载脚本失败时不再自行删除。相反,若游戏处于工具模式(tools mode)下运行,该实体将保持未激活状态并监听脚本变更。
            3. 修复了工具模式下,point_script实体从无效脚本重新加载失败后可能导致游戏崩溃的问题。
            4. 调整了point_script实体的机制:Instance.OnBeforeReload回调返回的内存值将被保留至下次成功重新加载,而非在重新加载失败时直接丢弃。
            5. 对于要求字符串类型参数的方法,若传入错误类型的参数,现在将触发报错,而非调用toString方法进行转换。
            6. 修改了Instance.Msg与Instance.DebugScreenText方法,使其支持接收任意类型的文本值。
            7. 修复了RunScriptInput在调用者或激活器为null时触发会导致游戏崩溃的漏洞。
            8. 移除了Instance.OnGameEvent方法,改用按事件注册的方式。此举为我们提供了提升API稳定性的工具,同时为非游戏事件打造了统一的API接口。
            9. 新增方法及事件:Instance.DebugLine、Instance.DebugBox、Instance.OnPlayerConnect(玩家连接时)、Instance.OnPlayerActivate(玩家激活时)、Instance.OnPlayerDisconnect(玩家断开连接时)、Instance.OnRoundStart(回合开始时)、Instance.OnRoundEnd(回合结束时)、Instance.OnBombPlant(炸弹安放时)、Instance.OnBombDefuse(炸弹拆除时)、Instance.OnPlayerKill(玩家击杀时)、Instance.OnPlayerChat(玩家发送聊天信息时)、Instance.OnGunFire(开枪时)、Instance.OnGrenadeThrow(投掷手雷时)。
            10. 为Instance.EntFireAtName和Instance.EntFireAtTarget新增重载方法,支持设置调用者与激活器。
            11. 在Instance.GetTraceHit的返回结果中新增法向量信息。
            12. 新增实体相关方法:Entity.GetGroundEntity(获取地面实体)、CSWeaponBase.GetOwner(获取武器持有者)、CSPlayerController.GetName(获取玩家控制器名称)、CSObserverPawn.GetOriginalPlayerController(获取观察者pawn对应的原始玩家控制器)、CSPlayerPawn.GetOriginalPlayerController(获取玩家pawn对应的原始玩家控制器)、CSPlayerPawn.IsCrouching(是否正在蹲起)、CSPlayerPawn.IsCrouched(是否处于蹲姿)、CSPlayerPawn.IsNoclipping(是否处于穿墙模式)。
            13. 有关API的详细信息,请参阅maps/editor/zoo/scripts/point_script.d.ts文件。
            14. 新增地图文件“train_zoo.vmap”,包含所有de_train地图的资源及示例,供地图制作者使用。


            IP属地:山东来自iPhone客户端6楼2025-09-25 09:04
            收起回复
              武库?


              IP属地:海南来自iPhone客户端8楼2025-09-25 09:07
              收起回复
                无事发生?


                IP属地:浙江来自Android客户端9楼2025-09-25 09:07
                收起回复
                  2025-10-12 01:32:51
                  广告
                  不感兴趣
                  开通SVIP免广告
                  还不拉大的


                  IP属地:云南来自iPhone客户端10楼2025-09-25 09:13
                  回复
                    大行动!


                    IP属地:江苏来自Android客户端11楼2025-09-25 09:18
                    回复
                      小修复


                      IP属地:湖南来自Android客户端12楼2025-09-25 09:27
                      回复
                        就是正常修修bug


                        IP属地:江苏来自Android客户端13楼2025-09-25 09:48
                        回复
                          快了 快了 ,大的要来了,一般这种密集的更新 后面必有大的


                          IP属地:上海14楼2025-09-25 09:55
                          收起回复
                            微的要来了


                            IP属地:江苏来自Android客户端15楼2025-09-25 15:26
                            回复
                              2025-10-12 01:26:51
                              广告
                              不感兴趣
                              开通SVIP免广告
                              大的要来了


                              IP属地:福建来自Android客户端16楼2025-09-26 13:37
                              回复