[MOD] Strengthened Ship Hulls (2011-03-09)

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

First, you need the TShips ... I suggest to use X³ Editor 2 by doubleshadow.

Open the .cat file which consists your needed TShips file (13.cat for Vanilla 3.1, or the .cat of a used mod) with X³ Editor 2. Select and open the directory "types" inside the .cat, and there left click on "TShips.pck" (if there is none, you've got the wrong .cat). Select "Open with..." > "Text Viewer".

Now you'll get a new window which shows the whole TShips file. Select and copy the whole text, and paste it into the textarea of my above linked website. Afterwards hit [Process]. After processing, select and copy the whole text inside the textarea again. You can ignore the Debug Information beneath. Paste the copied text into a new simple text file, e.g. with notepad or a similar programm.

Save the file as "<path_to_X3TC_root_directory>/types/TShips.txt". As far as I know, your game should recognize the new file after the next start of your game, as files placed like that should have highest priority.

Anyways, you also could pack it as a .pck file (use 7-zip or a similar programm) or you could even pack it into an own .cat/.dat file (again, use X³ Editor 2 for that task).
But thats eye candy on the one hand, and more important for distribution on the other hand.


... didn't had time to post that description during work ... first off, I'm going to sleep now :-)
Last edited by Saetan on Tue, 8. Mar 11, 20:24, edited 1 time in total.
builder680
Posts: 1315
Joined: Mon, 14. Feb 11, 03:58
x4

Post by builder680 »

Thank you sir, I'll give it a go soon.
User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan »

Release Candidate 2 ready for usage:
Strenghened Shiphulls RC2 (PHP script)



Now you can use the vanilla X³:TC 3.1 TShips file, as also the TShips file from Lucikes Modification Collection as pre-defined TShips, so you don't need to extract them from their .cat/.dat files first. If you use them, you can ignore the textarea beneath the dropdown list.

Also you're still able to use your own TShips file for modifying any other mod or any other game version too. Just copy the choosen TShips as plain text into the textarea then. To get it as plain text, I suggest to use X³ Editor 2 by doubleshadow. Open your needed .cat/.dat files with X³E2, move to the directory "types" and select and left click "TShips.pck". Then select "Open with..." -> "Text Viewer", there copy & paste the whole text into the textarea.

You are able to set your own modifiers for each category for own balancing too. If you want to use own modifiers, set them before the steps described above.
Your own modifiers are saved in cookies which will last for seven days, so you need to have cookies enabled for using own modifiers.

The modified TShips.txt can be downloaded easily after processing as a simple text file for further usage. For direct usage in the game, download it to "<path_to_x3tc_root_directory>/types/TShips.txt".
Just beneath the download button, you can find the "Debug Information / Changelog"-table. There you can see any entry of the TShips file, including the old hull values, the used multipliers and also the new hull values.

You are also able to copy the modified TShips as plain text too.
Of course you can pack the TShips.txt to .pck (e.g. 7-zip) or even to a .cat/.dat file (e.g. X³E2) if you like, but that's not part of this description.

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”