Ace3: Torque doesn't work on IR grenades

Created on 1 Dec 2017  路  4Comments  路  Source: acemod/ACE3

Arma 3 Version: 1.78.143717 (stable)
CBA Version: 3.4.1.170912 (stable)
ACE3 Version: 3.11.0 (stable)

Mods:

- CBA_A3
- ace

Description:

  • Upon throwing an IR grenade (CSAT/AAF/NATO), the below error will show up.

Steps to reproduce:

  • Go into VA, throw any IR grenade

Where did the issue occur?

  • Singleplayer

Placed Modules:

  • None.

RPT log file:

16:39:38 Error in expression < _activeThrowable;
private _torqueDir = vectorNormalized (getArray (_config >> ">
16:39:38   Error position: <vectorNormalized (getArray (_config >> ">
16:39:38   Error 0 elements provided, 3 expected
16:39:38 File z\ace\addons\advanced_throwing\functions\fnc_throw.sqf, line 39
kinbug

Most helpful comment

Should add default torque to CA_Magazine to fix this for everything else that might not inherit from Grenade either.

All 4 comments

I am assuming those IR grenades don't inherit from Grenade.

Should add default torque to CA_Magazine to fix this for everything else that might not inherit from Grenade either.

        class B_IR_Grenade: CA_Magazine //inherits 19 parameters from bin\config.bin/CfgMagazines/CA_Magazine, sources - ["A3_Weapons_F"]
        class O_IR_Grenade: B_IR_Grenade //inherits 14 parameters from bin\config.bin/CfgMagazines/B_IR_Grenade, sources - ["A3_Weapons_F"]
        class I_IR_Grenade: B_IR_Grenade //inherits 14 parameters from bin\config.bin/CfgMagazines/B_IR_Grenade, sources - ["A3_Weapons_F"]

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pognivet picture pognivet  路  3Comments

Snak3Doc picture Snak3Doc  路  4Comments

armyinf0703 picture armyinf0703  路  3Comments

Dyadka940 picture Dyadka940  路  3Comments

ItayNoyman picture ItayNoyman  路  3Comments