Wares Script
Board Index » X3: Reunion » Wares Script
bozo64r
Miltaguey (15)
Miltaguey (15)
Question: Does anybody know a script using the 'Thereshallbewings' script editor to get wares on a ship? I bought a Terran M6 and i can't find any Alpha Electro Magnetic Plasma Cannons. Any ideas?
Roguey
Trueguey (22)
Trueguey (22)
hi there,
do you simply want to add some Alpha Electro Magnetic Plasma Cannons to your ship? if you do, then its probably easiest to write a tiny script yourself, because it would be simply 1 line of code!
open up the script editor (pilot name: Thereshallbewings), ship, command console, script editor then pick first option on the script editor (this should help).
Once there, make a new script, call it what you want ie. give.guns then find it on the list and press enter. You should now see the script which is empty. Go down to <new line> and press enter. Another list of script commands should come up, select trade commands, then (I think) 'for ships'. You need to find the command add unit to ship and press enter. You should return to your script, now you need to fill in the details like so:
= [PLAYERSHIP] -> add 1 units of Alpha Electro Magnetic Plasma Canon
Once done, press escape and save your script. Then refind it on the list again and press 'r' (means run). Press enter a few times and you should return back to the script list. Once this has happened, should find 1 x Alpha Electro Magnetic Plasma Canon on your ship (if it has space).
do you simply want to add some Alpha Electro Magnetic Plasma Cannons to your ship? if you do, then its probably easiest to write a tiny script yourself, because it would be simply 1 line of code!
open up the script editor (pilot name: Thereshallbewings), ship, command console, script editor then pick first option on the script editor (this should help).
Once there, make a new script, call it what you want ie. give.guns then find it on the list and press enter. You should now see the script which is empty. Go down to <new line> and press enter. Another list of script commands should come up, select trade commands, then (I think) 'for ships'. You need to find the command add unit to ship and press enter. You should return to your script, now you need to fill in the details like so:
= [PLAYERSHIP] -> add 1 units of Alpha Electro Magnetic Plasma Canon
Once done, press escape and save your script. Then refind it on the list again and press 'r' (means run). Press enter a few times and you should return back to the script list. Once this has happened, should find 1 x Alpha Electro Magnetic Plasma Canon on your ship (if it has space).
bozo64r
Miltaguey (15)
Miltaguey (15)
That's a good, thanks. I will try when i go on tonight.
bozo64r
Miltaguey (15)
Miltaguey (15)
its not their
Roguey
Trueguey (22)
Trueguey (22)
Could you please explain a bit more? not sure what you cant find
bozo64r
Miltaguey (15)
Miltaguey (15)
ok, i am trying to find a script in the script editor that will allow me to add any amount of any ware to my ships freight bay. i tried looking for the scipt you metioned earlier but had no luck.
Roguey
Trueguey (22)
Trueguey (22)
oh, I was on about making a new script, because its only 1 line of code (ie. add ware to playership). Once you are able to make it, then you can add whatever you like to your ship
bozo64r
Miltaguey (15)
Miltaguey (15)
I can't find the scrip i went into he script editor and went Trade Commands and then for ships could not find anything there. Although there was one in which you had to enter a RetVar (i.e) if, if not, skip, skip if. I don't know which variable to put in!
Roguey
Trueguey (22)
Trueguey (22)
bozo64r
Miltaguey (15)
Miltaguey (15)
Yep, that's perfect, although i tried it on X2, and you can't have a non-variable in the first bit (i.e in x3 it is;
=PLAYERSHIP add 5 units of Energy Cells
in x2 you can't have =. What do i put?
=PLAYERSHIP add 5 units of Energy Cells
in x2 you can't have =. What do i put?
Roguey
Trueguey (22)
Trueguey (22)
Dont worry about the equal sign at the start - that's something X3 puts and not you.
EliteM3
Skillguey (7)
Skillguey (7)
1
You need to log-in to post here.