Delete Ship/Remove Money scripts?

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

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

NeverSnake
Posts: 5159
Joined: Thu, 9. Oct 03, 20:44
x3tc

Delete Ship/Remove Money scripts?

Post by NeverSnake »

Does anyone have any general purpose delete ship/remove money scripts? I checked at X Scripting but I couldn't see anything.
User avatar
Storm_Front
Posts: 1021
Joined: Mon, 15. Dec 03, 05:27
x2

Re: Delete Ship/Remove Money scripts?

Post by Storm_Front »

NeverSnake wrote:Does anyone have any general purpose delete ship/remove money scripts? I checked at X Scripting but I couldn't see anything.
Delete ship? autopilot to nearest Xenon sector. :lol:

remove money? I'll accept a check :lol:

Seriously, I haven't heard of any such scripts, perhaps an add money script with a negative amount might work.
BabyFace
Posts: 140
Joined: Sat, 24. Jan 04, 23:06
x2

Post by BabyFace »

Here is a Script for "Destroying" a Target of your choosing (if run from an in game menu(Combat), its simple to use just target a ship "t" key and call the script, to destroy it.

001 $aim = get player tracking aim
002 $aim -> destruct: show no explosion=[FALSE]
003 return null

as for player cash if you have a script to increase cash just use an "Negitive" number IE: -1000000

here is a script for cash

Arguments

1: GimmeDaCash , Number , ''Select Amount To Receive"

001 add money to player: $GimmeDaCash
002 return null

Enjoy

BabyFace
BabyFace
Posts: 140
Joined: Sat, 24. Jan 04, 23:06
x2

Re: Delete Ship/Remove Money scripts?

Post by BabyFace »

Here is a Script for "Destroying" a Target of your choosing (if run from an in game menu(Combat), its simple to use just target a ship "t" key and call the script, to destroy it.

001 $aim = get player tracking aim
002 $aim -> destruct: show no explosion=[FALSE]
003 return null

as for player cash if you have a script to increase cash just use an "Negitive" number IE: -1000000

here is a script for cash

Arguments

1: GimmeDaCash , Number , ''Select Amount To Receive"

001 add money to player: $GimmeDaCash
002 return null

Enjoy

BabyFace
runner1891
Posts: 2
Joined: Sun, 7. Dec 03, 07:44
x3

Post by runner1891 »

But since you wanna remove cash, just stick a "-" in front of "GimmeDaCash", and it'll deduct an amount instead of adding it.
BabyFace
Posts: 140
Joined: Sat, 24. Jan 04, 23:06
x2

Post by BabyFace »

runner1891 wrote:But since you wanna remove cash, just stick a "-" in front of "GimmeDaCash", and it'll deduct an amount instead of adding it.
say what? this is not a "static" script that adds huge amounts of cash, this script if run will "prompt" the user for a value to add (what ever you type in) or subtract [-] (what ever you type in), so sticking a "-" in front of "GimmeDaCash" will only change the name we assigned to the variable/operation/command.

Just to clarify:

Arguments
1: GimmeDaCash , Number , ''Select Amount To Receive"

GimmeDaCash = the name of the variable/operation/command we assigned "Number"

Number = the action we want to preform (IE: enter a number [possitive or negitive], via an input "box")

Select Amount To Receive = the text displayed as a helper (bottom right when the script is run).

hope this helps clarify things, this script will not automatically remove or add cash, it is based upon user "input" to obtain the desired results.

EG: when run if you type in 500000 it will add $500000 to your cash total, likewise if you type in -400000 it will remove $400000 from your cash.

BabyFace
User avatar
Dark-Sun
Posts: 29
Joined: Wed, 18. Feb 04, 13:54
x3tc

Post by Dark-Sun »

Can i have a little help
i got this game resently and it comes with the latest patch i dont think that has eny thin 2 do with it but i cant seem 2 know how 2 get the scripting menu up can u help guys?????? :? :x2:
NeverSnake
Posts: 5159
Joined: Thu, 9. Oct 03, 20:44
x3tc

Post by NeverSnake »

Type Thereshallbewings when flying and then bring the main menu up and press e then s.

Thanks for that.
User avatar
Dark-Sun
Posts: 29
Joined: Wed, 18. Feb 04, 13:54
x3tc

Post by Dark-Sun »

Where do u type it???? :?:
User avatar
Dark-Sun
Posts: 29
Joined: Wed, 18. Feb 04, 13:54
x3tc

Post by Dark-Sun »

:D i did it thx guys um how can i increase my money can u go through it?? because im a noob when it comes 2 scripting hehe :lol:

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