[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: Moderators for English X Forum, Scripting / Modding Moderators

ladyboy
Posts: 69
Joined: Fri, 14. Sep 07, 19:18

Post by ladyboy » Mon, 1. Dec 08, 04:43

mpcribeiro wrote:
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
Hey Cycrow what about 3 keys for...

"attack all and dock"
"attack my target and dock"

and simply key for "dock" the wing :)

Cheers
I agree. I'll download this once it has those functions. Thanks Cy

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

Post by Cycrow » Mon, 1. Dec 08, 17:51

i do plan to add alot more hotkeys, i've just been busy with otherthings atm to be able to do any more work on it.

hopefully my work load will be reduced soon ;)

Jaa
Posts: 2
Joined: Thu, 5. Jan 06, 12:10

Post by Jaa » Fri, 19. Dec 08, 11:14

please add the "follow me/target/ship" hotkey
thanks alot

Esc.Control
Posts: 66
Joined: Tue, 3. Jun 08, 05:31

Post by Esc.Control » Thu, 25. Dec 08, 13:02

Woah. This might be exactly what I needed!
The story so far...
Well, almost. Desperately needs a dock key, so that we can hit a key to launch the fighters into battle, then hit a key to dock them when we're done! (Ie I'm looking for proper Carrier launched fighter wing hotkey support)

Regardless, excellent work! Your mods continue to supply what should have been in the box to begin with! :D

kelmen
Posts: 308
Joined: Tue, 9. Dec 08, 15:11

Post by kelmen » Sun, 28. Dec 08, 10:35

when I try the "Protect..." hotkey, it doesn't seems to work. As I check the wing command, its None.

I doing that on escorting cargo ships mission.

"Protect Me" is ok.

kelmen
Posts: 308
Joined: Tue, 9. Dec 08, 15:11

Post by kelmen » Sun, 28. Dec 08, 12:29

kelmen wrote:when I try the "Protect..." hotkey, it doesn't seems to work. As I check the wing command, its None.

I doing that on escorting cargo ships mission.

"Protect Me" is ok.
nvm, I figured out its working ok. the problem is due to the hotkey I used conflict with other. its ok now

User avatar
Seathal
Posts: 920
Joined: Thu, 5. Jun 08, 23:03
x4

Post by Seathal » Mon, 29. Dec 08, 22:10

To em the most essential keys that are missing would be:

- "Attack all enemies"
and
- "Follow me"

But those basic ones you have there will work great. THanks a lot!

User avatar
s9ilent
Posts: 2033
Joined: Wed, 29. Jun 05, 01:45
x4

Post by s9ilent » Mon, 12. Jan 09, 08:37

I've just got a couple questions about your script


If you read the actual wings script it says:
Arguments
* 1: WING , Var/Wing , 'wing'
* 2: target , Var/Ship/Station , 'target'

Buttt, if you read your hotkey scripts it uses:
START $wing -> wing command COMMAND_WING_ATTACK : arg1=$target, arg2=null, arg3=null, arg4=null


By any chance, does the start wingcommand, some how automatically make THIS (i.e "$wing ->" in this case) into the first wing argument - or something?

mesasone
Posts: 25
Joined: Thu, 5. Jul 07, 03:04

Post by mesasone » Sun, 25. Jan 09, 10:03

I hope Cycrow does not mind, but I have added a few of the commands asked for in this thread. If there are any complaints, I will take this down. This was more or less my first attempt at scripting, and was a bit of a learning experience.

Dock at Homebase will instruct the wing dock at it's homebase - make sure this is set in the wing control console.

Follow Me is self explanatory... the wing will follow the playership.

Attack All will launch the wing with the command "Attack All".

I didn't bother with an undock command as either follow me or Idle will do the job.

.spk is up Here. All of Cycrow's commands are included, so just need to remove the old package and install this one.

Vulkanus
Posts: 3
Joined: Sun, 13. Nov 05, 02:26

Post by Vulkanus » Sat, 31. Jan 09, 19:48

Along with the attack all and dock at home base commands, one last thing that if added would make this script perfect is an "All wings" option in the wing selection menu.

Walterses
Posts: 201
Joined: Sat, 27. Dec 08, 18:20
x3tc

Post by Walterses » Tue, 3. Feb 09, 15:18

hey cycrow there are 2 scripts/commands related to repair laser/factory mod id really apprecitae if u cld write for me/others as ive been trying to do it myself and failed then tried to get the person who originally wrote repair mod but the main thread seems to be inactive.. the third attempt was posting my own threads asking for help and no one replies so im at a loss...

anyway the scripts seem simple enought (i think)

one is for wing commands, it being in 'special' and along the lines of repair all ships in sector and another saying repair target ship.

