• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Picture-in-Picture Vanilla Optics Replacer

I am currently trying to update this to A19. The mod is loading fine, the scope are also "working", but I am having a lot of trouble aligning the scopes and the camera correctly, basically doing it by trial and error.

Does anyone know how to properly modify the "ScopeOffset" and "ScopeCameraOffset" values, rather than blindly experimenting?

View attachment item_modifiers.xml

 
Lorelando said:
Сейчас я пытаюсь обновить его до A19. Мод загружается нормально, прицел тоже «работает», но у меня много проблем с правильным выравниванием прицелов и камеры, в основном делаю это методом проб и ошибок.

Кто-нибудь знает, как правильно изменить значения "ScopeOffset" и "ScopeCameraOffset", а не слепо экспериментировать?

View attachment 14080


I am also trying to work on a mod. everything turns out badly but it's very hard work how did you manage to do it?

 
You can do it more efficiently by modifying the attachments models within unity, copy those values, and paste em into the xml file. Atleast that's how i see it would work more efficiently

 
As of alpha 19.1, by changing the weapons name in your xml to match what is in the game now, got all but the 9mm pistol and new weapons to work without changing values.

That said I didn't know about this mod in A18, and as such didn't use it in that version.

But sure wish I did

 
Last edited by a moderator:
As of alpha 19.1, by changing the weapons name in your xml to match what is in the game now, got all but the 9mm pistol and new weapons to work without changing values.

That said I didn't know about this mod in A18, and as such didn't use it in that version.

But sure wish I did
Got a file for the fix that you can share? 

 
Look for

<property name="Zoom_max_out" value="30"/>
<property name="Zoom_max_in" value="20"/>


on the scopes. Should be in item_modifiers.xml. Lower number is more zoom, I believe.

 
Anyone got the alignment setup correctly? Seems like even when "fixed", the actual shots dont align with the red dot.

 
Last edited by a moderator:
Anyone got the alignment setup correctly? Seems like even when "fixed", the actual shots dont align with the red dot.
I ended up going through and adding/modifying the scopes, got them aligned I think. The tactical assault rifle one might look a little weird, and for some reason I couldn't get the 2x scope to move on the .44 Vulture for some reason, so that one is broken

Link to the item_modifiers.xml

 
Does anybody know how to raise or lower the reticle? I've been playing Undead Legacy, the creator remodeled the vanilla shotgun. I managed to align the 2x scope on the new model's picatinny rail but the reticle is way below the front sight. 

 
https://delafil.se/e5812ded6d79d95f/ScopesUnpcacked.rar

I have due to work and other things not been able to get the scopes to work properly during the recent updates but if anyone knows how to use unity the download link above contains the riped assets from the picture in picture mod and you can align guns with the scopes using unity and get the correct xyz cords to make the guns and scopes fit each other better. Download side is in swedish and you press ladda ner to download.

 
Back
Top