Commit Graph

25 Commits

Author SHA1 Message Date
Brandon Danyluk
c4156a6888
Add Vehicle Damage (ACE2 port) & Enhance Cook-Off (#7565)
* Initital port of ACE2 Vehicle Damage

* Add fire damage and burning people

* Migrate vehicle damge stuff from cookoff. Change cookoff function to enhance effect.

* Minor tweaks

* Add incendiary values to all applicable ammunition. Add engine fire/smoke if hit enough

* Handle car damage more elegantly.

* Added ability to create fire sources arbitrarily

* tweaks

* Add chance to detonate after cookoff

* disable compile cache

* Move blown-off turret config to vehicle damage. Add settings inititalized EH for initializing off settings

* tabs->spaces

* Various code improvements

* Change to count loop for deleting effects

* update addon requirements

* remove vanilla config requirements

* Add RHS compatability

* RHS compat. Various QOL fixes/changes

* Various tweaks to compats and code.

* High-Explosive damage tweak

* Change how penetration is calculated for parts

* Fix RHS compat

* Create setting for flare effect

* increase burning scream sounds

* swap out file name for snake_case

* move incendiary values out of vehicle damage. remove medical dependency

* vehicle_dammage - update all refs to snake

* sqf fixes

* fix fire string package caps

* fix pboprefix

* Default setting to on

* Add variables to enable/disable ring fire to avoid goofy looking vehicles. Enhance how particles are cleaned up. Remove advanced penetration simulation. Change how fire intensity is calculated. Add setting to "disable" vehicle after cookoff

* Fix bug where event handler wasn't giving the damage last.

* change to snake

* fix build errors

* Fix UBC

* Fix Order of Operations

* avoid O^2 events

* Make sure that no damage processing happens on dead units

* Change some if statements

* Keep track of player's death to stop various things

* add quotes to right middle wheen

* Add VD documentation

* fire docs

* Code quality fixes

* Clarify documentation

* define IDD

* switch global -> server

* Add newline between header and first code statement

* stop the dead from suffering

Its hard to tell when a unit is dead or in spectator, so check the config of the unit to determine it.

* Add settings to disable cook-off effects

* Delete effects if vehicle is deleted before cookoff occurs. Don't cookoff player ammo. Throw weapon better

* Move fire into own PR

* fix tabs and macro

* Shuffle crew indices so that a random person is first on the list to be injured each time

* fix effects not clearing

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-14 10:49:27 -05:00
LorenLuke
750030c6f1
Changes poisson disc to centered random. (#8257)
It looks nicer and distributes more realistically. I don't know what I was thinking when I first put in poisson disc.
2021-05-20 13:08:37 -05:00
PabstMirror
12cb0993cf Aircraft - Fix ACE_Gatling_30mm_Sub class 2020-01-10 23:14:55 -06:00
LorenLuke
2487d6c8ff
Removes tabs in CfgAmmo 2019-09-04 18:22:43 -07:00
LorenLuke
6f96ca1a64 Added missing magazine and ammunition definitions. 2019-08-31 15:13:38 -07:00
LorenLuke
e6b843f2d2
Fixes double deflecting definition 2019-08-05 12:56:19 -07:00
LorenLuke
92e0d55ef0
Add caliber and deflecting values for AP rounds 2019-08-05 11:10:15 -07:00
LorenLuke
e2c6dee3d9
Fixes deafness issue 2019-08-04 12:35:37 -07:00
LorenLuke
8e46e0d131 Fixes accidental late-night reversion 2019-08-04 04:00:26 -07:00
LorenLuke
06fded2ed8 Removes Tabs 2019-08-04 03:49:23 -07:00
LorenLuke
113eb70c55 Progress commit 2019-08-04 03:36:40 -07:00
LorenLuke
0eee72e393
Removes Whitespace from CfgAmmo 2019-08-01 14:47:45 -07:00
LorenLuke
a41640d411
Added missing semicolon 2019-08-01 02:27:12 -07:00
LorenLuke
09b66294c2
Adjusts 30mm cannon projectiles
Adjust 30mm cannon projectile damage.
Adds AP projectile.
Adds Combat Mix Projectile Capability.
2019-08-01 02:19:11 -07:00
PabstMirror
2712a1ed8a Remove submuntion ammo changes to A-10 (#5231)
* Remove changes to Aircraft cannons

* keep ammo changes, i guess
2017-06-01 20:48:35 -05:00
Neviothr
9b36ccadcc Aircraft cleanup (#4818)
* Cleanup

* Returned lines between classes

* Add files via upload
2017-01-23 12:13:37 -06:00
BaerMitUmlaut
7fcbe93b71 Cleaned up excessive whitespace 2016-05-03 02:32:44 +02:00
jaynus
e83ab4049f Fixed: Tabs everywhere. 2015-04-17 07:30:55 -07:00
jaynus
c136b78fc8 rename 20mm 2015-04-14 15:11:49 -07:00
jaynus
bf70a9ba77 Tracers and colors 2015-04-07 12:59:35 -07:00
jaynus
a744896b20 Fixed: jaynus fucked up. 2015-04-06 18:51:08 -07:00
jaynus
906612f954 Fixed: Gunner FOV, explosive rounds and FPS drop. 2015-04-06 12:54:06 -07:00
jaynus
bdcec243a8 Changed: Comanche Gatling HEDP effects and dispersion. 2015-04-06 09:14:56 -07:00
commy2
20f161a9da aircraft, remove redundant config entries, documentation 2015-02-14 09:36:35 +01:00
commy2
bed800daa5 port aircraft 2015-01-14 00:52:37 +01:00