and the other as a turret command so i can set my repair ships turrets to 'repair friendly' instead of protect (stops my ships from repairing enemies when under attack ;s

if u cld even give me any help lol id greatly appreciate it.
Would someone kill those dam fighters all ready? Those flack cannons are giving me a headache :s

Dark Kyro
Posts: 19
Joined: Tue, 6. Mar 07, 21:30

Post by Dark Kyro » Thu, 14. May 09, 14:12

mesasone

Thanks !!!
I really needed those commands )

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

Post by Cycrow » Tue, 9. Jun 09, 20:00

New Update available 1.20:
  • Added Configuration menu (Requires Community Plugin Configuration)
  • Allows you to select which commands you want available to limit the useless hotkeys that are avaialble
  • Added Quick Wings: You can assign upto 4 wings to hotkeys for quick selection of wings
  • Added Dock Command
  • Added Dock at My Target Command
  • Added Jump Command
  • Added Jump To Me Command
[ external image ]

User avatar
Sandalpocalypse
Posts: 4447
Joined: Tue, 2. Dec 03, 22:28
x4

Post by Sandalpocalypse » Mon, 20. Jul 09, 08:53

Nice. I always did get annoyed when a bajillion hotkeys piled up.
Irrational factors are clearly at work.

zeddius
Posts: 333
Joined: Tue, 29. Nov 05, 21:02
x3tc

Post by zeddius » Fri, 7. Aug 09, 16:33

[BUG]???

When using the hotkeys to for instance tell a wing of fighters docked at homebase to defend or attack someone, the homebase command "return home" will not work.

It is as if the new wing commands always take priority...

I have a M7 filled with fighters, all those fighters are in one wing. I have that M7 follow me to assist. And when i need help i just issue a wing command through the hotkeys to tell em to defend me. However, when they are done i wish to tell em to go home by clicking on the M7 and issue the return home command....but noting happens and the wing continue to "protect me" etc.


Is this as intended?

zeddius
Posts: 333
Joined: Tue, 29. Nov 05, 21:02
x3tc

Post by zeddius » Tue, 11. Aug 09, 18:36

Ok, this is strange.

I added a vidar and my personal heavy dragon to gold formation. Used the wing hotkeys to give gold formation order to dock at a station. Both the vidar and my dragon then get the order "move in formation" and dock at the mentioned station. Wanted to check if the wing command could use the adv. jumpdrive. apperantly it didnt, as the vidar, which was in a different sector started to manually fly through sectors to get there...


Anyways, the problem is that i am unable to terminate the command. wing hotkey idle doesnt work, if i enter the command console and choose stop command, the command stops, but after 2-3 s both the vidar and the heavy dragon (which i am sitting in btw) start to resume the move in formation command.....So basically, i am stuck, and i can not issue any commands to jet dragon i am sitting in,...........removing the ship from the wing was the only way to resolve it.

It is as if the wing hotkey command takes precedence over every other command ( new inputs aswell), until the wing command is executed.

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

Post by Cycrow » Tue, 11. Aug 09, 21:04

this is nothing to do with the hotkeys.

all the hotkeys do is invoke the standard wing commands.

and yes, the wing commands do this.
you cant order individual ships, as the wing commands will override it.

althou not sure y the idle hotkey isn't work as that should.

another way is to go into the wing command console and set the command to none.

the stop command shortcut from the context menu is sending the command to the ship, not the wing.

an issue that will be resolved in the next game patch, nothing u can do about it right now

zeddius
Posts: 333
Joined: Tue, 29. Nov 05, 21:02
x3tc

Post by zeddius » Tue, 11. Aug 09, 22:08

Cycrow wrote:this is nothing to do with the hotkeys.

all the hotkeys do is invoke the standard wing commands.

and yes, the wing commands do this.
you cant order individual ships, as the wing commands will override it.

althou not sure y the idle hotkey isn't work as that should.

another way is to go into the wing command console and set the command to none.

the stop command shortcut from the context menu is sending the command to the ship, not the wing.

an issue that will be resolved in the next game patch, nothing u can do about it right now
Ok, thx for reply :)

kelmen
Posts: 308
Joined: Tue, 9. Dec 08, 15:11

Post by kelmen » Mon, 21. Sep 09, 07:26

when i change some of the wing hotkey from Off->On in the plugin mgr
I have these "ReadText0-99" appear in the key-binding extension section.

restart/reload the game doesn't get this solved.

User avatar
Reisser
Posts: 745
Joined: Mon, 28. Feb 05, 15:39
x4

Post by Reisser » Tue, 1. Dec 09, 13:19

Hi there ...

I use wing-hotkeys frequently (there goes nothing without them *g*) but what I would really need would be a "jumg home"-hotkey for my wing so I get quick rid of my wing at a secure place. :)

Perhaps this should be possible in the next version of wing-hotkeys?

Post Reply

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