RHS Feedback - USAF
View Issue Details
0000160USAF[All Projects] Generalpublic2015-01-17 16:452015-01-27 22:01
Jonpas 
MistyRonin 
normalminoralways
closednot fixable 
PCWindows8
0.3.5 
0.3.6 
0000160: Leupold Mk4 Config Missing
Apparently Leupold Mk4 config is wrong for OpticsModes, it doesn't inherit properly. A bunch of messages like this show up and the scope doesn't work at all.

Warning Message: No entry 'bin\config.bin/CfgWeapons/rhsusf_acc_LEUPOLDMK4/ItemInfo/OpticsModes/pso1_scope.opticsZoomMin'.

Pick up a Leupold Mk4 scope.
No tags attached.
Issue History
2015-01-17 16:45JonpasNew Issue
2015-01-17 18:03vlad_8011Note Added: 0000419
2015-01-17 18:41JonpasNote Added: 0000421
2015-01-17 18:42JonpasNote Edited: 0000421bug_revision_view_page.php?bugnote_id=421#r206
2015-01-17 18:43JonpasNote Edited: 0000421bug_revision_view_page.php?bugnote_id=421#r207
2015-01-17 18:43JonpasNote Edited: 0000421bug_revision_view_page.php?bugnote_id=421#r208
2015-01-17 18:54JonpasNote Edited: 0000421bug_revision_view_page.php?bugnote_id=421#r209
2015-01-17 20:19MistyRoninNote Added: 0000423
2015-01-17 20:19MistyRoninAssigned To => MistyRonin
2015-01-17 20:19MistyRoninStatusnew => feedback
2015-01-17 21:08JonpasNote Added: 0000424
2015-01-17 21:08JonpasStatusfeedback => assigned
2015-01-17 21:08JonpasNote Edited: 0000424bug_revision_view_page.php?bugnote_id=424#r213
2015-01-17 21:09JonpasNote Edited: 0000424bug_revision_view_page.php?bugnote_id=424#r214
2015-01-21 12:24MistyRoninProduct Version => 0.3.5
2015-01-21 12:24MistyRoninTarget Version => 0.3.6
2015-01-27 22:01Soul_AssassinStatusassigned => closed
2015-01-27 22:01Soul_AssassinResolutionopen => not fixable

Notes
(0000419)
vlad_8011   
2015-01-17 18:03   
Cannot reproduce any message
(0000421)
Jonpas   
2015-01-17 18:41   
(edited on: 2015-01-17 18:54)
I digged some more into it. The bug was happening on "Mk. 4 ER/T 3.5-10x M3", but that scope only shows up on USF side when Joint Rails are used (I don't know where they fit to originally) and when running only RHS and ASDG JR there was no warning message.
Looks like it is indeed a problem with AGM Compatibility Project... I've tried without it and with it, I guess my mod loading bugged out somewhere and loaded AGM when I didn't want it to load...

Excuse me for faulty report! I will head over to AGM Compatibility and figure out stuff there.

May I ask what is correct config for the scope? Currently we have the following but it seems OpticsMode\pso1_scope isn't correct.

class rhsusf_acc_sniper_base;
class rhsusf_acc_LEUPOLDMK4: rhsusf_acc_sniper_base {
  class ItemInfo: InventoryOpticsItem_Base_F {
    class OpticsModes {
      class pso1_scope {
      };
    };
  };
};

EDIT: "Mk. 4 ER/T 3.5-10x M3" scope glitches into the Picatinny rails though, if that's not know yet. Just a piece of it is inside the rails in the front.

(0000423)
MistyRonin   
2015-01-17 20:19   
That's weird, I'm trying it with RHS + AGM and no issues so far.

Would you mind trying with only A3 vanilla and RHS.

( and that config you posted it's not the one we have fo it )
(0000424)
Jonpas   
2015-01-17 21:08   
(edited on: 2015-01-17 21:09)
All works perfectly, the issue is in AGM Compatibility (NOT AGM itself) that can be found at: https://github.com/KoffeinFlummi/AGM_Compatibility [^]

I have nailed down the issue and already pull requested it, it was problem with config inheritance after-all, the correct config should be (please confirm):

class ItemCore;
class rhsusf_acc_sniper_base: ItemCore {
  class ItemInfo: InventoryOpticsItem_Base_F {
    class OpticsModes {
      class pso1_scope {
      };
    };
  };
};

M3 scope still glitches through the rail a bit though, if you missed that. :)