PabstMirror
a3aef6a066
General - Cleanup spaces in macros ( #9769 )
...
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
2024-02-05 14:04:24 -03:00
johnb432
d1f0dc5e83
Cargo - Improve various aspects ( #9617 )
...
* Update CfgVehicles.hpp
* Cargo cleanup
* Update menu.hpp
* Updated status effect key
* Update fnc_onMenuOpen.sqf
* Update fnc_onMenuOpen.sqf
* fix comment from merge
* nil interaction GVARs on menu close
* fix carry bug
* Fix floating objects in MP
* Updated ace_cargoAdded doc
* Fix progress bar prematurely stopping
* Finer cursor object selection
---------
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
2023-11-17 20:07:28 -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
GhostIsSpooky
68ed19911a
General - Change object config lookups to configOf
( #8795 )
...
* configOf lookups
* forEach, missed configOf
* revert handcuff distance change
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* optimize condition
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* capitalization
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* use object in getVehicleIcon
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* add return comment
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* remove extra brackets
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* add missing brackets
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* add return comment pt2
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
* revert to cursorTarget
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2022-03-08 21:41:21 -06:00
PabstMirror
e8693c8db9
Various - Use configOf command for faster lookup ( #8100 )
...
* configOf
* replace some use of CBA_fnc_getObjectConfig
2021-02-18 12:58:08 -06: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
Dystopian
ee7a1f6acb
Improve class initialization ( #6085 )
2018-02-24 12:39:03 -06:00
PabstMirror
70c25aacaf
cargo - use getInteractionDistance to get better distance ( #5697 )
2017-11-10 15:28:12 +01:00
PabstMirror
feee7f5e1e
Make array of cargo holders dynamic ( #5274 )
2017-06-14 15:36:23 +02:00
SilentSpike
fea2326488
Add cargo eden attributes ( #4780 )
...
- Add a ace_cargo_space attribute to vehicles to alter how much cargo they can carry.
- Add an ace_cargo_size attribute to objects to alter how much cargo space they consume.
- Add two public functions `fnc_setSize.sqf` and `fnc_setSpace.sqf` to update the cargo size/space respectively of any given object.
- Deprecate cargo makeLoadable module and public function.
- Added some macros to get the space/size of a config, making code more readable in places.
2017-05-31 23:54:57 +01:00
PabstMirror
00b91bed45
Minor fixes, cleanup, add lint ignore directives ( #5176 )
...
- Fix bug in getNumberMagazinesIn (func not used)
- Fix bug in seekerFindLaserSpot (func not used yet)
- Everything else is just cleanup
2017-05-31 22:09:36 +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
commy2
9ef24d25ba
paradrop crates from helicopter or plane cargo ( #2468 )
2016-08-27 10:14:54 +02:00
esteldunedain
28c41e0518
Rename cargo events:
...
- ace_cargoAddedByClass -> ace_cargoAdded
- ace_addCargoByClass -> ace_addCargo
2016-06-24 12:12:19 -03: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
jonpas
d931eb4e15
Improve XEH adding in cargo
2016-04-03 14:17:16 +02:00
PabstMirror
17a882fe4d
Add findUnloadPosition integration
2016-01-26 18:01:01 -06:00
PabstMirror
3d4fc66bb1
Cargo Cleanup, Add makeLoadable
2016-01-19 14:51:58 -06:00
commy2
8affae9f7a
dont access cargo of destroyed vehicles, fix #2523
2015-09-26 18:16:38 +02:00
PabstMirror
789f3843d5
#2488 - Fix cargo setVariable on server with InitPost
2015-09-20 10:05:34 -05:00
jonpas
0bbf4d4128
Prevent Cargo opening if vehicle is locked
2015-09-02 22:24:46 +02:00
PabstMirror
9c8e9732ed
Add canInteractWith checks for cargo
2015-08-26 16:26:08 -05:00
jonpas
18f5a2ca94
Renamed cargo events
2015-08-22 16:45:50 +02:00
jonpas
583682396f
Changed cargo initVehicle to event driven, Added listenable event cargo_itemAdded
2015-08-18 23:59:01 +02:00
jonpas
4c86db9505
Added AddCargoItem event and function to add an item by classname
2015-08-18 23:51:30 +02:00
jonpas
bbc715b2ee
Cleaned function headers
2015-08-16 22:41:35 +02:00
Glowbal
03413ef6b6
Merge branch 'cargo' of github.com:acemod/ACE3 into cargo
...
Conflicts:
addons/cargo/functions/fnc_initVehicle.sqf
2015-08-15 09:51:15 +02:00
Glowbal
d8084e20d7
Added cargo settings and settings module.
2015-08-15 09:50:00 +02:00
PabstMirror
21400b0174
UBC, privates, LSTRING
2015-08-14 15:46:51 -05:00
Glowbal
96ec435d0d
Added load in cargo containers
2015-08-14 22:01:14 +02:00
jokoho48
c4ed18f39f
Fix findNearestVehicle dont return BOOL
...
Fix that findNearestVehicle dont return any time the nearest car
Small Performance Improvement in getSizeItem/handleDestroyed/startUnload
Enhance Some legibility
2015-08-14 18:07:31 +02:00
Glowbal
abc732ac35
Added support for cargo configuration on vehicle spawn
2015-08-11 23:18:01 +02:00
Glowbal
c016d01414
Initial load in cargo module
2015-08-10 23:07:47 +02:00