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

Fix Large IED defuse distance #5261

Merged
merged 7 commits into from
Jun 9, 2017
Merged

Conversation

Phyma
Copy link
Contributor

@Phyma Phyma commented Jun 8, 2017

When merged this pull request will:

  • IED will get size variable. 0 for small, 1 for large.
  • This size will determine how far the defuse range should be, might be used for other things aswell.
  • Increase defusal range for large IEDs to replicate behaviour of small IEDs, you can now crouch to big IEDs but be aware!
  • Will add Tip on wiki about defusing
  • Will fix Large IEDs (pressure plate) exploding before defuse action is shown #5258

PS I know _size == 1 might be redundant but its how I write because _size is formally a number not a bool then you have to compare it and not just if (_size)

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Jun 8, 2017
@Phyma
Copy link
Contributor Author

Phyma commented Jun 8, 2017

Last commit is ofc: Fixed typo hehe

@PabstMirror
Copy link
Contributor

I still couldn't defuse the big ied without exploding

		class RangeTrigger: Default {
			mineTriggerType = "radius";
			mineTriggerRange = 2;

is more than the large's 1.5m

so maybe we need a huge size?

@Phyma
Copy link
Contributor Author

Phyma commented Jun 8, 2017 via email

@PabstMirror
Copy link
Contributor

I think it explodes at 2, so probably at least 2.5

@Phyma
Copy link
Contributor Author

Phyma commented Jun 8, 2017 via email

@jonpas jonpas changed the title Largeied fix Fix Large IED defuse distance Jun 8, 2017
@PabstMirror PabstMirror added this to the 3.10.0 milestone Jun 8, 2017
@PabstMirror
Copy link
Contributor

Adding notes from slack

`cursorObject distance (player modelToWorld (player selectionPosition "pilot"))` = 1.35
`cursorObject distance player` = 2.02676

So that's why prone is safer
and it's possible to defuse large IED while crouched

@@ -27,10 +27,13 @@ class CfgAmmo {
class PipeBombCore: TimeBombCore;
class PipeBombBase: PipeBombCore;
*/
// GVAR(size) = 0; is small size
// GVAR(size) = 1; is large size
Copy link
Member

Choose a reason for hiding this comment

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

This should be put into the framework page of documentation.

Copy link
Contributor

Choose a reason for hiding this comment

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

added

@PabstMirror PabstMirror merged commit 48b9a61 into acemod:master Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Large IEDs (pressure plate) exploding before defuse action is shown
3 participants