Commit Graph

58 Commits

Author SHA1 Message Date
lambdatiger
613784923d removed "class eventhandler" references 2024-07-29 21:04:11 -05:00
lambdatiger
842b818aff updated config path to be relevant to post-EH version 2024-07-18 18:55:46 -05:00
lambdatiger
b656ef6467 Initial rollback to old frag simulation and spalling simulation. Updated spall to function and helpter functions as well 2024-07-17 01:53:40 -05:00
lambdatiger
a6cfcbf697 Removed event handlers 2024-07-16 21:07:50 -05:00
lambdatiger
0321b78385 Moved "isServer" check to initRound function 2024-01-17 19:41:07 -06:00
lambdatiger
4be8c821cb Better approach to ACE_FRAG_RM_EH macro 2024-01-16 22:47:42 -06:00
lambdatiger
8683e0aa56 Fixed array of double spaced format errors 2024-01-15 16:10:01 -06:00
lambdatiger
ea654c8e56 Capitalized config entries 2024-01-15 15:36:58 -06:00
lambdatiger
e073d36a2f trailing spaces 2024-01-15 14:09:20 -06:00
lambdatiger
6ae6b55e65 Added trailing empty braces for classes that aren't actually changed 2024-01-13 00:47:32 -06:00
lambdatiger
a589f904cf Made configs easier to follow and hopefully fixed inheritance issue 2024-01-13 00:11:37 -06:00
lambdatiger
ef8a73df0c Changed an attempt to break inheritance and just did it the normal way. 2024-01-12 22:31:51 -06:00
lambdatiger
735d04e248 Fixed all inhertance issues 2024-01-12 22:21:56 -06:00
lambdatiger
6257dd3ee2 We love config inheritance 2024-01-12 21:19:39 -06:00
lambdatiger
12c5a69d23 missed inheritance check 2024-01-12 20:36:02 -06:00
lambdatiger
b836708237 Updated all vanilla classes with ace_frag parameter entries 2024-01-12 20:28:45 -06:00
lambdatiger
e290fd7c04 Fixed MP compat issue 2024-01-11 15:44:15 -06:00
lambdatiger
8ec812b97d Fixed config spacing and multiple defines of classes 2024-01-10 20:32:07 -06:00
lambdatiger
eef48da6bc Converetd all stray tabs to spaces 2024-01-10 18:51:38 -06:00
lambdatiger
026e12b2f9 Added methods to retrieve impact surface type 2024-01-09 17:25:09 -06:00
lambdatiger
fbb3c8ad93 removed some init eventhandlers to make debugging easier 2024-01-08 21:40:37 -06:00
lambdatiger
c6ba93a26d Split configs and added init EH 2024-01-08 18:06:30 -06:00
lambdatiger
c95a8ca21b Fixed configname conflict after merging spall & frag cfgAmmos 2024-01-08 16:05:46 -06:00
lambdatiger
51196804f9 Fixed accidental tab addition 2024-01-08 15:33:36 -06:00
lambdatiger
3c1e912787 Initial commit:
- Added new ammo cfg types
 - Added new caching functions
 - Added dev functions
 - Transfered core system to vanilla projectile EHs
 - Added stringtable sub categories
 - Reworked fragmenting and spalling to us submunitions
   - Frag
     - Implemented system around chance to hit
     - Switched from hitbox estimation to hitting specific HPs
     - Updated chance to miss method based on solid angle hit chance
     - Split random & targeted frag to their own subfunctions
   - Spall
     - Uses a system of estimated momentum changes to generate spall
