[SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

The place to discuss scripting and game modifications for X³: Farnham's Legacy

Moderators: Moderators for English X Forum, Scripting / Modding Moderators, Moderators for the X3:FL Forums

BreadTM
Posts: 5
Joined: Fri, 1. Sep 17, 02:23
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by BreadTM »

@milyatar
It has it's own "Custom" Tab. I personally use a hotkey anyway to try stuff.
dirkf
Posts: 30
Joined: Wed, 7. Jan 04, 00:34
x3tc

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by dirkf »

Thanks for the package, I mostly use it to get some starting scenarios right as the official custom game start does not allow all ships to be added, and doesn't allow modifications to headquarters either.

However there is one feature missing in it:

when adding blueprints to the headquarter, ONLY the ship blueprints are listed. There is no way to add station blueprints to the HQ with the current version.

I hope that will get added at some time in the future when you have more time for it.
Xe-131
Posts: 64
Joined: Mon, 1. Jun 15, 15:23
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Xe-131 »

Something I think could be added for FL would be to add station blueprints to the HQ: it's only letting you add ship blueprints at the moment.
Saya_Kho
Posts: 24
Joined: Tue, 25. May 04, 22:11
x3tc

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Saya_Kho »

Xe-131 wrote: Sun, 6. Jun 21, 14:58 Something I think could be added for FL would be to add station blueprints to the HQ: it's only letting you add ship blueprints at the moment.
would be a nice idea... i would also like it ;)
Spoiler
Show
System Model: Hyrican PC H310M PRO-VD PLUS
Intel(R) Core(TM) i7-9700KF CPU @ 3.60GHz (8 CPUs), ~3.6GHz / 32768MB DDR4 RAM
NVIDIA GeForce RTX 2060 / DirectX 12
Operating System: Windows 10 Home 64-bit (10.0, Build 19042) (19041.vb_release.191206-1406)
jasii100
Posts: 35
Joined: Sat, 23. Jan 16, 15:26
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by jasii100 »

Great package - incredibly useful for reducing early game grind. I have one question...I read somewhere that triggering the "Reveal All Sectors" command can cause problems in FL. Is this true, and if so would the "Add Satellites To All Sectors" cause similar problems? Thanks!
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22346
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Cycrow »

as long as you are using 1.70 of the cheat scripts, then reveal all sectors should work fine, as it knows not to reveal deactivated HSAP.
Cheese
Posts: 2
Joined: Tue, 6. Jul 21, 05:29
xr

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Cheese »

Can this be used to make discoverable/accessible all HSAP points?

I notice there is an action in action.xml called "hsap.unlock" but it isn't accessible in the cheat menu and would be impossible to use since it would requiring targetting an object you can't target?

Edit: I think found a way to do it by modifying the revealall script. On line 26 I inserted $hsap -> set hsap discoverable [TRUE]. It made the HSAP appear before my very eyes in Harmony of Perpetuity. Spawned in a couple relay beacons and made the jump fine. Though I did notice it also gave me the mission to set relay beacons on the other side too which is unusual. Hopefully it won't break if I build a Trans Orbital Accelerator?
User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 12001
Joined: Fri, 21. May 04, 17:15
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Ketraar »

Cheese wrote: Wed, 7. Jul 21, 19:58Can this be used to make discoverable/accessible all HSAP points?
There is a much easier way to achieve this.

viewtopic.php?p=5054913#p5054913

MFG

Ketraar
Image
Cheese
Posts: 2
Joined: Tue, 6. Jul 21, 05:29
xr

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Cheese »

Ketraar wrote: Thu, 8. Jul 21, 16:14
Cheese wrote: Wed, 7. Jul 21, 19:58Can this be used to make discoverable/accessible all HSAP points?
There is a much easier way to achieve this.

viewtopic.php?p=5054913#p5054913

MFG

Ketraar
Yea I saw that post when looking for a solution. It may be an easy way for you but its complete and total gibberish to me. :?
Deniskos
Posts: 164
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Deniskos »

To Cycrow:
Using Cheat Package in conjunction with Community Plugin Configuration for Warp To Sector, Dock ship to ... etc. leads to a freeze of the script. Cheat Menu no longer launches in Community Plugin Configuration, also applies to hotkey usage.
dirkf
Posts: 30
Joined: Wed, 7. Jan 04, 00:34
x3tc

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by dirkf »

