Space Engineers

Space Engineers

Not enough ratings
Halcyon Enterprises - E.Z.R.A. Easy Rover Automation
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
867.234 KB
21 Apr, 2024 @ 8:25am
21 Apr, 2024 @ 12:08pm
4 Change Notes ( view )

Subscribe to download
Halcyon Enterprises - E.Z.R.A. Easy Rover Automation

Description
Halcyon Enterprises - E.Z.R.A. Easy Rover Automation

Easy Rover Automation is an easy to use, lightweight, responsive script designed to automate rover wheels, gyros, and lights.

FEATURES
Tagging System - E.Z.R.A. uses tags placed in the Custom Data of blocks (currently Wheel Suspensions, Gyroscopes and Lights) to control these blocks in useful ways. The ezra tag specifies which blocks are controlled by the script. Other specific tags can be used to further define each block's behavior.

Wheel Power Feathering - Wheel power is smoothly adjusted up/down (linearly) based on control input to simulate feathering of acceleration.

Fast Mode - Adding the fast tag to Wheel Suspension blocks allows a rover to use fast mode, controlled by the Y axis down input typically mapped to the [C] key. This increases the wheel power and speed limit similar to the "boost" or "nitrous" feature in many racing games.

Gyro Recovery Roll - Adding the ezra tag to Gyroscope blocks enables use of the roll functions typically mapped to the [Q] and [E] keys. This allows dangerously tilted or flipped rovers to be righted with minimal effort.

Responsive Lighting - Adding one or more tags to lights allows them to function as turn signals, brake lights, or backup (reverse) lights. These function automatically based on the tags applied to each block.

HOW TO USE
  1. Load Script - Load the E.Z.R.A. script into a functional (enabled and powered) programmable block on your grid. Ensure the grid has at least one control block (cockpit or remote control) on it as well.

  2. Tag Blocks - Place tags in the Custom Data of blocks to define their behavior. Tags can be in any order and are not case sensitive.

    Available tags (by block type):
    • Wheel Suspension
      • ezra - enables script control and power feathering for this wheel suspension
      • fast - enables fast mode for this wheel suspension
    • Gyroscope
      • ezra - enables script control and recovery roll for this gyroscope
    • Light
      • ezra - enables script control of this light; must be used with additional tags to control light behavior
      • left - light will blink when making a left turn
      • right - light will blink when making a right turn
      • stop - light intensity will increase when braking; can be used with back to create a hybrid brake/reverse light
      • back - light intensity will increase when reversing
      • color - light will use appropriate color setting from script

  3. Enjoy! - Enjoy your newly automated rover!

SETTINGS
Optional - At the top of the script code are some constants used to adjust its effects.
The following settings can be adjusted:
  • LightIntensityLo - the intensity of turn signal and brake lights when not turning or braking
  • LightIntensityHi - the intensity of turn signal and brake lights when turning or braking
  • LightBlinkInterval - the interval (in script cycles) between turn signal intensity changes when turning
  • SpeedLimitLo - the speed limit for wheel suspensions when not in fast mode
  • SpeedLimitHi - the speed limit for wheel suspensions when in fast mode
  • WheelPowerLo - the power of wheel suspensions when not in fast mode
  • WheelPowerHi - the power of wheel suspensions when in fast mode
  • WheelPowerDelta - the rate of change for wheel suspension power when accelerating/decelerating
  • GyroRollCoeff - the multiplier for gyro roll override when performing a recovery roll
  • LightColorTurn = the color of turn signal lights (R,G,B); valid values for each component are 0-255
  • LightColorStop = the color of brake lights (R,G,B); valid values for each component are 0-255
  • LightColorBack = the color of reverse lights (R,G,B); valid values for each component are 0-255
Adjustment of these settings is optional; the defaults will work well for the typical rover, but feel free to set them to whatever you like! Note that most of these are still constrained by the limits Keen has hard-coded into the various block types.

FEEDBACK
As with all creations, I welcome your feedback in the form of comments, bug reports, improvement suggestions, and feature requests. I've pinned discussion threads for these topics; feel free to use the appropriate thread for any feedback you may have. Please keep in mind that I work full time (often overtime) so I'll respond when I have time available.

Inspired by Wanderer_308's excellent Driver Assisting System script
Popular Discussions View All (4)
0
21 Apr, 2024 @ 3:49pm
PINNED: Questions
Daniel Lee Howell
0
21 Apr, 2024 @ 11:35am
PINNED: Feature Requests
Daniel Lee Howell
0
21 Apr, 2024 @ 11:34am
PINNED: Improvement Suggestions
Daniel Lee Howell