sp_rlin 10 Posted August 17, 2013 Hi, I'm trying to create a weapon (bolt action rifle) with a long magazine reload time (~8 secs) compared to the between shot time (~1.5 sec). However, the variable "magazineReloadTime" is ignored for the class of "Rifle"; instead the magazine reload time seems to be a function of "reloadTime". This is annoying. I found a workaround (although its not a good one), and this is to inherit the class "MGunCore". The magazine reload time function then works, but the variable "autoreload" must be true (bummer). It also has the side effect of not playing any reload animation, and the weapon has no right click zoom.... Anyone know how i could fix this issue/find a work around? I checked BIA's British Weapons Pack, they has a few light machine guns which have the variable "magazineReloadTime" set, but it seems that even that is broken (reload time is ~2 secs rather than 6 as set in the config!) I'd like to get my reload animation back and have no autoreload! This is my config (to get it to work): class MGunCore; class Mosin_Nagant: MGunCore { handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M24.rtm"}; // Hand positions type = "1"; // Prevents it from using backpack slot scope = 2; // value = 0; magazineReloadTime = 7.5; showaimcursorinternal = 0; cursoraim = "\ca\Weapons\Data\clear_empty"; cursoraimon = "\ca\Weapons\Data\clear_empty"; ballisticsComputer = 0; reloadAction = "ManActReloadMagazine"; model = "\mosin_nagant\mosin_1891_animated"; displayName = "Mosin Nagant 1891"; picture = "\mosin_nagant\images\1891.paa"; UiPicture = "\mosin_nagant\images\1891.paa"; drySound[] = {"Ca\sounds\Weapons\rifles\dry",0.01,1,10}; modelOptics = "-"; reloadMagazineSound[] = {\mosin_nagant\sound\reload.ogg, 0.010000, 1}; magazines[] = {"Mosin_Nagant_Ammo"}; modes[] = {"Single"}; dexterity = 1.57; weaponInfoType = "RscWeaponZeroing"; discreteDistance[] = {100,200,300,400,500,600,700,800}; discreteDistanceInitIndex = 2; opticsZoomInit = 0.3; opticsZoomMin = 0.3; opticsZoomMax = 0.2; distanceZoomMin = 300; distanceZoomMax = 100; canLock = 0; initSpeed = 850; class Single: Mode_SemiAuto { sound[] = {\mosin_nagant\sound\Mosin.ogg, db40, 1}; recoil = "Mosin_NagantRecoil"; recoilProne = "Mosin_NagantRecoil"; dispersion = 0.0009100; reloadTime = 1.4; minRange=0.5; minRangeProbab=0.800000; midRange=100; midRangeProbab=0.60000; maxRange=200; maxRangeProbab=0.080000; }; }; Share this post Link to post Share on other sites
Hupara 0 Posted August 7, 2020 I am waiting reply to this also. I am modding OFP and I have same problem. Share this post Link to post Share on other sites