安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题









The modding API for PA is very basic, and there's no "move there but stop if anything bad happens" command that I could find. Only this "go there and ignore everything" that you see the mod use.
Obviously the game has a "move and look" function, because you don't see guards just ignoring misbehaving prisoners in vanilla, like you did with the mod. That said, that function is likely C++ only, and not exposed to the Lua API :(
I purposely made it spread out to make the lag spikes minimal and hopefully unnoticeable, as making it just a concentrated big spike really sucked to play with.
So the more cameras you have and the faster the speed, the more they check.
When I was originally making the mod, I really wanted to make it event-based, as in, only if a prisoner starts misbehaving, have the "world" check if a camera caught sight of it.
But sadly, I had to make them "timed" like that, because the modding API is quite limited. :/
And for some reason you HAVE to have scripts running inside objects physically on the map, instead of just running in the background.
I was experimenting with update timers greater than 30 seconds, but that's usually how long it takes for a prisoner to destroy and open a cell door enough to escape, so it made the mod unreliable for what I wanted to achieve. So I capped it at 30 seconds.