Teilnehmer

[1.3.1] Auto Actions (continued) [v1.9.3 — 2017-10-19]

Recommended Posts

Diazo’s Auto Actions
version 1.9.3

bgHxd4D.png3NP06ge.png

Automatically activates action groups on launch.

You can control the initial state of:

  • Built-in action groups (SAS, RCS, Lights, Gear, Brakes, Abort);
  • Custom action groups (1—10, and more with @Diazo’s Action Groups Extended mod);
  • Precise Control mode;
  • Throttle level;
  • Trim (Pitch, Yaw, Roll, Wheel motor, Wheel steer).

How to use:

  • In editor, switch to the Action editing mode (XBdOgJf.png).
  • Press the “VAB defaults ▼” / “SPH defaults ▼” button to edit the defaults for all vessels (separate defaults for VAB and SPH):
    • green — action on; red — action off.
  • Edit per-vessel values saved with the craft file:
    • gray — keep default value; green — action on; red — action off;
    • the 5 text boxes allow to set up to 5 custom actions you want to turn on by default. Just type action numbers into them.
  • Press the “Trim ▼” button to edit vessel’s initial trim values.
  • If you want to override the career mode lockout on action groups so this mod will show even if action groups are not yet unlocked, change the OverrideCareer parameter in the [KSP-Install]/GameData/AutoAction/AutoAction.settings file:
    • OverrideCareer = False: Respect KSP’s action group lockout;
    • OverrideCareer = True: Ignore the lockout and always show this mod.

Localization: English, Spanish, Russian, Japanese, Chinese

Known issues:

  • A few second hang-up can occur at the first appearance of the GUI since the mod still uses the old GUI system.

 

Available via CKAN.
Download from GitHub: https://github.com/formicant/AutoAction/releases
Source: https://github.com/formicant/AutoAction

Dependencies: Module Manager

 

Originally created by @Diazo. Continued by me since version 1.6f. Original forum thread by Diazo.

License: GPL-3.0

Version history:

Spoiler

1.9.3
Exception on Editor to Flight scene change fixed.

1.9.2
Updated to KSP 1.3.1.

1.9.1
Spanish, Japanese, and Chinese translations added.

1.9
Trim settings added.

1.8.1
Spanish, Japanese, and Chinese translations added.

1.8
Updated to KSP 1.3.
Localization support added.
Russian GUI added.
Code refactoring.

1.7.3
Updated to KSP 1.2.2.

1.7.2
Updated to KSP 1.2.1.

1.7.1
Licence added.
.version file added (AVC support).
.netkan file updated (CKAN support).

1.7
AutoAction.cfg file renamed to AutoAction.settings to prevent invalidating the cache by ModuleManager.
Bizzy’s toolbar wrapper updated.

1.6.3f
Updated to KSP 1.2.

1.6.2f
Fixed stock toolbar.
Fixed gauge color.
Separate VAB and SPH defaults.

1.6f
Updated to KSP 1.1.2.
Default value editing added.

 

@Diazo’s:

1.6
KSP 1.0.5 Update.
No code changes, Squad just moved some stuff in the API I have to update for.

1.5
KSP 1.0.4.
Fix a rare NullRef.

1.4
KSP 1.0 Update.

1.3
Add Precise Control option.
Fix Override Career flag added in previous version so it actually works.

1.2a
Add ability to override career mode lockout on action groups so this mod will show even if action groups are not yet unlocked.
Note that only shows this mod, another mod is required in order actually assign actions in early career mode. (Action Groups Extended is one that does.)

1.2
Stock toolbar support added, will be used if Blizzy's toolbar is not installed.
Now respects the action groups available in career mode and will only show actions you have access too. Note this means the mod will not show at the start of a career game, you must upgrade the VAB/SPH once to show it.

1.1
KSP 0.90 Compatibility fix.
There are code changes under the hood, you must update to 1.1 for this mod to work in KSP 0.90.

1.0
Automatically activate any action groups on vessel launch.
Including RCS and SAS.
Set Main Throttle to a specific value.
All settings save on a per vessel basis.

 

In Russian / по-русски:

Spoiler

Автодействия
версия 1.9.3

UWLRZTO.png8EAioHb.png

Автоматически активирует группы действий при запуске.

Можно задавать начальное состояние следующих вещей:

  • встроенных групп действий (САС, РСУ, освещения, шасси, тормозов, аварийной отмены старта);
  • пользовательских групп действий (1—10, а если установлен мод Action Groups Extended, то и других);
  • режима точного управления;
  • уровня тяги
  • триммера (тангажа, рыскания, крена, мотора колёс, руля колёс).

Как пользоваться:

  • Находясь в редакторе, переключитесь в режим редактирования действий (XBdOgJf.png).
  • Нажмите кнопку «По умолчанию для ЦВС ▼» / «По умолчанию для ангара ▼» чтобы задать настройки по умолчанию для всех аппаратов (у ЦВС и ангара — отдельные настройки):
    • зелёный — действие включено; красный — действие выключено.
  • Вы также можете задать настройки для текущего аппарата, которые сохраняются в .craft-файле:
    • серый — оставить значение по умолчанию; зелёный — действие включено; красный — действие выключено;
    • 5 текстовых полей позволяют задать до 5 пользовательских групп действий, которые будут активироваться при старте. Для этого необходимо вписать туда номера этих групп действий.
  • Нажмите кнопку «Триммер ▼», чтобы задать начальное состояние триммера для аппарата.
  • Если вы хотите, чтобы автодействия работали даже когда в режиме карьеры не открыты пользовательские действия, поменяйте значение параметра OverrideCareer в файле [KSP-Install]/GameData/AutoAction/AutoAction.settings:
    • OverrideCareer = False: использовать ограничения в режиме карьеры;
    • OverrideCareer = True: игнорировать ограничения в режиме карьеры.

Известные проблемы:

  • При первом отображении интерфейса мода возможно подвисание на несколько секунд, т. к. мод использует старую систему отображения графического интерфейса..

 

Мод доступен из CKAN.
Скачать с Гит-хаба: https://github.com/formicant/AutoAction/releases
Исходники: https://github.com/formicant/AutoAction

Зависимости: Module Manager

 

Мод изначально придумал и реализовал @Diazo. Я дорабатываю его с версии 1.6f. Оригинальный тред Diazo.

Лицензия: GPL-3.0

 

Edited by Teilnehmer

Share this post


Link to post
Share on other sites

Version 1.7

Sir Diazo allowed me to take over the mod.

Changes:

  • AutoAction.cfg file renamed to AutoAction.settings to prevent invalidating the cache by ModuleManager.
  • Bizzy’s toolbar wrapper updated.
Edited by Teilnehmer

Share this post


Link to post
Share on other sites

Thanks for continuing this mod! I've never had a use for it until now, I like the idea of having the parking brakes on when I launch a car.

Share this post


Link to post
Share on other sites

Version 1.7.1

Changes:

  • Licence added.
  • .version file added (AVC support).
  • .netkan file updated (CKAN support).

Share this post


Link to post
Share on other sites

Version 1.7.3

Changes:

  • Updated to KSP 1.2.2

Share this post


Link to post
Share on other sites

Forgive the newb question, but how do I actually use this?  Say I want to fire an action group at a certain height how do I do it?  At the moment, I assuign Jettison fairing to AG 1.  I put number one in the first box but as soon as I load on the launch pad the fairings Jettison.  Is this mod used for that or does it just fire all actions immediately without delay? 

Share this post


Link to post
Share on other sites

@funkcanna: you could try

 

Share this post


Link to post
Share on other sites
On 5/24/2017 at 0:34 PM, funkcanna said:

or does it just fire all actions immediately without delay?

Aha. This mod only controls the initial state of action groups. It is quite primitive.

Share this post


Link to post
Share on other sites
Posted (edited)

Version 1.8

Changes:

  • Updated to KSP 1.3
  • Some refactoring
  • Localization support added
  • Now, also in Russian. Теперь и на русском
Spoiler

bmXUzeS.png3EwHwD6.png

Please do not hesitate to add other localizations of the mod.

Known issues:

  • A few second hang-up can occur at the first appearance of the GUI. I’m trying to find out what causes it.
Edited by Teilnehmer

Share this post


Link to post
Share on other sites

Thanks for this mod! 

Enlight me on PCtrl option. What it does? thanks.

 

Share this post


Link to post
Share on other sites
9 minutes ago, felcas said:

Enlight me on PCtrl option. What it does?

It sets the initial state of the Precise Control option (the one toggled with Caps Lock key by default).

Share this post


Link to post
Share on other sites
14 minutes ago, fitiales said:

Spanish translation done!

ping @Teilnehmer -- two PRs in github: besides @fitiales work with Spanish I've also taken a shot at ja and zh-cn.

Share this post


Link to post
Share on other sites
Posted (edited)

Version 1.8.1

Changes:

  • Spanish, Japanese, and Chinese translations added.

Thanks, @fitiales and @cakepie!

Edited by Teilnehmer

Share this post


Link to post
Share on other sites

Version 1.9

Changes:

  • Added per-vessel initial trim settings (pitch, yaw, roll, wheel motor, wheel steer).

The new feature needs localization.

If you want to see the trim values in flight, try the Trim Indicator mod.

Share this post


Link to post
Share on other sites

Version 1.9.1

Changes:

  • Japanese and Chinese localization added by @cakepie
  • Spanish localization added by @fitiales

Thanks, guys!

Share this post


Link to post
Share on other sites

Version 1.9.2

  • Updated to KSP 1.3.1

Share this post


Link to post
Share on other sites

hey there getting this when put a rocket on the launchpad

Spoiler

[EXC 01:57:21.824] NullReferenceException: Object reference not set to an instance of an object
    AutoAction.AutoActionEditor.OnGUI ()
[EXC 01:57:21.842] NullReferenceException: Object reference not set to an instance of an object
    AutoAction.AutoActionEditor.OnGUI ()

 

Share this post


Link to post
Share on other sites

Version 1.9.3

  • Exception on Editor to Flight scene change fixed.

 

After a scene change from Editor to Flight, the editor OnGui method keeps being invoked for some reason while the EditorLogic.fetch object is set to null. I’ve added a null check. It should be OK now.

Edited by Teilnehmer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now