Prison Architect

Prison Architect

476 ratings
Road Sensors
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.152 KB
20 Jul, 2015 @ 6:22pm
23 Jul, 2015 @ 1:24pm
2 Change Notes ( view )

Subscribe to download
Road Sensors

Description
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 Comments
阳台门口 16 Jun, 2021 @ 8:26am 
在你的道路上放置传感器,以检测何时有车辆!

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

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

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

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

在您完成远程访问研究后,它们位于实用程序下。
David's Old Acc. 1 Aug, 2019 @ 8:20pm 
I published a fixed version to the workshop here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1822431950
KilledJoy 29 Apr, 2019 @ 9:58pm 
mod is 5 years out of date an multiple posts about a fix an yall still shout "fix your mod" lol
Minty Senior 22 Apr, 2019 @ 3:36pm 
I just noticed that nobrainer already suggested this same fix back in August 2018.
Minty Senior 28 Mar, 2019 @ 5:04pm 
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 17 Mar, 2019 @ 1:09am 
@Kiano why should asking nicely be an option when you can just scream at someone making free content, right?
Kiano Jajino 17 Dec, 2018 @ 12:31am 
Creator ! Update your mod !
Karachay 8 Dec, 2018 @ 7:41am 
I think themias have a look about the error
Karachay 8 Dec, 2018 @ 7:39am 
I have a error too
Dan B 31 Aug, 2018 @ 3:38am 
same here for that error