Removing scripts

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

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

User avatar
InvrSmall
Posts: 717
Joined: Wed, 6. Nov 02, 20:31
x3tc

Removing scripts

Post by InvrSmall »

Is it possible to remove the init.addosprey.xml after it has been applied ?

If so, how ?
User avatar
oolon
Posts: 406
Joined: Sun, 8. Jun 03, 14:43
x3tc

Post by oolon »

That adds a product to a ship yard removing the script will have no effect because the station is now saved with the product in it. What you need to do is change the script to make it an ANTI script which removes the product from the shipyard.

Edit... Just cos I am nice!

http://www.ankh.org/x2/removeosprey.zip

Backing out the osprey script

Close down game

Remove the script init.addospray.xml from your script directory place the removeosprey.xml script in your script directory.

Run the game, use the script editor to run the script, you can select null as an argument for it, destroy any ospreys you have parking in xenon space with no guns should do it ;-) and save your game.

James
Last edited by oolon on Tue, 2. Mar 04, 16:51, edited 1 time in total.
User avatar
oolon
Posts: 406
Joined: Sun, 8. Jun 03, 14:43
x3tc

Post by oolon »

Ooops I am an idiot I notice I spelt the url wrong... its now corrected in the post above. Its osprey not ospray ;-)

James
User avatar
InvrSmall
Posts: 717
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by InvrSmall »

Nice 1 :thumb_up:


Cheers.

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