Hi OP, could you tell me how you did the catalogue change? I'm trying to add your catalogue changes to my own file to make compatible with Red Dead Offline but I can't open yours to see the difference in Notepad or OpenIV.
There should be two results that look like that, Rolling Block & Carcano respectively. Add this above the Scope02 item <item> <key>COMPONENT_SCOPE_NONE</key> <linkshopid /> <linkmenuid /> </item>
Or you can just replace COMPONENT_RIFLE_SCOPE02 with COMPONENT_SCOPE_NONE
I found it easier to search for:<key>COMPONENT_RIFLE_SCOPE04</key>because only two weapons in the game have that scope size, the sniper rifles. Search for that in the catalog_sp.ymt file, move up to above the first <item> section, insert a new line and this code: <item> <key>COMPONENT_SCOPE_NONE</key> <linkshopid /> <linkmenuid /> </item>It should all look uniform. Then just repeat for the 2nd rifle, save and done.
This isn't a guide to edit weapons.ymt, you don't need to. Just install the weapons.ymt from my mod and delete the one in RDO.
This is to help you edit catalog_sp.ymt in RDO, don't install catalog_sp.ymt from my mod (delete it), install RDO, open catalog_sp.ymt in RDO folder in a text editor.
Search for 'COMPONENT_RIFLE_SCOPE04' as mentioned above.
You will see a list of scopes these are shop entries. COMPONENT_RIFLE_SCOPE02 > change this one to COMPONENT_SCOPE_NONE COMPONENT_RIFLE_SCOPE03 COMPONENT_RIFLE_SCOPE04
Search for COMPONENT_RIFLE_SCOPE04 one more time (Press F3 basically) You should see an identical section, so repeat the previous step. COMPONENT_RIFLE_SCOPE02 > change this one to COMPONENT_SCOPE_NONE COMPONENT_RIFLE_SCOPE03 COMPONENT_RIFLE_SCOPE04
I repeat: These are changes you need to make in catalog_sp.ymt of RDO or other mods that use that file, delete catalog_sp.ymt from my mod's folder after that. But do not delete weapons.ymt from my mod's folder, delete it from RDO's mod folder. That way both mods will work fine together, my weapons.ymt already has the edits RDO need to work properly.
Hello OP, what entries in the weapons.ymt file would I need to edit in order to have this work with another mod that has the same files? This isn't really a case where we could just swap them out or organize them differently, my only real solution is to edit the text itself.
Do this for every sniper (carcano, rollingblock, rare rollingblock, lenny's rollingblock if you have the gang member mod in, etc.)
Deadeye Targeting:
To allow for deadeye targeting, on every sniper scroll down to the bottom of their individual weapon entries in the weapons ymt, and look for <MaxDeadeyeTaggedTargets value="0" />, and set 0 to -1.
Scopeless option in customization menu:
For allowing yourself to remove the scope in the catalogue, find the keys that show scope02, scope03, etc. (those tell the game what to allow you to buy at the gunsmith regarding customization)
I second that kudos. And to find each sniper, just search in the weapons.ymt, WEAPON_SNIPERRIFLE_ROLLINGBLOCK(_Exotic and _Lenny) and WEAPON_SNIPERRIFLE_CARCANO, the weapon camera line should be nearby and then search for the <weaponflags> line, which is close below, and replace that. Much thanks to the mod author for this great additon which should've been in the game to begin with.
When i replace all the WeaponFlags of the Rolling Block, there is a bullet case clipping out of its breech, to fix this i used these flags : i can now lock peds like any other weapon however i cant switch scope, i have to remove the scope throm the gunsmith.
I appreciate it, this worked perfectly. Although the Carcano is bit too much of a laser beam. What settings can I edit to bring the reticle speed/accuracy more in line with the Bolt Action?
Is everything okay with the weapons.ymt file in No Forced Scope ? It shows gibberish in notepad++ and in openiv it shows full of "UNK_MEMBER_0x........ value =..."
So my rolling block rifle is supposed to be able to aim down iron sight in first person ?I can't aim through the iron sight ,can only aim as there's a dot in the middle of my screen or use scope .Is that means something went wrong ?Or it's just how it should be ?
Can you tell us what values you edited in the weapons.ymt and what to change them to? I have too many weapons.ymt conflictions and I'm struggling to make them all compatible.
Ive got Whems and RDR Offline, Tried using the Manual edit to the YMT as seen below and I can see the third person camera fine. Just when i try to use the Iron sights im forced into a scope, Any ideas?
246 comments
<item>
<key>0x55986ED6</key>
<layout>0x09D350D6</layout>
<flags />
<items>
<item>
<key>COMPONENT_RIFLE_SCOPE02</key>
<linkshopid />
<linkmenuid />
</item>
<item>
<key>COMPONENT_RIFLE_SCOPE03</key>
<linkshopid />
<linkmenuid />
</item>
<item>
<key>COMPONENT_RIFLE_SCOPE04</key>
<linkshopid />
<linkmenuid />
</item>
</items>
</item>
There should be two results that look like that, Rolling Block & Carcano respectively.
Add this above the Scope02 item
<item>
<key>COMPONENT_SCOPE_NONE</key>
<linkshopid />
<linkmenuid />
</item>
Or you can just replace COMPONENT_RIFLE_SCOPE02 with COMPONENT_SCOPE_NONE
<key>COMPONENT_RIFLE_SCOPE04</key>
because only two weapons in the game have that scope size, the sniper rifles. Search for that in the catalog_sp.ymt file, move up to above the first <item> section, insert a new line and this code:<item>
It should all look uniform. Then just repeat for the 2nd rifle, save and done.<key>COMPONENT_SCOPE_NONE</key>
<linkshopid />
<linkmenuid />
</item>
This is to help you edit catalog_sp.ymt in RDO, don't install catalog_sp.ymt from my mod (delete it), install RDO, open catalog_sp.ymt in RDO folder in a text editor.
Search for 'COMPONENT_RIFLE_SCOPE04' as mentioned above.
You will see a list of scopes these are shop entries.
COMPONENT_RIFLE_SCOPE02 > change this one to COMPONENT_SCOPE_NONE
COMPONENT_RIFLE_SCOPE03
COMPONENT_RIFLE_SCOPE04
Search for COMPONENT_RIFLE_SCOPE04 one more time (Press F3 basically)
You should see an identical section, so repeat the previous step.
COMPONENT_RIFLE_SCOPE02 > change this one to COMPONENT_SCOPE_NONE
COMPONENT_RIFLE_SCOPE03
COMPONENT_RIFLE_SCOPE04
I repeat: These are changes you need to make in catalog_sp.ymt of RDO or other mods that use that file, delete catalog_sp.ymt from my mod's folder after that.
But do not delete weapons.ymt from my mod's folder, delete it from RDO's mod folder. That way both mods will work fine together, my weapons.ymt already has the edits RDO need to work properly.
Edit: I figured it out
General no forced scope:
Replace the sniper's weaponcamera with this:
<WeaponCamera>
<CameraDictionaryHash />
<DefaultCameraHash>0xBACAE759</DefaultCameraHash>
<InteractionLockonCameraHash>0x5D3DEFD9</InteractionLockonCameraHash>
<AimCameraHash />
<FireCameraHash />
<HorseCameraHash>0xA84858C8</HorseCameraHash>
<CoverCameraHash>0xC4E1F206</CoverCameraHash>
<CoverReadyToFireCameraHash>0x0797BD96</CoverReadyToFireCameraHash>
<CoverHipFireCameraHash>0x0797BD96</CoverHipFireCameraHash>
<RunAndGunCameraHash>DEFAULT_THIRD_PERSON_PED_RUN_AND_GUN_CAMERA</RunAndGunCameraHash>
<CinematicShootingCameraHash />
<GrappleCameraHash>DEFAULT_FOLLOW_PED_CAMERA</GrappleCameraHash>
<CameraFov value="35.00000000" />
<FirstPersonAimFovMin value="42.00000000" />
<FirstPersonAimFovMax value="47.00000000" />
<FirstPersonDofSubjectMagnificationPowerFactorNear value="1.02500000" />
<FirstPersonDofMaxNearInFocusDistance value="0.00000000" />
<FirstPersonDofMaxNearInFocusDistanceBlendLevel value="0.30000000" />
<ZoomFactorForAccurateMode value="1.00000000" />
<RecoilShakeHash>DEFAULT_FIRST_PERSON_RECOIL_SHAKE</RecoilShakeHash>
<RecoilShakeHashFirstPerson />
<AccuracyOffsetShakeHash />
<MinTimeBetweenRecoilShakes value="150" />
<RecoilShakeAmplitude value="1.00000000" />
<RecoilShakeAmplitudeFirstPerson value="1.00000000" />
<ExplosionShakeAmplitude value="-1.00000000" />
</WeaponCamera>
and replace the sniper's weaponflags with this:
<WeaponFlags>CarriedInHand Gun CanLockonOnFoot CanLockonInVehicle CanFreeAim TwoHanded AnimReload UsableInCover 0x5A3E5EDA 0xE8C586DD UsableOnFoot HasLowCoverSwaps OnlyFireOneShot OnlyFireOneShotPerTriggerPress AllowCloseQuarterKills UseFPSAimIK UseFPSSecondaryMotion 0xCE1E0473 0x1152CE2C 0x1FCE1778 0x081F0BDD 0xC6550BE0 0x1FE95B8B 0xDCF43CF3 0x7BA2F91C 0x42D5F625 0x460F96C0 0x3A51C194 0xCC2A57A6 0x90882C1A 0x40B6CD20 0xE29937E6 0x08157808 0x3A829C54 0xE0217110 0x46B4F2E8 0x07982641 0x67B5DC71 0x87BD9548 0x27895875 0x628A469E 0x323DB9E4 0xD62ED034 0xE3DFFF32</WeaponFlags>
Do this for every sniper (carcano, rollingblock, rare rollingblock, lenny's rollingblock if you have the gang member mod in, etc.)
Deadeye Targeting:
To allow for deadeye targeting, on every sniper scroll down to the bottom of their individual weapon entries in the weapons ymt, and look for <MaxDeadeyeTaggedTargets value="0" />, and set 0 to -1.
Scopeless option in customization menu:
For allowing yourself to remove the scope in the catalogue, find the keys that show scope02, scope03, etc. (those tell the game what to allow you to buy at the gunsmith regarding customization)
so for example, find this:
<item>
<key>0x55986ED6</key>
<layout>0x09D350D6</layout>
<flags />
<items>
<item>
<key>COMPONENT_RIFLE_SCOPE02</key>
<linkshopid />
<linkmenuid />
</item>
<item>
<key>COMPONENT_RIFLE_SCOPE03</key>
<linkshopid />
<linkmenuid />
</item>
<item>
<key>COMPONENT_RIFLE_SCOPE04</key>
<linkshopid />
<linkmenuid />
</item>
</items>
</item>
Afterwards, just under <items> put in the following:
<item>
<key>0xB74325F6</key>
<linkshopid />
<linkmenuid />
</item>
This allows you to remove the scope at the gunsmith.
Rolling Block :
<WeaponFlags>CarriedInHand Gun CanLockonOnFoot CanLockonInVehicle CanFreeAim TwoHanded AnimReload UsableInCover 0x5A3E5EDA 0xE8C586DD UsableOnFoot HasLowCoverSwaps OnlyFireOneShot OnlyFireOneShotPerTriggerPress AllowCloseQuarterKills UseFPSAimIK UseFPSSecondaryMotion 0xCE1E0473 0x1152CE2C 0x1FCE1778 0x081F0BDD 0xC6550BE0 0x1FE95B8B 0xDCF43CF3 0x7BA2F91C 0x42D5F625 0x460F96C0 0x3A51C194 0x40B6CD20 0xE29937E6 0x08157808 0x3A829C54 0xE0217110 0x46B4F2E8 0x07982641 0x67B5DC71 0x87BD9548 0x27895875 0x628A469E 0x323DB9E4 0xD62ED034 0x90882C1A 0x50CF49B4 0x4A113F84 0xCA742415 </WeaponFlags>
<RecoilShakeHash>DEFAULT_FIRST_PERSON_RECOIL_SHAKE</RecoilShakeHash>
<RecoilShakeHashFirstPerson />
Instead put:
<RecoilShakeHash>DEFAULT_THIRD_PERSON_RECOIL_SHAKE</RecoilShakeHash>
<RecoilShakeHashFirstPerson>0x7EA7439D</RecoilShakeHashFirstPerson>
helperino pls
Does this mod also work for 1st person?
i have lots of mods but none that uses Weapon.ymt
any help OP ? thanks.