Commit Graph

36 Commits

Author SHA1 Message Date
johnb432
60d0af88b7
Update addons/frag/script_component.hpp 2024-03-29 12:14:50 +01:00
lambdatiger
5bab127a5a removed some magic numbers, and cached numbers from shouldSpall 2024-03-28 19:13:21 -05:00
lambdatiger
786ce92274 Updated default fallback frag distance to be less extreme and changed fixed a magic number 2024-03-17 17:23:16 -05:00
lambdatiger
deecaf9249 Removed unneeded ground offset 2024-03-04 22:19:38 -06:00
lambdatiger
98caad5936 initRound ordering and fixed define names 2024-03-02 22:33:40 -06:00
lambdatiger
4ef23df3b3 white space, function headers and variable names 2024-02-14 20:07:19 -06:00
lambdatiger
1da1c68803
Apply suggestions from code review
Small formatting changes and small errors

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 16:50:09 -06:00
lambdatiger
f63b4088eb Added commented 2.18 commands and updated script component 2024-02-08 17:11:36 -06:00
lambdatiger
35400620c7 Increased relative chance to hit torso/pelvis when fragemnt should hit. 2024-01-21 17:08:48 -06:00
lambdatiger
7aa17aa91b Grammatical erros 2024-01-16 15:38:47 -06:00
lambdatiger
8683e0aa56 Fixed array of double spaced format errors 2024-01-15 16:10:01 -06:00
lambdatiger
54c4f45cf9 possilbe "magic number" cleanup and formatting 2024-01-15 15:18:42 -06:00
lambdatiger
eeb08c3f05 Made variable names more verbose and added trailing newlines 2024-01-15 13:42:45 -06:00
lambdatiger
63cd1ed06a Last commit had debug staements uncommented 2024-01-15 01:33:25 -06:00
lambdatiger
5273b002f9 Replaced a magic number 2024-01-15 01:18:47 -06:00
lambdatiger
e1578188c9 Made debug mode semi-MP compliant 2024-01-14 18:47:18 -06:00
lambdatiger
fe1850a34a Fixed issue with spalling happening on thin surfaces instead of thicker surfaces hit afterwards 2024-01-14 18:46:52 -06:00
lambdatiger
fbcf196402 Attempt to clean up formatting onall files 2024-01-13 00:35:22 -06:00
lambdatiger
a04e7a83e6 Small bug & config name fixes 2024-01-10 18:34:54 -06:00
lambdatiger
2a1f609e3c changed files names and small optimizations 2024-01-10 17:41:13 -06:00
lambdatiger
d25d6a61b3 readded seperate debug draw define 2024-01-09 23:17:08 -06:00
lambdatiger
026e12b2f9 Added methods to retrieve impact surface type 2024-01-09 17:25:09 -06:00
lambdatiger
fc398ff042 Updated some stringtable entries 2024-01-09 00:27:13 -06:00
lambdatiger
53976e39a3 fixed spelling errors 2024-01-08 21:40:12 -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
PabstMirror
8d43b899e6 Frag - Cleanup and Performance (#5010)
* Frag - Cleanup and Performance

* Add dots
2017-04-11 10:33:56 -05: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
commy2
05d30c5573 convert log macros to cba versions (#4282)
* convert log macros to cba versions

* Add changes to AB

* remove obsolete macro
2016-10-02 12:55:31 +02:00
BaerMitUmlaut
88b58216ee Added beautified component names 2016-06-20 11:44:36 +02:00
jonpas
816da2aef1 Normalize to LF line endings 2016-05-30 18:37:03 +02:00
PabstMirror
46d6e92bca Add quick debug defines to all script_components 2016-01-28 23:26:02 -06:00
Kavinsky
8e9b35c757 Fixed Capitalized folders on include paths 2015-05-20 23:28:10 +02:00
jaynus
1bb6be5654 Cleaning up of all tabs in source code files. 2015-04-06 09:22:43 -07:00
Nou
12cadc603f Fragmentation enabled. 2015-03-21 21:22:16 -07:00
jaynus
1e29509b45 Dragon, lasers, air_hud and javelin code. 2015-01-11 10:24:19 -08:00