I’ve implemented everything so that it can build a squadron, but when the squadron spawns, it is consistently spawning off of the map.
The problem is that the scout frigates do not have any hangar points set on the mesh. The 3D Models for all carrier units have points for their hangars labeled, and this is the location where newly built fighters spawn. Without this point, the game does not know where to place the new strikecraft.
If you don't want to get into 3D modeling very much, the easiest thing to do is to open the scout mesh in a text editor of your choice. If you've converted the data to text, one of the first sections is for mesh points like "Center", "Exhaust" (AKA Engines), and "Weapon-#". Copy the Center point (every mesh will have one), rename the copy to "Hangar", and increase the count. Now fighters will spawn in the middle of the ship, which doesn't quite look as nice but 99% of the time no one will notice and it fixes the issue.
Secondly, I was wondering how to add an ability to a trade ship. I know that they can have passive abilities because the Tech have one, but every time I try to add an ability it doesn’t even show up. For bug-testing purposes I have tried adding various abilities to a scout frigate, such as a modified missile swarm and scramble bombers (I eliminated the prereqs) and they work fine on the scout but don’t even appear on the abilities bar for the trade ship. Does anyone know why?
Stuff like fighters, trade ships and other sub-frigate entities do not have the full capabilities of a normal ship. This is because there tends to be a lot of them spawned in the game, and the game optimizes them as much as possible to only include the bare minimum functionality required for their purpose.
Trade ships would never attempt to auto cast an ability, all they do is automatically move to the next trade destination. You cannot even manually give them orders IIRC. Which means the AI will never use them. So the game goes one step farther and disallows them entirely to make them a bit more efficient.
That said, you can do a fair amount of stuff with passives if you are clever and get some practice with the Sins ability system.