Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: [1] 2

Author Topic: [0.9.1a] Weapons Group Controls 1.1.0  (Read 65759 times)

stormbringer951

  • Commander
  • ***
  • Posts: 130
    • View Profile
[0.9.1a] Weapons Group Controls 1.1.0
« on: May 17, 2018, 02:30:54 PM »

Download
Supports Version Checker
View source code

Demonstration Image:
Spoiler
[close]

A utility mod that adds some rebindable in-combat hotkeys:

- Deselect All Weapon Groups: Default key [6]. Deselects all weapon groups, even if all 5 weapon groups are defined. Useful if you want to autofire everything and just sit back and pilot.
- Toggle Fire Mode: Default key [7]. Switch selected weapon group between alternating and linked fire type.
- Quick Hold Fire: Default key [8]. Hold down to switch off all weapon groups that do not contain a point defence weapon (or small non-missile weapons when Integrated Point Defence AI is installed) as long as hotkey is held down, re-enabled when key is released.

Inspired by a conversation on Discord with Johnny the Wedge Guy, Avanitia, Snrasha and TheKart.

Credits
Lazywizard - permission to use his code from Empty Weapons Group Selector for Deselect all Weapons Groups hotkey.

Changelog
1.1.0 - 2018-05-24
- Added Unselect all weapons groups button - thanks to LazyWizard for use of the code from his Empty Weapons Selector mod

1.0.0 - 2018-05-17
- Initial Implementation
« Last Edit: May 22, 2019, 09:30:23 AM by stormbringer951 »
Logged
Weapons Group Controls mod - deselect all weapon groups, hold-down hold-fire mode, toggle alternating/linked fire
Captain's Log - throw away your notepad: custom notes, ruins and salvageable reminders
Old Hyperion - for your dose of nostalgia
Adjustable Skill Thresholds - set fleet DP and fighter bay thresholds

A Random Jolteon

  • Commander
  • ***
  • Posts: 156
    • View Profile
Re: [0.8.1a] Weapons Group Controls 1.0.0
« Reply #1 on: May 17, 2018, 03:14:45 PM »

Download
Supports Version Checker
View source code

Demonstration Image:
Spoiler
[close]

A utility mod that adds some configurable in-combat hotkeys:

- Toggle Weapon Group: Switch selected weapon group between alternating and linked fire type.
- Quick Hold Fire: Hold down to switch off all weapon groups that do not contain a point defence weapon (or small non-missile weapons when Integrated Point Defence AI is installed) as long as hotkey is held down, re-enabled when key is released.

Inspired by a conversation on Discord with joaonunes, Avanitia, Snrasha and TheKart.

Changelog

1.0.0 - 2017-05-17
- Initial Implementation
Perfect. I'll test it out when I start playing SS again.
Logged
Hi. I exist. Bye.

stormbringer951

  • Commander
  • ***
  • Posts: 130
    • View Profile
Re: [0.8.1a] Weapons Group Controls 1.1.0
« Reply #2 on: May 23, 2018, 04:51:42 PM »

Mod is updated to 1.1.0.



Thanks to LazyWizard, who gave me permission to incorporate his code from Empty Weapons Group Selector mini-mod as a hotkey for deselecting all weapon groups.
Logged
Weapons Group Controls mod - deselect all weapon groups, hold-down hold-fire mode, toggle alternating/linked fire
Captain's Log - throw away your notepad: custom notes, ruins and salvageable reminders
Old Hyperion - for your dose of nostalgia
Adjustable Skill Thresholds - set fleet DP and fighter bay thresholds

Astraltor

  • Ensign
  • *
  • Posts: 36
    • View Profile
Re: [0.8.1a] Weapons Group Controls 1.1.0
« Reply #3 on: December 25, 2018, 07:21:52 PM »

tested and it seems to work perfectly fine for 0.9!!!
Logged

Daquan_Baton

  • Ensign
  • *
  • Posts: 42
  • Selling this sphere thing for $10
    • View Profile
Re: [0.8.1a] Weapons Group Controls 1.1.0
« Reply #4 on: December 27, 2018, 05:12:59 AM »

Man this is great, I know i'm super late. I've been waiting for a mod like this since I started playing. Much appreciated my guy.
Logged
Trapped in a freaking derelict tugboat...

aZmoDen

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: [0.8.1a] Weapons Group Controls 1.1.0
« Reply #5 on: December 29, 2018, 06:47:33 PM »

only know about this because of the weapon goup thread in general discussion.
would love to see this mod added to the mods list
Logged

