41c5c21041
Rangecard - fix CTD on weapons with invalid configs ( #10710 )
...
* Rangecard - fix CTD on weapons with invalid configs
* handle in ext
* diagnose / xm157
* fmt
* Update fnc_ballistics_getData.sqf
2025-02-06 17:36:39 -06:00
b7d4383826
Update hemtt lints.toml for stringtables ( #10725 )
...
* Update hemtt lints.toml for stringtables
* ban debug macros from release
2025-02-06 17:29:53 -06:00
5f06610089
ab - fix other _windSource
, cmd case ( #10719 )
2025-02-05 04:31:53 -03:00
03d3b80746
Advanced Ballistics - Take object size and trees into account for terrain roughness ( #10697 )
...
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2025-02-05 04:15:02 -03:00
d7c84607d9
General - Add private and remove some unused vars ( #10371 )
...
* General - Add private and remove some unused vars
* Update fnc_onFired.sqf
* move debug vars inside ifdef
* Update fnc_calculateMuzzleVelocity.sqf
* Update fnc_navigation.sqf
* remove airDensity from calculateMuzzleVelocity
---------
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-10-21 12:49:33 -05:00
3504835c87
General - Use objectParent for vehicle detection ( #10397 )
...
* General - Use objectParent for vehicle detection (HEMTT L-S18)
* var_all_caps cleanup
2024-10-15 14:56:52 -05:00
a74d8a06d3
General - Optimize tracer status with getShotInfo
( #9821 )
...
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-10-15 11:07:45 -05:00
5403c7c034
Advanced Ballistics - Minor optimisation ( #10399 )
...
Update fnc_handleFired.sqf
2024-10-15 11:03:20 -05:00
0cd06e18a0
General - Make some local vars private ( #10339 )
...
* General - Make some local vars private
* Apply suggestions from code review
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/microdagr/functions/fnc_showApplicationPage.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-09-27 19:02:34 -05:00
f090c71126
General - Fix Command Case ( #10286 )
...
* run 'hemtt utils sqf case'
* fix config as well
* fix event casing
* Update addons/towing/functions/fnc_attachRopePFH.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/refuel/functions/fnc_startNozzleInHandsPFH.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/rearm/functions/fnc_takeSuccess.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/rearm/functions/fnc_grabAmmo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setSurrendered.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handleZeusDisplayChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handlePlayerChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handlePlayerChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_onArsenalOpen.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_onArsenalClose.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/spectator/functions/fnc_ui.sqf
* Update addons/ui/XEH_clientInit.sqf
* Update addons/ui/functions/fnc_setElements.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/captives/functions/fnc_handleZeusDisplayChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setHandcuffed.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setHandcuffed.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setSurrendered.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/common/functions/fnc_displayTextStructured.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-09-03 11:52:33 -05:00
17f2de4ec1
General - Fix some format args/strings ( #10251 )
2024-08-24 14:55:45 -03:00
043b3907fe
Extensions - Rust ( #9015 )
...
Co-authored-by: Pepijn Holster <pgaholster@gmail.com >
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: LorenLuke <LukeLLL@aol.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-08-17 12:50:38 -03:00
1c6c4d6bff
All - Fix parentheses around code ( #10073 )
...
* Fix Brackets around code
* Update fnc_handleFired.sqf
* Shouldn't have changed this one
---------
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2024-06-18 14:08:03 +00:00
86f1b6b142
AB/Scopes - Fix script errors on profiling branch ( #9869 )
...
* AB/Scopes - Fix script errors on profiling branch
* Update addons/scopes/functions/fnc_calculateZeroAngleCorrection.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-03-24 09:32:28 -07:00
a3aef6a066
General - Cleanup spaces in macros ( #9769 )
...
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com >
2024-02-05 14:04:24 -03:00
1e404cf85b
General - SQF Improvements ( #9698 )
...
Co-authored-by: Dystopian <sddex@ya.ru >
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2024-02-04 14:50:24 -03:00
742626ff1a
General - Relative script_component.hpp
includes ( #9378 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2023-09-12 20:58:10 +02:00
ea783b6c7a
Advanced Ballistics - Fix _mapSize
sometimes 0 by using engine command ( #9394 )
...
Update fnc_initializeTerrainExtension.sqf
2023-09-12 13:04:06 -05:00
7bc6fdfa66
Cleanup - Trim all trailing whitespace ( #8651 )
2021-10-30 16:42:03 -05:00
afca8ec830
Advanced Ballistics - Fix _maxRange
in handleFired
( #8552 )
...
* AdvBallistics - Fix _maxRange in `handleFired`
* Adding 30% more to range just to be safe
2021-10-26 19:17:22 -05:00
75f7ed7532
Utilize isNotEqualTo ( #7929 )
...
* Utilize isNotEqualTo
* undo changes to some files
* redo some changes, fix based on @Vdauphin 's comment
* fix validator issues
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2021-02-27 11:05:05 -06:00
6a59bf2a6c
Advanced Ballistics - Improve Performance in handleFirePFH ( #7699 )
...
* Improve Performance from handleFirePFH in Advanced Ballistics
* PabstMirror Suggestion
* Dont remove and readd the PFH but have one persitently running
* Update addons/advanced_ballistics/XEH_postInit.sqf
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2020-06-13 15:45:09 -05:00
c426103f23
Extension changes for Medical Rewrite and Linux compilation ( #6909 )
...
* Fix Medical HandleDamageWounds memory leak (#6809 )
* Use strncpy and disable MSVC unsafe warnings (#7171 )
* Set 64-bit correctly from generator string, Disable SSE2 flag on 64-bit (non-existent)
* Tweaks for Linux extensions (#5762 )
* Tweak CMakeLists for Linux compilation
* Conform SQF extensions check for Linux server extensions support
* Add *.so to tools
* Split extension check into Windows and Linux
* Disable Medical extension loading for now
* Add client/server separation to extension loading
* Add Arma config documentation on extension creation
2019-09-28 23:03:55 +02:00
5ad8b3c6bc
Arsenal - Fix incorrect muzzle velocity stat displayed on magazine ( #6844 )
...
* Fix incorrect muzzle velocity displayed on magazine
* Apply suggestions from code review
Co-Authored-By: dedmen <dedmen@users.noreply.github.com >
* Remove garbage file
* Script header updates
* Update addons/ballistics/functions/fnc_statTextStatement_magazineMuzzleVelocity.sqf
Co-Authored-By: dedmen <dedmen@users.noreply.github.com >
2019-03-05 10:42:04 -06:00
e2ac18a05d
[WIP] Fix script errors reporting wrong line numbers ( #6407 )
...
* advanced_ballistics
* advanced_fatigue
* advanced_throwing
* ai
* aircraft
* arsenal
* atragmx
* attach
* backpacks
* ballistics
* captives
* cargo
* chemlights
* common
* concertina_wire
* cookoff
* dagr
* disarming
* disposable
* dogtags
* dragging
* explosives
* fastroping
* fcs
* finger
* frag
* gestures
* gforces
* goggles
* grenades
* gunbag
* hearing
* hitreactions
* huntir
* interact_menu
* interaction
* inventory
* kestrel4500
* laser
* laserpointer
* logistics_uavbattery
* logistics_wirecutter
* magazinerepack
* map
* map_gestures
* maptools
* markers
* medical
* medical_ai
* medical_blood
* medical_menu
* microdagr
* minedetector
* missileguidance
* missionmodules
* mk6mortar
* modules
* movement
* nametags
* nightvision
* nlaw
* optics
* optionsmenu
* overheating
* overpressure
* parachute
* pylons
* quickmount
* rangecard
* rearm
* recoil
* refuel
* reload
* reloadlaunchers
* repair
* respawn
* safemode
* sandbag
* scopes
* slideshow
* spectator
* spottingscope
* switchunits
* tacticalladder
* tagging
* trenches
* tripod
* ui
* vector
* vehiclelock
* vehicles
* viewdistance
* weaponselect
* weather
* winddeflection
* yardage450
* zeus
* arsenal defines.hpp
* optionals
* DEBUG_MODE_FULL 1
* DEBUG_MODE_FULL 2
* Manual fixes
* Add SQF Validator check for #include after block comment
* explosives fnc_openTimerUI
* fix uniqueItems
2018-09-17 14:19:29 -05:00
0e980907fe
Fix some item type magic numbers ( #6487 )
...
* Fix item type magic numbers
* Add weapon and magazine macros
2018-09-12 22:29:56 -05:00
b7be7d1cf4
Wind Deflection - Only track remote bullets if they're tracers ( #5839 )
...
* Do not run the PFH for remote projectiles unless they are tracers
2017-12-02 14:18:35 +01:00
fd8ea42c50
Advanced Ballistics - Fix maxTime calculation if airFriction == 0 ( #5837 )
2017-12-02 12:34:52 +01:00
9c4a32d1df
Advanced Ballistics - Removed all unnecessary settings ( #5814 )
...
* It just works automagically
2017-11-30 17:13:54 -06:00
ed772ebeb7
Advanced Ballistics - Typo: 'log' -> 'ln' ( #5818 )
...
We need to use the natural logarithm here.
2017-11-25 17:45:09 +01:00
af1f36c14a
Advanced Ballistics - Muzzle velocity variation
...
* Simulates slight variations in muzzle velocity between each shot
2017-11-23 14:36:36 +01:00
ed872d567c
Advanced Ballistics - Optimized abort conditions ( #5811 )
2017-11-23 13:44:47 +01:00
f0036847bc
Merge pull request #5791 from acemod/ballistics-initSpeed-revamp
...
Ballistics - Regenerated vanilla 'initSpeed' config entries
2017-11-23 11:11:35 +01:00
df2a7d3853
Tools - Added automated magazine- and weapon class 'initSpeed' calculator
2017-11-23 10:55:47 +01:00
8bc77a7b88
Advanced Ballistics - Minor performance tweaks ( #5790 )
...
* Advanced Ballistics - Utilize 'linearConversion'
* Advanced Ballistics - Limit config value boundaries
2017-11-22 23:16:17 +01:00
7e397b4596
Advanced Ballistics - Removed unused code ( #5806 )
2017-11-22 23:14:35 +01:00
a270ca8a99
Advanced Ballistics - Better diagnostic tools ( #5776 )
...
* Makes it easier to detect errors in 3rd party weapon compats
2017-11-17 20:00:57 +01:00
9d69961d5f
Merge pull request #5698 from acemod/ab-trajectory-refinement
...
Advanced Ballistics - Trajectory refinement
2017-11-10 17:29:32 +01:00
dcc934202b
Weather - Major Cleanup ( #5710 )
...
* Single global on/off switch (that really turns everything off properly)
* Less coupling between code that runs on the client / server
* Simpler update routines
* More cohesive code
* Less module options
* Less network traffic
2017-11-10 15:44:15 +01:00
fecc77e225
Advanced Ballistics - Improved random seed generator
2017-11-08 15:26:43 +01:00
4bfc956e1a
Advanced Ballistics - Fixes bug in the vanilla drag removal routine
...
* More accurate bullet drop at extreme long ranges
* Fixes Client FPS affecting the trajectory
2017-10-30 10:07:37 +01:00
cda060d3e0
Weather - Properly sync overcast value ( #5688 )
...
* Makes sure that all clients share the same (numeric) overcast value
* Only affects the barometric pressure calculation
* Does not affect the actual weather on the clients
2017-10-27 12:39:48 +02:00
81e02a7336
Refactor private ARRAY to private keyword ( #5598 )
...
* Everything
* Fixed missing ;
* Fix missing ; and double private
* Fixed cannot isNull on number
* Turn _temparture back to isNil
* Fix error from merge
2017-10-10 09:39:59 -05:00
be482ea097
Advanced Ballistics - Drag model revamp & Spin drift correction ( #5566 )
...
* Advanced Ballistics - Drag model revamp
- Moved away from using the drag tables from the GNU exterior ballistics library
- The drag functions are now based off this data from JBM Ballistics: http://www.jbmballistics.com/ballistics/downloads/text/
- The differences are minor, but some players might still appreciate the additional authenticity
* The Mach number is now calculated in relation to the air temperature.
* Improved speed of sound calculation accuracy.
* Advanced Ballistics - DLL update
* Advanced Ballistics - Added drag function reference (JBM Ballistics)
* Advanced Ballistics - Fixed calculation error in the spin drift simulation
- The error was introduced with this PR (https://github.com/acemod/ACE3/pull/4708 )
* More descriptive variable names
* Minor performance optimizations
* Fixed some minor issues
* DLL rebuild
* Utilize new 'toFixed' script command
- Small performance improvement
* Fixed a typo
* Use correct reference speed for the drag compensation
* Updated all 'airFriction' values to match the new drag model
* 'Default' atmosphere now equals the ICAO standard atmosphere
* Update reference humidity to meet the ICAO standard
2017-10-06 13:05:20 -05:00
ecd688647c
AdvancedBallistics - Utilize 'parseSimpleArray' ( #5496 )
...
- Decent performance improvement compared to the old 'call compile' approach
2017-09-16 11:08:25 +02:00
ffaa195fe5
Conform function headers to coding guidelines ( #5255 )
...
* Fixed headers to work with silentspike python script
* Fixed rest of the files
* Fixed ace-team
2017-06-08 15:31:51 +02:00
bfd3695868
SQF Lint Cleanup Pass ( #5157 )
...
* SQF Lint Cleanup Pass
* Fix var in TRACE
* Add basic python tool
* Simplify
* Hit space key 6 times
* Fix error in dropNozzle
* handle error message exceptions
* Fix py
2017-05-14 14:48:05 -05:00
87b9671757
AdvancedBallistics - Abort after adjusting the muzzle velocity ( #4700 )
...
* Always adjust the muzzle velocity when advanced ballistics is enabled
2016-11-24 00:11:25 +01:00
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
616ec642da
Add AB Terrain Extension Logging ( #4391 )
2016-09-18 22:00:34 +02:00