2024-01-08 15:22:52 -06:00
lambdatiger
6c212ca377 Initial commit or frag & spall rewrite 2024-01-08 15:21:32 -06:00
Grim
34c5988333
Frag/Medical Damage - Treat shrapnel as grenade damage (#9218)
* treat shrapnel as grenades

* switch to frag
2023-06-22 04:06:52 -03:00
BrettMayson
a40b0d48f2
HEMTT v10 Compatibility (#9105)
* HEMTT v10 Compatibility

* Update addons/field_rations/CfgUIGrids.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* fix PabstMirror review

* optionals

* End empty macro definitions with semi-colon (HEMTT v0.10)

* Adapt to HEMTT v0.10.0-a14

* Revert End empty macro definitions with semi-colon

* Disable old HEMTT build step in CI

* Add missing include and fix macro usage and include casings

* End empty macro definitions with semi-colon (HEMTT v0.10)

* Update addons/disarming/functions/fnc_showItemsInListbox.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* cleanup test code

* arty - keep style same as before

* fix fire screams

* Update script_component.hpp

* Keep old hemtt/workflow/sqfc

* Update arma.yml

* Update arma.yml

* Update CfgUIGrids.hpp

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-02-01 23:28:55 -06:00
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
Neviothr
6278b67370
Frag - Add frag values to R_MRAAWS_HE_F (#7927)
* Add frag values to R_MRAAWS_HE_F

* damn tabs

* Use GVAR() macro
2020-10-03 18:32:21 -05:00
Tim Beswick
0db28f89b7 Hellfire submunition (#6299)
Hellfire - Update to use 1.82 submunition
2018-05-31 17:57:40 -05:00
PabstMirror
5ea2069b76
Arma 1.82 compat (#6201)
* Arma 1.82 compat

* Add tank to required addons
2018-04-11 15:18:05 -05:00
PabstMirror
321bb0bc57 Add frag definitions for remaining ammo (#4736)
Remove rpt warning
Close #342
2016-12-01 11:01:55 -06:00
Ozan Eğitmen
49b5a0ea86 Cleanup Frag Component (#4581)
* Cleanup frag component

* Optimize fnc_addTrack

* Add additional cleanup

* Please work?

* Add more cleanup

* Fix script errors

* Fix/optimize spalling

* Add missing changes
2016-10-27 00:16:31 +02:00
Ozan Eğitmen
8f80cd59c8 Use GVAR where applicable 2016-07-20 07:15:18 +03:00
jonpas
816da2aef1 Normalize to LF line endings 2016-05-30 18:37:03 +02:00
PabstMirror
9f6661f4db Make 40mm Grenades Frag (#3679)
* Make 40mm Grenades Frag

* Just use existing force cfg instead of adding new

Add RHS compat entries
2016-05-07 15:35:39 -05:00
BaerMitUmlaut
7fcbe93b71 Cleaned up excessive whitespace 2016-05-03 02:32:44 +02:00
jaynus
58a55313cd Changed: Entire frag system re-optimized to a single tracking/GC index-based PFH.
Changed: Spalling calculations now throttled across frames and limited; accurate but performant
Changed: All lookups are now index-based on a global projectiles array. This reduced runtime dramatically for all fragmentation.
2015-05-13 17:06:10 -07:00
jaynus
aef896cc21 Merge remote-tracking branch 'origin/explosive_reflection' into fragSpallOptimization
Conflicts:
	addons/frag/XEH_preInit.sqf
2015-05-13 15:52:18 -07:00
jaynus
b7b6cb6086 Fixed: Adds an enabler config to ace_frag, disabling the PFH for any round not enabled. 2015-05-08 11:27:17 -07:00
commy2
a97c934688 fix ubc, fix #938 2015-05-01 11:01:07 +02:00
ulteq
d2aa28715d Merge pull request #874 from acemod/fragCleanup
Frag cleanup
2015-04-30 10:35:25 +02:00
ulteq
e77ddcf837 Added Sh_105mm_HEAT_MP frag config 2015-04-30 10:35:06 +02:00
ulteq
59017ed79d Added more frag configs:
* R_Hydra_HE
* Sh_120mm_HE
* Sh_125mm_HE
* Missile_AGM_02_F
* M_Hellfire_AT
2015-04-30 10:26:00 +02:00
ulteq
00dc0ef01e Added frag classes array for 82mm shell 2015-04-29 17:48:19 +02:00
ulteq
989332831f Added frag configs for 82mm and 155mm shells 2015-04-29 17:42:37 +02:00
ulteq
2068eaea75 Added G_40mm_HE config, changed 40mm gurney_k values 2015-04-29 13:53:38 +02:00
ulteq
1fc044dfa9 Cleanup++:
*Moved GVAR(enabled) into ACE_Settings.hpp
*Replaced BIS_fnc_magnitude with vectorMagnitude
*Renamed Nou_GBU12
*Added G_40mm_HE config data
2015-04-26 23:14:54 +02:00
KoffeinFlummi
9ac662ea7c Lowercase curator ammo frag entries 2015-04-26 00:01:48 +02:00