Prison Architect

Prison Architect

479 个评价
Road Sensors
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
4.152 KB
2015 年 7 月 20 日 下午 6:22
2015 年 7 月 23 日 下午 1:24
2 项改动说明 ( 查看 )

订阅以下载
Road Sensors

描述
Lay sensors across your roads to detect when vehicles are present!

They're like pressure pads, but for roads!

Make sure to place two tiles above road gates for vehicles to stop on them.

Half-road sensors only detect one lane, and need to be placed like in the screenshot above.
(You don't have to have two next to each other, though.)

THEY ARE LOCATED UNDER UTILITIES AFTER YOU COMPLETE THE REMOTE ACCESS RESEARCH.
110 条留言
阳台门口 2021 年 6 月 16 日 上午 8:26 
在你的道路上放置传感器,以检测何时有车辆!

他们就像压力垫,但对道路!

确保在道路大门上方放置两块瓷砖,以便车辆停在上面。

半路传感器只检测一条车道,需要像上面的截图一样放置。

(不过,你不必让两个相邻。)

在您完成远程访问研究后,它们位于实用程序下。
David's Old Acc. 2019 年 8 月 1 日 下午 8:20 
I published a fixed version to the workshop here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1822431950
KilledJoy 2019 年 4 月 29 日 下午 9:58 
mod is 5 years out of date an multiple posts about a fix an yall still shout "fix your mod" lol
Minty Senior 2019 年 4 月 22 日 下午 3:36 
I just noticed that nobrainer already suggested this same fix back in August 2018.
Minty Senior 2019 年 3 月 28 日 下午 5:04 
If you don't mind getting your hands dirty with a minor script change, I found a fix that does work (I played several game days with the clock speeded up, with no errors and nothing in the debug.txt log).

Go to the user mod folder for the game, which is usually here:
C:\Users\YOUR_NAME\AppData\Local\Introversion\Prison Architect\mods
Find and edit the Road Sensors mod script (mod id 485302724)
mods\485302724\data\scripts\RoadSensor.lua

At the bottom of the script, in the function named Authorised
Replace this line:
return Get( vehicle, "Pos.y" ) - OurY <= Proximity;
with:
return Get( vehicle, "Pos.y" ) - this.Pos.y <= Proximity;

The OurY variable defined further up the script wasn't being preserved (nil value). Someone with a better knowledge of lua scripting would probably know why.
Restart the game for the change to be picked up, mod shouldn't need reactivating.
If the mod creator (Themias) is still around perhaps he can check the fix and post an update.
Wal der Qual 2019 年 3 月 17 日 上午 1:09 
@Kiano why should asking nicely be an option when you can just scream at someone making free content, right?
Kiano Jajino 2018 年 12 月 17 日 上午 12:31 
Creator ! Update your mod !
Karachay 2018 年 12 月 8 日 上午 7:41 
I think themias have a look about the error
Karachay 2018 年 12 月 8 日 上午 7:39 
I have a error too
Dan B 2018 年 8 月 31 日 上午 3:38 
same here for that error