PabstMirror
ec840a793d
Cargo - Add condition checking durring load/unload ( #6821 )
2019-02-22 18:54:55 -06:00
Dedmen Miller
af1cf2c7f6
Cargo - Cache cargo vehicle classes ( #6806 )
...
* Cache cargo vehicle classes to init
* fix
* Apply suggestions from code review
Co-Authored-By: dedmen <dedmen@users.noreply.github.com>
* Fix initEH being added twice for static weapons
2019-02-17 11:41:05 -06:00
Dystopian
ee7a1f6acb
Improve class initialization ( #6085 )
2018-02-24 12:39:03 -06:00
PabstMirror
a67815d072
Disable damage on cars loaded as cargo ( #5402 )
2017-08-22 13:27:11 -05: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
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
90ebf9638b
Update common event names to meet new standard
2016-06-04 11:12:56 +01:00
jonpas
30b15ee3d3
Fix quotes in cargo
2016-05-24 19:22:48 +02:00
jonpas
331c3c70cb
Verify and fix cargo, nametags, rearm, reload, repair, ui, Convert infoDisplayChanged in common and mk6mortar Rsc's
2016-05-24 18:58:27 +02: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
8375694368
Merge pull request #3403 from acemod/fixCargoEventsParams
...
Reimplement old parameter syntax for (Un)LoadCargo events
2016-02-25 16:01:57 +01:00
jonpas
b2b781957f
Reimplement old parameter syntax for (Un)LoadCargo events
2016-02-25 15:35:47 +01:00
jonpas
168ec5344d
Fix #3363 lamp unloading bug, Correct cargo menu button classnames
2016-02-23 22:17:36 +01:00
PabstMirror
7a7e0d689a
Improve underwater cargo unloading
2016-01-27 14:56:25 -06: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
PabstMirror
69b53af1d3
1.54 - Replace typeName with isEqualType
2015-11-20 11:40:31 -06:00
SilentSpike
f65f6e9b72
Add support for virtual cargo
...
Allows cargo objects to be added via classname and reduces simulation/synchronization overhead. Objects become physical upon unloading and cannot be re-made virtual, only scripts can add such virtual objects.
Also separates the player feedback from the loading/unloading code and adds a progress bar.
2015-09-27 17:34:37 +01:00
jonpas
18f5a2ca94
Renamed cargo events
2015-08-22 16:45:50 +02:00
jonpas
4c86db9505
Added AddCargoItem event and function to add an item by classname
2015-08-18 23:51:30 +02:00
jonpas
e110874800
Added cargo listenable and callable events
2015-08-18 18:48:21 +02:00