PHQ production cycle time

The place to discuss scripting and game modifications for X³: Reunion.

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

drakend
Posts: 159
Joined: Mon, 11. Sep 06, 08:22

PHQ production cycle time

Post by drakend »

Hello,
I'm using the PHQ and I like quite much but the production cycle time for the ships is really long sometimes. Isn't it possible to make a script to shorten that time, in exchange of money of course... like ten millions per hour or something like this.
CBJ
EGOSOFT
EGOSOFT
Posts: 54290
Joined: Tue, 29. Apr 03, 00:56
x4

Post by CBJ »

The Script Editor has no access to special HQ functionality such as this. It would however be possible to create a mod to do this. I'll leave it up to the expert modders to work out the details. ;)
fud
Posts: 9837
Joined: Wed, 25. Jan 06, 14:26
x3

Post by fud »

Yes/no. You can increase the multiplier in the hq.xml. This will decrease the production time. It's a little moot tho, if you want to increase the cost, you have to increase the ship's relval in TShips, but this is the number the multiplier uses in hq.xml to figure the production time.

I had a post explaining how it works in a thread from a few weeks ago.

Also, any changes to the HQ.xml, won't take affect in-game if you've already got one. It'll only work on new ones.


Edit: after an excruciating 30 minutes of seraching...I found the other thread:

http://forum3.egosoft.com/viewtopic.php?t=166777
drakend
Posts: 159
Joined: Mon, 11. Sep 06, 08:22

Post by drakend »

fud wrote:I had a post explaining how it works in a thread from a few weeks ago.

Also, any changes to the HQ.xml, won't take affect in-game if you've already got one. It'll only work on new ones.
Regarding the matter that only new games will have the "updated" HQ perhaps there is trick: there is a script who allows to relocate the stations, perhaps it works with the HQ too forcing the game to read this HQ.xml file when the HQ is placed in the game again.
fud
Posts: 9837
Joined: Wed, 25. Jan 06, 14:26
x3

Post by fud »

Haven't tried that, so I don't know if it'll work or not.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

depends how the relocating works, if it destroys the target station and creates a new one, then the changes should take effect

however, u can relocate it by simply moving it to another sector, this wont cause the changes to take place.

but it means u should be able to use the cheat scripts to create a new upgrade HQ but adding the HQ to a TL and deploying it, then u can just destroy the old one
drakend
Posts: 159
Joined: Mon, 11. Sep 06, 08:22

Post by drakend »

Well the "relocate station" I've in mind needs a TL to repack the station. With mines it takes the station but it destroys the asteroid so I guess it destroys the object and creates a new one inside the TL cargo.

Return to “X³: Reunion - Scripts and Modding”