Xe-131 wrote: Sun, 6. Jun 21, 14:58 Something I think could be added for FL would be to add station blueprints to the HQ: it's only letting you add ship blueprints at the moment.
Finally took the time to go through the script and found out how to add this.

Most likely it is just a typo forgotten by cycrow because it is an extremely simple change that adds the ability to add station blueprints.


1) activate script editor as usual and open it
2) go to the script "z.cheat.cycrow.action" and load it into the script editor
3) go to line 258 which handles the blueprint command of the cheat menu
This line starts with "$ret.input = create input id='add.blueprint' userinput=Var/Ship Type ..."

4) click on the entry labelled "Var/Ship Type" and change it to "Var/Ship Type/Station Type"

5) save the corrected script on exit

Now you can add station blueprints and ship blueprints in the same way on the cheat menu.
Last edited by dirkf on Thu, 23. Sep 21, 20:05, edited 1 time in total.
User avatar
alexalsp
Posts: 1865
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by alexalsp »

Some people use an editor and the lines are different. It would be more correct to specify the complete string.
dirkf
Posts: 30
Joined: Wed, 7. Jan 04, 00:34
x3tc

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by dirkf »

alexalsp wrote: Thu, 23. Sep 21, 19:35 Some people use an editor and the lines are different. It would be more correct to specify the complete string.
edited the original post with that info
User avatar
alexalsp
Posts: 1865
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by alexalsp »

I think if you look at the text, he did not specifically add the blueprints for the stations.

Of course, I could be wrong, but the text would look a little differently if he wanted to, but forgot.

Code: Select all

else if $ret == 'blueprint'
$text = read text: page=$Page.ID id=713
$ret.input = create input: id= 'add.blueprint', user input= [Var/Ship Type], refobj= [PLAYERSHIP], description= $text, without sector= [FALSE], filterclass= null, racemask= null, flags= null, default= null

Code: Select all

<t id="713">Select ship type to add blueprints for</t>

Edit line 252 X-Studio

Code: Select all

$ret.input = create input: id= 'add.blueprint', user input= [Var/Ship Type], refobj= [PLAYERSHIP], description= $text, without sector= [FALSE], filterclass= null, racemask= null, flags= null, default= null
to

Code: Select all

$ret.input = create input: id= 'add.blueprint', user input= [Var/Ship Type/Station Type], refobj= [PLAYERSHIP], description= $text, without sector= [FALSE], filterclass= null, racemask= null, flags= null, default= null
dirkf

This line?
dirkf
Posts: 30
Joined: Wed, 7. Jan 04, 00:34
x3tc

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by dirkf »

alexalsp wrote: Thu, 23. Sep 21, 20:14 I think if you look at the text, he did not specifically add the blueprints for the stations.

Of course, I could be wrong, but the text would look a little differently if he wanted to, but forgot.
OK, then he probably didn't plan for it - it was my assumption that he forgot, because that simple change works that way (tested).

and yes, that is the correct line.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22346
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Cycrow »

its not really that i forgot, its more than that function was done before you could get station blueprints at the HQ, and i havn't got round to adjusting it yet
User avatar
alexalsp
Posts: 1865
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by alexalsp »

Cycrow wrote: Thu, 23. Sep 21, 20:41 its not really that i forgot, its more than that function was done before you could get station blueprints at the HQ, and i havn't got round to adjusting it yet
Does this mean that in the near future we can wait for a new version? :)
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22346
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by Cycrow »

there will be a new version, i dont know when exactly, depends on how much free time i have
User avatar
alexalsp
Posts: 1865
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by alexalsp »

Errors in X3FL Cheat Package.

1. A station is always set to index alpha when it is created. Even if there is already a station with index alpha.
2. When creating an NPC solar power plant (argon, boron, etc.), crystals are not a secondary resource, but a primary resource.
User avatar
alexalsp
Posts: 1865
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [SCRIPT] X3FL Cheat Package : V1.70 : 2021-04-09

Post by alexalsp »

Tell...

I compared text files from different games, they are different....

Which of them are relevant, German or English?
Post Reply

Return to “X³: Farnham's Legacy - Scripts and Modding”