ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Static weapons cannot be loaded into the vehicle cargo

Open lolkij opened this issue 10 years ago • 5 comments

Arma 3 Version: 1.62 (stable) CBA Version: 3.0.0 (stable) ACE3 Version: 3.6.2 (stable)

Mods:

  • @CBA_A3
  • @ace

Description:

  • All static weapons cannot be loaded in the vehicle cargo since v3.6.0. http://i.imgur.com/C1EzaJG.jpg Option "ace_cargo_canLoad = 1; " for cfg's also does not work. Statics can be load in vehicle only if synchronize it with the "Make Object Loadable" module. But this is not a solution in many situations.

Steps to reproduce:

  • Place any static weapon and vehicle in the editor.
  • Try to load this weapon in the vehicle cargo.
  • Nothing happens

Where did the issue occur? Everywhere

Placed Modules: None

RPT log file: Not relevant

lolkij avatar Jul 26 '16 10:07 lolkij

I think this is due to the Mortar not inheriting from LandVehicle, and hence skipping the init event handler that inits loadable classes.

Probably Mortar_01_base_F should have an event handler too.

nicolasbadano avatar Jul 26 '16 12:07 nicolasbadano

All static weapons cannot be loaded

Do you mean Some static weapons cannot be loaded ?

commy2 avatar Jul 26 '16 14:07 commy2

@commy2 I checked all the vanilla and RHS statics, so yes: all static weapons cannot be loaded =) But if you know an exception - please tell me.

lolkij avatar Jul 26 '16 15:07 lolkij

Ok, so none of the static weapons are loadable by default?

@jonpas, did you properly test this: d931eb4e15ff70e0d94f01dd381fe0ad206010e2 ??

nicolasbadano avatar Jul 26 '16 15:07 nicolasbadano

It worked at the time, I checked StaticWeapon inheritance when I did that PR, maybe BI changed it?

jonpas avatar Jul 26 '16 21:07 jonpas