Space Engineers

Space Engineers

187 ratings
[APck] Commander (fleet RTS control)
7
3
2
2
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
874.106 KB
Dec 17, 2022 @ 1:46pm
Oct 6, 2024 @ 10:02am
2 Change Notes ( view )

Subscribe to download
[APck] Commander (fleet RTS control)

Description
Fleet command script allowing RTS-style controls using transparent HUD or normal screen for grids controlled by the AutoPillock script.

Features

  • Mouse-controlled interface
  • Mouse-drag rubber selection
  • Two renders - transparent and normal screen with free 3d camera
  • Full support for APck features - task queues, autodocking, autolanding, waiting, repeat orders, etc
  • Context-bound commands - click on friendly grid while having a unit selected to order follow, on enemy target to attack, etc
  • Task queue visualization
  • Higly customizable - add your own commands and draw icons for them

Quickstart
Getting familiar with the system using reference control module (deprecated)

Code compatible with 1.0 systems can be found in the new control module blueprint

1. Get the blueprint.
2. Get AutoPillock-controlled grids.
3. Get in the control module and use toolbar:
toolbar 3-1: (toggle:control) - capture controls on/off - sets ControlGyros to Off on cockpit, sends "toggle:ignore-user-thruster:true" to local APcl for WASD suppression
toolbar 3-2: (command:cycle-view) - switch render view HUD/BlackScreen
toolbar 3-5: (command:commit) - signal to selected units (APck command:signal) - completes wait-for-signal task
toolbar 3-9: (command:cast) - create static point using raycast to mouse pointer

When in control mode (HUD view):
  • Use mouse to move cursor
  • E button click to issue orders and activate buttons
  • Hold E and drag to select multiple units
  • Drag on empty space to deselect
  • Click E on task nodes to delete task
  • Bottom row of buttons change the default command (top center green text). Default command is issued when E-clicking.
  • E-clicking on a specific entity would issue a default action for that entity. For unit, it is follow. For target - attack. For static point - attack. For task - delete.
  • Hold D to show round menu. Its' contents depend on where you hover - empty space, friendly unit, selected target or casted point. Release D to activate option. It is used for issuing non-default command

  • [HUD-specific] Hold Q and drag mouse up-down to adjust 3d pointer depth (with unit(s) selected). Double tap Q to reset.

When in control mode (Black screen view):
  • Use mouse to move cursor
  • E button click to issue orders and activate buttons
  • Hold E and drag to select multiple units
  • Drag on empty space to deselect
  • Click E on task nodes to delete task
  • Bottom row of buttons change the default command (top center green text). Default command is issued when E-clicking.
  • E-clicking on a specific entity would issue a default action for that entity. For unit, it is follow. For target - attack. For static point - attack. For task - delete.
  • Hold D to show round menu. Its' contents depend on where you hover - empty space, friendly unit, selected target or casted point. Release D to activate option. It is used for issuing non-default command

  • [Black screen specific] Double tap Q to toggle free camera mode.
  • [Black screen specific] Use A/D/space/C to move free camera focus point. Use W/S to increase/decrease focus distance.
  • [Black screen specific] Double tap E to teleport camera to currently selected unit.


Uncomment "toggle:render-inactive-view" in PB CustomData to have only one View rendering at a time (default is "true", so both views are updated).

If you have issues
Problems/questions related to AutoPillock are discussed on that scripts' page. If you have weird unit behavior (i.e. its' PB crashes, or it gets' stuck, etc) this is usually caused by AutoPillock on that unit. Although some issues may originate in Command script, especially if you modify it by adding your custom commands.

If you are sure that the problem is related specifically to Command script, ask here:
Known Issues & Bug Reports
Popular Discussions View All (1)
11
Feb 18, 2023 @ 2:36pm
Known Issues & Bug Reports
cheerkin
52 Comments
cheerkin  [author] May 6 @ 4:23am 
Пока нет, планирую добавить.
Размер шрифта (и некоторых иконок) можно менять командой command:set-value:interface-upscale:{размер}
Steven_Hakket May 5 @ 7:39pm 
А есть поддержка мультиэкранов для (Black screen view) ? А так же есть ли возможность изменять шрифт и размер иконок на экране ?
cheerkin  [author] May 2 @ 12:53pm 
Not without changing the code: look up the "0.3f" value (there would be 2 of them, you need the first one).
Mac and Cheese May 2 @ 5:20am 
is it possible to change cursor speed?
cheerkin  [author] Oct 6, 2024 @ 10:05am 
1.0 Release!

Pre-1.0 scripts of APck ecosystem (APck, TGP, TargetEmitter, etc) would cause a crash if they are running in the same world due to comms data incompatibility.

1.0.225 fixes HUD projections oscillations caused by in-game bug.
cheerkin  [author] Jun 30, 2024 @ 11:16am 
I don't have discord server for this but you can ask for help here:
https://discord.gg/veeGwKSh
There are people experienced in using APck scripts for pretty complicated scenarios and they often are willing to help.
Kira Jun 29, 2024 @ 10:22pm 
This is amazing but... .jeeez its so complex.... Cant figure out how to get it to work with my existing ships. The documention on autopllock isnt exactly intuitive.
cheerkin  [author] Mar 19, 2024 @ 6:38pm 
If I update this item, then everyone who still runs pre-1.0 stuff would get crashes. That's why for now new version is only in the 1.0 command bridge example blueprint, as mentioned on this page.
Dragontail Mar 19, 2024 @ 2:45pm 
Can you please update this to 0.9.188 that is running in the 1.0 command bridge example blueprint in the Red PB block. I get a critical system error, System.InvalidCastException.
Soulless Jelu Jun 3, 2023 @ 8:06am 
What about mining ?