Where is the script for automatic factory management?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 223
- Joined: Fri, 2. Jan 04, 00:31
Where is the script for automatic factory management?
Like say you have 100,000 in each factory but you want it to give you the excess money automatically, where can I get that script?
-
- Posts: 50
- Joined: Sun, 9. Nov 03, 15:23
Description: If you have lots of stations you need this script! Automatically tranfers credits between all stations and the player account to keep station funds at a set level. Fixed miss calculation thanks to Eben
found @ http://www.xscripting.com/modules.php?n ... tit&lid=71
found @ http://www.xscripting.com/modules.php?n ... tit&lid=71
-
- Posts: 223
- Joined: Fri, 2. Jan 04, 00:31
-
- Posts: 50
- Joined: Sun, 9. Nov 03, 15:23
Copy it to your scripts folder and type "Thereshallbewings" (note the capital T) while flying in space to activate the "Script Editor" menu item in the command console. A confirmation beep will sound on correct activation. Then you can load the script.
More of this @ http://www.egosoft.com/x2/forum/viewtopic.php?t=17965
Goodluck!
More of this @ http://www.egosoft.com/x2/forum/viewtopic.php?t=17965
Goodluck!
-
- Posts: 223
- Joined: Fri, 2. Jan 04, 00:31
Hmm..I typed it in with the capital but heard no confirmation sound. Am I supposed to also see the dialog on the screen while flying around in space?Remco wrote:Copy it to your scripts folder and type "Thereshallbewings" (note the capital T) while flying in space to activate the "Script Editor" menu item in the command console. A confirmation beep will sound on correct activation. Then you can load the script.
More of this @ http://www.egosoft.com/x2/forum/viewtopic.php?t=17965
Goodluck!
-
- Posts: 50
- Joined: Sun, 9. Nov 03, 15:23
-
- Posts: 163
- Joined: Wed, 6. Nov 02, 20:31
The problem of that script is that you must run it everytime you need to rebalance the credits. I´ve made one resident script that must be assigned to each station so it checks for credits (more or less than specified) and transfer from player account automatically. So a station allways has, let´s say, 100k in its account. A log is added with the total money transfered, so its easy to know how much profitable is a factory.
I will publish this script tomorrow.
bye,
JumperBR
I will publish this script tomorrow.
bye,
JumperBR
-
- Posts: 104
- Joined: Mon, 12. May 03, 11:57
The station accountant script was bugged with me. It put all my money on 1 station, rest got the 100k I put in and every 50 seconds the 4+million credits shifted 1 station every 50 seconds. I never saw more then 150k credits in my own account though, so I reverted back to a savegame as you can't kill that script either
Fear
--------
"Black holes suck"
--------
"Black holes suck"
-
- Posts: 110
- Joined: Mon, 8. Dec 03, 10:29
-
- Posts: 50
- Joined: Sun, 9. Nov 03, 15:23
-
- Posts: 110
- Joined: Mon, 8. Dec 03, 10:29
-
- Posts: 24
- Joined: Tue, 9. Dec 03, 13:47
I have been using the station accountant script for a while and it seems to work fine for me.. The only bad thing about it is that you can't kill it. Not that i have needed to yet. I wonder in the Scripting doco will tell you how to get rid of those types of scripts.
If anyone is thinking of changing the script, i have read a suggestion (not sure where i read it) that suggests to attach the script to something that can be destroyed, like an asteroid, so if you do need to get rid of the script then you can just destroy the asteroid.
Sounds like a good idea to me, not that i can do it myself , i'm not to good with scripting just yet.
If anyone is thinking of changing the script, i have read a suggestion (not sure where i read it) that suggests to attach the script to something that can be destroyed, like an asteroid, so if you do need to get rid of the script then you can just destroy the asteroid.
Sounds like a good idea to me, not that i can do it myself , i'm not to good with scripting just yet.
kaine
Novas caught - 10
Rank - UNCC Nova-Soldier
Title - UNCC Corporal
Novas caught - 10
Rank - UNCC Nova-Soldier
Title - UNCC Corporal