[S] [18.03.06] [X3 3.2.05] Missile Defense Mosquito

The place to discuss scripting and game modifications for X³: Reunion.

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

Post Reply
User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

[S] [18.03.06] [X3 3.2.05] Missile Defense Mosquito

Post by Lucike » Thu, 16. Feb 06, 21:24


Missile Defense Mosquito
(Version 3.2.05 - March 18, 2006)


Overview Missile Defense Mosquito
  • This software protects small and big ship classes against missile and fight drone attacks by shooting down incoming missiles with mosquito missiles.
  • This software protects the relay leader or whole convoys against missile attacks and hostile fight drones. Only one ship in the group with this software must be operated.
Prepare Missile Defense Mosquito

Download

-> Missile Defense Mosquito (Version 3.2.05)


Installation using the script editor

The X³ Script Editor has to be activated for this extension. To activate the script editor follow the following steps:
  • enter the menu to change your pilot's name
  • type Thereshallbewings (note the capital T) and press enter
  • the menu will close, your player name will NOT have been changed, and a confirmation beep will sound on correct activation
  • you will now find the "Script Editor" menu item in the command console
  • Save your game now and leave X³
Extract the directory structure into the X³ installation directory. Start X³ and load your previously saved game afterwards. Activating the script editor causes your save to be marked as "modified" which can not be removed by normal means.


Installation without activating the script editor

In the case that the script editor is active, several ingame menus are showing additional information about scripts and the script engine. Since this may disturb a player you may use another method to use unsigned scripts without the use of the script editor. You have to modify the scripts for that. It does not prevent your game from becoming modified.

Open the file "setup.plugin.defmissile.xml" with any text editor. Notepad, which is a included in MS Windows®, can be used without problems. You must not use MS Word® or MS WordPad® because the file is encoded in UTF 8 which is not supported by these programs. Notepad will not cause any problems with this encoding.

You have to change the following lines in the script file, but the only change is the insertion of an exclamation mark. After applying the changes, save the file.

Change:
<name>setup.plugin.defmissile</name>
to
<name>!setup.plugin.defmissile</name>

Also change:
<codearray>
<sval type="array" size="10"><sval type="string" val="setup.plugin.defmissile" …

to
<codearray>
<sval type="array" size="10"><sval type="string" val="!setup.plugin.defmissile" …


Save the file now and quit notepad. You have to rename the file now by inserting an exclamation mark at the beginning.

E.g. change:
C:\Games\X3 - Reunion/scripts/setup.plugin.defmissile.xml
to
C:\Games\X3 - Reunion/scripts/!setup.plugin.defmissile.xml

Of course it would be possible to offer the alternative script as a downloadable file, but this way you get the chance to modify other scripts as well.


Instructions Missile Defense Mosquito

Overview

This software protects small and big ship classes against missile and fight drone attacks by shooting down incoming missiles with mosquito missiles.

Mosquito class missiles are required, as well as Fight Command Software MK1 and MK2. All three may be bought in equipment docks of the various races.


Quick starting guide
  1. Equip a small or big ship classes with Mosquito class missiles, Fight Command Software MK1 and MK2
  2. Choose the command "Missile defense mosquito" from the additional ships command menu
Equipment and requisites
  • A small or big ship classes (M1, M2, M3, M4, M5, M6, TL, TS oder TP)
  • Fight Command Software MK1
  • Fight Command Software MK2
  • Mosquito class missiles
Usage

Activate the software from the additional commands menu. While active, the software looks for hostile missiles and fight drones which are a threat, and fires mosquito class missiles against them to try to destroy them. To disable the software, select the command in the occupied command slot to turn it off. The software will also terminate if no mosquito class missiles remain on board.

With the command "missile defense mosquito convoy", which is to be likewise found in the additional command menu, can protect a ship equipped with mosquitos the relay leader or a whole convoy. This missile defense ship must follow the relay leader with the navigation command "follow..." or protect it with the fight command "protects...".


Technical data Missile Defense Mosquito

Language file
448002.xml (ID 8002)
498002.xml (ID 8002)

Commando slots
COMMAND_TYPE_SHIP_47 (1247)
COMMAND_TYPE_SHIP_48 (1248)

Object task
Task 10 or 11

Official abbreviation
"die RAM"
"the MDM"


< Keywords: ScripterLucike, Script, Missiles, Defense, Mosquito >
Last edited by Lucike on Wed, 22. Mar 06, 13:24, edited 4 times in total.

User avatar
pospi
Posts: 98
Joined: Tue, 17. Jan 06, 09:06
x3

Post by pospi » Fri, 17. Feb 06, 07:19

pretty cool..

so that's the only difference between a signed and an unsigned script eh? hrm... :D

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Post by Lucike » Fri, 17. Feb 06, 08:11

Hi!

The old signed script attacks the nearest hostile missiles. This new script can do a multiple attack to hostile missiles.

And now, the script looks for the annoying fight drones. ;)

Coming soon …

- a missile defense ship for convoys
- wingmen secures the leader ship

and later …

- strategic missile attack for defense

Greets
Lucike
Image

Fus
Posts: 83
Joined: Sun, 20. Nov 05, 18:37
x4

no menu name

Post by Fus » Tue, 21. Mar 06, 23:46

I know the script works but my command menu shows "readtext 2010-1248" can I change this somewhere ??

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Re: no menu name

Post by Lucike » Wed, 22. Mar 06, 08:03

Fus wrote:I know the script works but my command menu shows "readtext 2010-1248" can I change this somewhere ??
Please wait a moment. I must wipe the dust away from this thread. :D

Have you the spreach file in your t directory? (..\t\448000.xml)

Better you download the newest version of the MDM. I will update this thread today.

-> http://www.lucike.info/x3_reunion/scrip ... _V3205.zip

Greets
Lucike
Image

Fus
Posts: 83
Joined: Sun, 20. Nov 05, 18:37
x4

Post by Fus » Wed, 22. Mar 06, 13:13

no 448000 file, strange because it is in the original zip :)

I will use the latest version

.. vielen dank :wink:

User avatar
Lucike
Posts: 12969
Joined: Sun, 9. May 04, 21:26
x4

Post by Lucike » Wed, 22. Mar 06, 13:28

Fus wrote:.. vielen dank :wink:
Bitte sehr ... ;)

Greets
Lucike
Image

Saturnalia
Posts: 10
Joined: Sun, 7. Dec 03, 21:14
x2

Post by Saturnalia » Tue, 8. Feb 11, 12:08

Is this script still around in some form?

User avatar
Carlo the Curious
Posts: 16999
Joined: Mon, 5. Mar 07, 22:03
x4

Post by Carlo the Curious » Tue, 8. Feb 11, 17:30

There's a signed version in the bonus pack.

Saturnalia
Posts: 10
Joined: Sun, 7. Dec 03, 21:14
x2

Post by Saturnalia » Tue, 8. Feb 11, 21:07

Carlo the Curious wrote:There's a signed version in the bonus pack.
Ah, thank you very much.

Post Reply

Return to “X³: Reunion - Scripts and Modding”