首页 游戏攻略 正文

《孤岛危机:弹头》狙击和高斯步枪添加消音器的方法

高斯步枪和狙击都可以添加消音器,不过高斯步枪消音器嵌入到枪管里了,不太好看,狙击一点问题都没有。下面以高斯步枪为例介绍修改,改狙击方法跟这个一模一样。

要添加消音器要在4大类中修改,分别是:在geometry中添加位置, 在actions中添加声音,在layers中添加图层,在accessories中添加消音器及开火效果,以下绿字部分为添加。武器的actions中的声音和accessories中的开火效果我参考的是SCAR,这个可以随便替换,声音和消音器只是视听效果,决定消音器能杀人于无形的是radius参数,值小就可以不被敌人听到,就是说你不装消音器,只要把相应开火声音的radius改小,哪怕枪声震聋你,敌人也听不到-_-!

- <item name="GaussRifle" class="Weapon" category="medium" priority="16">

+ <params>

  <param name="giveable" value="1" />

  <param name="selectable" value="1" />

  <param name="pose" value="rifle" />

  <param name="mass" value="35" />

  <param name="select_override" value="1.5" />

  <param name="melee_attack_firemode" value="melee" />

  <param name="raiseable" value="true" />

  <param name="raise_distance" value="0.85" />

  <param name="attach_to_back" value="1" />

  <param name="bone_attachment_01" value="back_item_attachment_01" />

  <param name="bone_attachment_02" value="back_item_attachment_02" />

- <dualwield>

  <suffix value="akimbo_" />

  </dualwield>

  </params>

+ <ammos>

  <ammo name="gaussbullet" extra="0" amount="5" minAmmo="3" />

  </ammos>

+ <geometry>

  <firstperson name="objects/weapons/us/gauss/gauss_fp.chr" angles="0,0,0" />

  <thirdperson name="objects/weapons/us/gauss/gauss_tp.cgf" angles="0,0,0" />

- <boneAttachments>

<attachment target="firstperson" name="silencer_attach" bone="silencer_attach" />    这个不能随便改

  <attachment target="firstperson" name="muzzle_flash_effect" bone="weapon_term" />

  <attachment target="firstperson" name="muzzle_flash_light" bone="weapon_term" />

  <attachment target="firstperson" name="muzzle_flash_smoke" bone="weapon_term" />

  <attachment target="firstperson" name="attachment_top" bone="attachment_top" />

  <attachment target="firstperson" name="attachment_side" bone="attachment_side" />

  <attachment target="firstperson" name="attachment_side_light" bone="attachment_side" />

  </boneAttachments>

  </geometry>

+ <actions>

- <action name="select">

  <animation target="firstperson" name="select_01" />

  <animation target="owner" name="select" />

  <sound target="thirdperson" name="sounds/weapons:gaussrifle:select" radius="2" />

  </action>

- <action name="deselect">

  <animation target="firstperson" name="deselect_01" />

  <animation target="owner" name="deselect" />

  <sound target="firstperson" name="sounds/weapons:gaussrifle:deselect" radius="2" />

  <sound target="thirdperson" name="sounds/weapons:gaussrifle:deselect" radius="2" />

  </action>

- <action name="idle">

  <animation target="firstperson" name="idle_%hand%_%suffix%01" speed="0.7" />

  <animation target="owner" name="idle" />

  </action>

- <action name="offhand_on">

  <animation target="firstperson" name="remove_hand_%offhand%_01" speed="3" />

  </action>

- <action name="offhand_off">

  <animation target="firstperson" name="grab_weapon_%offhand%_01" />

  </action>

- <action name="pickedup">

  <sound target="firstperson" name="Sounds/weapons:weapon_accessories:pickup_weapon_fp" radius="2" />

  <sound target="thirdperson" name="Sounds/weapons:weapon_accessories:pickup_weapon" radius="2" />

  </action>

- <action name="fire_cock">

  <animation target="firstperson" name="fire_bullets_%hand%_%suffix%01" speed="0.66" />

  <animation target="owner" name="shoot" />

  <sound target="firstperson" name="sounds/weapons:gaussrifle:fire%env%_fp" radius="300" static="1" />

  <sound target="thirdperson" name="sounds/weapons:gaussrifle:fire%env%" radius="300" static="1" />

  </action>

- <action name="fire">

  <animation target="firstperson" name="fire_bullets_%hand%_%suffix%02" />

  <animation target="owner" name="shoot" />

  <sound target="firstperson" name="sounds/weapons:gaussrifle:fire%env%_fp" radius="300" static="1" />

  <sound target="thirdperson" name="sounds/weapons:gaussrifle:fire%env%" radius="300" static="1" />

  </action>

- <action name="fire_silenced">

  <sound target="firstperson" name="sounds/weapons:scar:fire_silenced_fp_single" radius="18" static="1" />

  <sound target="thirdperson" name="sounds/weapons:scar:fire_silenced_3rd_single" radius="18" static="1" />

  </action>    这是开枪时的声音,可以随意替换其他武器的,但是记得radius值不要太大,这才是消音器起作用的重要参数。

- <action name="cock">

  <animation target="firstperson" name="cock_%hand%_01" />

  </action>

- <action name="cock_sound">

  <sound target="firstperson" name="Sounds/weapons:gaussrifle:gauss_reload_fire_full" static="1" />

  </action>

- <action name="reload_chamber_empty">

  <animation target="firstperson" name="reload_chamberempty_01" />

  <animation target="owner" name="reload_chamber_empty" />

- <!-- <sound target="thirdperson" name="sounds/weapons:gaussrifle:reload" radius="10" />

  -->

  </action>

- <action name="reload_chamber_full">

  <animation target="firstperson" name="reload_chamberfull_01" />

  <animation target="owner" name="reload_chamber_full" />

- <!-- <sound target="thirdperson" name="sounds/weapons:gaussrifle:reload" radius="5" />

  -->

  </action>

- <action name="zoom_in">

  <animation target="firstperson" name="zoom_in_%suffix%01" speed="1.75" />

  </action>

- <action name="zoom_out">

  <animation target="firstperson" name="zoom_out_%suffix%01" speed="1.25" />

  </action>

- <action name="enter_modify">

  <animation target="firstperson" name="enter_modify_%hand%_01" />

  <animation target="ownerloop" name="modify_weapon" />

  </action>

- <action name="leave_modify">

  <animation target="firstperson" name="leave_modify_%hand%_01" />

  <animation target="ownerloop" name="idle" />

  </action>

- <action name="melee">

  <animation target="firstperson" name="melee_02" />

  <animation target="owner" name="melee" />

- <!-- <sound target="firstperson" name="sounds/weapons:melee:fire_fp_mw" radius="5" />

  -->

  <sound target="thirdperson" name="sounds/weapons:melee:fire" radius="5" />

  </action>

- <action name="empty_clip">

  <sound target="firstperson" name="Sounds/weapons:gaussrifle:dryfire_fp" radius="2" />

  <sound target="thirdperson" name="Sounds/weapons:gaussrifle:dryfire" radius="2" />

  </action>

- <action name="null_fire">

  <sound target="firstperson" name="Sounds/interface:hud:null_fire" radius="2" />

  </action>

- <action name="hit">

  <sound target="firstperson" name="sounds/physics:bullet_impact:melee_impact_mw" radius="5" />

  <sound target="thirdperson" name="sounds/physics:bullet_impact:melee_impact_mw" radius="5" />

  </action>

- <action name="raise">

  <animation target="firstperson" name="raise_%hand%_%suffix%01" />

  </action>

- <action name="idle_raised">

  <animation target="firstperson" name="idle_raised_%hand%_%suffix%01" />

  </action>

- <action name="lower">

  <animation target="firstperson" name="lower_%hand%_%suffix%01" />

  </action>

  </actions>

+ <layers>

- <layer name="silencer">

  <animation target="firstperson" name="silencer_on_layer_01" layerId="1" />

  </layer>

- <layer name="dampers">

  <animation target="firstperson" name="dampers_layer_01" layerId="4" />

