Please HELP!!! - creating a Xenon L via SE

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
chelo_boga
Posts: 325
Joined: Fri, 21. Mar 08, 01:01
x3tc

Please HELP!!! - creating a Xenon L via SE

Post by chelo_boga » Mon, 21. Jan 13, 04:15

Hi.

First of all. I dont know the first thing about scripting or modding!

Im stuck in the game and need to script in a xenon L that i can claim. Can someone tell me how to do that step by step?

I activated the script editor and didnt understand any of it from the menu.

A million thanks!


Edit: edited title to make it more informative. X2-Illuminatus

User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 » Mon, 21. Jan 13, 04:28

Easy way:
Download and install the Cheat Package.
Use it to make an L

Hard Way:
  • Open up the script editor
    Select the first menu option (I think it is just called 'Script Editor')
    Select 'New Script'
    Change the name of the script eg. aaaaa.create.L (The 'a's are there so it will be near the top of the list.)
    Select 'New Line'
    Select 'General Object Commands' and then 'Create Object'
    Select the command <RetVar> = create ship: type=<Var/Ship> owner=<Var/Race> addto=<Value> x=<Var/Number> y=<Var/Number> z=<Var/Number> (I am fairly sure it is the top one)
    You can now highlight the arguments and change their values.
    For <RetVar> select 'no returnvalue'
    For type select the L
    Owner is obviously you ;)
    addto is the sector you want to add the ship to
    x, y and z are the coordinates of the ship.
    Once you have done that press escape to get out and when prompted select yes to save the script.
    You should have returned to the list of scripts. Find your one so the line is selected and press 'r'. Then press enter twice. The script will run and a ship will spawn.
NOTE:
BOTH OF THESE METHODS WILL MAKE YOUR GAME ***MODIFIED***. Use at your own descretion.
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

chelo_boga
Posts: 325
Joined: Fri, 21. Mar 08, 01:01
x3tc

Post by chelo_boga » Mon, 21. Jan 13, 14:38

Many thanks Jack!!!

Post Reply

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