Closed Tachii closed 9 years ago
Please, write a liitle bit more about what the issue is:
RHS Escalation? CUP? Please specify.
oh sry. Yeah, its RHS Escalation. The problem is inside of the config:
class rhsusf_acc_sniper_base;
class rhsusf_acc_LEUPOLDMK4: rhsusf_acc_sniper_base {
AGM_ScopeAdjust_Horizontal[] = {-20, 20};
AGM_ScopeAdjust_Vertical[] = {-30, 30};
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class pso1_scope {
discreteDistance[] = {1};
discreteDistanceInitIndex = 0;
};
};
};
};
class optic_LRPS;
class rhsusf_acc_LEUPOLDMK4_2: optic_LRPS {
AGM_ScopeAdjust_Horizontal[] = {-50, 50};
AGM_ScopeAdjust_Vertical[] = {-70, 70};
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class pso1_scope {
discreteDistance[] = {1};
discreteDistanceInitIndex = 0;
};
};
};
};
if you remove class pso1_scope it works fine
Just place US marksman in the editor and start the mission. You will get the error.
Apparently the config inheritance is not like that for ItemInfo
of rhsusf_acc_LEUPOLDMK4
, because the RPT gets spamed by:
Warning Message: No entry 'bin\config.bin/CfgWeapons/rhsusf_acc_LEUPOLDMK4/ItemInfo/OpticsModes/pso1_scope.<insert property>
It's RHS issue, running without AGM same errors. I looked into the config and it's empty, only property is scope = 2
, so either they enabled it and it's not finished yet or forgot to put it in.
http://feedback.rhsmods.org/view.php?id=160
I am such a bad tester. <.<
I asked them what config inheritance is correct, because looking at the config that scope inherits everything from the base one and only scope = 2
is defined in the actual class of the scope. That makes me think that we simply have to add optics to the base class where it inherits from.
Try to place marksmen unit in editor(US faction).