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

[Feature Request] Make (heavy) vehicles destroy or deteriorate trenches #119

Open
0xlord opened this issue Jan 23, 2022 · 5 comments
Open

Comments

@0xlord
Copy link

0xlord commented Jan 23, 2022

Would be a great addition to the mod if vehicles would do (different) damage up to the point that heavy vehicles (think IFVs or MBTs) would destroy them. Would this be possible with the damaging system when shooting them just instead of "touching" them with certain speed levels?

Ideally with a CBA setting in mind so groups can choose if they want to use this feature.

@nomisum
Copy link
Contributor

nomisum commented Jan 23, 2022

shooting trenches should be a thing already. check allowHitDecay CBA setting.

it only works if splash damage is > 1 and the exact formula is:
((_hitValue + _indirectHitValue + _splashDamage)/3000); multiplied by hitDecayMultiplier (another CBA setting)

@nomisum
Copy link
Contributor

nomisum commented Jan 23, 2022

ah sorry, now i seem to understand - you want decay on "bumping" into the trench, right? should be possible, although physx contact EHs are a bit funky. i would likely link the damage to the mass of the object + differentiate between tracked and wheeled.

@0xlord
Copy link
Author

0xlord commented Jan 23, 2022

shooting trenches should be a thing already. check allowHitDecay CBA setting

Yes, I know. Guessed the underlying system could be used for this though.

you want decay on "bumping" into the trench, right

Yes, exactly. Sorry for my bad expression (:

i would likely link the damage to the mass of the object + differentiate between tracked and wheeled.

Great idea for differentiating between vehicles. Would see an APC more going over rather than going through a trench. Should still be damaged though through its weight. Maybe something like mass + drive_system + speed?

@nomisum
Copy link
Contributor

nomisum commented Jan 23, 2022

Sounds good. I hope the engine will handle the animation change "at contact" + network synchronization somewhat gracefully, as Arma is notoriously good at creating tracked rockets. I cant promise any work on this in the near future though.

@0xlord
Copy link
Author

0xlord commented Jan 23, 2022

I cant promise any work on this in the near future though.

No worries. Super happy that you even consider this. Looking forward to any news regarding this. Have nice Sunday evening :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants