<item name="Hurricane" class="Weapon" category="medium" priority="0" >
<params>
<param name="giveable" value="1" />
<подбираемое> <param name="selectable" value="1" />
<выбираемое> <param name="pose" value="mg" />
<позиция относительно игрока> <param name="mass" value="50" />
<масса> <param name="two_hand" value="1" />
<две руки> <param name="melee_attack_firemode" value="melee" />
<ближняя атака> <param name="prone_not_usable" value="1" />
<нельзя использовать лежа> <param name="raiseable" value="true" />
<подбираемое> <param name="raise_distance" value="0.90" />
<дистанция подбора> <param name="display_name" value="@mp_eMinigun" />
<отображаемое название> </params>
<ai_descriptor handler="instant" speed="400" damage_radius="-1" charge_time="3"
coverFireTime="20" spreadRadius="0.5" draw_time="2.0" sweep_width="3.0" sweep_frequency="1.5"
burstBulletCountMin="5" burstBulletCountMax="20" burstPauseTimeMin="0.0" burstPauseTimeMax="0.0" singleFireTriggerTime="-1"
/>
<ammos>
<ammo name="hurricanebullet" extra="500" amount="500" /> <extra - запас патронов, amount - кол-ва патронов В НАЧАЛЕ(не максимум)>
</ammos>
<geometry>
<firstperson name="objects/weapons/us/hurricane/hurricane_fp.cdf" angles="0,0,0" position="0,0,0"/> <модель от 1ого лица>
<thirdperson name="objects/weapons/us/hurricane/hurricane_tp.cgf" angles="0,0,0" /> <модель от 3его лица>
<boneAttachments>
<attachment target="firstperson" name="muzzle_flash_effect" bone="weapon_term" />
<attachment target="firstperson" name="muzzle_flash_light" bone="weapon_term" />
<attachment target="firstperson" name="attachment_side" bone="attachment_side" />
<attachment target="firstperson" name="attachment_side_light" bone="attachment_side"/>
</boneAttachments>
</geometry>
<actions>
<action name="spin_up"> <всякие звуки/анимации при определенных действиях>
<animation target="firstperson" name="prefire_01" speed="0.45" />
<animation target="owner" name="spin_up" />
<sound target="firstperson" name="sounds/weapons:hurricane:spin_up_fp" radius="10" />
<sound target="thirdperson" name="sounds/weapons:hurricane:spin_up_3rd" radius="10" />
</action>
<action name="spin_down">
<animation target="firstperson" name="postfire_01" />
<animation target="owner" name="spin_down" />
<sound target="firstperson" name="sounds/weapons:hurricane:spin_down_fp" radius="10" />
<sound target="thirdperson" name="sounds/weapons:hurricane:spin_down_3rd" radius="10" />
</action>
<action name="spin_down_tail">
<sound target="firstperson" name="Sounds/weapons:hurricane:fire_fp_tail%env%" radius="5" static="1" />
<sound target="thirdperson" name="Sounds/weapons:hurricane:fire_3rd_tail%env%" radius="5" static="1" />
</action>
<action name="select">
<animation target="firstperson" name="select_01" />
<animation target="owner" name="select" />
<sound target="thirdperson" name="sounds/weapons:hurricane:select" radius="10" />
</action>
<action name="deselect">
<animation target="firstperson" name="deselect_01" />
<animation target="owner" name="deselect" />
<sound target="firstperson" name="sounds/weapons:hurricane:deselect" radius="10" />
<sound target="thirdperson" name="sounds/weapons:hurricane:deselect" radius="10" />
</action>
<action name="idle">
<animation target="firstperson" name="idle_01" speed="0.7" />
<animation target="owner" name="idle" />
</action>
<action name="pickedup">
<sound target="firstperson" name="Sounds/weapons:weapon_accessories:pickup_weapon_fp" radius="5" />
<sound target="thirdperson" name="Sounds/weapons:weapon_accessories:pickup_weapon" radius="5" />
</action>
<action name="fire">
<animation target="firstperson" name="fire_01" />
<animation target="owner" name="shoot" />
</action>
<action name="rapid_fire">
<sound target="firstperson" name="sounds/weapons:hurricane:fire_fp" radius="300" static="1" synched="1" />
<sound target="thirdperson" name="sounds/weapons:hurricane:fire_3rd" radius="300" static="1" synched="1" />
</action>
<action name="melee">
<animation target="firstperson" name="melee_01" />
<animation target="owner" name="weaponPunch" />
<!--<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="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="reload">
<animation target="firstperson" name="reload_01" />
<animation target="owner" name="reload" />
<!--<sound target="thirdperson" name="sounds/weapons:hurricane:reload" radius="10" />-->
</action>
<action name="empty_clip">
<sound target="firstperson" name="Sounds/weapons:hurricane:dryfire_fp" radius="2" />
<sound target="thirdperson" name="Sounds/weapons:hurricane:dryfire" radius="2" />
</action>
<action name="enter_modify">
<animation target="firstperson" name="enter_modify_01" />
<animation target="ownerloop" name="modify_weapon" />
</action>
<action name="leave_modify">
<animation target="firstperson" name="leave_modify_01" />
<animation target="ownerloop" name="idle" />
</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="modify_layer">
<animation target="firstperson" name="modify_layer_01" layerId="2" />
</layer>
<layer name="lam">
<animation target="firstperson" name="flashlight_on_layer_01" layerId="3" />
</layer>
</layers>
<firemodes> <файрмоды, то есть выстрелы 1 патроном или автоматом, или подствол и т.д.>
<firemode name="Rapid" type="Rapid"> <Автомат>
<fire>
<param name="ammo_type" value="hurricanebullet" /> <тип патронов, влияет на пробивание того или иного объекта>
<param name="hit_type" value="ht_HurricaneBullet" /> <то же самое, что и выше с некоторыми поправками>
<param name="rate" value="1000" /> <скорострельность>
<param name="damage" value="21" /> <урон, без учета модификаторов объектов>
<param name="clip_size" value="-1" /> <максимальное кол-во патронов в обойме(-1 - бесконечно)>
<param name="helper_tp" value="weapon_term" /> <место анимации относительно оружия>
<param name="autozoom" value="true" /> <зум при долгой стрельбе>
<param name="ooatracer_treshold" value="8" />
<param name="reload_time" value="3.2" /> <время перезарядки>
<param name="nearmiss_signal" value="OnNearMiss" />
<param name="distance" value="800" /> <дистанция>
<param name="ai_vs_player_damage" value="40"/>
</fire>
<tracer>
<param name="geometryFP" value="objects/effects/tracer_standard_new.cgf" />
<param name="geometry" value="objects/effects/tracer_standard_new.cgf" />
<param name="effectFP" value="weapon_fx.tracer.standardfp" />
<param name="effect" value="weapon_fx.tracer.standard" />
<paran name="speed" value="1000" />
<param name="speedFP" value="1000" />
<param name="frequency" value="2" />
<param name="helper_fp" value="weapon_term" />
<param name="helper_tp" value="weapon_term" />
</tracer>
<outofammotracer>
<param name="geometryFP" value="objects/effects/tracer_standard_red_new.cgf" />
<param name="geometry" value="objects/effects/tracer_standard_red_new.cgf" />
<param name="effectFP" value="weapon_fx.tracer.standardfp" />
<param name="effect" value="weapon_fx.tracer.standard" />
<paran name="speed" value="1000" />
<param name="speedFP" value="1000" />
<param name="frequency" value="2" />
<param name="helper_fp" value="weapon_term" />
<param name="helper_tp" value="weapon_term" />
</outofammotracer>
<rapid>
<param name="min_speed" value="2.55" />
<param name="max_speed" value="2.55" />
<param name="acceleration" value="4.50" />
<param name="deceleration" value="-3.0" />
<param name="barrel_attachment" value="barrel" />
<param name="engine_attachment" value="engine" />
<param name="camshake_rotate" value=".005,0,0" />
<param name="camshake_perShot" value="4.0" />
</rapid>
<muzzleflash>
<firstperson effect="muzzleflash.Machinegun.Hurricane" helper="muzzle_flash_effect" light_helper="muzzle_flash_light" light_time="0.01" light_radius="3" time="0.500" light_color="1,1,0.8" light_diffuse_mult="8" />
<thirdperson effect="muzzleflash.Machinegun.Hurricane_tp" helper="weapon_term" light_helper="weapon_term" light_time="0.01" light_radius="3" time="0.500" light_color="1,1,0.8" light_diffuse_mult="8" />
</muzzleflash>
<muzzlesmoke>
<firstperson effect="" />
<thirdperson effect="" />
</muzzlesmoke>
<reject>
<firstperson effect="weapon_fx.shells.hurricane" helper="shells" />
<thirdperson effect="weapon_fx.shells.hurricane" helper="shells" />
</reject>
</firemode>
<firemode name="melee" type="Melee"> <ближний бой>
<melee>
<param name="helper" value="collision" />
<param name="offset" value="0.5" />
<param name="damage" value="10" /> <урон>
<param name="impulse" value="80" /> <импульс, отдача, при ударе>
<param name="delay" value="0.15" /> <перезарядка>
<param name="duration" value="0.35" />
</melee>
<actions>
<param name="attack" value="melee" />
</actions>
</firemode>
</firemodes>
<accessories> <вские дополнения типа фонаря, лазерки и т.д.>
<!--<accessory name="Flashlight"> <фонарь>
<attach helper="attachment_side" layer="lam" />
<detach />
<params>
</params>
</accessory>-->
<accessory name="LAMRifle"> <лазерка>
<attach helper="attachment_side" layer="lam" />
<detach />
<params>
<firemodes>
<firemode type="default">
<spread>
<param name="min" value="1.00" />
<param name="max" value="1.75" />
<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="lam" />
<detach />
</accessory>
</accessories>
</item>