Quick scripting question for vet...

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

TSO
Posts: 212
Joined: Wed, 26. Oct 05, 03:11
x3

Quick scripting question for vet...

Post by TSO »

Ok I don't see anything that would hint at haveing this informations so...

How do you script your self some cash?...

I'm in the editor (FINALLY)

I've looked around a little but nothing really pokes out as to simply set my cash...
"Since the house is on fire, let us warm our selves"
"Warning. We detect illegal cargo on board your ship. Please eject it immediately.... Ok everyone out the air lock! (Slaves) "
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

in the trade command menu, use the command, add money to player
TSO
Posts: 212
Joined: Wed, 26. Oct 05, 03:11
x3

Post by TSO »

Ok is this in the editor or the actual trade command menu?... I looked in the editor and The only place I haven't looked to hard in is the HUGE list of scripts...

I checked my ships command menu and went to trade and saw no such option...

kinda need better directions then that...

And did you consider I'm useing X2?...
"Since the house is on fire, let us warm our selves"
"Warning. We detect illegal cargo on board your ship. Please eject it immediately.... Ok everyone out the air lock! (Slaves) "
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

the script editor for x2 is the same as x3 ;)

i ment inside the actaully script.
if you goto the script editor, at the top this a slot for a new file
select that and enter a name of the file, that will create a script of that name and will show up in the scripts list.

then, select thatscript you just created and open it
this will go into the actual script editor

here you need to insert a new line, just goto the start of the script past the arguments section press enter to insert a new command

goto the trade commands list from there
and you will c the add money to player command
select it and it will be added to the script
and it should hilight the varible, just enter in a number here for the moeny you want to add

then all you have to do is run it, by hilighing the script and pressing r
TSO
Posts: 212
Joined: Wed, 26. Oct 05, 03:11
x3

Post by TSO »

TY i'll try it out...
"Since the house is on fire, let us warm our selves"
"Warning. We detect illegal cargo on board your ship. Please eject it immediately.... Ok everyone out the air lock! (Slaves) "
TSO
Posts: 212
Joined: Wed, 26. Oct 05, 03:11
x3

Post by TSO »

Do you change the lay out of the X-universe by scripting in the editor?

And how? Just Add new sector? remove stations from others???
"Since the house is on fire, let us warm our selves"
"Warning. We detect illegal cargo on board your ship. Please eject it immediately.... Ok everyone out the air lock! (Slaves) "
Sephiroth_Lord_of_War
Posts: 2
Joined: Tue, 9. May 06, 13:56

Point in cheating!

Post by Sephiroth_Lord_of_War »

Wats the point in spawning like 2 bil of cash Takes fun away I spent like 4 months conquering all of universe much funner then buying 50 m2s and blowing stuff up lol currently i have like 100 stations with 1.5 bilIsh in them Lots of guns and ships its alot funner take my word
TSO
Posts: 212
Joined: Wed, 26. Oct 05, 03:11
x3

Post by TSO »

I wanted to know because I've re-started more then 10 times... Each time I had developed a small fleet of ships and was working up toward a capital ship... This time I was tired of working my way back up to what I already had and just wanted to buy what I belive I've worked for and continue from thier... Although I stop playing until I get a new graphics card...

It has pissed me off long enough to bulid a sweet fleet and go to battle at a slugs pace and at some random point find me looking at the back of my ship being blasted away buy some random missile...

I'll be spending my time getting my new Graphics Card and working on a Mod / idea I had...

Then maybe I'll start a new with out the cash boost becaus this mod is gona be like a who new era in X2... although similar technologys will still be around due to X2 limitations...
"Since the house is on fire, let us warm our selves"
"Warning. We detect illegal cargo on board your ship. Please eject it immediately.... Ok everyone out the air lock! (Slaves) "

Return to “X²: The Threat - Scripts and Modding”