Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotating turret and Fire arc restriction #3643

Open
wants to merge 11 commits into
base: Development
Choose a base branch
from

Conversation

CMDR-Bill-Doors
Copy link
Contributor

@CMDR-Bill-Doors CMDR-Bill-Doors commented Jan 14, 2025

Additions

The ability to set a turret to "non-snap", so that the turret turns at a finite speed to train on target. Weapon warm up will be ticking until 1 while turning but aiming will be prevented, and will only fire when it can turn toward target at next tick.
The ability to do so is toggled via the existance of NonSnapTurretExtension modextension in turret building's def.

Non snap turrets will prioritize targets near its current orientation, with weight adjustable in mod extension.

Turrets can have their arc of fire adjusted, with maximal and minimal amount adjustable in compprops. This behaviour is enabled via the CompFireArc comp in turret building's def

Alternatives

Light-speed turret motors.

WIP

Gizmo texture

Testing

Check tests you have performed:

  • Compiles without warnings
  • Game runs without errors
  • Playtested a colony (specify how long)

@CMDR-Bill-Doors CMDR-Bill-Doors requested review from a team as code owners January 14, 2025 16:13
Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-12771783874.zip

@github-actions github-actions bot added the Download in Comments This PR has a zipfile download available. label Jan 14, 2025
Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-12772460321.zip

Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-12781532455.zip

Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-12843256921.zip

Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-12966962024.zip

Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-12967044508.zip

Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-12971233786.zip

Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-12971617651.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Download in Comments This PR has a zipfile download available.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants