《孤岛危机:弹头》狙击和高斯步枪添加消音器的方法
- 作者:不死鸟
- 编辑:ChunTian
-->
- <actions>
<param name="fire_cock" value="fire_cock" />
</actions>
- <muzzleflash>
<firstperson effect="muzzleflash.SniperRifle.Sniper" time="1" helper="muzzle_flash_effect" light_helper="muzzle_flash_light" light_radius="2" light_color="0.5,0.5,1" light_diffuse_mult="8" />
<thirdperson effect="muzzleflash.SniperRifle.Sniper_tp" time="1" helper="weapon_term" light_helper="weapon_term" light_radius="2.3" light_color="0.5,0.5,1" light_diffuse_mult="8" />
</muzzleflash>
- <muzzlesmoke_ice>
<firstperson effect="weapon_fx.gun.cold_steam_on_barrel" helper="muzzle_flash_smoke" />
<thirdperson effect="weapon_fx.gun.cold_steam_on_barrel" helper="weapon_term" />
</muzzlesmoke_ice>
- <reject>
<firstperson effect="weapon_fx.shells.gaussrifle" helper="shells" />
<thirdperson effect="weapon_fx.shells.gaussrifle" helper="shells" />
</reject>
- <recoil>
<param name="angular_impulse" value="0.5" />
<param name="back_impulse" value="3.0" />
</recoil>
</firemode>
- <firemode name="melee" type="Melee">
- <melee>
<param name="helper" value="collision" />
<param name="offset" value="0.85" />
<param name="damage" value="70" />
<param name="impulse" value="60" />
<param name="delay" value="0.13" />
<param name="duration" value="0.35" />
</melee>
- <actions>
<param name="attack" value="melee" />
</actions>
</firemode>
</firemodes>
+ <zoommodes>
- <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.2" />
<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.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="1.0" />
<param name="attack_mod" value="1.0" />
<param name="decay_mod" value="1.0" />
<param name="impulse_mod" value="1.0" />
<param name="maxx_mod" value="1.0" />
<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="0.75" />
</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="27" />
- <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.2" />
<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="1.0" />
<param name="attack_mod" value="1.0" />
<param name="decay_mod" value="1.0" />
<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="0.75" />
</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.16,0.0" />
- <stages>
<stage value="3.5" />
</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.2" />
<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.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.75" />
<param name="attack_mod" value="0.75" />
<param name="decay_mod" value="1.0" />
<param name="impulse_mod" value="1.0" />
<param name="maxx_mod" value="0.5" />
<param name="maxy_mod" value="0.5" />
<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="0.75" />
</recoilMod>
- <scope>
<param name="scope" value="scope_assault" />
<param name="dark_in_time" value="0.15" />
<param name="dark_out_time" value="0.15" />
</scope>
</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.2,0.0059" />
<param name="hbob_ratio" value="2.5" />
- <stages>
<stage value="4" />
<stage value="10" />
<stage value="16" />
</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.2" />
<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.5" />
<param name="min_mod" value="0.0001" />
<param name="rotation_m_mod" value="3.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="1.0" />
<param name="attack_mod" value="1.0" />
<param name="decay_mod" value="1.0" />
<param name="impulse_mod" value="1.0" />
<param name="maxx_mod" value="0.5" />
<param name="maxy_mod" value="0.5" />
<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>
- <scope>
<param name="scope" value="scope_sniper" />
<param name="dark_in_time" value="0.15" />
<param name="dark_out_time" value="0.15" />
</scope>
</zoommode>
</zoommodes>
+ <accessories>
- <accessory name="Silencer">
<attach helper="silencer_attach" layer="silencer" />
<detach />
- <params>
- <firemodes>
- <firemode type="single">
- <fire>
<param name="damage_drop_per_meter" value="0.0" /> 装消音器后子弹威力衰减值/m
<param name="damage_drop_min_distance" value="0" /> 子弹威力全伤害距离
</fire>
- <muzzleflash>
<firstperson effect="muzzleflash.AssaultRifle.silenced_smoke" helper="muzzle_flash_effect" time="0.1" /> 钳口火焰效果,我是参考SCAR的,可以自己改
<thirdperson effect="muzzleflash.AssaultRifle.silenced_smoke_tp" helper="weapon_term" time="0.1" /> 第三人称下的枪口火焰效果
</muzzleflash>
- <actions>
<param name="fire" value="fire_silenced" />
<param name="fire_cock" value="fire_silenced" />
<param name="spin_down" value="spin_down_silenced" />
</actions>
</firemode>
</firemodes>
</params>
</accessory>
- <accessory name="LAMRifle">
<attach helper="attachment_side" layer="flashlight" />
<detach />
- <params>
- <firemodes>
- <firemode type="default">
- <spread>
<param name="min" value="1.0" />
<param name="max" value="2.5" />
<param name="speed_m" value="0.1" />
<param name="rotation_m" value="0.2" />
</spread>
</firemode>
</firemodes>
</params>
</accessory>
- <accessory name="LAMRifleFlashLight">
<attach helper="attachment_side" layer="flashlight" />
<detach />
</accessory>
- <accessory name="AssaultScope" zoommode="assaultscope">
<attach helper="attachment_top" layer="scope" />
<detach />
- <params>
- <firemodes>
- <firemode type="default">
- <fire>
<param name="unzoomed_cock" value="1" />
</fire>
</firemode>
</firemodes>
</params>
</accessory>
- <accessory name="SniperScope" zoommode="sniper">
<attach helper="attachment_top" layer="scope" />
<detach />
- <params>
- <firemodes>
- <firemode type="default">
- <fire>
<param name="unzoomed_cock" value="1" />
</fire>
</firemode>
</firemodes>
</params>
</accessory>
- <accessory name="Reflex" zoommode="reflexsight">
<attach helper="attachment_top" layer="scope" />
<detach />
</accessory>
</accessories>
</item>
玩家点评 (0人参与,0条评论)
热门评论
全部评论