[SCR] Resource-Free Factory (7 Sept 2011)

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

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

[SCR] Resource-Free Factory (7 Sept 2011)

Post by arcana75 » Thu, 2. Apr 09, 16:15

Original X3 Reunion script thread. Quite abit of discussion there.

This script simply removes a selected resource from your single factory (no complex). The command is found under Station Commands. You will be charged a fee for this, based on a simple formula:

X number of days * product cycles per day * resources used per cycle * average resource price


Upon activating the command you'll receive a message asking you which resource to remove. If you find the cost too little/much simply open the t file (7520-L044.xml) and change the number at the bottom (id=410). It is currently at 48 (48 gamehours). U can change that value to whatever you deem fit. Some figures based on 48 gamehours:

Code: Select all

Space Fuel L
Wheat      5,760,000
EC         4,320,000

Chip Plant
Meatsteaks 2,764,800
EC         921,600
Wafers     1,209,600

Bakery L
Beef       4,492,800
EC         3,456,000

Cattle Ranch
EC         1,382,400

SPP M
Crystals   10,827,728

SPP XL
Crystals   53,309,596

PPC Forge
Meatsteaks 2,073,600
EC         691,200
Ore        921,600

HEPT Forge
Meatsteaks 2,073,600
EC         691,200
Ore        921,600
Appreciate any bug reports!

Image
Superbox SPK Zip
Superbox Zip
Last edited by arcana75 on Wed, 7. Sep 11, 15:03, edited 10 times in total.


shilhi
Posts: 640
Joined: Sun, 15. Apr 07, 23:28
x3tc

Post by shilhi » Thu, 21. May 09, 04:26

Thank you! I already made a super plex with 100 + stations and it was a pain in the arse.
I'm planning on making another one and this will save me a new monitor and a broken fist. :D

sulobaid
Posts: 37
Joined: Thu, 14. May 09, 20:55
x3tc

Post by sulobaid » Mon, 25. May 09, 01:55

Hey, Loaded your script and tried it out on a solar power complex, the need for resources went away but all production stopped and would not start again. i used it on the complex and not the individual power plants before i combined them, would that cause this problem?

MutantDwarf
Posts: 682
Joined: Tue, 20. Jun 06, 02:29
x4

Post by MutantDwarf » Mon, 25. May 09, 02:04

I believe that's a yes, sulo.

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

Post by arcana75 » Mon, 25. May 09, 02:45

Hi, u gotta do it b4 u complex the station up. Or break the complex up.

BTW a new version is coming up which allows u to remove specific resources from a station instead of the whole lot. A feature I've been wanting since TR.

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

Post by arcana75 » Mon, 25. May 09, 14:53

Added new version v205, replacing the old script with new single-resource version!

rafi23
Posts: 55
Joined: Sun, 18. Jul 04, 20:42
x3tc

Post by rafi23 » Sat, 5. Sep 09, 12:51

Hi,

I've downloaded your scritp, v205, and instead of text in the command menu i god Readtext...

I've checked your script and file setup.arcana75.rff is missing one line in the beginning

Code: Select all

load text: id=7520
cheers

ps. great script btw.

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

Post by arcana75 » Sat, 5. Sep 09, 12:56

Thanks for the bug report! What a blooper :shock:

EDIT: spk fixed.

ogamerdg
Posts: 395
Joined: Sat, 19. Sep 09, 01:05
x3tc

Post by ogamerdg » Sat, 10. Oct 09, 21:34

which one is the original where u pay x3 to get rid of all resources?

Also how do you start the command?

Carlos789
Posts: 26
Joined: Fri, 19. Mar 10, 05:19
x3tc

Help with a script

Post by Carlos789 » Fri, 19. Mar 10, 05:26

Hello, i was wondering if anyone could help with some tips to make a script similar to the one made by arcana for resource free factories, or has this script in a non spk format. Im a mac user and cant use the spk files XD.

Thanks in advance!


{[url=http://forum.egosoft.com/viewtopic.php?t=216696][b]T[/b][b]C[/b] [b]S[/b]&M Posting [b]R[/b]ules[/url], questions about a script ... merged. jlehtone}

User avatar
Argonaught.
Posts: 1618
Joined: Wed, 6. Nov 02, 21:31
x3ap

Post by Argonaught. » Fri, 19. Mar 10, 06:14

if you link me to the file and if it's for TC I can unpack it and upload the scripts for you, then add the link here.

I take it you can unzip rar files on a mac?

I've never used a mac so forgive my ignorance.

Argo.
[MOD]X3TC No Fog / [MOD]X3AP No Fog / [MD]X3TC Menagerie Shipyard / [MD]X3AP Menagerie Shipyard
<==<<Argonaught>>==>

XBTF>XT>X2TT>X3R>X3TC>X3AP

I lurk alot for the most part now
:thumb_up:

Carlos789
Posts: 26
Joined: Fri, 19. Mar 10, 05:19
x3tc

Post by Carlos789 » Fri, 19. Mar 10, 06:22

Yeah, i can use rar and then install the files on the t and script folders. Here is the link.

http://forum.egosoft.com/viewtopic.php?t=241221

Tx a lot!

User avatar
Argonaught.
Posts: 1618
Joined: Wed, 6. Nov 02, 21:31
x3ap

Post by Argonaught. » Fri, 19. Mar 10, 06:33

Turns out I only have 7zip installed so .zipped them instead of .rar.

Filefront link

zipped both versions into the folder for you.

hth

Argo.
[MOD]X3TC No Fog / [MOD]X3AP No Fog / [MD]X3TC Menagerie Shipyard / [MD]X3AP Menagerie Shipyard
<==<<Argonaught>>==>

XBTF>XT>X2TT>X3R>X3TC>X3AP

I lurk alot for the most part now
:thumb_up:

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

Post by arcana75 » Sat, 5. Jun 10, 01:38

Updated files (SPK and ZIP) for 2.7!

Post Reply

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