lili5353 发表于 2014-6-11 19:49

交通问题已解决,再也不怕十字路口啦。-- RoadRage mod by DarthPresidente

本帖最后由 lili5353 于 2014-6-11 20:23 编辑

交通问题已解决,再也不怕十字路口啦。此MOD修改了车辆的速度,以及各种车距减速方面的设置。
除了几处红字以外不建议修改别的数值。
-- RoadRage mod by DarthPresidente
-- For Tropico 5

--请放在 “x:\Tropico 5\CommonLua”目录下,本来没有,需要自己新建一个。

OnMsg.ClassesPreprocess = function()
      DebugPrint("\nRoadRage mod by DarthPresidente loaded...\n    Version:          2x\n    SourceFile: " .. debug.getinfo(1).source:match("@(.*)$") .. "\n\n")
      RoadVehicle.min_speed = 900        最小速度
      RoadVehicle.max_speed = 4000         最大速度
      RoadVehicle.crossroad_speed = 4000         拐弯速度
      RoadVehicle.min_dist_between_cars = 0 * guim
      RoadVehicle.dist_slow_down_to_cars = 0 * GetTransportMaxAdvanceDist()
      RoadVehicle.slowdown_crossroad_dist = 0 * guim
      RoadVehicle.accelaration = 200    加速度
      RoadVehicle.dist_slow_down_at_end = 0 * guim
      RoadVehicle.enter_exit_wait_radius = 1 * guim
      RoadVehicle.equilize_speed_to_car_infront = 2 * guim
end


红色内容请按需修改。

ufoyang 发表于 2021-11-12 13:18

感谢大佬分享

youchenghao 发表于 2022-3-2 15:46

原来一直堵红绿灯,这下可以解决了

a250390621 发表于 2022-8-27 09:54

试试看,否则为了避免堵车就要改规划
页: [1]
查看完整版本: 交通问题已解决,再也不怕十字路口啦。-- RoadRage mod by DarthPresidente