Okay this is a space game so there needs to be some kind of defensive space station not just ship building stations. So I decided to create one that will be added to the tactical tab that has fighters and beam weapons. Of course I don't do graphics so I'm stealing the TEC Capital Ship Factory image but using the the Hanger Defense entity file to achieve this.
The problem that I have (other then the fact that its going to be kind of ugly having a space station shooting things with no guns on it) is that since this is a Hanger Defense only the fighter counts display for the structure and not the weapon damage. If I change it to a "PlanetModuleWeaponDefense" to display the actual beam damage then I get a mini dump because I also have fighters with this and I'm assuming that entityType "PlanetModuleWeaponDefense" doesn't like having fighters associated with it. Taking out the fighters from the code makes the mini dump go away so I know that having fighters is the issue.
Is there a way to display both the weapon damage, and how many fighters a structure is holdng at the same time? Capital Ships and Frigates can do this but they are different types then planet modules(frigateRoleType vs. planetModuleRoleType).
Sorry if this has been answered already or something close to it, this forum has 30+ pages and I'm too lazy to look through all of the posts. 