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

Cookoff - Reword settings and move to cba #6892

Merged
merged 2 commits into from Mar 31, 2019
Merged

Conversation

PabstMirror
Copy link
Contributor

class GVAR(enableAmmoCookoff) { 
// For CBA Setting Switch: we can eliminate and just use (ammoCookoffDuration == 0)

are we ok actually doing this, I think it might have been written back when we though we would lose all saved setting when converting?

@PabstMirror PabstMirror added the kind/cleanup Release Notes: **CHANGED:** label Mar 25, 2019
@PabstMirror PabstMirror added this to the 3.12.7 milestone Mar 25, 2019
@jonpas
Copy link
Member

jonpas commented Mar 25, 2019

are we ok actually doing this, I think it might have been written back when we though we would lose all saved setting when converting?

I think it's clearer to be kept as it is now. But could also be more confusing, I am not sure.

@kymckay
Copy link
Member

kymckay commented Mar 25, 2019

I think it might have been written back when we though we would lose all saved setting when converting

I believe it may have been me who added that comment and this was the case. Neither strongly for/against keeping it.

@PabstMirror
Copy link
Contributor Author

PabstMirror commented Mar 26, 2019

(not directly related to this PR, just cookoff in general)
It is a shame that a lot of the good turret effects have been disabled by default.
IMHO, the problem was some of the damage handling might be based on realism, but just never felt right to me

// Would never blow up with AP rounds (part of this problem is crew didn't take enough damage)
if (_hitpoint in ["hithull", "hitfuel", "#structural"] && {!IS_EXPLOSIVE_AMMO(_ammo)}) then { 
...
// _newDamage had to be very large to do anything
if (_hitpoint in ["hithull", "hitturret", "#structural"] && {_newDamage > 0.8 + random 0.2}) then { 

We could add a third option for handle damage, that would use the vanilla damage model, so tanks would die when they would in vanilla,
but use a quick version of cookoff effects instead of just blowing up

handleDamageNew = {
    if ((_hitpoint in ["hithull", "hitfuel", "#structural"]) && {_damage > 0.89}) then {
        [_veh, true] call FUNC(cook-offX) // quickly add efects and eventually explode
        0.89 // don't exlode yet
    } else {
        _damage
    };
};

@PabstMirror PabstMirror merged commit c7e6549 into master Mar 31, 2019
@PabstMirror PabstMirror deleted the cookoffSettings branch March 31, 2019 02:54
@PabstMirror PabstMirror modified the milestones: 3.12.7, 3.13.0 Jul 5, 2019
BaerMitUmlaut pushed a commit that referenced this pull request Aug 5, 2019
* Cookoff - Reword settings and move to cba

* Update stringtable.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Release Notes: **CHANGED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants