[SCRIPT] Destroy Target - HOTKEY

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
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

[SCRIPT] Destroy Target - HOTKEY

Post by Graxster » Wed, 22. Oct 08, 20:06

Made a little script that will destroy your current target and has an assignable hotkey. Place in scripts directory, run X3TC and go to Controls > Interface and scroll down to the bottom. Assign a key, and use very carefully or you'll end up having to reload a saved game, hehe. I use a combo of keys myself (Shift + K in my case, for KILL). Enjoy!

-Grax

Image
Last edited by Graxster on Mon, 27. Oct 08, 10:02, edited 1 time in total.

fud
Posts: 6989
Joined: Wed, 25. Jan 06, 15:26
x3

Post by fud » Wed, 22. Oct 08, 21:20

Can you destroy gates with this, like you could with X3R?

(more of a precautionary FYI than anything)

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster » Wed, 22. Oct 08, 21:44

Yes, you can destroy gates, and anything else you can target.

-G

g5ffgh674
Posts: 10
Joined: Sat, 14. Feb 04, 08:50
x4

Post by g5ffgh674 » Sun, 26. Oct 08, 13:28

hallo, i like to juse your cheat
where do i put SHIFT+K
i have opened the script, i see lines like

001 $Target= get player tracking aim
002 skip if $Target-> exist

and more of these lines
can you help
regards Maurice

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster » Sun, 26. Oct 08, 18:56

Do not open the script, or even go into the script editor. Just go to Controls > Interface, and scroll down to the bottom. There you will see Destroy Target [not bound]. Click that and select your key assignment, then click Apply.

-Grax

g5ffgh674
Posts: 10
Joined: Sat, 14. Feb 04, 08:50
x4

Post by g5ffgh674 » Sun, 26. Oct 08, 20:26

:lol: it works, tank you, super
regards maurice

lips of a moose
Posts: 61
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by lips of a moose » Tue, 28. Oct 08, 11:35

i cant get this to work (this game hates me to be honest)

Capped a viper on a mission and sent it off to dock at the nearest station to be safe only for it to die every time by an osprey that comes into system (second wave of the mission i guess).

Ive extracted .rar files to "C:\Program Files (x86)\EGOSOFT\X3 Terran Conflict\scripts" loaded game, gone to "Controls > Interface", and scrolled to the very bottom and zip, nada nothing there. What have i done wrong, or failed to do ?

LOAM

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster » Tue, 28. Oct 08, 17:11

Have you activated the script editor? Should be in the readme. You need to do that and save after activating it, then reload.

-G

Rmaccc
Posts: 176
Joined: Sat, 17. May 08, 22:09
x3

Post by Rmaccc » Wed, 29. Oct 08, 05:53

Graxster wrote:Have you activated the script editor? Should be in the readme. You need to do that and save after activating it, then reload.

-G
Install in your X3 Terran Conflict\scripts directory.

In-game, go to Controls > Interface, and scroll to the very bottom.
You'll now have a Destroy Target slot.
Needless to say, you need to be very careful and not press whatever key
you assign accidentally. If you do destroy something by mistake, you'll
need to load your last saved game. I use Shift+K (for KILL). Enjoy!

-Grax
where ?

User avatar
Graxster
Posts: 815
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster » Wed, 29. Oct 08, 06:59

Follow the instructions in the sticky at the top of this forum to activate the script editor.

g5ffgh674
Posts: 10
Joined: Sat, 14. Feb 04, 08:50
x4

Post by g5ffgh674 » Wed, 29. Oct 08, 21:47

hallo, everybody

activating script
you have to be in space, not docking your ship
go to,
personal
advanced
change name
new name, " change name in ( Thereshallbewings )
juse enter key
wait a moment

go docking your ship
save the game

restart game
load your game
juse CTRL+C
scrol down
when you see

script editor
script editor s

you can close the comand console window
go to,
Controls
Interface
scrol down click on [not bound] where the cheat is
Assign a key

Tanks to Graxster for helping me

shireknight
Posts: 1033
Joined: Mon, 9. Feb 04, 22:31
x3tc

Post by shireknight » Sat, 20. Dec 08, 02:00

Rmaccc is right there is no option at the bottom of the interface for destroying ships the last option is Build station rotate b axis neg

I have activated the script editor and if I go into it the very first script is cheat.destroy.target V1 so it can obviously see your cheat is there but there is no option to use it.

Either there is a crucial piece of information missing from your installation instructions telling newbies how to use your cheat (ive never used a cheat before) or your script is incompatible with version 1.3 of the game.
My (new) PC:-

Intel® Core™ i7-4770 processor (3.4 GHz, 8 MB cache)
Microsoft Windows 10
16 GB DDR3 Ram
NVIDIA GeForce GTX 1060 6 GB GDDR5

xiriod
Posts: 1102
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by xiriod » Sat, 20. Dec 08, 02:22

I just installed this, and I could set the hotkey without any problems. Just destroyed a few things to test it out.

Finally I can go on a spree and get rid of all those station debris I see no point to in this game ;)

User avatar
Krewzur
Posts: 725
Joined: Mon, 16. Jun 08, 20:14
x4

Post by Krewzur » Sat, 20. Dec 08, 02:39

xiriod wrote:Finally I can go on a spree and get rid of all those station debris I see no point to in this game ;)
Somebody should make a script that gets rid of all that ship/station debris.
Corsair 400c // Intel i7 8700k // H100i v2 // ASUS Maximus X Code // ASUS 1080ti Strix OC // 2x8GB Corsair Vengeance 3200MHz // Samsung 960 Evo 250GB // 960GB SanDisk Ultra II // Corsair RM850i

xiriod
Posts: 1102
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by xiriod » Sat, 20. Dec 08, 02:51

Yeah, but this works as a temporary solution. He wasn't kidding, it even destroys gates :D Have to reload ;)

Post Reply

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