
[hud_base_grenade]:hud_base
attach_place_idx			= 0
allow_secondary_item		= true

inertion_offset				= 0.03
inertion_roll				= 0.03
inertion_speed				= 6

lean_dist					= 0.3, 0.55
lean_separate_hands			= true

hands_position				= -0.061,-0.182,0.1
hands_orientation			= -0.5,1.0,-2.0

sprint_hud_offset_pos		= 0,0.0730,0
sprint_hud_offset_rot		= 0.1550,0,0

lean_hud_offset_pos			= 0,-0.2090,-0.1360
lean_hud_offset_rot			= -0.3925,0,0

throw_point					= 0,0.4,0.3
throw_dir					= 0,0,1

; additional parameters:	#p1, #p2
prm_show_next				=	0,	0.45
prm_throw					=	0,	0.95
prm_throw_begin				=	0,	1
prm_throw_idle				=	0,	1
prm_idle_sprint				=	0,	1

syn_idle_moving				= 0.95
syn_idle_moving_walk		= 0.95
syn_idle_sprint				= 0.2

mrk_show					= 0.25
mrk_show_next				= 0.25
mrk_throw_begin				= 0.5	; check out

[grenade_f1]:missile_base
GroupControlSection		= spawn_group
$spawn					= "weapons\grenades\f1"
$prefetch				= 128

class					= G_F1
visual					= dynamics\weapons\wpn_grenades\wpn_f1
inv_name				= grenade-f1
inv_name_short			= grenade-f1
inv_weight				= 0.6
inv_volume				= 0.3
description				= enc_weapons1_grenade-f1
;belt					= true
ef_weapon_type			= 10

inv_grid_width			= 1
inv_grid_height			= 1
inv_grid_x				= 9
inv_grid_y				= 9

animation_slot			= 7
single_handed			= 1

slot					= 3
hud						= grenade_f1_hud
force_min				= 10	; ~30% от максимума
force_const				= 25;20
force_max				= 30
force_grow_speed		= 15

destroy_time			= 3000
detonation_threshold_hit= 1.2

cost					= 220

;-----------------------------------------------------------------------------------
blast					= 1.4
blast_r					= 10
blast_impulse			= 500

frags					= 80
frags_r					= 50
frag_hit				= 1.5
frag_impulse_hit		= 0.35
frag_hit_impulse		= 240
frag_ap					= 0.32
frag_k_ricochet			= 2.2
frag_k_air_resistance	= 2.2
fragment_speed			= 170
frag_tracer_color_ID	= 2
frag_tracer_size		= 0.35

hit_type_blast			= explosion
hit_type_frag			= fire_wound

up_throw_factor			= 1.0
;-----------------------------------------------------------------------------------
explode_particles		= explosions\explosion_01

light_color				= 1.9,1.4,0.5
light_range				= 25.0
light_time				= 0.85

explode_duration		= 3		;подолжительность взрыва (с)

;звуки
snd_explode				= weapons\t_rgd5_explosion
snd_checkout			= weapons\generic_checkout, 1.0, 0.25

attach_position_offset	= -0.053,-0.089,0.032
attach_angle_offset		= 0,0,0
attach_bone_name		=


throw_point				= 0,0.3,0.2
throw_dir				= 0,0,1
wm_size					= 0.03

wallmark_section		 = explosion_marks

[grenade_f1_hud]:hud_base_grenade
item_visual					= dynamics\weapons\wpn_grenades\wpn_f1_hud.ogf

item_position				= -0.001,0.004,0
item_orientation			= 18.5,1.5,0

anm_show					= lancew_f1_draw
anm_show_next				= lancew_f1_draw
anm_hide					= lancew_f1_holster
anm_idle					= lancew_f1_idle, idle
;anm_bore					= lancew_f1_no_reload
anm_idle_moving				= lancew_f1_moving, moving, 0.9
anm_idle_moving_walk		= lancew_f1_moving, moving, 0.76
anm_idle_sprint				= lancew_f1_sprint, sprint
anm_throw_begin				= lancew_f1_throw_begin, throw_begin
anm_throw_idle				= lancew_f1_throw_idle, throw_idle
anm_throw					= lancew_f1_throw, throw


[grenade_gd-05]:grenade_f1
$spawn 				= "weapons\grenades\gd-05"
visual				= dynamics\weapons\wpn_grenades\wpn_gd5
inv_name			= grenade-gd05
inv_name_short		= grenade-gd05_s
description			= enc_weapons1_grenade-gd05
inv_weight			= 0.25
inv_volume			= 0.3
cost				= 140
inv_grid_x			= 19
inv_grid_y			= 3
hud					= grenade_gd-05_hud

blast				= 0;150
blast_r				= 0;8
blast_impulse		= 0

frags				= 0;12
frags_r				= 0
frag_hit			= 0;50
frag_hit_impulse	= 0
fragment_speed		= 50

hit_type_blast		= strike
hit_type_frag		= fire_wound

up_throw_factor		= 0
;-----------------------------------------------------------------------------------
explode_particles	= explosions\explosion_dym

light_color			= 0.9,0.6,0.5
light_range			= 2.0
light_time			= 2.85

hide_in_explosion			= false
explode_duration			= 15		;подолжительность взрыва (с)
explode_hide_duration		= 10		;время, через которое гранату надо сделать невидимой (с)
dynamic_explosion_particles = true

snd_explode			= weapons\grenade_gd05

[grenade_gd-05_hud]:hud_base_grenade
item_visual					= dynamics\weapons\wpn_grenades\wpn_gd5_hud.ogf

