Skip to content

Fire - Add protection variable to uniforms#11113

Merged
PabstMirror merged 5 commits intoacemod:masterfrom
DartRuffian:fire/protection-var
Oct 30, 2025
Merged

Fire - Add protection variable to uniforms#11113
PabstMirror merged 5 commits intoacemod:masterfrom
DartRuffian:fire/protection-var

Conversation

@DartRuffian
Copy link
Copy Markdown
Contributor

@DartRuffian DartRuffian commented Oct 25, 2025

When merged this pull request will:

  • Add a config variable to set how protected against fire a uniform is
    • Original intensity and incoming damage are both multiplied by 1 - _protection

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Copy link
Copy Markdown
Contributor

@johnb432 johnb432 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs documentation, but LGTM otherwise.

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
@DartRuffian
Copy link
Copy Markdown
Contributor Author

DartRuffian commented Oct 26, 2025

Needs documentation, but LGTM otherwise.

Wanted to wait in case there was suggested changes. Not really sure how the docs should be formatted.

@johnb432
Copy link
Copy Markdown
Contributor

Needs documentation, but LGTM otherwise.

Wanted to wait in case there was suggested changes. Not really sure how the docs should be formatted.

https://github.com/acemod/ACE3/blob/master/docs/wiki/framework/cargo-framework.md can be used as inspiration imo

@Andx667
Copy link
Copy Markdown
Contributor

Andx667 commented Oct 27, 2025

would this need a follow up PR to add the values to uniforms from 3rd party mods, for which ACE already provides compats (so mianly CUP/RHS/Vanilla) ?

@DartRuffian
Copy link
Copy Markdown
Contributor Author

This PR doesn't modify any uniforms, if you want to do that go ahead

@johnb432 johnb432 added the kind/feature Release Notes: **ADDED:** label Oct 28, 2025
class CfgWeapons {
class yourUniformClass {
ace_fire_protection = 1; // 0-1 value for protection, intensity and incoming damage are scaled by (1 - _protection)
// 0 provides no protection, 1 provides full immunity to fire
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add that 0 is the default if the entry is not present?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary imo, 0 is the default for any getNumber call

@PabstMirror PabstMirror added this to the 3.20.1 milestone Oct 30, 2025
@PabstMirror PabstMirror added the status/added-to-RC Added after RC, need to manually add to changelog label Oct 30, 2025
@PabstMirror PabstMirror merged commit f81de4a into acemod:master Oct 30, 2025
3 checks passed
@PabstMirror PabstMirror removed the status/added-to-RC Added after RC, need to manually add to changelog label Nov 8, 2025
Alien314 added a commit to diwako/armor_plates_system that referenced this pull request Nov 11, 2025
Update compat_ace_fire for ACE's new fire protection - acemod/ACE3#11113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature Release Notes: **ADDED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants