RHS Feedback

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004134USAF[All Projects] Generalpublic2018-04-26 12:592018-04-26 17:39
ReporterShock 
Assigned Toreyhard 
PrioritynoneSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004134: RHSUSAF pistol incompatibility JSRS
DescriptionWhen combining RHSUSAF with JSRS (RHS compatibility patch), the glock, M9 and M1911A1 gain incorrect firing modes for the AI. They start shootings their pistols out to 500 metres. The reason for this is that their "Single" firing mode isn't defined in the RHS config. It is inherited straight from its parent class (a vanilla Arma 3 pistol). When JSRS changes this firing mode to change the sound, it causes the "Single" firing mode to inherit the characteristics of the "Mode_SemiAuto" firing mode, which goes out to 500 metres.
Steps To ReproduceLoad up RHSUSAF and JSRS with the RHSUSAF compatibility mod. Spawn units with glocks/M9s/M1911A1s and have them engage enemy units at ranges beyond 100 metres.
Additional InformationTo fix, you have to set the "Single" firing mode in the config. In the rhsusf_c_weapons config, classes rhsusf_weap_m1911a1 and rhsusf_weap_glock17g4, add the following subclass:

class Single : Mode_SemiAuto {
 minRange = 5;
 minRangeProbab = 0.3;
 midRange = 25;
 midRangeProbab = 0.6;
 maxRange = 50;
 maxRangeProbab = 0.1;
 aiRateOfFire = 2;
 aiRateOfFireDistance = 25;
};

You might need to add more in that class, but this will at least fix the AI firing mode issue.
TagsNo tags attached.
Is it a wish/request?No
RHS version
Arma 3 version1.82
Did you used any other mod when the error occurred?Yes
Which mods?JSRS with the RHSUSAF compatibility mod
Attached Files

- Relationships

-  Notes
(0007711)
reyhard (administrator)
2018-04-26 13:07

issue lays in JSRS cfg
(0007712)
Shock (reporter)
2018-04-26 15:12

Are you kidding me? You've misconfigured the pistols by putting their range probabilities in the weapon class itself rather than in the firing mode it actually uses. I've given you the solution on a silver platter!
(0007713)
reyhard (administrator)
2018-04-26 16:00

Is it happening without jsrs?
(0007714)
Shock (reporter)
2018-04-26 16:29

No, but JSRS is not misconfiguring your firing modes. It's just exposing problems with the inheritance of classes. JSRS cannot fix this problem on their end without adding in code to set up the firing modes.
(0007715)
reyhard (administrator)
2018-04-26 17:39

Your solution is invalid but thing that you partially described was fixed in other ticket https://imgur.com/a/kQrQptl [^]

- Issue History
Date Modified Username Field Change
2018-04-26 12:59 Shock New Issue
2018-04-26 13:07 reyhard Note Added: 0007711
2018-04-26 13:07 reyhard Status new => closed
2018-04-26 13:07 reyhard Assigned To => reyhard
2018-04-26 13:07 reyhard Resolution open => no change required
2018-04-26 15:12 Shock Note Added: 0007712
2018-04-26 16:00 reyhard Note Added: 0007713
2018-04-26 16:29 Shock Note Added: 0007714
2018-04-26 17:39 reyhard Note Added: 0007715


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker