[SCRIPT] Wing Hotkeys : V1.20 : 09/06/2009

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

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

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22498
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

trial and error is about ur only way.

u need to use the unregister hotkey command, and then specify the key id.

as you dont know the key id, you have to guess.

best you can do, is register a new hotkey and check the id, then try all the previous ids until the ones you want are removed
damador
Posts: 105
Joined: Wed, 18. Jan 06, 20:46
x4

Post by damador »

can this be done in easier way ? script or sth ?
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22498
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

damador wrote:can this be done in easier way ? script or sth ?
nope unfortuatlly not, its the annoyance of the hotkeys.


however, im working on a hotkey manager that should prevent this in the future
Ulfarus
Posts: 107
Joined: Fri, 13. Dec 02, 12:10
x2

Post by Ulfarus »

How about a hot key to open the selected wings command menu.

I may be missing it already in the basic commands but so far the only way I can access a wings command menu is via the sector map, please tell me if there is an easier way.

This seems like a major oversight to me and should have been a basic command.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22498
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

Ulfarus wrote:How about a hot key to open the selected wings command menu.

I may be missing it already in the basic commands but so far the only way I can access a wings command menu is via the sector map, please tell me if there is an easier way.

This seems like a major oversight to me and should have been a basic command.
scripts cant open up standard menus, they can only create thier own
Ulfarus
Posts: 107
Joined: Fri, 13. Dec 02, 12:10
x2

Post by Ulfarus »

Thanks for the speedy response.

I am sure I am not alone in finding the wing controls a bit clunky.

Anything you can do to make it easier is great, without the hot keys you have already put in I wouldn't use wings at all.

Wing controls could have done with there own sidebar Icon, I hope once all the bugs and stuff are fixed that this makes it into a patch.

The sidebar has lots of space and there are a huge amount of things I would like to see on it, it is a shame it isn't modable.
Maahes
Posts: 872
Joined: Wed, 20. Nov 02, 15:14
x4

Post by Maahes »

A retreat button would be good.
As would a "Stop/Idle/Please don't kill the ship I'm about to cap/board command" or whatever you want to call it, but you get the idea ;)
Maahes
Posts: 872
Joined: Wed, 20. Nov 02, 15:14
x4

Post by Maahes »

While I'm at it...
How about a Board target ship hotkey for my wing of TP's, so I can concentrate on the shields and not have to go through a ton of menus while the shields rebuild. :)

Cheers
M
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22498
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

i've already maybe a boarding hotkey as a seperate package, it launches marines from a hotkey, but i plan to make some more improvements to it
Sodium
Posts: 29
Joined: Sat, 25. Oct 08, 06:34

A Few Suggestions

Post by Sodium »

I can think of a few hotkeys already that would be nice to implement in this script besides attack, protect me, and the boarding hotkey.

Wing Protect Target

Wing Stop Command

Wing Launch Fighters/Dock Fighters - For a wing of carriers that the A.I is operating.

Wing Attack All

Wing Launch Missiles

Wing Focus On Missile Defense

Wing Engage Fighters Only

Wing Engage Capitals Only

Wing Engage Friendlies - for when repair lasers are implemented for ships, or by using your cheat manager.

Wing Undock/Dock - If the wing is currently docked in a carrier or a station.

Wing Fighters Only Attack - Commands a carrier wings fighters to attack leaving the carriers themselves to fulfill other tasks.

Obviously this is a large workload, but using the command interface for every wing in the middle of a fight is horrid and often gets me killed. It would really be nice for some hotkeys so that I can focus my efforts on other tasks at hand.
Grimm Spector
Posts: 137
Joined: Thu, 23. Oct 08, 17:06
x3tc

Post by Grimm Spector »

What I REALLLLLY need in this script is a command that tells my fighters to attack my target and they ATTACK THAT TARGET and don't switch targets when I do :(
User avatar
Sandalpocalypse
Posts: 4447
Joined: Tue, 2. Dec 03, 22:28
x4

Post by Sandalpocalypse »

Yes that would be nice. Attack My Target has a tendency to go off on its own tangent. It acts more like Protect Me than Protect Me does.
Grimm Spector
Posts: 137
Joined: Thu, 23. Oct 08, 17:06
x3tc

Post by Grimm Spector »

Cycrow wrote:46852: Thats alot of hotkeys :P but ill try to add some of them at least

Sandalpocalypse: It should be possible, and fairly easy, the wing command console has its own set of commands like ships and can be added to by scripts

Dreamwind99: Not possible, the sidebar is not modable
all I want is a hotkey for Attack this target, instead of attack MY target, I want to tell a wing to attack a certain target and let me switch to a new target without them changing with me....

oh one other amazing thing would be a button that will scroll through the wings without bringing up the selection menu, so each press will select the next wing in the list and verbally tell you, that would be godly...
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22498
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

:arrow: New Update available: V1.10

Added 4 new hotkeys

Includes:
  • Attack...: Attacks your current target. If you change targets, they will continue to attack the first selected target
  • Protect...: Protects your current target. The wing will continue to escort your current target if they are not an enemy
  • Idle: The wing will idle in the sector, randomly flying around
  • Standby: The wing will stop dead in space and wait for a new command
Chroniss
Posts: 155
Joined: Mon, 10. Nov 03, 21:15
x3tc

Post by Chroniss »

Thanks for this script its really helpful. This really needs to be added into the game in a patch as all users are going to want these hotkeys.

Oh btw, your link on the front is old, its not linking to the new version
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22498
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

updated the link
Grimm Spector
Posts: 137
Joined: Thu, 23. Oct 08, 17:06
x3tc

Post by Grimm Spector »

Cycrow wrote::arrow: New Update available: V1.10

Added 4 new hotkeys

Includes:
  • Attack...: Attacks your current target. If you change targets, they will continue to attack the first selected target
  • Protect...: Protects your current target. The wing will continue to escort your current target if they are not an enemy
  • Idle: The wing will idle in the sector, randomly flying around
  • Standby: The wing will stop dead in space and wait for a new command

:D I love you Cycrow, you're the coolest
46852
Posts: 84
Joined: Mon, 16. Jan 06, 18:17
x3

Post by 46852 »

Has anyone tried the "Protect..." command to create escorts for UTs?
Sodium
Posts: 29
Joined: Sat, 25. Oct 08, 06:34

Post by Sodium »

You're awesome Cycrow!
jimhsu77479
Posts: 168
Joined: Sun, 25. Nov 07, 22:39
x4

Post by jimhsu77479 »

Just one request...

"Return home".

For some reason, the Navigation > Dock at > Wing homebase does not use autojump (at least for the ships ive tested) and thus watching ships crawl back over 20 or so sectors is painful. Also, Navigation > Jump > select station > scroll halfway across the universe is equally annoying.

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