item_position				= -0.001215, 0.005992, 0.000966
item_orientation			= 18.5,1.5,0

anm_show					= lancew_f1_draw
anm_show_next				= lancew_f1_draw
anm_hide					= lancew_f1_holster
anm_idle					= lancew_f1_idle, idle
;anm_bore					= lancew_f1_no_reload
anm_idle_moving				= lancew_f1_moving, moving, 0.9
anm_idle_moving_walk		= lancew_f1_moving, moving, 0.76
anm_idle_sprint				= lancew_f1_sprint, sprint
anm_throw_begin				= lancew_f1_throw_begin, throw_begin
anm_throw_idle				= lancew_f1_throw_idle, throw_idle
anm_throw					= lancew_f1_throw, throw

[grenade_rgd5]:missile_base
GroupControlSection	= spawn_group
$spawn 				= "weapons\grenades\rgd5"
$prefetch			= 128

class				= G_F1
visual				= dynamics\weapons\wpn_grenades\wpn_rgd5.ogf
inv_name			= grenade-rgd5
inv_name_short		= grenade-rgd5
inv_weight			= 0.31
inv_volume			= 0.3
description			= enc_weapons1_grenade-rgd5

;belt				= true
ef_weapon_type		= 10

inv_grid_width		= 1
inv_grid_height		= 1
inv_grid_x			= 10
inv_grid_y			= 9

animation_slot		= 7
single_handed		= 0

slot				= 3
hud					= grenade_rgd5_hud
force_min			= 10	; ~30% от максимума
force_const			= 25;20
force_max			= 30
force_grow_speed	= 15

destroy_time		= 2500
detonation_threshold_hit= 1.2

cost				= 200

;-----------------------------------------------------------------------------------
blast				= 2.0
blast_r				= 8
blast_impulse		= 700

frags				= 20
frags_r				= 30
frag_hit			= 1.2
frag_impulse_hit	= 0.45
frag_hit_impulse	= 240
frag_ap				= 0.2
frag_k_ricochet		= 2.6
frag_k_air_resistance = 2.5
fragment_speed		= 140
frag_tracer_color_ID	= 2
frag_tracer_size	= 0.65
frag_tracer_time	= 0.2

hit_type_blast		= explosion
hit_type_frag		= fire_wound

up_throw_factor		 = 1.0
;-----------------------------------------------------------------------------------
explode_particles	= explosions\explosion_01

light_color			= 1.9,1.4,0.5
light_range			= 14.0
light_time			= 0.85

explode_duration	= 5		;подолжительность взрыва (с)

;звуки
snd_explode			= weapons\t_rgd5_explosion
snd_checkout		= weapons\generic_checkout, 1.0, 0.25

attach_position_offset	= -0.053,-0.089,0.032
attach_angle_offset		= 0,0,0
attach_bone_name		=

throw_point				= 0,0.3,0.2
throw_dir				= 0,0,1
wm_size					= 0.04
;wallmarks
wallmark_section		= explosion_marks

[grenade_rgd5_hud]:hud_base_grenade
item_visual					= dynamics\weapons\wpn_grenades\wpn_rgd5_hud.ogf

item_position 				= -0.001,0.004,0
item_orientation 			= 18.5,1.5,0

anm_show					= lancew_rgd5_draw
anm_show_next				= lancew_rgd5_draw
anm_hide					= lancew_rgd5_holster
anm_idle					= lancew_rgd5_idle
;anm_bore					= lancew_rgd5_no_reload
anm_idle_moving				= lancew_rgd5_moving, moving, 0.9
anm_idle_moving_walk		= lancew_f1_moving, moving, 0.76
anm_idle_sprint				= lancew_rgd5_sprint, sprint
anm_throw_begin				= lancew_rgd5_throw_begin, begin
anm_throw_idle				= lancew_rgd5_throw_idle, throw_idle
anm_throw					= lancew_f1_throw, throw_idle

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ai_gl/fake shell sections
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[gl_fake_missile]:delayed_action_fuse
class				= II_EXPLO
cform				= skeleton
cost				= 1
inv_name			= .
inv_name_short		= .
inv_grid_width		= 0
inv_grid_height		= 0
inv_grid_x			= 100
inv_grid_y			= 100
can_take			= true
immunities_sect		= gl_fake_missile_immunities
time_to_explode		= 0.f
;explode_duration	= 3
;destroy_time		= 3000 ; не работает для II_EXPLO :(

;=========
[gl_fake_missile_ammo_vog-25]:fake_missile_vog25,gl_fake_missile
[gl_fake_missile_ammo_vog-25p]:fake_missile_vog25p,gl_fake_missile
[gl_fake_missile_ammo_m209]:fake_missile_m209,gl_fake_missile

;=========
[gl_fake_missile_immunities]
burn_immunity			= 0
strike_immunity			= 0
shock_immunity			= 0
wound_immunity			= 0
wound_2_immunity		= 0
radiation_immunity		= 0
telepatic_immunity		= 0
chemical_burn_immunity	= 0
explosion_immunity		= 0
fire_wound_immunity		= 0	;0.1	; подрыв хитом

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ai_grenadier/fake grenades sections
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[fake_grenades_base]:delayed_action_fuse
class				= II_EXPLO
cform				= skeleton
immunities_sect		= gl_fake_missile_immunities
time_to_explode		= 0.f
can_take			= false

;=========
[grenade_f1_fake]:grenade_f1,fake_grenades_base
[grenade_rgd5_fake]:grenade_rgd5,fake_grenades_base
[grenade_gd-05_fake]:grenade_gd-05,fake_grenades_base
