Source-checkedOther

(2024!) Easy Free-form Solar Tracking (New Feature!)

by Tallinu · for Stationeers

May 6, 2024 Finally updated! (Or, "I'm not dead yet!") Better yet, I've added a great new feature I've always wanted to see. TLDR: Now you can place solar panels with ports facing ALL DIRECTIONS…

4.5KDownloads
2 yr agoLast updated
3 MBFile size
Steam WorkshopSource

About (2024!) Easy Free-form Solar Tracking (New Feature!)

From Steam Workshop

May 6, 2024 Finally updated! (Or, "I'm not dead yet!") Better yet, I've added a great new feature I've always wanted to see. TLDR: Now you can place solar panels with ports facing ALL DIRECTIONS…

May 6, 2024 Finally updated! (Or, "I'm not dead yet!")

Better yet, I've added a great new feature I've always wanted to see.

TLDR: Now you can place solar panels with ports facing ALL DIRECTIONS simultaneously! All on the same set of cables, running on a single IC!

--- 2024-05-06 "Freedom" Update ---

I've had a lot of time sitting around due to a back injury (yay), and so I've finally been able to update this to work with all the changes over the last couple years.

In learning about the new features added to MIPS since I last played Stationeers, I found the ability to batch-address devices BY NAME. I had a feeling that would allow me to implement a really nice feature I'd wanted for a long time... and here it is:

Free-form solar panel placement.

Use a labeler to name your solar panels according to what direction their power port is facing. That's it, unless you want to use a naming convention different from the defaults in the script.

The script looks for all four moveable solar panel device hashes (single, dual, reinforced single, reinforced dual). It will send a default horizontal rotation to any panels that haven't been renamed, based on the old port direction config setting, and then it will send an appropriately modified horizontal rotation to any panels with names matching the four name hash entries in the config section.

For example, if you want to run half as many cables, you could put solar panels on both sides of each run. Rename those on one side to "Solar Panel East" and those on the other to "Solar Panel West" (if using the defaults in the script).

All of them will correctly track the sun (assuming the daylight sensor's port direction is entered correctly).

I can't be the only person who's excited to have this feature, right?? :D

--- Main Description ---

This two-axis solar panel tracking script improves on others in several useful ways.

Free-form placement! Name each solar panel based on which direction the port faces, and it all just works. No more rigid rules forcing you to place each panel exactly the same way. Save lots of cabling, cram solar panels in wherever you have room... It's up to you to take advantage of the creative freedom this allows.

Night Parking! When the sun goes down, solar panels reset to face east and stay there so that in the morning, even if the battery running your IC goes dead overnight, they're already in position to recharge everything. (Parking now engages when the sun is 5 degrees below horizontal, because panels may still receive useful light for a short time.)

Easy configuration! Just tell the script which direction your daylight sensor and solar panels are rotated with two simple configuration lines near the top. Name any panels that aren't placed in the same orientation as the basic config setting, or completely ignore that second config line and just name all the panels as you build.

Recognizes all panel types! No fiddling around with looking up arcane hash values and searching for the right place to edit the code to make it work. No returning to edit the script when you upgrade from standard to reinforced panels. Use standard and reinforced panels simultaneously, even!

Thoroughly commented! Learn how it all works and start writing your own code.

--- Basaic Configuration ---

First, check which side your solar panels' POWER ports are on. (If you are using a two-port (Dual) variant, ignore the data port. Find the lightning bolt symbol.)

Look in the direction the panel's power port is pointing. You want the port going away from you, not toward you. Then check the compass heading on your HUD. Convert to North/East/South/West. Perhaps obvious stuff for most, but just a reminder:

close to 0 or 360 is North around 90 is East around 180 is South around 270 is West

Find the same information for your daylight sensor's port. (Make sure the sensor is mounted face-up.)

Open the IC code in your IC editing computer or laptop and look for the first brightly colored lines (shown below).

define SensorPortDirection 0 # Daylight Sensor define PanelPortDirection 0 # Solar Panels

On both lines, change the number to one of the following, to indicate which side of the device the port is on (remember that the direction of the two-port solar panel's data-only port will not work, enter the power port's direction):

0 for North 1 for East 2 for South 3 for West

Once the right values are in, confirm the changes and export the code to your IC.

Be sure to configure the screw for the daylight sensor on d0.

You may need to pull the IC out of the housing and put it back in, if the housing was powered on before the screw was properly configured. The housing may be flashing an error light if this was the case. Pulling out the IC resets the error and allows it to restart from the beginning.

--- Free-form solar panel placement ---

To use this feature, simply rename your solar panels with a labeler.

First, check the direction of a panel's power port as above. Name the panel "Solar Panel North", "Solar Panel East", etc, based on this direction. You can select a name in the Labeler entry box and copy it out with CTRL-C, then paste with CTRL-V, to avoid typos and make the process faster.

If you want to use a different name format, you can change the names it looks for in the config section of the script.

Be careful to only enter unique names on each line. If you accidentally put the same name on two lines, this could result in very confusing undesired behavior that might be difficult to diagnose. For this reason I recommend against using any of the default Stationeers solar panel names on these lines.

--- Troubleshooting ---

Read the full description on Steam Workshop →

Highlights

From source data

Footprint

A 3 MB download, rated a light load on a server.

Last update

Its author last shipped an update 2 yr ago.

(2024!) Easy Free-form Solar Tracking (New Feature!) on Nxeon

From our catalogue
One-click install
Not available. One-click install isn't available for this game's mods yet. Download it and upload it to your server in Files.
Server load
light
Smallest plan we suggest
Stationeers — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2024-05-07, released 2024-05-07, 3 MB

Game versions by loader

LoaderGame versionsNewest
Workshop

From 1 recorded build of (2024!) Easy Free-form Solar Tracking (New Feature!).

Run (2024!) Easy Free-form Solar Tracking (New Feature!) on a Stationeers server

Deploy a server above, then upload the file in Files.

What kind of mod it is

From the catalog
Listed on Steam Workshop as “Workshop”

Workshop

Its source category doesn’t say more about what it does, so NxLabs lists it under Other.

Compatibility

Game
Stationeers
File size
3 MB

Verified at the source

  • ✓Steam WorkshopOfficial listing, checked 2026-10-10Open ↗
  • ✓AuthorTallinu, as published on Steam Workshop
  • ✓LicenseNot published by the sourceFree

(2024!) Easy Free-form Solar Tracking (New Feature!), answered

Generated from the mod’s own source data.

Is it free?

Yes. (2024!) Easy Free-form Solar Tracking (New Feature!) is free to download from Steam Workshop.

How do I add it to my Nxeon server?

One-click install isn't available for this game's mods yet. Download (2024!) Easy Free-form Solar Tracking (New Feature!) from Steam Workshop and upload it to your Nxeon Stationeers server in Files.

NxLabs

Run (2024!) Easy Free-form Solar Tracking (New Feature!) on a Stationeers server.

Deploy in about a minute from $8.99 a month, then upload (2024!) Easy Free-form Solar Tracking (New Feature!) in Files.