(请见下文的中文翻译。)
Enables the customization of a wide range of game rules, which the plugin divides into five categories:
- General (adjust number of periods, shot clock behavior, and more)
- Scoring (define point value per shot type and enable four-point line)
- Fouls (manage behavior of each foul type as well as rules for bonus)
- Violations (ditto, but for violations, including time-based infractions)
- Timeouts (set length of full/reduced timeouts and map their allocation)
Note that Rules+ merely allows the user to interact with hidden controls that were already present within the default game. The goal of this plugin is to make those controls freely accessible to the user, whether or not they have any tangible in-game effect. Some controls are very likely of little consequence; for instance, technical fouls are essentially nonexistent in NBA 2K23, but Rules+ still includes the ability to customize technical foul rules because 2K does include those rule variants as alternate settings.
Also, Rules+ deliberately avoids duplicating any functionality that is already present in Settings+, one of its companion plugins. It is highly recommended to use both plugins together.
REQUIREMENTS
- NBA2K23 Hook V0.0.26: https://eyeuc.com/m/20273.
- Compatible NBA2K23.exe: See download section.
INSTALLATION
- Drag the
RulesPlusfolder into your Hook scripts directory (NBA2K_Hook\Scripts).
HOW TO USE
- When the plugin is enabled, a Rules+ icon will always be present in the upper-right region of your Hook GUI screenspace (think of the latter as your Hook Desktop or Home Screen). Click on this icon to open the plugin interface, which pops up in its own window. Note that the plugin is always active regardless of whether the interface window is visible.
- Adjust your settings as desired. The checkboxes that precede each menu item tell Rules+ whether you want the plugin to control that setting (= activated / checked) vs. whether you want the plugin to ignore that setting and let the default game handle its value (= deactivated / unchecked).
- To apply your settings, simply close the Hook GUI (by pressing F8, unless you have customized your Hook GUI toggle key). All settings are reapplied every time you toggle out of the Hook GUI, regardless of whether the Rules+ interface window is open or closed.
- For the best user experience, apply any changes prior to transitioning into the on-court environment. This is because some rules can be changed mid match and some can't; finalizing your desired settings while still in the menu environment ensures that all of your rules settings will take effect. (Your “last chance” to reliably apply all rules is in the pre-game match-up interface, wherein you can choose which jerseys the teams will be wearing, accessory colors, etc.; past that point, rules changes via the plugin will have unpredictable results, and you're best off not making any changes to your Rules+ settings until you've fully exited the on-court environment.) If you do want to make mid-match rules changes, then the safest way to do so is via the in-game Game Rules menu, if you are using a mod that unlocks it.
WARNING
- Inevitably, many rules contradict each other. For instance, you can set the shot clock to “Disabled” while simultaneously setting the length of the shot clock to “24”. This is not an issue in most cases if you use common sense (the result of the shot clock example, for instance, would obviously be a disabled shot clock; the same as if your TV volume had been set to 100, but the TV is off). The point is simply that many rules are interrelated, and one should keep that in mind when implementing changes.
- Rules+ is completely indifferent to whatever offseason rule changes may have been implemented in a particular MyLEAGUE save, so if there are rules that you want the game to handle in the default manner, be sure to keep those rules deactivated / unchecked within the plugin. (Note that, for safety, ALL rules are deactivated / unchecked when Rules+ is first installed.)
TIP
You can reset the plugin to the game's default rule values in one of two ways:
- With the game shut down, delete
currentSettings.lua(NBA2K_Hook\Scripts\RulesPlus\resources), then boot up the game. This will restore Rules+ to the default values of a standard 5v5 NBA game, as in Play Now or a MyLEAGUE save with no offseason rule changes. - With the game and plugin running, but while still in the menu environment, deactivate all controls in whichever tab(s) you want to restore, enter a match that uses the rule set you want to restore to, then once the on-court environment has loaded, click the GET CURRENT VALUES button in whichever tab(s) you are restoring.
- With the game shut down, delete
译文(经 ChatGPT 翻译):
启用对多种比赛规则的自定义控制。插件将相关规则划分为五个分类:
- General(通用):调整节数、进攻时间(24 秒)等基础比赛参数
- Scoring(得分规则):为不同投篮类型设定得分数值,并可启用“四分线”
- Fouls(犯规):控制各类犯规的判罚方式,以及加罚/进入加罚线的规则
- Violations(违例):与上条类似,但针对违例规则,包括各种时间违例
- Timeouts(暂停):设定完整暂停/短暂停的时间长度,并控制其分配方式
请注意:Rules+ 只是让用户可以操作原版游戏中本来就存在但被隐藏的规则控制项。
本插件的目的,是让这些规则设置无条件向用户开放,无论它们在实际比赛中是否产生明显效果。
有些控制项可能实际影响很小;例如,在《NBA 2K23》中技术犯规几乎不会出现,但因为 2K 在内部仍预留了多种技术犯规判罚方式,Rules+ 依然提供了相关设置接口。
此外,Rules+ 刻意避免重复实现其姊妹插件 Settings+ 中已经存在的功能。
强烈建议 Rules+ 与 Settings+ 搭配使用,以获得完整的规则与设置控制体验。
运行环境要求
- NBA2K23 Hook V0.0.26:下载地址:https://eyeuc.com/m/20273
- 兼容版本的 NBA2K23.exe:请参阅本插件发布页的“下载说明/说明文档”中的版本要求说明
安装方法
- 将整个
RulesPlus文件夹拷贝到 Hook 脚本目录下:NBA2K_Hook\Scripts
(即最终路径为:NBA2K_Hook\Scripts\RulesPlus)
使用方法
- 插件启用后,在 Hook GUI 的屏幕右上区域(可视为 Hook 的“桌面”或“主屏幕”)会一直显示一个 Rules+ 图标。单击该图标即可打开插件界面,界面将以独立窗口形式弹出。请注意:无论界面窗口是否打开,插件本身始终处于激活状态。
根据需要修改各项规则设置。每一项菜单前面的复选框用于告诉 Rules+:
- 复选框 勾选 = 由 Rules+ 接管该规则的数值;
- 复选框 未勾选 = Rules+ 不干预,交由游戏原始逻辑控制该规则。
- 要应用所做的规则修改,只需关闭 Hook GUI(默认按 F8,除非您自行改动过 Hook GUI 的显示/隐藏热键)。每次从 Hook GUI 退出时,Rules+ 都会重新应用当前设置,无论 Rules+ 窗口当时是否可见。
为获得最佳体验,建议在进入比赛画面之前完成所有规则调整。
- 原因在于:部分规则可以在比赛进行中修改,部分则不能;若在菜单界面就先确定好最终设置,可确保所有规则均正确生效。
- “最后一次可靠应用全部规则的机会” 是在赛前对阵画面(可以选择球衣、配色等的界面)。过了该界面再修改部分规则,可能出现不可预期的结果。因此,在完全离开赛场环境前,建议尽量不要通过 Rules+ 再修改规则。
- 若确实需要在比赛过程中调整规则,最安全的方式是通过游戏内置的“比赛规则”菜单进行修改(前提是您在使用已解锁该菜单的相关 MOD)。
警告
很多规则在逻辑上可能互相矛盾。
- 例如:您可以将“进攻时间”设置为“禁用(Disabled)”,同时又把“进攻时间长度”设为“24 秒”。
- 在大多数情况下,只要按常识理解,这并不会真正造成问题——上述例子最终的效果显然是:进攻时间被禁用(类似于电视音量调到 100,但电视处于关闭状态)。
- 这只是提示:许多规则是相互关联的,调整时请牢记这一点,以避免出现与期望不符的组合。
Rules+ 完全不关心某个 MyLEAGUE 存档中历年休赛期所引入的规则变化。
- 如果某些规则您希望仍由游戏默认逻辑控制,请务必在插件中保持这些条目的复选框处于未勾选状态。
- 为安全起见,Rules+ 首次安装时,所有规则默认均为未勾选/未激活状态。
小提示
您可以通过以下两种方式将插件重置为游戏默认规则数值:
通过删除快照文件重置(离线方式)
- 在游戏关闭的状态下,删除
currentSettings.lua文件
(路径:NBA2K_Hook\Scripts\RulesPlus\resources\currentSettings.lua)。 - 重新启动游戏后,Rules+ 会回到标准 5v5 NBA 比赛的默认规则(相当于 Play Now,或在未进行任何休赛期规则修改的 MyLEAGUE 存档中的默认状态)。
- 在游戏关闭的状态下,删除
通过“读取当前值”重置(在游戏运行时重置)
在游戏与插件均运行的情况下,但仍停留在菜单界面:
- 在想要恢复默认规则的标签页中,将所有控制项的复选框取消勾选(即让游戏接管这些规则值);
- 进入一场使用“目标默认规则”的比赛;
- 待赛场画面完全加载后,在对应标签页点击 “GET CURRENT VALUES(获取当前值)” 按钮。
- 这样即可将该标签页中所有规则,重置为当前这场比赛所采用的规则配置。

