[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

Fuzzy111
Posts: 5
Joined: Wed, 11. Dec 13, 03:13
x3tc

editor and cat files???????

Post by Fuzzy111 » Wed, 12. Nov 14, 06:02

I still use my old .24 version of TC edior... I just reinstalled my game and can not remember how to connect the cat files of the game with the editor... can you help
See you at the Top

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

Post by Cycrow » Wed, 12. Nov 14, 10:05

kaistern wrote:
X2-Illuminatus wrote:You haven't answered Cycrow's question about what extracting tool you're using to extract the .spk file yet. So I'm not sure, if you are aware that the .spk file you're downloading is not an .xml file itself, but a script archive containing the actual .xml files. Therefore it cannot be opened with X Studio, which is for editing MSCI scripts (in .xml or .pck format), or your internet browser and also won't be recognized by the ingame Script Editor. To install .spk files you have to use the Plugin Manager, which also comes with an extraction tool for .spk files.
sorry about that I used the package explorer that comes with the plugin manager to open it
are you viewing the files while you are within the explorer, or are you extracting the files first, then viewing them ?

both ways should work fine. However, if you extract the files, you need to put them in a directory with the style sheet, or copy the style sheet over to view them properly in the browser.

Also make sure you are running the latest version of the plugin manager, incase theres some incompatability issues

jacenhawk
Posts: 7
Joined: Thu, 1. Sep 16, 17:49

Post by jacenhawk » Thu, 1. Sep 16, 18:35

Unless I am missing something, the link does not work, any chance of getting a working one?

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

Post by Cycrow » Wed, 7. Sep 16, 15:19

should work now

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

Post by Reisser » Fri, 22. Dec 17, 13:27

Does anyone testedt Wing-Hotkeys with the X-Tended Mod?

I've done it - but run in some problems.

After correctly installad plugin-manager and Communiy Configuration Menu all Hotkeys showed up. I arrange some wings - press the hotkeys - but nothing happend.

Later i have a second look to the hotkeys - but there onle was a read-text.

Can someone tell me if Wing-Hotkeys are incompatible with XRM (the done some wing-jobs new) so i can give up testing?

axis556
Posts: 1
Joined: Wed, 11. Apr 18, 11:20
x3tc

a slight modification: attack nearest to player command

Post by axis556 » Sat, 21. Jul 18, 11:14

Hi all, i've figured out a "attack nearest to player command"

I was messing around and trying to figure out the scripting in X3.

I think i've had a bit of a win which might be handy to others.

first up, sorry cycrow, i butchered one of your scripts.

i took the 'attack my target' command and modified it to be:

001 $wing = get global variable: name= 'wings.selected'
002 skip is $wing -> exists
003 return null
004
005 START $wing -> wing comand COMMAND_WING_ATTACK_NEAREST : arg1=[PLAYERSHIP], arg2=null, arg3=null, arg4=nul
006
007 @=[THIS] -> call script plugin.winghotkey.cmsound : wing=$wing accepted=[TRUE]
008 return null

i also re-named it to: attack nearest .
axis

Daemonjax
Posts: 95
Joined: Tue, 27. May 14, 01:54
x4

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

Post by Daemonjax » Tue, 23. Apr 19, 15:29

I created a Return Home hotkey for this, because not having one is painful:

Code: Select all

$wing = get global variable: name='wings.selected'

skip if $wing-> exists
return null

$home = $wing-> get homebase

if $home-> exists
START $wing-> wing command [COMMAND_WING_DOCKAT] : arg1=$home, arg2=null, arg3=null, arg4=null
$success = [TRUE]
else
$success = [FALSE]
end

= [THIS]-> call script 'plugin.winghotkey.cmdsound' : wing=$wing accept=$success

return null
works great!

I tried my hand at making an Attack All hotkey, but I'd have to rewrite !wing.fight.manager (probably to use a local variable to store the current wing command because I can't figure out a way to GET the current wing command for the wing.fight.manager to know when to switch to another mode) and maybe every other wing script for it to work right. Mmmm... I might do it because it doesn't sound hard.

Post Reply

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