[SCRIPT] Missile Defense Hotkeys

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

User avatar
moggy2
Posts: 4588
Joined: Wed, 6. Nov 02, 21:31

[SCRIPT] Missile Defense Hotkeys

Post by moggy2 » Mon, 20. Oct 08, 15:33

Script: Missile Defense Hotkeys
Version: 1.0
Download: http://www.xai-corp.net/en/projects/xai ... missiledef
Readme: http://www.xai-corp.net/en/projects/xai ... def/readme

This script provides 2 new hotkeys to help defend against missiles:
  1. Target Nearest Missile
  2. Missile Defense
The missile defense hotkey fires a missile at all incoming missiles. The type of missiles used can be selected by activating the hotkey while there are no enemies withing scanner range.

ThisIsHarsh
Posts: 1132
Joined: Sun, 19. Oct 08, 18:46

Post by ThisIsHarsh » Mon, 20. Oct 08, 22:20

Ahah! Was waiting for this.

Can you recommend a good missile to use for the Missile Defence command? How about enabling it as an Additional Command so it can run on non player-controlled ships (or to automate on playership)?

mrsack
Posts: 205
Joined: Sat, 24. Feb 07, 22:57

Post by mrsack » Tue, 21. Oct 08, 06:16

Sweet, I was hoping for a "Target Nearest Missile"...wonder why that wasn't in Vanilla?

reanor
Posts: 535
Joined: Thu, 23. Oct 03, 01:39

Post by reanor » Wed, 22. Oct 08, 02:13

Mosquito missile defence system, thats what we need for TC.
We often watch where we step in the dark, and forget to look for the stars that guide us.

Incubi
Posts: 1855
Joined: Mon, 2. Jan 06, 07:59

Post by Incubi » Wed, 22. Oct 08, 03:47

I installed it correctly. but its not in the game. No option for mods, ( if needed) and nothing aviable in controls for me to map a key to it. I have steam version.

