Commit Graph

529 Commits

Author SHA1 Message Date
lambdatiger
283b80645e Added unneeded class details to make PBOproject happy 2024-04-13 21:38:28 -05:00
lambdatiger
d6c400ee54 Missed variable when updating 2024-04-13 21:30:23 -05:00
lambdatiger
ce60bd35de Almost finished with compats and I had some changes to align vanilla as well 2024-04-13 21:22:31 -05:00
lambdatiger
3c2a3c7ef2 caught calc error while answer johnb's question 2024-04-13 21:21:05 -05:00
lambdatiger
eb24c11e82 Reformatted for legibility and debug output 2024-04-13 21:20:35 -05:00
lambdatiger
25f14af679 updated debugging output and fixed velocity error 2024-04-13 21:20:06 -05:00
lambdatiger
2206ef4ff1 Removed unused classes, redefined using macros to minimize error and make review easier 2024-04-13 21:19:43 -05:00
johnb432
e8283c30a0 Use getOrDefaultCall 2024-04-01 15:31:18 +02:00
johnb432
ecf5dbf541 Merge branch 'master' into pr/9728 2024-03-29 12:20:05 +01:00
johnb432
60d0af88b7
Update addons/frag/script_component.hpp 2024-03-29 12:14:50 +01:00
lambdatiger
08002058d2 Final function example reformat 2024-03-28 20:01:29 -05:00
lambdatiger
a817e5e4d2 removed excess square brackets 2024-03-28 19:59:49 -05:00
lambdatiger
bd23b42863 cleaned up function examples 2024-03-28 19:33:56 -05:00
lambdatiger
5e41b51b5a Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-03-28 19:24:13 -05:00
lambdatiger
c487f7f511
Unify example formatting
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2024-03-28 19:23:50 -05:00
lambdatiger
ef39e78db9 removed magic numbers and cached values preemptively (normally spallInfoCache is called later, but we pull the right config parameters so we might as well store them) 2024-03-28 19:17:13 -05:00
lambdatiger
5bab127a5a removed some magic numbers, and cached numbers from shouldSpall 2024-03-28 19:13:21 -05:00
lambdatiger
eda865f377 Randomized random frag directions 2024-03-28 19:05:41 -05:00
johnb432
415d2f685c
General - Change FUNC to LINKFUNC where appropriate (#9882)
FUNC -> LINKFUNC
2024-03-28 13:57:23 -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
johnb432
04a3ba8bb4 Moved event to preInit 2024-03-17 13:41:09 +01:00
johnb432
ab51d8f8b0 Fix typo 2024-03-13 20:38:32 +01:00
johnb432
9dd45e15ce Expanded TRACE 2024-03-13 20:34:13 +01:00
V1nsyara
a3b9c53fd8
Translations - Russian - Fix (#9841)
Russian Translate - Fix
2024-03-09 16:56:33 -06:00
Grim
e06c6f7835
General - Replace toLower with toLowerANSI where applicable (#9790)
* General - Replace toLower with toLowerANSI where applicable

* whoops

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

* Update addons/repair/functions/fnc_setHitPointDamage.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/repair/dev/draw_showRepairInfo.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/tagging/XEH_preStart.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/vehicle_damage/functions/fnc_handleCookoff.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/tagging/XEH_preStart.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* comparment -> compartment

* Update fnc_showHud.sqf

* Update fnc_registerObjects.sqf

* Update addons/common/functions/fnc_cbaSettings_settingChanged.sqf

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-03-07 22:08:13 +01:00
lambdatiger
deecaf9249 Removed unneeded ground offset 2024-03-04 22:19:38 -06:00
lambdatiger
4583a0dc9c reformatted comments and some v2.18 remakrs comments 2024-03-02 23:55:32 -06:00
lambdatiger
ff98917639 Fixed function header 2024-03-02 22:46:55 -06:00
lambdatiger
98caad5936 initRound ordering and fixed define names 2024-03-02 22:33:40 -06:00
lambdatiger
fd2c59581a Fixed ordering in which frag hold off variables are set to not skip when unneeded 2024-03-02 22:31:30 -06:00
lambdatiger
9c6a919bb9 Do spall exits for time 90% of the time (round hits multiple walls) and should exit on "hitting ground since no spalling is generated 2024-03-02 22:29:41 -06:00
lambdatiger
4c905fed42 Clarified trace statements and corrected format and spelling 2024-03-02 22:28:41 -06:00
lambdatiger
5915d0ee64 removed unnceassary "disableCollisionWith" 2024-03-02 19:21:51 -06:00
lambdatiger
3e52ce2981 doFragRandom was always being called and spawning at least 5 fragments even when the fragment budget of 50 was reached. Fixed variable name (AGL instead of ATL). 2024-03-02 19:17:38 -06:00
lambdatiger
3cb07e8323 removed "_lo" random fragment entries as they are unused 2024-03-02 18:08:03 -06:00
lambdatiger
8a2f40c360 Changed sphere size and added return based on usage in dev_trackHitBox 2024-03-02 18:00:11 -06:00
lambdatiger
f57ac94325 Small coding standard changes (missing semicolons on non-return values, extra parenthesis) 2024-03-02 17:59:45 -06:00
lambdatiger
e3395c5a20 Removed unused stringtable entries & fixed hitbox description 2024-03-02 17:22:32 -06:00
johnb432
d6a37f3fde Change stringtable entries 2024-03-02 16:36:43 +01:00
johnb432
d6c21e0cc4 Made clear traces global again, added interaction condition 2024-03-02 14:54:19 +01:00
johnb432
480d2df446 Ignore curators and spectators 2024-03-01 19:51:51 +01:00
johnb432
279f2e0552 Formatting and header fixes 2024-03-01 19:51:21 +01:00
johnb432
fc745e49ab Removed outdated code 2024-03-01 19:14:07 +01:00
lambdatiger
05dedff99d reworked some function headers and deleted whitespace in doFragTargeted 2024-02-20 20:32:05 -06:00
lambdatiger
b98aae7866 cleaned un-updated stringtable entries 2024-02-17 13:12:33 -06:00
lambdatiger
c3470de534
stopped adding unneeded extra points
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-17 13:04:19 -06:00
lambdatiger
dd65fc8f38
missing underscore in fnc_dev_trackObj
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-17 13:03:09 -06:00
lambdatiger
008328c7b0 reorganized postInit CBA_settingInitialized EH 2024-02-16 16:56:13 -06:00
lambdatiger
4728a56394 Cleaned up documentation and documentation 2024-02-16 16:54:53 -06:00
lambdatiger
7248496e62 optimized dev_trackHitbox and made variables more explicit 2024-02-16 16:40:27 -06:00
lambdatiger
a8778a6226 added changes to stringtable 2024-02-15 21:14:03 -06:00
lambdatiger
66c566b772 Possible shouldFrag legibility improvement 2024-02-15 21:05:31 -06:00
lambdatiger
4913887e36 added MP debug compatability 2024-02-15 21:05:08 -06:00
lambdatiger
6cbfe15c4c changed defaults to make them more clear they're just a default value 2024-02-15 21:04:05 -06:00
lambdatiger
dfdea2d9c7 function header and variable name readability 2024-02-15 21:03:29 -06:00
lambdatiger
78a27ff025 function header, lazy eval, and params list simplifications 2024-02-15 21:03:12 -06:00
lambdatiger
656fa9f7f7 fixed missing underscore in change from review 2024-02-15 21:01:02 -06:00
lambdatiger
c09c2a170c reformatted function headers, removed value type checking, and changed lazy eval. 2024-02-15 20:59:58 -06:00
lambdatiger
668d222a3f Removed blacklist functions and settings 2024-02-15 18:13:06 -06:00
lambdatiger
7e54280ee9 Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-02-15 15:56:49 -06:00
lambdatiger
bc2a6bb9d9
small Should spall optimization
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 20:15:38 -06:00
lambdatiger
4ef23df3b3 white space, function headers and variable names 2024-02-14 20:07:19 -06:00
lambdatiger
a976b28c69 magic number clean up and white space 2024-02-14 19:57:49 -06:00
lambdatiger
ae116e2577 variable name changes 2024-02-14 19:55:26 -06:00
lambdatiger
4d9f61eeaf
Update addons/frag/functions/fnc_dev_drawTrace.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 18:50:01 -06:00
lambdatiger
61029ba723
Update addons/frag/functions/fnc_dev_addRound.sqf
If the round isn't in the hashmap anymore, we have to stop the PFH.
Brought code up to same standard as used in FUNC(dev_trackObj). - johnb432

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 17:56:05 -06:00
lambdatiger
fa241cacb5
Removed doublespace
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 17:14:43 -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
665707bbda a Brett (HEMTT) suggested change I miss 2024-02-08 17:29:03 -06:00
lambdatiger
a4c88ec713 removd unneeded define 2024-02-08 17:23:33 -06:00
lambdatiger
2ad2564a1e removed all spaces from macros 2024-02-08 17:12:11 -06:00
lambdatiger
60543a5f59 added print incomplete only option to fnc_debugAmmo 2024-02-08 17:11:57 -06:00
lambdatiger
f63b4088eb Added commented 2.18 commands and updated script component 2024-02-08 17:11:36 -06:00
lambdatiger
07f055e16d updated some round types 2024-02-08 17:10:04 -06:00
PabstMirror
a3aef6a066
General - Cleanup spaces in macros (#9769)
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
2024-02-05 14:04:24 -03:00
lambdatiger
fd6b9bcee1 Removed double space 2024-01-21 17:08:59 -06:00
lambdatiger
35400620c7 Increased relative chance to hit torso/pelvis when fragemnt should hit. 2024-01-21 17:08:48 -06:00
lambdatiger
33afd8ab33 Merge branch 'ACE_advancedThrowing-shotParent-issue' 2024-01-20 18:57:56 -06:00
lambdatiger
2e6186c09b Changed case output to match config 2024-01-19 13:32:22 -06:00
lambdatiger
40b9cd3c41 Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-01-18 19:38:54 -06:00
lambdatiger
2d9828de91 removed unneeded toLower 2024-01-18 19:16:39 -06:00
lambdatiger
00dc4193ad changed SPG-9 Fragments 2024-01-18 18:22:17 -06:00
lambdatiger
863692625d optimization, see https://github.com/acemod/ACE3/pull/9728#discussion_r1458112339 2024-01-18 18:21:39 -06:00
lambdatiger
a3efede64f Fixe bad search function 2024-01-18 16:01:11 -06:00
lambdatiger
f3788afc89 Since the functions always exist, I guess these variables should too 2024-01-18 16:00:42 -06:00
lambdatiger
5f1cf0b4b6 saving people from their own bad testing setup 2024-01-18 16:00:15 -06:00
lambdatiger
78a15b1d5c
Optimize dev_hitbox deleting
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-18 15:13:36 -06:00
lambdatiger
8b3826a78c
white space for clarity
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-18 15:10:31 -06:00
lambdatiger
4ebbc28948 Makes sure spall power square root is positive and also we don't produce fragments when for some reason the round accelerates. 2024-01-18 02:59:08 -06:00
lambdatiger
722e86a200 Removed extra text from CfgAmmoFragParameters 2024-01-18 02:54:19 -06:00
lambdatiger
59bf6e3b91 Shot parent possible fix #1 2024-01-17 23:13:31 -06:00
lambdatiger
a4f2ad45d8 Updated debug settings 2024-01-17 21:53:20 -06:00
lambdatiger
f7417377e5 Mactched format https://github.com/acemod/ACE3/pull/9728#discussion_r1454926681 2024-01-17 21:52:47 -06:00
lambdatiger
85df838aab variable names weren't verbose enough 2024-01-17 21:39:54 -06:00
lambdatiger
13834d7f17 Switched debug clear traces from addAction to ACE self interact 2024-01-17 21:28:53 -06:00
lambdatiger
c921b1f9b4 removed unused debug GVAR 2024-01-17 21:28:07 -06:00
lambdatiger
63d67df7bf removed spurious commas 2024-01-17 21:11:38 -06:00
lambdatiger
35592fa0af removed 2 argument option and removed some defaults 2024-01-17 20:52:25 -06:00
lambdatiger
9bcf2b7650 white space and define placement changes 2024-01-17 20:51:59 -06:00
lambdatiger
8b45d0aa17 Updated function headers 2024-01-17 20:51:34 -06:00