[SCRIPT] Anarkis Crystal Free SPP - v1.02 - [2010-08-02]

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
Serial Kicked
Posts: 3823
Joined: Fri, 12. Aug 05, 20:46
x3tc

[SCRIPT] Anarkis Crystal Free SPP - v1.02 - [2010-08-02]

Post by Serial Kicked »

================
Anarkis Crystal Free SPP
================


:arrow: Plugin Description
  • This small script will remove the need for crystals on Solar Power Plant. Of course you'll need to pay a lot of money for this feature. You'll need 10 million credits for a M SPP, 25 millions for a L and 50 millions for a XL one. A new command will appear in your station's menu called "Upgrade SPP to Xenon Technology", use it on a Solar Power Plant to upgrade it.
:arrow: Downloads: :arrow: Important Note:

If you're using the Complex Cleaner mod/script, and want to add a crystal free SPP to your complex. Please proceed as follow (in that order):
  • 1. Crunch the SPP into its CC format
  • 2. Run the crystal remover script
  • 3. Connect the SPP to the complex with a complex construction kit.
Gazz's script makes a duplicate station but in its own format and its collision free box. If there are no crystal requirements the output gets set very very low. But if the station is setup correctly in the right format and then the crystals are removed it works fine.

The third step is absolutely necessary, or the next time the crunch command is run from CC your SPP will get reset to almost no output. But if it is already part of a complex it gets ignored.

Thanks to Tasolth for this workaround
Last edited by X2-Illuminatus on Thu, 13. Jun 19, 20:23, edited 10 times in total.
Reason: Added additional download link
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
User avatar
Serial Kicked
Posts: 3823
Joined: Fri, 12. Aug 05, 20:46
x3tc

Post by Serial Kicked »

Text ID: 8516

Command ID:
- Station Command 24 (1124)

Changelog

v1.02 - Added a few local variables on the SPP so it can be detected and used by CC in a future version

v1.01 - Compatibility with Complex Cleaner added

v1.00 - Initial Public Release
Last edited by Serial Kicked on Mon, 2. Aug 10, 21:36, edited 2 times in total.
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
User avatar
Jaga_Telesin
Posts: 435
Joined: Sat, 16. Sep 06, 22:48
x4

Post by Jaga_Telesin »

Thanks for the re-release of your X3:R script Serial Kicked. :D

Too bad about complex cleaner merges, but I expected something along those lines. Can still use standard SPPs inside cleaned complexes.

Cheers.
User avatar
Serial Kicked
Posts: 3823
Joined: Fri, 12. Aug 05, 20:46
x3tc

Post by Serial Kicked »

I'm currently asking Gazz if something can be done about that. We'll see :)
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
Tasolth
Posts: 79
Joined: Mon, 20. Oct 08, 21:49

Post by Tasolth »

What I've found that works regarding crystal free SPP's and compelxes is:

First - Crunch the SPP into its CC format,

Second - run the crystal remover script

Third - Connect the SPP to the complex with a complex construction kit.

Why these steps ?

Gazz's script makes a duplicate station but in its own format and its collision free box. If there are no crystal requirements the output gets set very very low.

But if the station is setup correctly in the right format and then the crystals are removed it works fine.

The third step is absolutely necessary, or the next time the crunch command is run from CC your SPP will get reset to almost no output. But if it is already part of a complex it gets ignored.

Found this out the hard way with an older spp crystal free script.
mevko
Posts: 73
Joined: Mon, 14. Jul 08, 01:29
xr

Post by mevko »

So how is this diferent form LazCorps script.
Zaixionito
Posts: 359
Joined: Sun, 10. Jan 10, 23:48
x4

Post by Zaixionito »

-Please delete-
Last edited by Zaixionito on Sat, 31. Jul 10, 17:59, edited 1 time in total.
User avatar
Serial Kicked
Posts: 3823
Joined: Fri, 12. Aug 05, 20:46
x3tc

Post by Serial Kicked »

It's probably a bit more "mod friendly" than the other one, the detection method to see if a station qualifies at being upgraded or not is different. M/L/XL factory detection method is also a bit different. Prices are somewhat higher.
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
User avatar
Jaga_Telesin
Posts: 435
Joined: Sat, 16. Sep 06, 22:48
x4

Post by Jaga_Telesin »

Edit: discussion better left elsewhere, as requested. :)
Last edited by Jaga_Telesin on Sat, 31. Jul 10, 21:08, edited 1 time in total.
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

Shall we leave that discussion to the other locked topic please ladies before i have to indulge myself ;)
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
User avatar
Serial Kicked
Posts: 3823
Joined: Fri, 12. Aug 05, 20:46
x3tc

Post by Serial Kicked »

That's basically what i was going to say.


@Tasolth:

Thanks for this method. I'll include it in the first post. Once i've tried it with my script, just in case :)
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
AjaxDude
Posts: 398
Joined: Sun, 30. Mar 08, 21:07
x3tc

Post by AjaxDude »

Can you convert this into a spk. format? I don't know what to do with the XML files.
How can one player flying one ship defeat a big gang of pirates?

Good flying, or reinforcements. Lots of reinforcements.
xfir01
Posts: 433
Joined: Sun, 13. May 07, 17:28
x3tc

Post by xfir01 »

@ ajax
==================
Fresh Installation
==================

1. Unzip in your X3 TC installation folder
2. Launch X3
3. If not already done, activate the script editor (change the name of the player to 'Thereshallbewings')
4. Save & Reload your game
5. Done !
usually the default directory is c:\program files\egosoft\terran conflict\ or something similar.

Steam users: (from tutorial thread here)

Code: Select all

c:\program files\steam\steamapps\common\x3 terran conflict (default)

Scripts in c:\program files\steam\steamapps\common\x3 terran conflict\scripts

Text files in c:\program files\steam\steamapps\common\x3 terran conflict\t

Mods .cat and .dat files go into Steam\SteamApps\common\x3 terran conflict\mods
User avatar
Serial Kicked
Posts: 3823
Joined: Fri, 12. Aug 05, 20:46
x3tc

Post by Serial Kicked »

The early 1.00 was a bit rushed for obvious reasons. This 1.01 is now compatible with Complex Cleaner as long as you follow the steps explained in the first post.

Thanks again to Tasolth for this workaround.
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
Tasolth
Posts: 79
Joined: Mon, 20. Oct 08, 21:49

Post by Tasolth »

NP. Glad I can share it with everyone.
tianlongprc
Posts: 132
Joined: Tue, 18. Aug 09, 09:41
x3tc

Post by tianlongprc »

this mod works great. I followed the instructions and it worked fine with complex cleaner
User avatar
mim525
Posts: 179
Joined: Mon, 27. Dec 10, 00:42
x3tc

Post by mim525 »

Whenever i want to upgrade the solar power plant i cant because i cant seem to select it?
User avatar
bluenog143
Posts: 885
Joined: Wed, 26. Oct 11, 23:35
x3tc

Post by bluenog143 »

Thanks for the mod Serial Kicked.


P.S. @mim525 it worked well for me, did you have the necessary credits to upgrade?
User avatar
mim525
Posts: 179
Joined: Mon, 27. Dec 10, 00:42
x3tc

Post by mim525 »

Oh you can only do it on individual factroys not a complex :oops:
User avatar
Sesk
Posts: 441
Joined: Fri, 17. Nov 06, 21:09
x4

Post by Sesk »

Great script, been using for a while. At first I though this was a cheat script. Then built a complex w/o it.

In the end, the cost of the upgrade on the station is as much as a closed loop Crystal complex. So it's just a "packaging" script.

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