Graphical Sensor Radar
Изображение 1 из 6. Материалы автора из Steam Workshop.
О материале
«Graphical Sensor Radar» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
This is an InGame Programming Script that simply uses a sensor mounted on a rotor. It can detect anything that sensors can detect, including spiders. It works with or without sensor mods.
You only need: 1 timer block 1 programming block 1 rotor 1 sensor 1 text panel (1 power source, obviously) optional: 1 Remote Control block for long range scanning
- Put a block on the rotor, and put a sensor on the block facing forward on your grid. 1.5) Optional: Place a remote control block somewhere else on your grid, facing forward, preferably with free line of sight in horizontal directions. It can't be too close to wheels, rotors, pistons or other screwy multigrid blocks.
- Tweak sensor values to your liking. Front Extent is the important scanning range value. Left and right could improve detection. Top and bottom could find more things in 3D space.
- Turn the rotor off and set it to ~10-20rpm. The faster it rotates, the less chance the rotor will pick up small objects at long range.
- Put the script in the programming block, and edit the script to confirm the block name settings are accurate.
- Put the programming block in the timer.
- Put the timer in the timer so it triggers itself with TriggerNow and thereby loops
- Turn the rotor on
- Trigger the timer
Example Radar Car: https://steamcommunity.com/sharedfiles/filedetails/?id=615964700
Update 1:
- I Implemented a "remoteMode" setting to use a Remote Control block instead of sensor, for very long ranges. It's turned off by default,
because it's very difficult to get working, the reason i assume is that it detects it's own grid, just like some issues with the sensor.[Edit: Improved] It does not detect life-forms. - I also added an "upsideDown" setting if you want to turn the rotor upside down and attach it to the underside of your ship, you can now do that as well. Update 2:
- I made a new version that can handle 4 sensors or remotes in each direction: https://steamcommunity.com/sharedfiles/filedetails/?id=616541074
Update 3:
- Better Remote Control Block detection (Thank you Skleroz). You don't need to put the Remote Control Block on the rotor anymore, you can place it anywhere you want. The remote gets the vector from the sensor instead, which works better. But this means you always need a sensor now.
- More automated block assignment. If it can't find a block of the correct name, it now grabs the first block on your grid of the correct type.
- A few performance optimizations and added max limits.
Update 4:
- I made a different version that doesn't need rotors. It can't detect life forms, though. https://steamcommunity.com/sharedfiles/filedetails/?id=617905251
Update 1.5:
- I added a refresh rate limit setting to save computing resources and to hopefully fix Script Complexity Errors. Let me know if this worked.
- I fixed some detection problems with the long range scanner and it now has a separate virtual rotation speed.
- You can now switch between long range and short range scanning by passing the argument "switch" from a toolbar button
- You can now change long range scanning range by passing arguments "increase" and "decrease". It steps 100m by default, but can be changed in the settings.
- It now sets the font size to 0.4 automatically
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.