Commit Graph

32 Commits

Author SHA1 Message Date
lambdatiger
eb61f5f7c0 Updated debugging, by default tracking spheres sync properly and messages are a bit clearer 2024-01-14 23:08:37 -06:00
lambdatiger
fbcf196402 Attempt to clean up formatting onall files 2024-01-13 00:35:22 -06:00
lambdatiger
1cf901703a Fixed a few issues script errors that went under the radar until now 2024-01-11 16:13:02 -06:00
lambdatiger
d7f2f673f3 fixed a few more script_comps 2024-01-11 15:44:01 -06:00
lambdatiger
b1d54a1907 Fixed names and updated formatting 2024-01-11 14:01:50 -06:00
lambdatiger
eef48da6bc Converetd all stray tabs to spaces 2024-01-10 18:51:38 -06:00
lambdatiger
ebf1a707c1 Added initialization of material cache for performance 2024-01-10 17:40:36 -06:00
lambdatiger
0af6a74a41 Updated debug settings and staged localization strings 2024-01-10 00:55:33 -06:00
lambdatiger
d25d6a61b3 readded seperate debug draw define 2024-01-09 23:17:08 -06:00
lambdatiger
596240a57d Added init event handlers instead of fired 2024-01-08 21:38:15 -06:00
lambdatiger
bfb3fa851c added fnc_initRound 2024-01-08 18:06:57 -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
GhostIsSpooky
998f86f034
General - Move to CBA Settings (#8461)
* first pass

* second pass

* third pass

* final pass

* missing commas

* newlines

* switch to cba eventhandler

* newlines, formatting

* laser - movedToSQF

* add logging to ace_common_fnc_cbaSettings_loadFromConfig

* Update initSettings.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-11 15:48:30 -05:00
PabstMirror
68a6782078 Switch 2 perm PFEH to everyFrame (#5140) 2017-05-10 11:28:26 -05:00
PabstMirror
8d43b899e6 Frag - Cleanup and Performance (#5010)
* Frag - Cleanup and Performance

* Add dots
2017-04-11 10:33:56 -05:00
PabstMirror
33b19f7b4c Fix MUL macros (#4888) 2017-02-11 15:07:10 -06:00
Ozan Eğitmen
d2ee1e987a Frag Superanal Cleanup (#4803)
* Minimal frag cleanup

* Why did this even happen in the first place
2017-02-10 12:28:27 -06: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
PabstMirror
455f65947a Minor cleanup of fired EH listeners 2016-07-23 23:08:40 -05:00
jonpas
bd5f6107a0 Merge branch 'master' into eol-lf 2016-06-09 14:24:45 +02:00
jonpas
816da2aef1 Normalize to LF line endings 2016-05-30 18:37:03 +02:00
SilentSpike
c4b75160a4 Run event renaming script 2016-05-24 14:13:11 +01:00
SilentSpike
108ff4f644 Replace ACE event system calls with CBA counterparts
Regex used:

\[(.+?),(.+?),(.+?)\]\s+call\s+E?FUNC\((common,)?(target|object)Event\)
[$1,$3,$2] call CBA_fnc_targetEvent

E?FUNC\((common,)?(server|global|local)Event\)
CBA_fnc_$2Event

E?FUNC\((common,)?(add|remove)EventHandler\)
CBA_fnc_$2EventHandler
2016-05-22 16:47:39 +01:00
esteldunedain
b6058242c8 Fix frag fired EH name 2016-02-06 22:20:08 -03:00
esteldunedain
b70ae9207c Apply the ufeh to ACE_Frag 2016-02-06 17:12:28 -03:00
PabstMirror
46cb90254a Add ACE_HashLocation to common 2016-01-04 21:48:26 -06:00
PabstMirror
76c9e1560d Frag - only run addPfhRound on ammo that will frag
If spall is not enabled (default) then calculate which ammo types will
actually cause a frag event, cache and then only track those.
2016-01-01 02:33:08 -06:00
PabstMirror
9c0478ddfd Cleanup 2015-06-18 22:04:48 -05: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
553942bbc7 Initial commit of frag/spalling optimization rewrite. Now tracks in single PFH, with index-based referencing instead of searches. TODO: Break spall calculation up to multiple frames. Needs testing. 2015-05-13 14:33:14 -07:00
ulteq
f54f0cd1fa Renamed init functions 2015-04-27 13:58:18 +02:00