How does the game limit Sensor Arrays to 1 per ship?

I had some ideas for different types of sensors & I wanted to model them after the sensor array but I don't see anything in the component editor nor in the XML files themselves that shows the Sensor Arrays as being materially different than sensors. That being said, I've just realized that I've always taken the game's word for it that only one could be installed on any given ship, so I might be barking up a tree that shouldn't exist. But, if there is a way to limit components to one per hull, I'd like to know about it. (I had thought about the idea of a one-per-fleet component, but quickly realized that it would quite impractical and likely impossible to do that. Shucks!)

Thanx!
5,079 views 5 replies
Reply #1 Top
But, if there is a way to limit components to one per hull, I'd like to know about it.
End of quote

Seconded.

I wanted to do a single engine per ship mod, but could never work out how to make the game limit a given module to one per ship; even tried copying the mining and construction modules with no success. My assumption is it's hardcoded in on a per-module basis, but I honestly don't see any reason for it to be that way.
Reply #2 Top
Great, can't edit.

And although in my case there's a way around it, to achieve the same thing, it's kind of messy. (Multiple tech prerequisites [which aren't technically supported, but do work, although they don't quite list unlockables properly] for a modified base hull.)
Reply #3 Top
I believe the one-per-ship limit on constructor modules, etc, are hardcoded. There's no max number per tag as with planetary improvements.
Reply #4 Top
Forget miniaturization and other special 'enhancing' capacities of any hull types for a moment and consider this sortof indirect attempt at limiting one sensor-array per any given ship;

Weirdly higher size! A component soooooo big it barely fits in the remaining space after a basic engine slot has just been filled. No weapons, no defenses... but ONE sensor-array filling it all up.

I know, it sounds tricky or even completely useless. But there isn't that much a tiny hull can receive already. Thus, a new component defined just for that purpose alone.

Why would anyone want to do that? I dunno. ;)
Reply #5 Top
I had some ideas about some alignment-specific mass sensor systems that I wanted to limit to one a ship a la the sensor array, but with some other little tweaks. Oh, well, I'll keep hoping that maybe the devs will pull that attribute out of the binaries and into the XMLs.