Apply warmup penalty to shots in darkness#3885
Closed
Keshash wants to merge 525 commits into
Closed
Conversation
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-15003110169.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-15122313420.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-15137956224.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-15138114283.zip |
Miho Patch Fix
Firefoam Marketvalue
Add public float screenShakeFactor; to CompProperties_ExplosiveCE and screenShakeFactor : Props.screenShakeFactor to GenExplosionCE.DoExplosion
Mod Menu UI
Update CE_M72.png
…-Fire Remove Avoid Friendly Fire from incompatibility list
Add screenshake field in CompProperties_ExplosiveCE
…F.AnimalBehaviours (part of VEF)
Gravity Constant Readability
Retarget VE basegen patch
Update references to AnimalBehaviours to target VEF.AnimalBehaviours
…espaces File scoped namespaces
…pawner Revert delta-ticks for fleck comp
Squash Viral's Bipod fixes
Fixed mortar aim
…nded-Continued/CombatExtended into DarknessWarmupPenalty
Contributor
Author
|
ahhh, i messed something up big time. will open a new pr instead |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-16167424262.zip |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Additions
Describe new functionality added by your code, e.g.
Increases warmup time when shooting in darkness. 100% darkness gives +100% warmup time (with the current curve). Uses the same method as the accuracy penalty to calculate this.
Night vision reduces this penalty.
Does not apply to launchers that don't require line of sight (i.e. mortars)
Togglable in mod settings, off by default
Doesn't work for turrets, but subsequent shots also don't work for turrets currently and they both should apply at the same time. Related issue: [Bug]: Subsequent shots don't apply to turrets on Snapshot and Suppressive. #3886
References
Links to the associated issues or other related pull requests, e.g.
Reasoning
Why did you choose to implement things this way, e.g.
Alternatives
Describe alternative implementations you have considered, e.g.
Testing
Check tests you have performed: