《孤岛危机:弹头》打造属于自己的武器(武器修改教程)
- 作者:不死鸟
- 编辑:ChunTian
+ <zoommodes>缩放模式,瞄准时的一切都在这里改,包括很多人关心的瞄准时抖动的问题,一共4种瞄准方式:ironsight,reflexsight,assaultscope和Sniper scope,前三种type="Ironsight",狙击镜的type="scope"说明前三种不能缩放,狙击镜可以缩放,下边主要以狙击镜为例说明修改
- <zoommode name="ironsight" type="IronSight"> 机械瞄准
- <zoom>
<param name="suffix" value="ironsight_" />
<param name="suffix_FC" value="fc_" />
<param name="support_FC_IronSight" value="true" />
<param name="dof_mask" value="textures/weapons/ironzoom_blurmask.dds" />
<param name="zoom_in_time" value="0.2" />
<param name="zoom_out_time" value="0.2" />
- <stages>
<stage value="1.4" />
</stages>
</zoom>
- <zoomSway>
<param name="maxX" value="0.012" />
<param name="maxY" value="0.015" />
<param name="stabilizeTime" value="1.5" />
<param name="minScale" value="0.25" />
<param name="strengthScale" value="0.75" />
<param name="strengthScaleTime" value="0.75" />
<param name="crouchScale" value="0.75" />
<param name="proneScale" value="0.0" />
</zoomSway>
- <spreadMod>
<param name="max_mod" value="0.1" />
<param name="attack_mod" value="1.0" />
<param name="decay_mod" value="1.0" />
<param name="speed_m_mod" value="1.0" />
<param name="min_mod" value="0.0001" />
<param name="rotation_m_mod" value="1.5" />
<param name="spread_crouch_m_mod" value="0.75" />
<param name="spread_prone_m_mod" value="0.5" />
<param name="spread_jump_m_mod" value="1.0" />
</spreadMod>
- <recoilMod>
<param name="max_recoil_mod" value="0.5" />
<param name="attack_mod" value="0.5" />
<param name="decay_mod" value="0.8" />
<param name="impulse_mod" value="1.0" />
<param name="maxx_mod" value="0.75" />
<param name="maxy_mod" value="0.75" />
<param name="angular_impulse_mod" value="1.0" />
<param name="back_impulse_mod" value="1.0" />
<param name="recoil_crouch_m_mod" value="0.75" />
<param name="recoil_prone_m_mod" value="0.5" />
<param name="recoil_jump_m_mod" value="2.0" />
<param name="recoil_strMode_m_mod" value="2.0" />
</recoilMod>
</zoommode>
- <zoommode name="reflexsight" type="IronSight" enabled="0"> 反射镜
- <zoom>
<param name="suffix" value="reflex_" />
<param name="dof_mask" value="textures/weapons/ironzoom_blurmask.dds" />
<param name="zoom_in_time" value="0.2" />
<param name="zoom_out_time" value="0.2" />
<param name="reflex_aimDot" value="0" />
<param name="reflex_dotEffect" value="Objects/Weapons/Attachments/reflex_rifle/dot.cgf" />
<param name="hbob_ratio" value="2.5" />
<param name="scope_mode" value="1" />
<param name="scope_nearFov" value="28" />
- <stages>
<stage value="1.8" />
</stages>
</zoom>
- <zoomSway>
<param name="maxX" value="0.012" />
<param name="maxY" value="0.015" />
<param name="stabilizeTime" value="1.5" />
<param name="minScale" value="0.25" />
<param name="strengthScale" value="0.75" />
<param name="strengthScaleTime" value="0.75" />
<param name="crouchScale" value="0.75" />
<param name="proneScale" value="0.0" />
</zoomSway>
- <spreadMod>
<param name="max_mod" value="0.1" />
<param name="attack_mod" value="1.0" />
<param name="decay_mod" value="1.0" />
<param name="speed_m_mod" value="0.25" />
<param name="min_mod" value="0.0001" />
<param name="rotation_m_mod" value="1.0" />
<param name="spread_crouch_m_mod" value="0.75" />
<param name="spread_prone_m_mod" value="0.5" />
<param name="spread_jump_m_mod" value="1.0" />
</spreadMod>
- <recoilMod>
<param name="max_recoil_mod" value="0.5" />
<param name="attack_mod" value="0.5" />
<param name="decay_mod" value="0.8" />
<param name="impulse_mod" value="1.0" />
<param name="maxx_mod" value="0.75" />
<param name="maxy_mod" value="0.75" />
<param name="angular_impulse_mod" value="1.0" />
<param name="back_impulse_mod" value="1.0" />
<param name="recoil_crouch_m_mod" value="0.75" />
<param name="recoil_prone_m_mod" value="0.5" />
<param name="recoil_jump_m_mod" value="2.0" />
<param name="recoil_strMode_m_mod" value="2.0" />
</recoilMod>
</zoommode>
- <zoommode name="assaultscope" type="IronSight" enabled="0"> 低精度瞄准镜
- <zoom>
<param name="suffix" value="scope_" />
<param name="blur_amount" value="1" />
<param name="blur_mask" value="textures/weapons/assaultscope_blur.dds" />
<param name="dof_mask" value="textures/weapons/assaultscope_blur.dds" />
<param name="zoom_in_time" value="0.2" />
<param name="zoom_out_time" value="0.2" />
<param name="scope_mode" value="1" />
<param name="scope_nearFov" value="8" />
<param name="scope_offset" value="-0.0005,0.17,-0.0015" />
- <stages>
<stage value="3.5" />
</stages>
</zoom>
- <zoomSway>
<param name="maxX" value="0.012" />
<param name="maxY" value="0.015" />
<param name="stabilizeTime" value="3.0" />
<param name="minScale" value="0.4" />
<param name="strengthScale" value="0.6" />
<param name="strengthScaleTime" value="0.75" />
<param name="crouchScale" value="0.75" />
<param name="proneScale" value="0.0" />
</zoomSway>
- <spreadMod>
<param name="max_mod" value="0.1" />
<param name="attack_mod" value="1.0" />
<param name="decay_mod" value="1.0" />
<param name="speed_m_mod" value="0.5" />
<param name="min_mod" value="0.0001" />
<param name="rotation_m_mod" value="1.5" />
<param name="spread_crouch_m_mod" value="0.75" />
<param name="spread_prone_m_mod" value="0.5" />
<param name="spread_jump_m_mod" value="1.0" />
</spreadMod>
- <recoilMod>
<param name="max_recoil_mod" value="0.5" />
<param name="attack_mod" value="0.4" />
<param name="decay_mod" value="1.25" />
<param name="impulse_mod" value="1.0" />
<param name="maxx_mod" value="0.5" />
<param name="maxy_mod" value="1.0" />
<param name="angular_impulse_mod" value="1.0" />
<param name="back_impulse_mod" value="1.0" />
<param name="recoil_crouch_m_mod" value="0.75" />
<param name="recoil_prone_m_mod" value="0.5" />
<param name="recoil_jump_m_mod" value="2.0" />
<param name="recoil_strMode_m_mod" value="1.5" />
</recoilMod>
</zoommode>
- <zoommode name="sniper" type="Scope" enabled="0"> 狙击镜
- <zoom>
<param name="suffix" value="scope_" />
<param name="blur_amount" value="1" />
<param name="blur_mask" value="textures/weapons/assaultscope_blur.dds" />
<param name="dof_mask" value="textures/weapons/assaultscope_blur.dds" />
<param name="zoom_in_time" value="0.15" />
<param name="zoom_out_time" value="0.125" />
<param name="scope_mode" value="1" />
<param name="scope_nearFov" value="6" />
<param name="scope_offset" value="0.0,0.23,0.0044" />
<param name="hbob_ratio" value="2.5" />
- <stages>缩放倍数
<stage value="4" /> 4倍缩放,可以改
<stage value="10" /> 10倍缩放,可以改
<stage value="16" /> 缩放倍数还可以加,我觉得缩放倍数不够所以加了一条16倍缩放,可以任意加,游戏中有效果,不过自己添加的放大倍数没有数值显示,目前还不知道如何显示出来。(说到这顺便提一下望远镜的放大也可以改,在Warhead_GameData.pak\Scripts\Entities\Items\XML\Weapons\binoculars.xml)
玩家点评 (0人参与,0条评论)
热门评论
全部评论