Easy Lidar Homing Script
Фото и видео: 1 из 4. Материалы автора из Steam Workshop.
О материале
«Easy Lidar Homing Script» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Lidar Homing uses the latest Camera Raycast Lock-On. This is a Fire and Forget missile script. After initial aiming and achieving lock-on, missile will be fully autonomous and tracks the target with leading intercept.
NEW!! Revamped Guidance System to use better intercept calculations. Missile is now MUCH HARDER to Dodge! https://youtu.be/3LRfwtnRlOk
This is a Vanilla Script. NO MODS are required.
See Homing Modes for the different ways this script can guide the missile (Raycast Lidar, TV Guided, AI Turret, GPS etc)
The Complete Setup Guide for this script can be found at:
https://steamcommunity.com/sharedfiles/filedetails/?id=1211340504
Tutorial Video can be found here:
To be released on weekends.
NOTE: Timer Block NO Longer Required! Script loops itself automatically.
WARNING: Camera Panning Mod messes with this script! This is an API limitation, nothing can be done.
WARNING: Camera Crosshair is highly misleading and may not be the actual aim point, causing off center aiming and unable to lock-on.
WARNING: PID Values have been Re-Normalized! If you have tweaked AIM_P, I, D and LIMIT before, you need to convert it from angles to radians (i.e. divide by 30 then multiply by Math.PI).
NEW: useOffsetTargeting and useOffsetRaycasting flag available to enable homing in on specific spots of the target instead of its center. Available for all Lidar Type Modes. See Custom Data Configuration Section for more info.
Best used together with the Launch Control Script to launch multiple missiles: https://steamcommunity.com/sharedfiles/filedetails/?id=691441036
And also with Missile Status Script to get missile lock-on information: https://steamcommunity.com/sharedfiles/filedetails/?id=702255497
Demonstration Builds:
Red Ship Mech by Halipatsui: https://steamcommunity.com/sharedfiles/filedetails/?id=1285924680
X479 Cruiser Rabblerouser by Monorchid: https://steamcommunity.com/sharedfiles/filedetails/?id=1382285229
Stalker Skyfighter: https://steamcommunity.com/sharedfiles/filedetails/?id=1109370030
Stalker Spacefighter: https://steamcommunity.com/sharedfiles/filedetails/?id=1109370333
Twinhydro Mobile SAM: https://steamcommunity.com/sharedfiles/filedetails/?id=1221350549
Patriot Mobile SAM: https://steamcommunity.com/sharedfiles/filedetails/?id=1230416099
Available Homing Modes
(Lidar means Camera Raycast)
[Mode 0] Lidar Homing Lidar Homing using launching ship's R_LIDAR for initial lock-on and R_FORWARD for aiming.
[Mode 1] Lidar Homing, Initially GPS Targeted Lidar Homing using coordinates from launching ship's R_TARGET for initial lock-on.
[Mode 2] Lidar Homing, Initially Camera Guided Lidar Homing using launching ship's R_LIDAR for initial lock-on and R_FORWARD for aiming with initial Camera Guidance. R_FORWARD can also be a Turret.
[Mode 3] Camera Or Turret TV Guided Camera Or Turret Guided using launching ship's R_FORWARD for direction tracking. R_FORWARD can also be a Turret.
[Mode 4] GPS Cruise Homes in on the GPS Coordinates set by the R_TARGET Text Panel.
[Mode 5] Shipborne Turret AI Homing Turret AI Homing Mode using launching ship's R_DESIGNATOR AI Turrets for Guidance. Multiple R_DESIGNATOR are allowed.
[Mode 6] Fixed Glide Homes in based on the direction the R_FORWARD is facing during launch. Direction is fixed after that.
[Mode 7] Semi-Active Lidar Homing Lidar Homing Mode solely using launching ship's R_LIDAR for lock-on and R_FORWARD for aiming (Semi-Active Style Guidance).
[Mode 8] Turret AI Homing Turret AI Homing Mode using missile's mounted AI Turret for Guidance.
[Mode 9] Turret AI Homing, Initially Camera Guided Turret AI Homing Mode using missile's mounted AI Turret for Guidance, with initial Camera Guidance using launching ship's R_FORWARD. R_FORWARD can also be a Turret.
Important Notes
-
Default maximum lock-on range is 3km. You can increase this by setting LIDAR_MAX_LOCK_DISTANCE in metres. Longer range means more delay between beam traces as Camera cooldown is longer.
-
For testing purposes, missile is set to lock on to ANY grid it can raycast to. For actual PvP use, write this line to the Custom Data of the script's PB to make it only lock on to enemies: excludeFriendly=true
Proximity Sensors
This script supports the use of raycast cameras as proximity fuses.
See Guide.
Custom Data Configuration
You can set the Custom Data of Programmable Block to specify various settings or change script variables, avoiding the need to edit the script everytime when updating to newer script versions.
See Guide.
Inter-Grid Communication
This script supports Inter-Grid Communications.
See Guide.
Missile Deployment Commands
Missile can be set to perform certain actions based on range to target and other measurements.
See Guide.
In-Flight Missile Command
Missile can be aborted in-flight or change to GPS homing.
See Guide.
Dynamic Configuration Command
You can set the Argument of Programmable Block to a specific command string to dynamically change missile behavior during launch.
See Guide.
IMPORTANT: AVOID using useOffsetRaycasting=true as it will cause lock-on to lose lock easily, since it will not raycast the center. Let the script decide when to use it automatically instead. You can use useOffsetTargeting=true however (note the spelling, these are different parameters!)
useOffsetTargeting => Missile homes to your aim point, such as to take out specific points on a base or large targets.
useOffsetRaycasting => Missile locks on to last raycast hit point, specifically used for ships with a large hole in it (cannot lock on to middle in this case). Else this has absolutely no uses.
Others
Skybox Aurelia by AssHunter: https://steamcommunity.com/sharedfiles/filedetails/?id=493552729
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.