Jump to content
BobbyLee298

For TPF I Have Some M4 Item_modifiers Placement Code You Can Use

Recommended Posts

<append xpath="/item_modifiers/item_modifier[@name='modGunSoundSuppressorSilencer']">
        <item_property_overrides name="gunMGT2TacticalAR">
            <property name="Sound_start" value="m60_s_fire"/>  <!-- Switch me -->
            <property name="Sound_end" value="silencefiller"/>
            <property name="BarrelOffset" value="-0.001,0.0050,0.2800"/>
            <property name="BarrelScale" value="1,1,1"/>
        </item_property_overrides>
    </append>

 

 

        <append xpath="/item_modifiers/item_modifier[@name='modGunLaserSight']">
        <item_property_overrides name="gunMGT2TacticalAR">
            <property name="SideOffset" value="0,0.0510,0.31"/>
            <property name="SideScale" value="1,1,1"/>
        </item_property_overrides>
    </append>

 

 

        <append xpath="/item_modifiers/item_modifier[@name='modGunFlashlight']">
        <item_property_overrides name="gunMGT2TacticalAR">
            <property name="SideOffset" value="0,0.0480,0.31"/>
            <property name="SideScale" value="1,1,1"/>
        </item_property_overrides>
    </append>

 

 

        <append xpath="/item_modifiers/item_modifier[@name='modGunReflexSight']">
        <item_property_overrides name="gunMGT2TacticalAR">
            <property name="ScopeOffset" value="0,0.105,-0.0560"/>
            <property name="ScopeScale" value="0.63,0.63,0.63"/>
            <property name="ScopeCameraOffset" value="0,-.0245,0"/>
        </item_property_overrides>
    </append>

 

 

        <append xpath="/item_modifiers/item_modifier[@name='modGunScopeSmall']">
        <item_property_overrides name="gunMGT2TacticalAR">
            <property name="ScopeOffset" value="0,0.1100,-0.1"/>
            <property name="ScopeScale" value="1.05,1.05,1.05"/>
            <property name="ScopeCameraOffset" value="0,-0.025,0"/>
        </item_property_overrides>
    </append>

 

 

        <append xpath="/item_modifiers/item_modifier[@name='modGunScopeMedium']">
        <item_property_overrides name="gunMGT2TacticalAR">
            <property name="ScopeOffset" value="0,0.1000,-0.0950"/>
            <property name="ScopeScale" value="1,1,1"/>
            <property name="ScopeCameraOffset" value="0,-.026,0"/>
        </item_property_overrides>
    </append>

 

 

 

 

Just So you Guys Don't Have To Waste Your Time

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...