Pitch darkness in space

Place to get help with not working mods / modding interface.
User avatar
GeneralZadrot
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed May 07, 2025 9:22 am
Contact:

Pitch darkness in space

Post by GeneralZadrot »

The idea is to make a day/night cycle in space. The platforms rotate around the planets, and when the platform is in the shadow of the planet, it should become very dark and the efficiency of the solar panels should drop to 0%.

This will complicate the design of the platforms and will stimulate players to use nuclear reactors in space.

Help with an example of a line of code for a script that would activate the day/night cycle for all platforms in space.

Thank you in advance to everyone who responds!
Post Reply

Return to “Modding help”