[Script] Logain Industries Global Production Report v3 - 25/09/2010

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

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

Logain Abler
Posts: 2254
Joined: Mon, 31. Oct 05, 09:44
x4

[Script] Logain Industries Global Production Report v3 - 25/09/2010

Post by Logain Abler » Sat, 20. Feb 10, 15:56

Logain Industries Global Production Report (GPR) v3 25-09-2010

:arrow: Introduction:
Logain Industries Global Production Report shows the current state of your global production network.

Version 3 is an AL Plug-in because there is a background task which collects all the production details and saves them to the AL Plug-in global variable. The menus call these values rather than build them from scratch each call.

Version 3 is only compatible with PMv7.
There has been no changes since the Beta version

:arrow:Download Links:
GPRv3
StormMage Link
via Google Code

Required Utilities:
FDNv7 requires Community Plugin Configuration by Cycrow.

Install script files:
Use Plugin Manager by Cycrow link to install the script .spk file
Or:
Manually install files from the script.zip. This link contains a guide for installing script files manually.
Great guide also by Cycrow link

Turn on AL Plugin:
Great guide by LV shows how to turn on an AL Plug-in link

:arrow:Game Resources
Script uses file 9916-L044 for text strings.

:arrow: Thanks
Many thanks to all who have contributed with comments & suggestions on this post, or the people who have answered my many questions.
Big thanks to StormMagi for providing ftp access and hosting for my mods :)


LA
Last edited by Logain Abler on Fri, 10. Jun 11, 08:48, edited 11 times in total.

mark_a_condren
Posts: 1385
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren » Sat, 20. Feb 10, 16:39

LA

Looks good so far.

Will this give a report of your Complex production as well, with a breakdown of the production if any linked factories have 'stalled' ?

I think you can take this idea far if you want.

And, just what will the 'Ware Summary' include?

Could prob use some more color though ..... sorry, just had to throw that in :D .

MarCon

Logain Abler
Posts: 2254
Joined: Mon, 31. Oct 05, 09:44
x4

Post by Logain Abler » Sat, 20. Feb 10, 17:13

mark_a_condren wrote:LA

Looks good so far.

Will this give a report of your Complex production as well, with a breakdown of the production if any linked factories have 'stalled' ?

I think you can take this idea far if you want.

And, just what will the 'Ware Summary' include?

Could prob use some more color though ..... sorry, just had to throw that in :D .

MarCon
The first section of the Ware Summary will list all the factories and Production Modules producing the ware.

The second section will list factories and Production Modules that require the ware.

The report works with Production Modules, the pic on the OP is a mix of standard factories and Modules.

You and your color :wink: , if there's an issue the field will be Orange.

LA


Logain Abler
Posts: 2254
Joined: Mon, 31. Oct 05, 09:44
x4

Post by Logain Abler » Mon, 19. Apr 10, 19:24

Logain Industries Global Production Report (GPR) v2 - 19/04/2010

Version 2 Released. See OP for details & link

Changes from v1
Updated to work with PMv6

Compatibility:
v2 is only compatible with X3:TC 2.5
v2 is only compatible with PMv6, using GPR v1 with PMv6 will cause a game freeze


LA

feygan
Posts: 146
Joined: Fri, 26. Dec 03, 19:41

Post by feygan » Mon, 16. Aug 10, 13:57

Is this going to be made compatable with pmv7 at any point?

Logain Abler
Posts: 2254
Joined: Mon, 31. Oct 05, 09:44
x4

Post by Logain Abler » Mon, 16. Aug 10, 13:59

feygan wrote:Is this going to be made compatable with pmv7 at any point?
Yes, once I've sorted out the shipyard issue I'll be updating GPR.

LA

Logain Abler
Posts: 2254
Joined: Mon, 31. Oct 05, 09:44
x4

Post by Logain Abler » Wed, 25. Aug 10, 12:40

As theres been no reported issues with PM & FDN I’ve started to rebuild GPR from scratch.

The old GPR could be very processor demanding, especially with large production and PM. To address this and still keep menu updates without killing the game I’ve approached GPR differently.

GPR will run as an AL plug-in (as I do love them) which when started will build arrays holding all the required details. A task will then start which cycles through the players whole estate (Factories, Complexes and if installed PM) updating the global arrays over time. The larger the production estate the greater the time between updates.

I currently have the main menu up and running with factories and PM (I don’t use Complexes so will add this last) with wares grouped by type and I’m working on the detailed production menu for individual wares. I also plan to add an additional menu which displays the stock levels for a ware.

LA

Logain Abler
Posts: 2254
Joined: Mon, 31. Oct 05, 09:44
x4

Post by Logain Abler » Wed, 25. Aug 10, 20:39

New look Main Menu:
Image

The main change visually is the Make & Used columns which shows you what is total factories/modules making or using a ware and out of the total which are active [Total | Active].

The wares are now grouped and divided by type.

LA


Logain Abler
Posts: 2254
Joined: Mon, 31. Oct 05, 09:44
x4

Post by Logain Abler » Wed, 25. Aug 10, 20:52

mark_a_condren wrote:God Damn, look at all that color :thumb_up:

MarCon
I need to fit yellow & red in for you :wink:

mark_a_condren
Posts: 1385
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren » Wed, 25. Aug 10, 21:07

I need to fit yellow & red in for you :wink:
Don't forget,

B - Blue
A - lightish Grey
W - White
K - Black
Z - Darker Grey

MarCon

Logain Abler
Posts: 2254
Joined: Mon, 31. Oct 05, 09:44
x4

Post by Logain Abler » Thu, 2. Sep 10, 20:58

GPR Beta

I've finally found time to finish off the new version of GPR compatible with PM v7 and greater.

I looks similar and does the same however how it work has been completely re-built to hopefully improve performance.

It is now a AL Plug-in (as I do love them) because there is a background task which collects all the production details and saves them to the AL Plug-in global variable. The menus then call these values rather than build them from scratch each call and for the dynamic menu every few seconds.

Like FDN & PM you will requires Community Plugin Configuration by Cycrow.

I'm classing this as a beta to get feedback any issue and to see if the task runs none obstructively in the background.

Once I'm happy the OP will be updated.

Download via Google Code


LA


Edit: The larger your production empire the longer between updates, especially with several PM's running.

When first turned on the collection task will run straight through without any waits so don't be alarmed if there is a slight pause.

Coruskane
Posts: 796
Joined: Fri, 13. Jun 08, 13:14
x3tc

Post by Coruskane » Sat, 11. Sep 10, 15:28

I've ha problems with the .spk of the beta. SPK eplorere is unable to extract it, an the plugin manager oesnt o anything with it when installe. Any chance of a .zip?

User avatar
TrixX
Posts: 2022
Joined: Wed, 18. Aug 10, 14:28
x3tc

Post by TrixX » Sat, 11. Sep 10, 16:48

Sorry on a colour related note, can the stock text colours be edited via a script? Mainly asking cos I am having major issues with menu colours and my UI...

Thanks for the GPR Beta though :)
"If you’re not prepared to be wrong, you’ll never come up with anything original."
Sir Ken Robinson

Post Reply

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