Remove rocks script help

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

Post Reply
Aadeyrn
Posts: 7
Joined: Thu, 9. Aug 18, 03:14
x3tc

Remove rocks script help

Post by Aadeyrn » Fri, 17. May 19, 03:19

Hey all,

So I've got a question. Firstly I'm using the epic LxXRM pack, damn fantastic all round. What I want to do is run a script without using the script editor primarily for vanity reasons. I don't want to see the script editor in the command console.

So there's this remove rocks script viewtopic.php?t=218412 that I want to use. Now is there any way to use this script without enabling the editor? Maybe via a hotkey or something, I'm really not sure.
Last edited by Aadeyrn on Fri, 17. May 19, 08:49, edited 1 time in total.

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Re: Remove rocks script help

Post by Joubarbe » Fri, 17. May 19, 08:39

Rename it setup.SCRIPTNAME.xml.

All setup scripts are run every time a game is loaded.
If there's no options and if you're supposed to just run it with the script editor, then it will work.
(your link doesn't work)

Aadeyrn
Posts: 7
Joined: Thu, 9. Aug 18, 03:14
x3tc

Re: Remove rocks script help

Post by Aadeyrn » Fri, 17. May 19, 08:51

Hmmm gave that a go but no luck.

Edit: Fixed the link

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Re: Remove rocks script help

Post by Joubarbe » Fri, 17. May 19, 12:45

aaaa.remove.rocks.xml -> setup.aaaa.remove.rocks.xml
lib.grax.getallsectors.xml -> same, don't modify

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22225
Joined: Sun, 14. Nov 04, 23:26
x4

Re: Remove rocks script help

Post by Cycrow » Fri, 17. May 19, 16:52

If you rename the script file you also have to edit it and change the filename entry as well (in 2 places). If the filename doesn't match, it wont be read by the game.

another option, is to enable the script engine, create a new script, with the name starting with setup. then from that script, you call the other one. Quit the game (without saving) then load it again, and it should run automatically

Aadeyrn
Posts: 7
Joined: Thu, 9. Aug 18, 03:14
x3tc

Re: Remove rocks script help

Post by Aadeyrn » Sat, 18. May 19, 02:13

Cheers that worked splendidly!

Post Reply

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