[SCRIPT] X3TC Cheat Package : v1.70 : Updated: 20/03/2021 (TC/AP/FL Compatible)
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 10
- Joined: Fri, 17. Jul 09, 22:53
-
- Posts: 562
- Joined: Thu, 1. Jun 06, 12:17
-
- Posts: 698
- Joined: Wed, 17. Nov 10, 03:23
for those who tries to get cheat script working in X3AP, copy paste the following codes to setup.cycrow.cheat.xml(open in notepad)
Code: Select all
<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet href="x2script.xsl" type="text/xsl"?>
<!--Produced externally by the Exscriptor-->
<script>
<name>setup.cycrow.cheat</name>
<version>0</version>
<engineversion>44</engineversion>
<description>Description</description>
<arguments />
<sourcetext>
<line linenr="001" indent=""><text>load text: id=</text><var>1000</var><text></text></line>
<line linenr="002" indent=""><var>$Page.ID = </var><text></text><var>9999 </var><text></text></line>
<line linenr="003" indent=""><text>set global variable: name=</text><var>'cycrow.cheat.pageid'</var><text> value=</text><var>$Page.ID</var><text></text></line>
<line linenr="004" indent=""> </line>
<line linenr="005" indent=""><text>add ship custom command: id=</text><var>9999</var><text></text></line>
<line linenr="006" indent=""><text>set script command upgrade: command=</text><var>COMMAND_CYCROW_SHIPCHEAT</var><text> upgrade=</text><var>[TRUE]</var><text> script=</text><var></var><call>z.cheat.cycrow.cmdchk</call><var></var><text></text></line>
<line linenr="007" indent=""><text>global script map: set: key=</text><var>COMMAND_CYCROW_SHIPCHEAT</var><text>, class=</text><var>Ship 2004</var><text>, race=</text><var>null</var><text>, script=</text><var></var><call>z.cheat.cycrow.cmd</call><var></var><text>, prio=</text><var>0</var><text></text></line>
<line linenr="008" indent=""><text>set script command upgrade: command=</text><var>COMMAND_CYCROW_STATIONCHEAT</var><text> upgrade=</text><var>[TRUE]</var><text></text></line>
<line linenr="009" indent=""><text>global script map: set: key=</text><var>COMMAND_CYCROW_STATIONCHEAT</var><text>, class=</text><var>Station 2016</var><text>, race=</text><var>null</var><text>, script=</text><var></var><call>z.cheat.cycrow.cmd</call><var></var><text>, prio=</text><var>0</var><text></text></line>
<line linenr="010" indent=""> </line>
<line linenr="011" indent=""><text></text><var>if not</var><text> get global variable: name=</text><var>'cycrow.cheat.hotkey'</var><text></text></line>
<line linenr="012" indent=" "><text></text><var>$text =</var><text> = read text: page=</text><var>$Page.ID</var><text> id=</text><var>901</var><text></text></line>
<line linenr="013" indent=" "><text></text><var>$id =</var><text> = register hotkey </text><var>$text</var><text> to call script </text><var></var><call>z.cheat.cycrow.hotkey</call><var></var><text></text></line>
<line linenr="014" indent=" "><text>set global variable: name=</text><var>'cycrow.cheat.hotkey'</var><text> value=</text><var>$id</var><text></text></line>
<line linenr="015" indent=""><text>end</text></line>
<line linenr="016" indent=""><text></text><var>$id =</var><text> get global variable: name=</text><var>'cheat.hotkey.destruct'</var><text></text></line>
<line linenr="017" indent=""><var>if </var><text></text><var>$id </var><text></text></line>
<line linenr="018" indent=" "><text>unregister hotkey </text><var>$id</var><text></text></line>
<line linenr="019" indent=" "><text>set global variable: name=</text><var>'cheat.hotkey.destruct'</var><text> value=</text><var>null</var><text></text></line>
<line linenr="020" indent=""><text>end</text></line>
<line linenr="021" indent=""> </line>
<line linenr="022" indent="" interruptable="@"><text></text><var> =</var><text> </text><var>[THIS]</var><text></text><var> -> </var><text>call script </text><var></var><call>z.cheat.cycrow.hotkey.add</call><var></var><text> : Hotkey ID=</text><var>'destruct'</var><text> Text ID=</text><var>801</var><text> Script Name=</text><var>'z.cheat.cycrow.destruct'</var><text> On or Off=</text><var>[TRUE]</var><text> </text></line>
<line linenr="023" indent="" interruptable="@"><text></text><var> =</var><text> </text><var>[THIS]</var><text></text><var> -> </var><text>call script </text><var></var><call>z.cheat.cycrow.hotkey.add</call><var></var><text> : Hotkey ID=</text><var>'reload'</var><text> Text ID=</text><var>802</var><text> Script Name=</text><var>'z.cheat.cycrow.hotkey.reload'</var><text> On or Off=</text><var>[FALSE]</var><text> </text></line>
<line linenr="024" indent="" interruptable="@"><text></text><var> =</var><text> </text><var>[THIS]</var><text></text><var> -> </var><text>call script </text><var></var><call>z.cheat.cycrow.hotkey.add</call><var></var><text> : Hotkey ID=</text><var>'accel'</var><text> Text ID=</text><var>803</var><text> Script Name=</text><var>'z.cheat.cycrow.hotkey.accel'</var><text> On or Off=</text><var>[FALSE]</var><text> </text></line>
<line linenr="025" indent="" interruptable="@"><text></text><var> =</var><text> </text><var>[THIS]</var><text></text><var> -> </var><text>call script </text><var></var><call>z.cheat.cycrow.hotkey.add</call><var></var><text> : Hotkey ID=</text><var>'brake'</var><text> Text ID=</text><var>804</var><text> Script Name=</text><var>'z.cheat.cycrow.hotkey.brake'</var><text> On or Off=</text><var>[FALSE]</var><text> </text></line>
<line linenr="026" indent=""><text>return </text><var>null</var><text></text></line>
<line linenr="027" indent=""> </line>
<line linenr="028" indent=""> </line>
</sourcetext>
<codearray>
<sval type="array" size="10">
<sval type="string" val="setup.cycrow.cheat" />
<sval type="int" val="44" />
<sval type="string" val="Description" />
<sval type="int" val="0" />
<sval type="int" val="0" />
<sval type="array" size="3">
<sval type="string" val="Page.ID" />
<sval type="string" val="text" />
<sval type="string" val="id" />
</sval>
<sval type="array" size="21">
<sval type="array" size="3">
<sval type="int" val="151" />
<sval type="int" val="4" />
<sval type="int" val="1000" />
</sval>
<sval type="array" size="7">
<sval type="int" val="104" />
<sval type="int" val="0" />
<sval type="int" val="1" />
<sval type="int" val="4" />
<sval type="int" val="9999" />
<sval type="int" val="1" />
<sval type="int" val="-1" />
</sval>
<sval type="array" size="5">
<sval type="int" val="157" />
<sval type="int" val="5" />
<sval type="string" val="cycrow.cheat.pageid" />
<sval type="int" val="131074" />
<sval type="int" val="0" />
</sval>
<sval type="array" size="3">
<sval type="int" val="1463" />
<sval type="int" val="4" />
<sval type="int" val="9999" />
</sval>
<sval type="array" size="6">
<sval type="int" val="154" />
<sval type="int" val="18" />
<sval type="int" val="1300" />
<sval type="int" val="131075" />
<sval type="int" val="10" />
<sval type="string" val="z.cheat.cycrow.cmdchk" />
</sval>
<sval type="array" size="10">
<sval type="int" val="118" />
<sval type="int" val="18" />
<sval type="int" val="1300" />
<sval type="string" val="z.cheat.cycrow.cmd" />
<sval type="int" val="4" />
<sval type="int" val="0" />
<sval type="int" val="12" />
<sval type="int" val="2004" />
<sval type="int" val="0" />
<sval type="int" val="0" />
</sval>
<sval type="array" size="5">
<sval type="int" val="144" />
<sval type="int" val="18" />
<sval type="int" val="1114" />
<sval type="int" val="131075" />
<sval type="int" val="10" />
</sval>
<sval type="array" size="10">
<sval type="int" val="118" />
<sval type="int" val="18" />
<sval type="int" val="1114" />
<sval type="string" val="z.cheat.cycrow.cmd" />
<sval type="int" val="4" />
<sval type="int" val="0" />
<sval type="int" val="12" />
<sval type="int" val="2016" />
<sval type="int" val="0" />
<sval type="int" val="0" />
</sval>
<sval type="array" size="4">
<sval type="int" val="158" />
<sval type="int" val="5" />
<sval type="string" val="cycrow.cheat.hotkey" />
<sval type="int" val="-536867836" />
</sval>
<sval type="array" size="6">
<sval type="int" val="126" />
<sval type="int" val="1" />
<sval type="int" val="131074" />
<sval type="int" val="0" />
<sval type="int" val="4" />
<sval type="int" val="901" />
</sval>
<sval type="array" size="5">
<sval type="int" val="1100" />
<sval type="int" val="2" />
<sval type="int" val="131074" />
<sval type="int" val="1" />
<sval type="string" val="z.cheat.cycrow.hotkey" />
</sval>
<sval type="array" size="5">
<sval type="int" val="157" />
<sval type="int" val="5" />
<sval type="string" val="cycrow.cheat.hotkey" />
<sval type="int" val="131074" />
<sval type="int" val="2" />
</sval>
<sval type="array" size="4">
<sval type="int" val="158" />
<sval type="int" val="5" />
<sval type="string" val="cheat.hotkey.destruct" />
<sval type="int" val="2" />
</sval>
<sval type="array" size="7">
<sval type="int" val="104" />
<sval type="int" val="-1610608637" />
<sval type="int" val="1" />
<sval type="int" val="131074" />
<sval type="int" val="2" />
<sval type="int" val="1" />
<sval type="int" val="-1" />
</sval>
<sval type="array" size="3">
<sval type="int" val="1101" />
<sval type="int" val="131074" />
<sval type="int" val="2" />
</sval>
<sval type="array" size="5">
<sval type="int" val="157" />
<sval type="int" val="5" />
<sval type="string" val="cheat.hotkey.destruct" />
<sval type="int" val="0" />
<sval type="int" val="0" />
</sval>
<sval type="array" size="14">
<sval type="int" val="102" />
<sval type="string" val="z.cheat.cycrow.hotkey.add" />
<sval type="int" val="-2147483647" />
<sval type="int" val="131075" />
<sval type="int" val="1" />
<sval type="int" val="4" />
<sval type="int" val="5" />
<sval type="string" val="destruct" />
<sval type="int" val="4" />
<sval type="int" val="801" />
<sval type="int" val="5" />
<sval type="string" val="z.cheat.cycrow.destruct" />
<sval type="int" val="131075" />
<sval type="int" val="10" />
</sval>
<sval type="array" size="14">
<sval type="int" val="102" />
<sval type="string" val="z.cheat.cycrow.hotkey.add" />
<sval type="int" val="-2147483647" />
<sval type="int" val="131075" />
<sval type="int" val="1" />
<sval type="int" val="4" />
<sval type="int" val="5" />
<sval type="string" val="reload" />
<sval type="int" val="4" />
<sval type="int" val="802" />
<sval type="int" val="5" />
<sval type="string" val="z.cheat.cycrow.hotkey.reload" />
<sval type="int" val="131075" />
<sval type="int" val="9" />
</sval>
<sval type="array" size="14">
<sval type="int" val="102" />
<sval type="string" val="z.cheat.cycrow.hotkey.add" />
<sval type="int" val="-2147483647" />
<sval type="int" val="131075" />
<sval type="int" val="1" />
<sval type="int" val="4" />
<sval type="int" val="5" />
<sval type="string" val="accel" />
<sval type="int" val="4" />
<sval type="int" val="803" />
<sval type="int" val="5" />
<sval type="string" val="z.cheat.cycrow.hotkey.accel" />
<sval type="int" val="131075" />
<sval type="int" val="9" />
</sval>
<sval type="array" size="14">
<sval type="int" val="102" />
<sval type="string" val="z.cheat.cycrow.hotkey.add" />
<sval type="int" val="-2147483647" />
<sval type="int" val="131075" />
<sval type="int" val="1" />
<sval type="int" val="4" />
<sval type="int" val="5" />
<sval type="string" val="brake" />
<sval type="int" val="4" />
<sval type="int" val="804" />
<sval type="int" val="5" />
<sval type="string" val="z.cheat.cycrow.hotkey.brake" />
<sval type="int" val="131075" />
<sval type="int" val="9" />
</sval>
<sval type="array" size="3">
<sval type="int" val="103" />
<sval type="int" val="0" />
<sval type="int" val="0" />
</sval>
</sval>
<sval type="int" val="0" />
<sval type="array" size="7">
<sval type="array" size="2">
<sval type="int" val="3" />
<sval type="int" val="2" />
</sval>
<sval type="array" size="2">
<sval type="int" val="8" />
<sval type="int" val="2" />
</sval>
<sval type="array" size="2">
<sval type="int" val="12" />
<sval type="int" val="4" />
</sval>
<sval type="array" size="2">
<sval type="int" val="16" />
<sval type="int" val="4" />
</sval>
<sval type="array" size="2">
<sval type="int" val="16" />
<sval type="int" val="2" />
</sval>
<sval type="array" size="2">
<sval type="int" val="21" />
<sval type="int" val="2" />
</sval>
<sval type="array" size="2">
<sval type="int" val="21" />
<sval type="int" val="2" />
</sval>
</sval>
<sval type="int" val="0" />
</sval>
</codearray>
</script>
summer time..
-
- Posts: 7
- Joined: Fri, 16. Dec 11, 12:05
1st you need to enable the script manager by changing your name, press "m" to "Thereshallbewings". The capital "T" is important, since the script editor activation is case sensitive, now hit enter until your name changes and it exits out of the menu options. Next, hit "ESC" to bring up the options menu, then choose controls, click on the game tab, scroll down until you see the "Global commands: [not bound]" option, click on the red [not bound] part and choose the add control option and bind a hotkey to the global command, I chose "]", next click Apply, then exit out of the controls menu and choose to save changes when asked to.Halcyon_Renard wrote:>Have to improvise
Can you be any more specific than that? I copied the files you indicated, now I'm stuck at figuring out how to access the cheat console in the game.
Next, depending on if you have not already copied the "t" & "scripts" folder from the main Albion Prelude folder into the Albion Prelude\addons folder, you should do so now, after saving your current game, if isn't already saved. When copying over the "t" & "scripts" folders, choose to overwrite the folders, but not the files that already exist in the addons folder, since egosoft changed how the "t" & "scripts" folder works and what commands numbers they can use.
After this is done or if you already did this, next alt + tab back into the game, wait for it to reload the game visuals back up and then hit whatever hotkey you bound the "global commands" command to in the options -> controls -> game menu. Then press "s" while in the "global commands" menu to bring up the script editor menu, next you click on the "Reinit Script Caches" to update the script database listings. Now you can either load your current saved game from earlier or continue playing now.
If you want you should go bind the cheat menu hotkey option in the Options -> Controls -> Interface menu under the "Cheat Menu" option near the bottom of the page if you scroll down. Now you can use the cheat menu package in X3: Albion Prelude, one note though, if you enable god mode and ram or run into anything near or bigger in size than your current ship, you will randomly explode and die at times, since the god mode scripts can't update the shield/hull values faster enough at times.
-
- Posts: 38
- Joined: Fri, 4. Apr 08, 09:22
-
- Posts: 38
- Joined: Fri, 4. Apr 08, 09:22
Cheers, I just tried doing it with beta 9 and I'm getting the same problem. I install the cheat package, open the game, I don't have a current game so I start a new one. I activate the script editor and save, and this is where I hit my problem, I now can't open the saved game. It just crashes. I can't open a game with the script editor enabled and I don't know why.
-
- Moderator (Script&Mod)
- Posts: 22438
- Joined: Sun, 14. Nov 04, 23:26
i've just tested it on mine and not had a problem.Demon of Rashomon wrote:Cheers, I just tried doing it with beta 9 and I'm getting the same problem. I install the cheat package, open the game, I don't have a current game so I start a new one. I activate the script editor and save, and this is where I hit my problem, I now can't open the saved game. It just crashes. I can't open a game with the script editor enabled and I don't know why.
also, if the plugin manager is in modified mode, then it will force the game to be modified as well, this means you dont need to activate the script editor, the cheats should be ready to use when you start the game.
u could try redownloading the cheat package just incase it was curropt for some reason
-
- Posts: 10
- Joined: Fri, 17. Jul 09, 22:53
-
- Posts: 10
- Joined: Fri, 17. Jul 09, 22:53
-
- Posts: 30
- Joined: Fri, 16. Dec 11, 06:59
-
- Posts: 1627
- Joined: Thu, 5. Aug 04, 01:57
-
- Posts: 1627
- Joined: Thu, 5. Aug 04, 01:57
-
- Posts: 1627
- Joined: Thu, 5. Aug 04, 01:57
One baby step at a time methinks.. - I notice none of them are equiped with weapons, so I would have to outfit the entire fleet by the looks of it, and if I didn't use the cheat that would take forever....
Now a script that would automatically outfit ships with the best weapons for that ship would be nice
Now a script that would automatically outfit ships with the best weapons for that ship would be nice

-
- Posts: 30
- Joined: Fri, 16. Dec 11, 06:59