Long Range Turret 2.0


Adds a mid-tier long range gun turret between basic gun turrets and lasers. Features extended range (55 tiles) and greater durability (1000 HP), balanced by slower traverse speed and fire rate. Perfect for perimeter defense and sniper positions.

Content
a day ago
2.0
290
Combat

Changelog

Version: 2.2.1
Date: 2025-01-31
  Bug Fixes:
    - Fixed turret animation bug: frame_count now fixed at 2 for attack animations
    - Removed variable frame_count parameter that caused incorrect turret orientation
Version: 2.2.0
Date: 2025-01-31
  Features:
    - Added mod settings to customize turret parameters:
      - Range (30-100 tiles, default 55)
      - Minimum range (0-20 tiles, default 5)
      - Health (400-2000 HP, default 1000)
      - Damage modifier (1.0-3.0x, default 1.6)
      - Cooldown (10-60 ticks, default 30)
  Optimization:
    - Refactored code with centralized constants module (lr_constants.lua)
    - Reduced code duplication in animation definitions
    - Optimized migration script with loop-based tech scanning
  Locale:
    - Added setting descriptions in English and Russian
  Changes:
    - Improved code organization and maintainability
    - Better documentation throughout codebase
Version: 2.1.0
Date: 2025-01-13
  Bug Fixes:
    - Fixed animation loading errors by correctly specifying HR sprite dimensions and paths
    - Fixed turret orientation issue in prepared state by setting frame_count to 2 for all animation layers
    - Fixed shadow alignment with corrected shift values (23, 3)
  Changes:
    - Adjusted preparing_speed to 0.02 for smoother activation
    - Adjusted folding_speed to 0.002 for slower deactivation
    - Set folded_state_timeout to 300 (5 seconds before folding)
    - Adjusted cooldown to 30 for slower fire rate matching long-range role
    - Implemented stripes definition for multi-file sprite sheets
Version: 2.0.0
Date: 2025-01-11
  Major Features:
    - Ported to Factorio 2.0
  Changes:
    - Updated all prototypes to 2.0 format
    - Removed deprecated hr_version (now using HR graphics by default)
    - Removed deprecated properties: icon_mipmaps, axially_symmetrical
    - Updated recipe format to new ingredient/result structure
    - Updated sound definitions to use new sound system
    - Added prepare_range parameter for turret targeting
    - Added impact_category for collision sounds
    - Fixed technology modifiers (now using numbers instead of strings)
    - Updated migration script for 2.0 compatibility
  Locale:
    - Added Russian localization
    - Maintained English localization
Version: 1.1.2
Date: 2020-01-01
  Info:
    - Original version by ComputerComa for Factorio 1.1
    - Based on original mod by Yehn