Barotrauma

Barotrauma

Not enough ratings
multiCamSys
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
114.392 KB
2 Apr, 2021 @ 8:17pm
25 Apr, 2021 @ 11:22am
2 Change Notes ( view )

Subscribe to download
multiCamSys

Description
Instructions inside the assembly. Copy-pasting the periscope circuit will add more viewers to the multiCamSys. Copy-pasting the camera will add more cameras to switch to. Don't forget to edit the range limiter that is programmed in the RegEx. Only the periscope circuit requires special care when copy-pasting. See the spawn order label. Left click will swap to next camera. Holding left click will rapidly cycle through cameras

*** THE ITEM IS AN ASSEMBLY NAMED multiCamSys ***

The multiCamSystem requires a continuous range of wifi channel to iterate through.

So if you're cameras are channel 0 through 9

Then you make the regex match 0 through 9 with : ^(?<output>[0-9]$)

If you have a different range, then you must change the regex to match it. The regex is responsible to reset the channel counter when it realizes its out of bounds.

This could be of use for you https://www.richie-bendall.ml/ros-regex-numeric-range-generator/
5 Comments
Vαlere 18 Oct, 2021 @ 3:22am 
Used this for my sub https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2625806418 .
Liked how easy it is to set up. :steamthumbsup:
Even though I didn't found out how to set the wifi range of the RegEx from 100 to 110, instead of 0 to 10. Wondering if it is a bug from the game or just my ignorance with RegEx.
Gared 14 May, 2021 @ 2:34am 
Thank you for sharing this
Reddington  [author] 3 Apr, 2021 @ 1:10pm 
Small edit because I forgot I was using capture groups this is the correct range matching expression for 0-9.
^(?<output>[0-9]$)
Reddington  [author] 3 Apr, 2021 @ 10:42am 
Hi thanks for showing interest.

The multiCamSystem requires a continuous range of wifi channel to iterate through.

So if you're cameras are channel 0 through 9

Then you make the regex match 0 through 9 with : ^[0-9]$

If you have a different range, then you must change the regex to match it. The regex is responsible to reset the channel counter when it realizes its out of bounds.

This could be of use for you https://www.richie-bendall.ml/ros-regex-numeric-range-generator/
Aquilar 3 Apr, 2021 @ 4:24am 
exactly what do you edit on the regex?