[info request] command list

The place to discuss scripting and game modifications for X Rebirth.

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

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

[info request] command list

Post by docwho83 »

With both MCE and UFO seaming to be down. I am using ufo but the small craft commands are not there yet. Would like to add them in.

Such as dock to L/XL ship that they are assigned to. For repairs, before ship jumps,or boost, to new location.

I do not know if there is a command to make xs/s/m dock to said ships. I would hope so. Really be missing code from x3:tc.

Any help would be great.
brammie
Posts: 100
Joined: Thu, 19. Dec 13, 23:26

Post by brammie »

i think you can use this: move.dockat.drone

there are some other scripts in the default "/aiscripts" dir to, to let a player dock and use a dockslot at a station...

Code: Select all


<aiscript name="move.dockat.drone" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="aiscripts.xsd">
  <params>
    <param name="destination" />
    <param name="dronelaunchpad" default="null" />
    <param name="dockfollowers" default="true" />
  </params>
docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Post by docwho83 »

Ok with that infor i was able to find the command I would like to use. Now I feel silly as I can not find a mod that has the COMMAND menu windows numbers so I could try putting the command to a link.


______________________
from the comm menu

call pilot
1 join
2 open(want to make it dock at)
3 assign new superior
4 show ship details
5 (hr101) More...
6 goodbye

_____________

This would allow the use of it to make ships dock at a target ship. (IF it works.)


The other way I would like to make this change is to add <param name="dockfollowers" default="true" /> into the jump or boost to target param but I am not sure where to put it in the code to make it call this before moving. Nor am I sure if a small ship has been assign would count. It should but egosoft may have had other ideas.

I am not a great modder. Just a low level text editor person. :oops:

Return to “X Rebirth - Scripts and Modding”