- <bones>

  <bone name="left_damper_base" />

  <bone name="right_damper_base" />

  </bones>

  </layer>

- <layer name="flashlight">

  <animation target="firstperson" name="flashlight_on_layer_01" layerId="6" />

  </layer>

- <layer name="scope">

  <animation target="firstperson" name="scope_on_layer_01" layerId="5" />

  </layer>

- <layer name="modify_layer">

  <animation target="firstperson" name="modify_layered_%hand%_01" layerId="2" />

  </layer>

  </layers>

+ <firemodes>

- <firemode type="default">

- <spread>

  <param name="min" value="1.0" />

  <param name="max" value="3.0" />

  <param name="attack" value="0.95" />

  <param name="decay" value="0.7" />

  <param name="speed_m" value="1.5" />

  </spread>

  </firemode>

- <firemode name="Single" type="Single">

- <fire>

  <param name="ammo_type" value="gaussbullet" />

  <param name="rate" value="30" />

  <param name="clip_size" value="5" />

  <param name="bullet_chamber" value="1" />

  <param name="slider_layer" value="dampers" />

  <param name="slider_layer_time" value="750" />

  <param name="damage" value="500" />

  <param name="reload_time" value="3.5" />

  <param name="helper_tp" value="weapon_term" />

  <param name="nearmiss_signal" value="OnNearMiss" />

  <param name="hit_type" value="gaussbullet" />

  </fire>

- <tracer>

  <param name="effectFP" value="weapon_fx.tracer.gaussfp" />

  <param name="effect" value="weapon_fx.tracer.gauss" />

  <param name="speed" value="500" />

  <param name="speedFP" value="400" />

  <param name="frequency" value="1" />

  <param name="helper_tp" value="weapon_term" />

  <param name="helper_fp" value="weapon_term" />

  </tracer>

- <recoil>

  <param name="max_recoil" value="12.0" />

  <param name="attack" value="5.0" />

  <param name="decay" value="0.5" />

  <param name="maxx" value="40.0" />

  <param name="maxy" value="6.0" />

  <param name="randomness" value="0.3" />

- <hints>

  <hint x="1.0" y="1.0" />

  </hints>

  </recoil>

- <!--

<spread>

                                <param name="min" value="2.5" />

                                <param name="max" value="6.25" />

                                <param name="attack" value="0.95" />

                                <param name="decay" value="0.7" />

                                <param name="speed_m" value="1.5" />                               

                        </spread>

相关信息

魔兽世界9.0闪雾奔行者坐骑获取方法介绍
魔兽世界肯瑞托的戒指怎么样
魔兽世界玩具上限攻略 隐藏玩具清单介绍
魔兽世界元素愤怒号角攻略 雷蹄的传说详解
魔兽世界友善任务怎么做 友善任务攻略
魔兽世界 60版本最具情怀单手剑TOP10 克罗之刃强势上榜
魔兽世界驱除幻象怎么做 魔兽世界奥术干扰器
魔兽世界招募怎么操作 魔兽世界招募的方法
魔兽世界孢子村声望怎么刷 魔兽世界孢子村声望刷新介绍
魔兽世界鬼灵战马怎么获取 平民的幽灵坐骑攻略
魔兽世界圣骑士大厅NPC详解 往日的烙印攻略
魔兽世界怎么去嚎风峡湾 怀旧服下半年攻略介绍
魔兽世界阿苟纳之池在哪 残酷的阿拉修斯在哪里介绍
魔兽世界灰熊丘陵稀有宠物获取方法 成就龙刷新地点和获取方法
魔兽世界9.0剧情最大的变数 雷文德斯前瞻 残酷的 圣光 炼狱
魔兽世界怎么去往诺森德 嚎风峡湾怎么去
魔兽世界英雄志 卡多雷的勇士加洛德·影歌
魔兽世界死亡骑士输出用什么天赋
雷霆狂暴手游攻略魔兽世界8.0狂暴战简易攻略
魔兽世界五大美女NPC是谁 魔兽世界美女排行榜