[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

User avatar
Social-Pariah
Posts: 27
Joined: Wed, 22. Oct 08, 22:11
x3tc

Post by Social-Pariah »

I concur, a return home command would be great, make things a lot easier.

Also would there be any way to set it so that the select wing list only shows wings that have ships in them, it would streamline the whole process quite a bit.

Thanks for all your great work.
Life is but a lingering death.
MarioBr0
Posts: 39
Joined: Wed, 12. Mar 08, 21:56

Post by MarioBr0 »

what about 'return home'

cheerse
Kroyon
Posts: 107
Joined: Thu, 11. Dec 03, 14:36
x3tc

Post by Kroyon »

Hi Cycrow,

I would like to take this opportunity to thank you for the wonderful job you're doing here.
And I'd like to point out a small typo in your plugin manager where it links to the winghotkeys web page the link goes t the wrong page.
I believe the correct topic number should be 218976 but instead it links to topic 21876. Just missing a 9 in there, Im glad I could help. :)
Windows 7 64bit
Corsair Dominator 6GB RAM
GeForce GTX 295 Co-Op 1792MB
AMD Phenom II X4 Quad Core 965 3.4GHz
Unserene
Posts: 572
Joined: Sat, 9. Oct 04, 17:31
x4

Post by Unserene »

No chance of adding a "Wing jump to me" or "Wing jump to sector"?
mpcribeiro
Posts: 187
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by mpcribeiro »

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
ladyboy
Posts: 69
Joined: Fri, 14. Sep 07, 19:18

Post by ladyboy »

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: 22498
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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
x3ap

Post by Vulkanus »

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 »

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 »

mesasone

Thanks !!!
I really needed those commands )
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22498
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

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 »

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 »

[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?

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