I'd like to make a mod/script that allows the player to reverse engineer station kits in the PHQ to earn the blueprints to build these station kits yourself. This would be another step to allow the player to become truly independent from the major races.
The player would need to buy a station kit in a Shipyard, bring it to the PHQ with a TL, and then in the PHQ station parameters all station kits in the freights of docked ships would be listed under the "Add to reverse engineering queue". Like with ships, reverse engineering a station kit will destroy it, but in return you get a blueprint so that you can build that station kit yourself if you have the required resources in the PHQ. Building of a station kit can only be completed if a TL with enough room is docked at your PHQ.
I modded many other games in the past and consider myself a proficient scripter. I've absolutely zero experience with modding X3 though. I know there are tons of tutorials and guides available, but I've no clue where to start.
Is this idea possible at all? If yes, could someone perhaps point me in the general direction how to achieve this idea? Can this be done through scripts or do I also need to modify other files? Just a little bit of help will save me a lot of time.
Thanks in advance!
[Question] Reverse engineering stations
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
- jack775544
- Posts: 1277
- Joined: Tue, 13. Dec 11, 08:27
However this will probably break in X3AP since that mod was made for TC so the hq.xm doesl does not have the Terran PHQ in it.
You can take the scripts and t files out of that mod and use its scripts but for a hq file, have a look at Apricotslices hq mod as it has been updated for AP.
You can take the scripts and t files out of that mod and use its scripts but for a hq file, have a look at Apricotslices hq mod as it has been updated for AP.
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
Yeah, I forgot to mention this. You will need to merge changes in hq.xml from AP. I was using it only for AP myself and can upload my file if you find it too tricky. Otherwise, it will likely break for Terran plot but will work for commonwealth plot/phq.jack775544 wrote:However this will probably break in X3AP since that mod was made for TC so the hq.xm doesl does not have the Terran PHQ in it.
You can take the scripts and t files out of that mod and use its scripts but for a hq file, have a look at Apricotslices hq mod as it has been updated for AP.