Announcement

Collapse
No announcement yet.

Remove crosshair while aiming (right click)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [MODLET] Remove crosshair while aiming (right click)

    It annoyed me that the crosshair remains while aiming, and considering the ironsights are pretty accurate I just removed them from all weapons except the Wooden Bow. I've also left the FOV modifiers while aiming in if you want to change them, I like slightly less zoom myself. As is they are just set to default values and nothing changes.

    RemoveCrosshairOnAim.zip

    Install:
    Place the "RemoveCrosshairOnAim" folder in 7 Days To Die\Mods. If the "Mods" folder doesn't exist, create one.

    Tweaks:
    If you want to also remove the crosshair from the Wooden Bow, open up RemoveCrosshairOnAim\Config\items.xml and remove the section highlighted in Orange.

    To change the FOV values, open up items.xml and change the values highlighted Yellow. Lower numbers = greater zoom effect.

    Code:
    	<!-- Remove crosshair while aiming -->
    	<set xpath="/items/item[not (@name='gunWoodenBow')]/property[@name='CrosshairOnAim']/@value">false</set>
    	
    	<!-- FOV for weapon sights in general (default: 55) -->
    	<set xpath="/items/item/property[@class='Action1']/property[@name='Zoom_max_out']/@value">55</set>
    	<set xpath="/items/item/property[@class='Action1']/property[@name='Zoom_max_in']/@value">55</set>
    	
    	<!-- FOV specifically for Compound Bow sights (default: 40) -->
    	<set xpath="/items/item[@name='gunCompoundBow']/property[@class='Action1']/property[@name='Zoom_max_out']/@value">40</set>
    	<set xpath="/items/item[@name='gunCompoundBow']/property[@class='Action1']/property[@name='Zoom_max_in']/@value">40</set>

    #2
    Thanks man. It was so aggravating.

    Comment


      #3
      It seems that the marksman rifle still has crosshairs when I aim in, could I edit the items.xml file to change that?

      Comment


        #4
        I don't believe I've had that issue. It still has crosshairs with no scope attached?

        If you are talking about aiming with a scope, I purposely left the crosshair on for that because the scope lines are really tough to see otherwise, poor contrast. Scope sight is really in need of a better texture. The reflex sight on the other hand I turned them off because the laser dot is plenty easy to see.

        Comment


          #5
          Does fov changes also change fov with added scopes?

          Edit: Nvm, looked at the orignal item_modifiers.xml, separate values for those
          Last edited by Quasimiyao; 12-09-2018, 04:50 PM.

          Comment


            #6
            Ah, what a beautiful addition. Quite a small thing, but the change is great. Thanks!

            Comment


              #7
              Fuc king thank you. It was realllly bugging me on the Reflex Sight, and I love the detailed notes in the modlet xml files. good documentation and foresight for the client.
              Last edited by layarion; 09-12-2019, 04:47 PM.

              Comment


                #8
                SMG doesn't seem to have this applied.

                Comment


                  #9
                  the wood bow hasn't got a crosshair even though the "[not (@name='gunWoodenBow')]" is there
                  Last edited by dan117; 12-21-2019, 03:33 PM.

                  Comment

                  Working...
                  X