I understand that this is probably a simple question, but I need it answered once and for all!!! I also want this forum post to be used as a tutorial for every other user who wants to know the basics about scripting.
I've been researching this "script editor" for 6 hours over several days now on every forum and info source in existence!
I know everything there is to know about the script editor except... how to actually acess it! He's what I know so far...
I know that the script editor is an in-game function that the developers added but didn't plan to announce until they wrote the documentation for it. It was discovered however, and is being used by people anyway for scripting even though it's still an unsupported feature.
To get this out of the way, I know that downloadable scripts come with two types of files. One type is the actual script, which is a *.xml file containing such garbled and arcane language as to be useless to anyone but a scripter. There is often more than one of these script files and they must simply be added to the X2/scripts folder. In order for these scripts to function in-game however, one of two things must be done.
The easy way is when the downloaded script comes with a "44xxxx.xml" file that must be added to the X2/t folder to enable the script to work. Multiple files of this type can be added to the X2/t folder to enable multiple scripts to work at the same time. If there are multiple "44xxxx.xml" files with the same name however, then the text of one file must be accessed (open the document with notepad or something), copied and pasted into the other so that one "44xxxx.xml" file has the text of both files. I have personally tried the merging strategy with the "FATE" trading scripts and it works perfectly.
The other way to do this involves renaming files so they don't copy over each other and then using the scripting editor to activate the scripts in-game, and here lies my problem...
Some downloadbale scripts don't come with a "44xxxx.xml" file and require you to manually use the in-game script editor to add them to the command menus. Such scripts have instructions like:
-------------------------------------------------------------------
Start X2. Load your game. Go into the COMMAND CONSOLE (Shift-C, or C -> S)
Activate Scripting Editor Menu (S from this screen)
Enter Scripting Editor (Selecting Scripting Editor)
You should be at the "Make new script" and able to see other scripts.
Press "L" (load), you'll get an input box.
Type "get.ware" (without the quotes) and press Enter.
You should see the script there.
Do the same for the "init.get.ware" and "get.ware.pl" scripts.
You can then either reload your game or run the init script to have get.ware assigned to the GetWare command on the trade menu.
-------------------------------------------------------------------
I know that the editor must be accessed from the command console after it has been activated, but I can't F****** activate it.
I've read a MILLION times that you must type "Thereshallbewings" (without quotes) while in-game to enable the script editor, but when, how and where. Under what conditions will it actually work? I've tried it with and without the capital "T" at the start and all I end up doing is going into enemy targeting mode (when I press "e") and activate the ecliptic projector (when I press "g") There's no FPS style console to type this code into, so I assume that it must be simply typed while you're drifting through space, but all I accomplish is accidentally pressing several hotkeys and making my menus and ship go haywire. I've read about some people trying 20 times to type the "Thereshallbewings" code without success. So I need exact, unambiguous, step-by-step instructions on HOW EXACTLY to enable and subsequently access the script editor! Because if I can't, then I can't use most of the scripts out there!!!
How do you acess the script editor?!?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 74
- Joined: Mon, 22. Dec 03, 02:29
-
- Posts: 1021
- Joined: Mon, 15. Dec 03, 05:27
-
- Posts: 2
- Joined: Thu, 15. Jan 04, 00:11
I got it! Thanks
I read your advice to just type in the code while flying in-game with all menus closed, but I was skeptical, since I've tried this before and it didn't work. This time however, I started the game, exited the station I was in, and began typing the "Thereshallbewings" code. As I started typing the code, I noticed something was up when my systems didn't go haywire. Normally, almost every key I pressed activated a hotkey, but it wasn't doing that this time. I completed the code and heard a little audio beep and the script editor was accessible! I think it might've had something to do with the fact that it was the first thing I typed on the keyboard after loading the game, but I really don't know why it worked this time.
-
- Posts: 1021
- Joined: Mon, 15. Dec 03, 05:27
Re: I got it! Thanks
As long as it worked. Good profit to you.RipStrike wrote:I read your advice to just type in the code while flying in-game with all menus closed, but I was skeptical, since I've tried this before and it didn't work. This time however, I started the game, exited the station I was in, and began typing the "Thereshallbewings" code. As I started typing the code, I noticed something was up when my systems didn't go haywire. Normally, almost every key I pressed activated a hotkey, but it wasn't doing that this time. I completed the code and heard a little audio beep and the script editor was accessible! I think it might've had something to do with the fact that it was the first thing I typed on the keyboard after loading the game, but I really don't know why it worked this time.