RHS Feedback

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004212USAF[All Projects] Generalpublic2018-06-18 17:082018-06-19 14:17
Assigned Toreyhard 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004212: Inheritance from Vanilla guns
DescriptionSome USAF weapons (like the M14 or the glock) inherit from vanilla weapons or different weapons.
This creates problems in specific scenarios/BIS scripts.

e.g persistent data related stuff where vanilla parent classes are saved instead of the actual modded classes
=> rhsusf_weap_glock17g4 is saved as hgun_P07_F (its parent)
=> rhsusf_weap_m9 is saved as rhsusf_weap_glock17g4 (its parent)

Request: remove the inheritance/add base classes for those weapons
Additional InformationRelated Scripts:

TagsNo tags attached.
Is it a wish/request?Yes
RHS version
Arma 3 version1.82
Did you used any other mod when the error occurred?No
Which mods?
Attached Files

- Relationships

-  Notes
reyhard (administrator)
2018-06-18 17:33

removing inheritance is not an option so if you have an idea what is causing it (some missing parameter) then I might investigate. Otherwise it seems to be fault in script
StrohVogel (reporter)
2018-06-18 17:50

I do have a workaround for my case. No idea whats causing it.
reyhard (administrator)
2018-06-18 18:59

what kind of workaround?
StrohVogel (reporter)
2018-06-19 12:51

creating child classes of the modded guns which inherit everything and using them in the mission files and in custom unit classes. Don't know if this is a long term solution though. Since the script seems to somehow get the parent classes, this should only work for the first save, since the second iteration would then again somehow get the parent classes, which would then be the vanilla classes.
Don't know why or how this is done the script, but since the only guns that happens with are children of vanilla guns, it has to do something with that.

Problem is probably unrelated to the mod directly.
reyhard (administrator)
2018-06-19 14:17

is it only happening with pistols?

- Issue History
Date Modified Username Field Change
2018-06-18 17:08 StrohVogel New Issue
2018-06-18 17:27 reyhard Status new => closed
2018-06-18 17:27 reyhard Assigned To => reyhard
2018-06-18 17:27 reyhard Resolution open => duplicate
2018-06-18 17:28 reyhard Status closed => new
2018-06-18 17:28 reyhard Resolution duplicate => reopened
2018-06-18 17:33 reyhard Note Added: 0007834
2018-06-18 17:33 reyhard Status new => feedback
2018-06-18 17:50 StrohVogel Note Added: 0007835
2018-06-18 17:50 StrohVogel Status feedback => new
2018-06-18 18:59 reyhard Note Added: 0007836
2018-06-18 18:59 reyhard Status new => feedback
2018-06-19 12:51 StrohVogel Note Added: 0007839
2018-06-19 12:51 StrohVogel Status feedback => new
2018-06-19 14:17 reyhard Note Added: 0007840
2018-06-19 14:17 reyhard Status new => feedback

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker