Re: Floating Point Crash
The x files are text but they also have all the model coordinates etc. So basically the .x files are the meshes.
If you want to create a new ship using the existing mesh/model just copy the abbidon destroyer settings in the SpaceObject_XFiles.txt and rename the design. And if you only want to affect it's components etc. you don't even have to edit the SpaceObjects_XFiles at all. All it contains are the ship's size and hardpoints.
You can edit the Main_StartingPlayerShip.txt and copy the Terran Destroyer and edit the copy. Just change the XFile part to Abbidon Destroyer. Then you can change how big the ship is (how many kT) and what components it has. Also change the ShieldLayout, ShipPortrait and ShipPortraitProfile parts from Terran destroyer to Abbidon destroyer so the game uses proper bitmaps for the design.
|