stormbringer951

  • Commander
  • ***
  • Posts: 130
    • View Profile
Re: [0.8.1a] Weapons Group Controls 1.1.0
« Reply #6 on: May 21, 2019, 12:16:58 PM »

tested and it seems to work perfectly fine for 0.9!!!

Thanks for doing the leg work and confirming it for people :).

Man this is great, I know i'm super late. I've been waiting for a mod like this since I started playing. Much appreciated my guy.

Cheers!

only know about this because of the weapon goup thread in general discussion.
would love to see this mod added to the mods list

I've been putting it off for no good reason, so sent a request.
Logged
Weapons Group Controls mod - deselect all weapon groups, hold-down hold-fire mode, toggle alternating/linked fire
Captain's Log - throw away your notepad: custom notes, ruins and salvageable reminders
Old Hyperion - for your dose of nostalgia
Adjustable Skill Thresholds - set fleet DP and fighter bay thresholds

Morbo513

  • Captain
  • ****
  • Posts: 317
    • View Profile
Re: [0.9.1a] Weapons Group Controls 1.1.0
« Reply #7 on: May 22, 2019, 09:14:50 AM »

Been wanting something like this for a while and completely missed it. Should be base-game features in the first place really, but thanks for addressing it anyway
Logged

JDCollie

  • Captain
  • ****
  • Posts: 261
    • View Profile
    • My Youtube Channel
Re: [0.9.1a] Weapons Group Controls 1.1.0
« Reply #8 on: August 03, 2019, 11:17:09 AM »

Perfect! I've been flying around with an empty weapon group because I don't like manning the guns while piloting.
Logged

Jastebro

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [0.9.1a] Weapons Group Controls 1.1.0
« Reply #9 on: August 15, 2019, 08:19:08 AM »

I'd like to make a request that a single weapon could be put in more than one weapon group.

For example, when piloting the Onslaught, the fixed twin cannons are too far apart for more than one shot to hit smaller targets.
The AI handles that well on autopilot by only firing the weapon that will actually hit.
But if player controlled, firing both barrels will mean the target has to have a reasonably large hitbox for both shots to land.
The alternative is to set each cannon as a separate group for manual control, but that would mean not being able to fire them both at once at larger targets.
Logged

Rigel

  • Ensign
  • *
  • Posts: 18
    • View Profile
Re: [0.9.1a] Weapons Group Controls 1.1.0
« Reply #10 on: August 21, 2019, 06:37:20 AM »

is it possible to map a hotkey to mouse buttons? i been looking into the link provided in the TOGGLE_WEAPONS_HOTKEYS.ini and it seems number 2 uses for both the keyboard 1 key and mouse middle click which is what im aiming for as i want to bind hold fire to middle click so im not sure how i could bind mouse buttons to it or if its possible
Logged

Rohzdear

  • Ensign
  • *
  • Posts: 21
    • View Profile
Re: [0.9.1a] Weapons Group Controls 1.1.0
« Reply #11 on: September 17, 2019, 06:53:44 PM »

Very useful mod. unfortunately, for whatever reason, the game seems to crash (sometimes) whever I press 6 to deselect all of my weapons during combat.
It's doesn't crash 100% of the time, but when  it does it's certainly an unpleasant experience.

Would appreciate any input as to why this might be happening on my game, as it doesn't seem anyone is suffering from it.
Logged

Sundog

  • Admiral
  • *****
  • Posts: 1723
    • View Profile
Re: [0.9.1a] Weapons Group Controls 1.1.0
« Reply #12 on: September 17, 2019, 07:12:34 PM »

Can you post the last hundred or so lines from starsector.log after a crash? It's in the starsector-core folder.

okj

  • Ensign
  • *
  • Posts: 37
    • View Profile
Re: [0.9.1a] Weapons Group Controls 1.1.0
« Reply #13 on: December 29, 2019, 01:10:38 AM »

can you add a select all group too?
Logged

Vind

  • Admiral
  • *****
  • Posts: 784
    • View Profile
Re: [0.9.1a] Weapons Group Controls 1.1.0
« Reply #14 on: February 11, 2020, 04:25:57 AM »

    Thanks for this very useful mod. Holding fire on all guns except PDs is extremely useful.
Dont know if this is possible to implement but ideally ship must have 2-3 groups of auto/manual weapon presets and switch between them so player can control which guns autofire and which is on hold for a moment. Manually reconfiguring multiple groups with control-number in combat is too awkward.
« Last Edit: February 11, 2020, 04:28:40 AM by Vind »
Logged
Pages: [1] 2