:( attempting to allow for the script Thereshallbewings gave me the dreaded modified under pilot info :( Ill wait for the bonus pack.

But I would like to know if there is a problem with scripts with the steam version. There better not be :( I am allready upset about having to buy the game this way :( I know X3R had no problem with it.

User avatar
moggy2
Posts: 4588
Joined: Wed, 6. Nov 02, 21:31

Post by moggy2 » Wed, 22. Oct 08, 09:05

Incubi wrote:I installed it correctly. but its not in the game. No option for mods, ( if needed) and nothing aviable in controls for me to map a key to it. I have steam version.

:( attempting to allow for the script Thereshallbewings gave me the dreaded modified under pilot info :( Ill wait for the bonus pack.

But I would like to know if there is a problem with scripts with the steam version. There better not be :( I am allready upset about having to buy the game this way :( I know X3R had no problem with it.
It's an unsigned script. You need to enable the script editor, and thus *modified*ify your game.

Incubi
Posts: 1855
Joined: Mon, 2. Jan 06, 07:59

Post by Incubi » Wed, 22. Oct 08, 09:15

moggy2 wrote:
Incubi wrote:I installed it correctly. but its not in the game. No option for mods, ( if needed) and nothing aviable in controls for me to map a key to it. I have steam version.

:( attempting to allow for the script Thereshallbewings gave me the dreaded modified under pilot info :( Ill wait for the bonus pack.

But I would like to know if there is a problem with scripts with the steam version. There better not be :( I am allready upset about having to buy the game this way :( I know X3R had no problem with it.
It's an unsigned script. You need to enable the script editor, and thus *modified*ify your game.
I did enable it. Unless there was more than "Thereshallbewings". to do. And it still did not become available to me. Yes I spelled it correctly and uses a capital T.

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 20534
Joined: Mon, 15. Nov 04, 00:26

Post by Cycrow » Wed, 22. Oct 08, 13:04

Incubi wrote:
moggy2 wrote:
Incubi wrote:I installed it correctly. but its not in the game. No option for mods, ( if needed) and nothing aviable in controls for me to map a key to it. I have steam version.

:( attempting to allow for the script Thereshallbewings gave me the dreaded modified under pilot info :( Ill wait for the bonus pack.

But I would like to know if there is a problem with scripts with the steam version. There better not be :( I am allready upset about having to buy the game this way :( I know X3R had no problem with it.
It's an unsigned script. You need to enable the script editor, and thus *modified*ify your game.
I did enable it. Unless there was more than "Thereshallbewings". to do. And it still did not become available to me. Yes I spelled it correctly and uses a capital T.
did you either save and reload your game, or reinit your script cache after enabling ?

User avatar
Makita
Posts: 123
Joined: Sat, 14. Jan 06, 02:32

Post by Makita » Wed, 22. Oct 08, 13:20

reanor wrote:Mosquito missile defence system, thats what we need for TC.

Amen to that!

SpongeBobSpacepants
Posts: 110
Joined: Sun, 19. Oct 08, 12:02

Post by SpongeBobSpacepants » Sat, 25. Oct 08, 14:59

Erm, is it me or does this script not work correctly :? I`ve installed it, set my hotkey`s. Have already selected missile for defence (mosquito). Go into battle, missile`s start flying at me and not one of my mosquito missiles was used ?? Like i say i did select the mosquito`s before i entered combat and it all seemed to work ok but not a single mosquito was fired in defence against enemys. Do i have to have them set in my missile bay or not ? thanks for any tips.

Sodium
Posts: 29
Joined: Sat, 25. Oct 08, 06:34

Post by Sodium » Sat, 25. Oct 08, 16:19

Would be great if you made this into an spk!

Also would be great if you made NPC's be able to use this script, would make the game much more realistic, instead of the npc's using the current method of turning and burning. If they have missiles they should use them as countermeasures, if not they should turn and burn.

Tiedyeguy
Posts: 1124
Joined: Mon, 16. Feb 04, 04:39

Post by Tiedyeguy » Fri, 14. Nov 08, 16:03

SpongeBobSpacepants wrote:Erm, is it me or does this script not work correctly :? I`ve installed it, set my hotkey`s. Have already selected missile for defence (mosquito). Go into battle, missile`s start flying at me and not one of my mosquito missiles was used ?? Like i say i did select the mosquito`s before i entered combat and it all seemed to work ok but not a single mosquito was fired in defence against enemys. Do i have to have them set in my missile bay or not ? thanks for any tips.
It sounds to me like you set your missiles, then in battle you hit the hotkey again to launch previously selected missiles at the oncoming missiles... it isn't an automatic feature like MDM that came with Bonus Pack for X3:R.

Kilrathi Avenger
Posts: 275
Joined: Fri, 6. Feb 04, 21:16

Post by Kilrathi Avenger » Thu, 27. Nov 08, 12:44

Makita wrote:
reanor wrote:Mosquito missile defence system, thats what we need for TC.

Amen to that!
Massive agreement here :evil: :evil:
"As I slide down the banister of life;
my job is just another splinter in the bum"

jlehtone
Posts: 17092
Joined: Sat, 23. Apr 05, 21:42

Post by jlehtone » Thu, 27. Nov 08, 13:31

If you do prefer Missile Defence Mosquito (MDM) by Lucike, then you install and use it. No point in asking for it in this script's (MDH) thread.

But IMO, moggy2's script is a good alternative. It does exactly what you tell it to do, while MDM makes the decisions by itself. And preprogrammed logic is always preprogammed; not optimal in every situation. Besides, MDM needs one of the ship's two additional task slots.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.

redleaf123
Posts: 7
Joined: Thu, 13. Nov 08, 23:35

Post by redleaf123 » Thu, 27. Nov 08, 13:36

Kilrathi Avenger wrote:
Makita wrote:
reanor wrote:Mosquito missile defence system, thats what we need for TC.

Amen to that!
Massive agreement here :evil: :evil:
Actually, I believe Lucike has done it already - it's in the german forum under his script collection (and it has an english /t file as well).

http://forum.egosoft.com/viewtopic.php?t=216745 is the entire script collection, and the mosquito defence is called Raketenabwehr Moskito (forum is http://forum.egosoft.com/viewtopic.php?t=216794 )

I've installed it ok, even re-packaged using cycrow's Xplugin - seems to work fine, with the caveat I have not yet used it in anger!

[edit]
I forgot to say I do also use this script, for ships with no mosquitos or for when I want more control or to fry incoming without wasting a missile. Very useful, thanks moggy2
[/edit]

redleaf

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”