I’m working on a mod and ran into the dreaded width limit crash when I tried to make a very large ship. Fortunately the ship I am working on is twice as wide as it is long. I followed the starwars and stargate mods as a guide when stretching out ships to make them bigger and get around the width limit. By doing this I was able to get my ship ingame without incident, at the size I wanted. I now see why the emp effect on these ships is not in the correct position. For my purposes though, I would rather have a bigger ship.
However, the problem I am running into now is placing modules correctly once I have stretched out my ship. The ingame editor works perfectly if I am not stretching anything. Once I stretch my ship out, I end up with turrets floating out in space. I could place them manually…If I could figure out how the coordinate system works.
Here’s part of the hull file with the first five weapon slots:
0 = 75.00,40.25,TURRET,
1 = 94.50,80.75,TURRET,
2 = 127.50,16.00,TURRET,
3 = 127.50,62.00,TURRET,
4 = 181.00,41.75,TURRET,
5 = 160.50,78.38,TURRET,
I assume one number is an X coordinate and the other is a Y coordinate. After experimenting, I can tell that this doesn’t follow the standard X,Y positioning like in math.
I don’t even know where to begin with the damage section. Example:
0 = 97.75,89.75,0,1,95.00,86.50,100.50,93.00,(damage_sprite_sparks-97.00-89.00),
1 = 111.50,131.75,0,1,108.50,128.50,114.50,135.00,(damage_sprite_sparks-111.00-131.00),
2 = 94.25,79.50,0,1,92.00,76.50,96.50,82.50,(damage_sprite_sparks-94.00-79.00),
3 = 118.50,149.50,0,1,115.50,146.00,121.50,153.00,(damage_sprite_sparks-119.00-149.00),
4 = 125.25,80.25,0,1,122.50,77.50,128.00,83.00,(damage_sprite_sparks-125.00-80.00),
5 = 128.00,128.00,0,0,
6 = 141.00,153.25,0,1,138.00,150.00,144.00,156.50,(damage_sprite_sparks-141.00-153.00),
7 = 180.00,41.75,0,1,177.50,38.50,182.50,45.00,(damage_sprite_sparks-179.00-42.00),
8 = 163.00,192.00,0,1,160.50,188.50,165.50,195.50,(damage_sprite_sparks-164.00-191.00),
9 = 128.50,173.75,0,1,125.50,171.00,131.50,176.50,(damage_sprite_sparks-128.00-173.00),
The hulks section is pretty straightforward (If I could figure out the coordinate system). You just place a boundary of four points around each hulk section.
The explosion section has three coordinates?! What do I do with these? Example:
0 = 0.00,162.50,78.50,EXP_FRIGATE
1 = 120.00,128.50,88.00,EXP_DESTRUCTION_PLACED
2 = 130.00,115.50,147.50,EXP_DESTRUCTION_PLACED
3 = 170.00,188.00,215.00,EXP_DESTRUCTION_PLACED
4 = 203.00,128.00,128.00,EXP_PLUMES