Hello,
I want to preface knowing that the Silencer attachment is turned off for the Hyper Blaster. I want to use it anyways. Figuring this out might help me fix the scopes as well which is the next thing I want to try to pursue.
I don't know if the team is working on this or not, but I am trying to fix some attachments on the Hyper Blaster. It appears that all the attachments are pretty off. If you all are working on this, then great! But my question is that I think I am pretty close to having some sort of fix, but I can't figure out why there are 2 silencers now.
This is the gun with 2 silencers on it now:
https://prnt.sc/26gry5a --(one in the middle of the barrel and one at the end)
I added the silencer at the end through this code:
<item_property_overrides name="HyperBlaster">
<property name="BarrelOffset" value="-.001,-.0197,.3197"/>
<property name="BarrelScale" value="1,1,1"/>
</item_property_overrides>
<effect_group tiered="false">
<triggered_effect trigger="onSelfHoldingItemCreated" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Barrels/sniperrifle_silencer.fbx" parent_transform="Attachments/Barrel">
<requirement name="HoldingItemHasTags" tags="hBarrel"/>
</triggered_effect>
</effect_group>
Obviously, this is adding a silencer in the location relative to where it would be based on the AK47 which is what I got my settings from. But I don't know where the original silencer is coming from.
The original silencer is potentially a decoration added to the Hyperblaster within the items.xml
There sure is a lot of action going on in there to decorate it and Snufkin did enjoy this part of building the weapons.
<effect_group name="Deco">
<triggered_effect trigger="onSelfEquipStart" action="SetTransformActive" active="false" transform_path="GunMesh"/>
<triggered_effect trigger="onSelfEquipStart" action="SetTransformActive" active="false" transform_path="ClipMesh"/>
<triggered_effect trigger="onSelfEquipStop" action="SetTransformActive" active="true" transform_path="GunMesh"/>
<triggered_effect trigger="onSelfEquipStop" action="SetTransformActive" active="true" transform_path="ClipMesh"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Items/Misc/sack.fbx" parent_transform="Handle"/>
<triggered_effect trigger="onSelfEquipStart" action="SetTransformActive" active="false" parent_transform="Handle" transform_path="sackMesh"/>
<triggered_effect trigger="onSelfEquipStart" action="SetTransformActive" active="false" parent_transform="Handle" transform_path="sack_LOD1"/>
<triggered_effect trigger="onSelfEquipStart" action="SetTransformActive" active="false" parent_transform="Handle" transform_path="sack_LOD2"/>
<triggered_effect trigger="onSelfEquipStop" action="SetTransformActive" active="true" parent_transform="Handle" transform_path="sackMesh"/>
<triggered_effect trigger="onSelfEquipStop" action="SetTransformActive" active="true" parent_transform="Handle" transform_path="sack_LOD1"/>
<triggered_effect trigger="onSelfEquipStop" action="SetTransformActive" active="true" parent_transform="Handle" transform_path="sack_LOD2"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflexPrefab.prefab" parent_transform="main1" local_offset="0,.06,-.22" local_rotation="-110,0,180"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflexPrefab.prefab" parent_transform="main2" local_offset="0,.1425,-.1" local_rotation="-110,0,0"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflexPrefab.prefab" parent_transform="main3" local_offset=".045,.164,-.13" local_rotation="70,0,90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflexPrefab.prefab" parent_transform="main4" local_offset="-.045,.204,-.13" local_rotation="70,0,-90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflexPrefab.prefab" parent_transform="main5" local_offset="-.045,.2325,-.175" local_rotation="70,0,-90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflexPrefab.prefab" parent_transform="main6" local_offset=".045,.2725,-.175" local_rotation="70,0,90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflex.fbx" parent_transform="main1" local_offset="-0.003,.05,-.04" local_rotation="0,0,90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflex.fbx" parent_transform="main2" local_offset="0.003,.09,-.04" local_rotation="0,0,-90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflex.fbx" parent_transform="main3" local_offset="-0.003,.13,.06" local_rotation="0,0,90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflex.fbx" parent_transform="main4" local_offset="0.003,.17,.06" local_rotation="0,0,-90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflex.fbx" parent_transform="main5" local_offset="-0.003,.21,.16" local_rotation="0,0,90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflex.fbx" parent_transform="main6" local_offset="0.003,.25,.16" local_rotation="0,0,-90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflex.fbx" parent_transform="main7" local_offset="-0.003,.29,.26" local_rotation="0,0,90"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Mods/Scopes/scope_laser_reflex.fbx" parent_transform="main8" local_offset="0.003,.33,.26" local_rotation="0,0,-90"/>
<triggered_effect trigger="onSelfEquipStart" action="AddPart" part="SideB" prefab="#Other/Items?Mods/Sides/pistol_flashlightPrefab.prefab" parentTransform="main1" localPos="0,.05,-.375" localRot="90,180,0"/>
<triggered_effect trigger="onSelfEquipStart" action="AddPart" part="SideC" prefab="#Other/Items?Tools/flashlight02Prefab.prefab" parentTransform="main1" localPos="0,.0825,.01" localRot="0,0,0"/>
<triggered_effect trigger="onSelfEquipStart" action="AddPart" part="SideC" prefab="#Other/Items?Tools/flashlight02Prefab.prefab" parentTransform="main2" localPos="0,.1225,.2" localRot="0,0,0"/>
<triggered_effect trigger="onSelfEquipStart" action="AddPart" part="SideC" prefab="#Other/Items?Mods/Scopes/ak_mounting_bracketPrefab.prefab" parentTransform="main1" localPos="0,.015,.2" localRot="0,0,0"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Weapons/Ranged/Pistol/PistolPrefab.prefab" parent_transform="Handle" local_offset="0,-.03,-.15" local_rotation="0,0,0"/>
<triggered_effect trigger="onSelfEquipStart" action="AttachPrefabToHeldItem" prefab="#Other/Items?Weapons/Melee/TaserBaton/TaserBatonPrefab.prefab" parent_transform="Handle" local_offset="0,.005,-.2" local_rotation="90,0,0"/>
</effect_group>
Systematically removing/commenting out these entries may bring the aesthetic result you are looking for.