- 黄金
- 367.90 黄金

[FREE] Enhanced Trafficlights
Enhanced Trafficlights | 🎬 Preview This scripts is basically an updated version of the Smart Trafficlights script, but it solves the problem of sync issues and AI not driving when the lights turn green. <details><summary>In depth details</summary>The Enhanced Trafficlights Script was created to...


增强型交通灯 |
预览
这个脚本基本上是智能交通灯脚本的更新版本 22,但它解决了同步问题和绿灯亮时 AI 不驾驶的问题。详细信息增强型交通灯脚本是为了解决游戏中 AI 和玩家之间关于交通灯覆盖行为的同步问题而创建的。最初,交通灯只影响玩家的视野,而不会影响 AI 行为。经过彻底的研究,我们发现没有原生游戏功能可以改变 AI 对交通灯状态变化的反应。为了解决这个问题,我们实施了矢量数学来识别交叉路口并根据其方向对附近的交通灯进行分类。这允许确定哪些灯应该是绿色或红色,从而改善 AI 行为,使车辆在红灯处停止并在绿灯时继续行驶。该脚本目前 90% 的时间都在工作,并且正在不断完善。该脚本是免费的、开源的,并向社区开放贡献。
特征:

- 路口周围的每个灯都会受到变化的影响
- 人工智能将在红灯/绿灯时停车/行驶
- 设置等待绿灯的时间
- 为服务器上的每个玩家实时更新
- 优化为 0.00ms 空闲和 ~0.06 使用(仅约 0.5 秒)
API(开发中)

- 目前正在制作 API,以确保支持第三方脚本
- 现有导出可用,但目前不建议使用(更新 v1.0.0)
下载
点击此处下载最新版本