Jump to content

Scope moding question


Z06Frank

Recommended Posts

New to 7d2d modding, I am trying to figure out how to have the scope overlay activate without a scope mod. I added a new gun model that i want to have a scope attached by default.

 

here's a preview of what I am working on.

 

Thanks !

 

20200323104716_1.jpg.4b7f033df5b5fd79141f61ab059b862b.jpg

Link to comment
Share on other sites

Guess the correct way would be to just add the modification to your barret .50 directly from the start. same way have the headlight on a fireman's casket. otherwise you need to go to items.xml find your weapon and adjust this section:

 

<property class="Action1">
  <property name="Class" value="Zoom"/>
  <property name="Zoom_max_out" value="55"/>
  <property name="Zoom_max_in" value="55"/>
</property>

 

with values such as this:

 

<property name="CrosshairOnAim" value="true"/>
<property name="Zoom_overlay" value="#Other/Items?Weapons/HUD/sniper_zoom_overlay.tga"/>
<property name="Zoom_max_out" value="20"/> <property name="Zoom_max_in" value="10"/>
<property name="ScopeOffset" value="-0.0006,0.0,0.14"/>
<property name="ScopeScale" value="1.2,1.2,1.2"/>
<property name="ScopeCameraOffset" value="0,-0.022,0"/>

 

and from starting tag

<property name="Tags" value="..."/>

 

remove these if present "smallTopAttachments,mediumTopAttachments,largeTopAttachments "

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...