Mike-MF
cee187adac
General - Convert vehicle to objectParent ( #9801 )
...
Convert vehicle to objectParent
2024-03-26 09:54:06 -03:00
PabstMirror
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
PabstMirror
a3aef6a066
General - Cleanup spaces in macros ( #9769 )
...
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
2024-02-05 14:04:24 -03:00
jonpas
742626ff1a
General - Relative script_component.hpp
includes ( #9378 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00
PabstMirror
7bc6fdfa66
Cleanup - Trim all trailing whitespace ( #8651 )
2021-10-30 16:42:03 -05:00
Neviothr
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
Whigital
a24c3d52ad
conform isnil checking: scopes
2020-02-12 17:29:17 +01:00
Dedmen Miller
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
PabstMirror
73e7ad5c79
Scopes - Use real zero for non-adjustable scopes ( #6128 )
2018-02-08 12:01:41 -06:00
PabstMirror
fe531d71f3
Scopes - Fix undefined enum types ( #5969 )
2017-12-26 17:09:03 -06:00
ulteq
f9d729c874
Scopes - Fix 'boreHeight' and 'baseAngle' MP synchronization ( #5917 )
...
* Scopes - Unify 'getBaseAngle' & 'getBoreHeight' API
* Scopes - Fix boreHeight and baseAngle MP synchronization
* TODO: Cache the calculation or use publicVariables instead
* Cleanup unused GVARs
* Scopes - Cache getBaseAngle and getBoreHeight results
* Sync baseAngle/boreHeight
* Remove boreHeight/Angle caching
* Cleanup inv check
2017-12-15 10:22:31 -06:00
PabstMirror
a97dea896f
scopes - Fix base angle ( #5916 )
2017-12-15 10:25:00 +01:00
ulteq
b77c4d4667
Rangecard - Fixes broken bore height display ( #5907 )
...
* Reverts the getBoreHeight API change from:91425f8576
2017-12-14 13:43:32 +01:00
ulteq
24b58fbb21
Scopes - Allow 0.05 mrad increments ( #5840 )
...
* Scopes - Allow 0.05 mrad increments
2017-12-02 16:23:41 +01:00
ulteq
09c3187c21
Scopes - Adds simplified zeroing subsystem ( #5787 )
...
* Client side setting to choose the preferred zeroing method
* Replicates the behaviour of the vanilla zeroing system
2017-11-29 11:38:19 +01:00
ulteq
af1f36c14a
Advanced Ballistics - Muzzle velocity variation
...
* Simulates slight variations in muzzle velocity between each shot
2017-11-23 14:36:36 +01:00
ulteq
b99a10ad63
Merge pull request #5804 from acemod/scopes-iron-sight-fix
...
Scopes - Fixed iron sight zeroing
2017-11-22 11:28:28 +01:00
ulteq
c3e1fe31f8
Scopes - Fixed major typo affecting trajectory synchronization ( #5805 )
2017-11-22 09:59:01 +01:00
ulteq
ce825ce8d3
Scopes - Add 'DISABLE_DISPERSION' helper flag
...
* Allows you to disable vanilla dispersion for testing purposes by defining 'DISABLE_DISPERSION'
2017-11-21 23:57:12 +01:00
ulteq
91425f8576
Scopes - Added new config entry to fix the iron sight zeroing
2017-11-21 23:57:07 +01:00
ulteq
9cad5873d0
Scopes - Adds 'Reset zero' interaction (advanced ballistics only) ( #5789 )
...
* Allows you to reset any zero adjustment on your current scope
2017-11-18 13:59:42 +01:00
ulteq
aab09584b7
Scopes - Persistent zero adjustments ( #5753 )
...
* Makes manual zero adjustments (advanced ballistics only) for each weapon & scope combination persistent across game restarts / mission restarts / weapon or scope changes.
2017-11-17 19:08:03 +01:00
ulteq
39c56447d9
Scopes - Hide 'up' direction lettering ( #5751 )
...
* Improves readability
2017-11-13 00:37:03 +01:00
ulteq
224e2cb777
Scopes - Take rail base angle into account
...
* Removes fixed angular offsets from the zero angle calculation
2017-11-12 12:21:06 +01:00
ulteq
6b68ff426f
Scopes - Fixed zero angle prediction
...
* Corrects the prediction of the (hair-raising!) zero angle calculation in the vanilla-game
2017-11-12 12:21:03 +01:00
ulteq
9ea1f6839f
Scopes - Fixed bugs in the zero angle calculation ( #5742 )
...
* Fixed typo in the module setting parsing (reference temperature was way off)
* Fixed bug in the zero angle calculator (muzzle velocity was off in most cases)
2017-11-11 14:15:59 +01:00
ulteq
28706c4dab
Scopes - UI improvement ( #5702 )
...
* Displays U, D, L, R behind the MIL turret adjustment number
* Allows clients to select their preferred UI type
* Improves the text alignment
2017-11-08 14:04:09 +01:00
ulteq
3484942680
Scopes - Fixed MRAD conversion ( #5651 )
...
* Same issue as https://github.com/acemod/ACE3/pull/5640
2017-10-22 10:44:00 +02:00
ulteq
0aca46d7aa
Scopes - BoreHeight config revamp ( #5648 )
...
* Scopes - Added rail heights for all vanilla guns
* Scopes - Improved default rail height
* Scopes - Updated all scope heights
* ATragMX - New default bore heights
* ATragMX - Updated scope base angles
2017-10-22 10:28:20 +02:00
Dedmen Miller
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
Phyma
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
PabstMirror
110bce763f
Fix intergrated scopes ( #4945 )
2017-03-08 19:31:26 +01:00
ulteq
3e0f85b4f1
RangeCard - Take bore height into account ( #4715 )
2016-12-01 21:20:51 +01:00
ulteq
dbb59c8fd1
New 'overwriteZeroRange' setting
2016-11-20 09:05:42 +01:00
ulteq
273e603cad
Fix 'ACE_ScopeZeroRange' setting being ignored when placed in weapon classes
...
* Only relevant for weapons with integrated scopes
2016-11-20 09:05:42 +01:00
ulteq
1f364da0df
Fix 'forceUseOfAdjustmentTurrets` affecting all scopes including iron sights
2016-11-20 09:05:42 +01:00
ulteq
79d087e784
Reset scope adjustments when either the weapon or the scope change.
2016-11-15 23:11:22 +01:00
ulteq
8c49433b49
Added new ace_scopes module setting 'correctZeroing' (default on)
2016-11-15 23:11:22 +01:00
ulteq
2f23f1ca6c
Bugfix - Fixes ace_scopes affecting under-barrel grenade launchers
2016-11-15 23:11:22 +01:00
ulteq
7fa73744e9
Cleanup - partly merged #4658
...
* Removed getVariable QGVAR(Adjustment) boilerplate
* Less calls to setVariablePublic
* Removed vanilla zeroing element hiding (fixes warning in log file)
* Moved settings evaluation into ace_settingsInitialized event handler
2016-11-15 23:11:22 +01:00
ulteq
10cc0ba951
Moved all zero angle calculations into the advanced_ballistics.dll
...
* Speeds up ATragMX
* Speeds up RangeCards
* Speeds up Scopes
2016-11-15 23:11:22 +01:00
ulteq
789a169b0e
Allow using adjustment turrets on weapons with integrated scopes
2016-11-15 23:11:22 +01:00
ulteq
429bffd039
Moves the bore height calculation into FUNC(inventoryCheck)
2016-11-15 23:11:22 +01:00
ulteq
a687c49d2a
Adds settings module for ace_scopes
...
* Interconnects the rangecard and scopes modules
* Hides the zeroing text when the vanilla zeroing is overwritten
* Makes the scopes module fully compatible with any 3rd party weapon pack without the need for addition compat pbos (though their use is still recommended)
2016-11-15 23:11:22 +01:00
ulteq
36c14c5dc4
Feature - Vanilla zeroing fix
2016-11-15 23:11:22 +01:00
Glowbal
b489750d5b
Minor optimizations using private, params, and isEqualType ( #4323 )
...
* Optimizations with private, params, and isEqualType
* Fixed tab being used instead of space
* Fixed tabs inserted by notepad++
* More usage of new private syntax and params
- changed a few checks for an array being empty to `_arr isEqualTo []`
rather than `count _arr == 0`
- added more uses of `private` on the same line as the variable is
declared
- added more uses of params to assign variables passed as parameters
- removed unnecessary parentheses
- removed several unnecessary variable declarations with private array
syntax
* clean up and formatting
2016-09-04 16:44:22 +02:00
PabstMirror
455f65947a
Minor cleanup of fired EH listeners
2016-07-23 23:08:40 -05:00
jonpas
03e923aa68
Cleanup Function Headers titles
2016-06-18 11:50:41 +02:00
commy2
7512c4e52e
manual merge
2016-05-30 21:14:34 +02:00
PabstMirror
d464a23d21
Use the lovely CBA_fnc_canUseWeapon function
2016-05-20 01:10:12 -05:00