Skip to content

Conversation

@jslay88
Copy link
Owner

@jslay88 jslay88 commented Dec 18, 2025

🎮 v2.0 Major Update - Asset Generation Pipeline, Plugin Settings & 30+ New Stratagems

✨ New Features

🔧 Plugin Settings

The plugin now has a settings page accessible via Settings → Plugins → HELLDIVERS 2 → ⚙️

Setting Description
Key Delay Adjust delay between key presses (0.01-0.20s). Increase if stratagems fail to register.
Modifier Key Choose which key opens the stratagem menu (Left/Right Ctrl, Alt, or Shift)
Hold Modifier Toggle between holding the modifier during the sequence vs press-and-release
Show Labels Toggle the button labels for the stratagems
image

🚀 Update Module for Developers

A new update/ module automates asset generation:

  • Discover new stratagems from wiki.gg and the SVG repository
  • Generate all assets with a single command
  • Validate configuration and detect issues

python -m update discover # Find new stratagems
python -m update generate-all # Generate all assets
python -m update validate # Check configuration

🎯 30+ New Stratagems

Added support for all the latest stratagems including:

Category New Stratagems
Weapons Commando, Epoch, GL-52 De-Escalator, Maxigun, Speargun, Sterilizer, WASP Launcher
Backpacks Directional Shield, Hover Pack, Warp Pack
Guard Dogs "Guard Dog" Dog Breath, "Guard Dog" Hot Dog, "Guard Dog" K9
Sentries Flame Sentry, Laser Sentry
Orbitals Orbital Napalm Barrage
Emplacements Anti-Tank Emplacement, Grenadier Battlement
Vehicles Fast Recon Vehicle
Mines Anti-Tank Mines, Gas Mine
Objectives Solo Silo, Tectonic Drill, One True Flag, Dark Fluid Vessel, Cargo Container
Explosives Expendable Napalm, Portable Hellbomb

🔄 Changes

  • Migrated to KeyAction base class for improved compatibility
  • Improved error handling with helpful log messages for permission issues
  • Optimized icon file sizes - average ~60% reduction in file size
  • Updated README with comprehensive developer documentation

🧪 Testing Tool

New test_stratagems.py script for validating stratagem sequences without launching the game.

image

📋 Developer Notes

The update/ module uses config.py as the single source of truth. When adding new stratagems:

  1. Run python -m update discover to find new entries
  2. Add mappings to update/config.py
  3. Run python -m update generate-all

See AGENTS.md for comprehensive AI assistant documentation.

…nd 30+ new stratagems

## Major Features

### Update Module (new)
- Automated asset generation pipeline in update/ directory
- Scrapes stratagem sequences from helldivers.wiki.gg
- Downloads and converts SVG icons to PNG with colored corner borders
- Generates locales with smart label splitting for Stream Deck buttons
- CLI tool: python -m update [discover|generate-all|icons|locales|stratagems|validate|list]

### Plugin Settings (new)
- Key Delay: Configurable delay between key presses (0.01-0.20s)
- Modifier Key: Choose Left/Right Ctrl, Alt, or Shift
- Hold Modifier: Toggle between hold-during-sequence vs press-release

### New Stratagems
Added 30+ new stratagems including:
- Anti-Tank Emplacement, Anti-Tank Mines
- Commando, Epoch, Fast Recon Vehicle
- Flame Sentry, Laser Sentry
- Guard Dog variants (Dog Breath, Hot Dog, K9)
- GL-52 De-Escalator, Maxigun, Speargun, Sterilizer
- Orbital Napalm Barrage
- Hover Pack, Warp Pack
- And many more...

## Other Changes
- Migrated actions to KeyAction base class
- Improved error handling and logging
- Optimized icon file sizes (avg ~60% smaller)
- Updated README with developer documentation
- Added AGENTS.md for AI coding assistants
- Added test_stratagems.py for validating sequences
- Cleaned up .gitignore
- New setting to show/hide text labels on stratagem buttons
- Labels update immediately when setting is changed
- Updated README and AGENTS.md with settings documentation
- Version bump to 2.0.0 for major release
- Updated icon attribution to nvigneux SVG repository
- Add virtual environment setup instructions for update module
- Add settings screenshot to README
- Simplify update module running instructions
- Note that .venv is in .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants