/
w_usp_tac.ltx
594 lines (414 loc) · 20.2 KB
/
w_usp_tac.ltx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
;------------------------------------------------------------------------------------------------
[wpn_usp_tac]:identity_immunities,weapon_probability,default_weapon_params,wpn_usp_sounds
GroupControlSection = spawn_group
discovery_dependency =
$npc = on
$prefetch = 8
$spawn = "weapons\usp"
scheduled = off
cform = skeleton
parent_section = wpn_usp_tac
scopes = d0cter, aim_low, rmr, deltapoint
class = WP_PM
slot = 1
animation_slot = 1
ef_main_weapon_type = 5
ef_weapon_type = 5
hand_dependence = 1
single_handed = 1
default_to_ruck = false
sprint_allowed = true
icons_texture = ui\ui_icon_bas
inv_grid_width = 2
inv_grid_height = 1
inv_grid_x = 62
inv_grid_y = 1
inv_name = st_wpn_usp_tac
inv_name_short = st_wpn_usp_tac
description = st_wpn_usp_tac_descr
kind = w_pistol
inv_weight = 0.96
cost = 54600
repair_type = pistol
hud = wpn_usp_tac_hud
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
position = -0.021, -0.085, 0.0
orientation = 0, 0, 0
fire_point = 0.0, 0.133, 0.161
fire_point2 = 0.0, 0.133, 0.161
ph_mass = 1
flame_particles = weapons\generic_weapon03
;smoke_particles = weapons\generic_shoot_00
grenade_flame_particles = weapons\generic_weapon01
smoke_particles = ghost_particles\weapons\flame_eft_sks ;particles remade incomp.
shell_point = 0.0, 0.133, 0.047
shell_dir = 0.0, 0.0, 0.4
shell_particles = weapons\9x19
light_disabled = false
light_color = 0.6, 0.5, 0.3
light_range = 3.0
light_time = 0.2
light_var_color = 0.05
light_var_range = 0.5
upgrades = up_gr_firstab_fn57, up_gr_seconab_fn57, up_gr_thirdab_fn57, up_gr_fourtab_fn57, up_gr_fifthab_fn57
installed_upgrades =
upgrade_scheme = upgrade_scheme_walther
upgr_icon_x = 1150
upgr_icon_y = 1000
upgr_icon_width = 150
upgr_icon_height = 100
fire_modes = 1
ammo_class = ammo_9x19_fmj, ammo_9x19_fmj_bad, ammo_9x19_fmj_verybad, ammo_9x19_pbp, ammo_9x19_pbp_bad, ammo_9x19_pbp_verybad, ammo_9x19_ap, ammo_9x19_ap_bad, ammo_9x19_ap_verybad
ammo_elapsed = 22
ammo_mag_size = 22
startup_ammo = 90
scope_status = 0
scope_zoom_factor = 0
silencer_name = wpn_sil_black_box
silencer_x = 59
silencer_y = -18
silencer_status = 2
silencer_light_color = 0.6, 0.5, 0.3
silencer_light_range = 0.01
silencer_light_time = 0.2
silencer_light_var_color = 0.05
silencer_light_var_range = 0.5
silencer_smoke_particles = weapons\generic_shoot_00
grenade_class = ammo_vog-25, ammo_vog-25_bad, ammo_vog-25_verybad
grenade_launcher_name = wpn_addon_grenade_launcher
grenade_launcher_status = 0
grenade_launcher_x = 126
grenade_launcher_y = 24
launch_speed = 0
hit_impulse = 40
hit_power = 0.55, 0.55, 0.55, 0.55
hit_type = fire_wound
fire_distance = 300
bullet_speed = 260
rpm = 640
rpm_empty_click = 250
use_aim_bullet = false
time_to_aim = 0.0 ; 1.0
zoom_dof = -1000, 1.0, 1000
zoom_enabled = true
zoom_rotate_time = 0.25
reload_dof = 0.0, 0.5, 5, 1.7
control_inertion_factor = 1.0f
crosshair_inertion = 3.8
fire_dispersion_base = 0.40
fire_dispersion_condition_factor = 0.001
misfire_probability = 0.005
misfire_start_condition = 0.7 ; 0.86
misfire_start_prob = 0.007
misfire_end_condition = 0.1
misfire_end_prob = 0.08
condition_queue_shot_dec = 0.0015
condition_shot_dec = 0.0015
cam_return = 0
cam_relax_speed = 8
cam_dispersion = 0.56
cam_dispersion_frac = 1.1
cam_dispersion_inc = 0;.04
cam_max_angle = 50.0
cam_max_angle_horz = 50.0
cam_step_angle_horz = 0.42
;zoom_cam_dispersion = 2.0
zoom_cam_dispersion = 0.3
zoom_cam_dispersion_inc = 0.0
PDM_disp_accel_factor = 1.055
PDM_disp_base = 0.65
PDM_disp_crouch = 1.0
PDM_disp_crouch_no_acc = 1.0
PDM_disp_vel_factor = 1.05
cam_relax_speed_ai = 360
holder_fov_modifier = 1.0
holder_range_modifier = 1.0
min_radius = 0
max_radius = 500
hit_probability_gd_novice = 1.00
hit_probability_gd_stalker = 1.00
hit_probability_gd_veteran = 1.00
hit_probability_gd_master = 1.00
kill_msg_x = 134
kill_msg_y = 177
kill_msg_width = 31
kill_msg_height = 25
weapon_lower_speed = 0.2
scope_zoom_factor_alt = 0
use_alt_aim_hud = true
laser_status = true
;-------------------------------------------------------------------Sounds------------------------------------------------------------------------------
snd_draw = weapons\usp_tac\walther_draw
snd_holster = weapons\usp_tac\pistol_holster
;snd_shoot = weapons\usp_tac\ump45_shoot
;snd_shoot1 = weapons\usp_tac\ump45_shoot1
;snd_shoot2 = weapons\usp_tac\ump45_shoot2
;snd_shoot3 = weapons\usp_tac\ump45_shoot3
;snd_shoot4 = weapons\usp_tac\ump45_shoot4
snd_empty = weapons\usp_tac\walther_empty
snd_reload = eft_wp\glock17\glock17_reload_speed, 1.5
snd_reload_empty = eft_wp\glock17\glock17_reload_empty_speed, 1.5
;snd_silncer_shot = weapons\usp_tac\usp_shot_sil
;---------------------------------------------------------------------HUD-------------------------------------------------------------------------------
[wpn_usp_tac_hud]:hud_base
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_hud.ogf
attach_place_idx = 0
zoom_hide_crosshair = true
safemode_anm =
safemode_anm2 =
lowered_hud_offset_pos = 0.04, -0.22, -0.06
lowered_hud_offset_pos_16x9 = 0.04, -0.22, -0.06
lowered_hud_offset_rot = -0.7, 0, -0.05
lowered_hud_offset_rot_16x9 = -0.7, 0, -0.05
;----
hands_position = -0.041, -0.167, -0.21
hands_position_16x9 = -0.041, -0.167, -0.21
hands_orientation = -0.61, 0.64, 1
hands_orientation_16x9 = -0.61, 0.64, 1
aim_hud_offset_pos = -0.0877, 0.0527, -0.06
aim_hud_offset_pos_16x9 = -0.0877, 0.0527, -0.06
aim_hud_offset_rot = 0.0066, 0.0128, -0.005
aim_hud_offset_rot_16x9 = 0.0066, 0.0128, -0.005
aim_hud_offset_alt_pos = -0.1, -0.08, -0.15
aim_hud_offset_alt_pos_16x9 = -0.1, -0.08, -0.15
aim_hud_offset_alt_rot = 0.0, 0.0185, 0.7
aim_hud_offset_alt_rot_16x9 = 0.0, 0.0185, 0.7
item_position = 0.000789,-0.000199,0.000311
item_orientation = 1.239378,-0.134046,-2.052052
;----
gl_hud_offset_pos = 0, 0, 0
gl_hud_offset_rot = 0, 0, 0
lean_hud_offset_pos = 0, 0, 0
lean_hud_offset_rot = 0, 0, 0
anm_show = glock_eft_ins_draw, idle
anm_show_empty = glock_eft_ins_draw, idle_empty
anm_hide = glock_eft_ins_hide, idle
anm_hide_empty = glock_eft_ins_hide, idle_empty
anm_idle = glock_eft_ins_idle, idle
anm_idle_empty = glock_eft_ins_idle, idle_empty
anm_shots = glock_eft_ins_shoot, shoot
anm_shot_l = glock_eft_ins_shoot_last, shoot_last
anm_idle_aim = glock_eft_ins_idle_aim, idle
anm_idle_aim_empty = glock_eft_ins_idle_aim, idle_empty
anm_reload = glock_eft_ins_reload, reload ,1.5
anm_reload_empty = glock_eft_ins_reload_empty, reload_empty ,1.4
anm_idle_moving = glock_eft_ins_idle_moving, idle ,0.7
anm_idle_moving_empty = glock_eft_ins_idle_moving, idle_empty ,0.7
anm_idle_moving_crouch = glock_eft_ins_idle_crouch, idle
anm_idle_moving_crouch_empty = glock_eft_ins_idle_crouch, idle_empty
anm_idle_sprint = glock_eft_ins_idle_sprint_v4, idle
anm_idle_sprint_empty = glock_eft_ins_idle_sprint_v4, idle_empty
anm_bore = glock_eft_ins_idle_aim, idle
anm_bore_empty = glock_eft_ins_idle_aim, idle_empty
shell_bone = gilza
shell_point = -0.02, -0.05, 0.03
fire_bone = muzzle
fire_point = 0, -0.015, 0.03
;-----------------------------------------------------------------Addons--------------------------------------------------------------------------------
[wpn_usp_tac_d0cter]:wpn_usp_tac
inv_weight = 1.2
hud = wpn_usp_tac_d0cter_hud
1icon_layer = d0cter
1icon_layer_x = 60
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_d0cter_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_docter_hud.ogf
aim_hud_offset_pos = -0.0876, 0.028, -0.06
aim_hud_offset_pos_16x9 = -0.0876, 0.028, -0.06
aim_hud_offset_rot = 0.0049, 0.013, -0.005
aim_hud_offset_rot_16x9 = 0.0049, 0.013, -0.005
;-------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_aim_low]:wpn_usp_tac
inv_weight = 1.305
hud = wpn_usp_tac_aim_low_hud
1icon_layer = aim_low
1icon_layer_x = 55
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_aim_low_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_aim_low_hud.ogf
aim_hud_offset_pos = -0.0876, 0.0292, -0.06
aim_hud_offset_pos_16x9 = -0.0876, 0.0292, -0.06
aim_hud_offset_rot = 0.0041, 0.0129, -0.005
aim_hud_offset_rot_16x9 = 0.0041, 0.0129, -0.005
;-------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_rmr]:wpn_usp_tac
inv_weight = 0.994
hud = wpn_usp_tac_rmr_hud
1icon_layer = rmr
1icon_layer_x = 60
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_rmr_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_rmr_hud.ogf
aim_hud_offset_pos = -0.0874, 0.0268, -0.06
aim_hud_offset_pos_16x9 = -0.0874, 0.0268, -0.06
aim_hud_offset_rot = 0.0035, 0.0129, -0.005
aim_hud_offset_rot_16x9 = 0.0035, 0.0129, -0.005
;---------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_deltapoint]:wpn_usp_tac
inv_weight = 1.001
hud = wpn_usp_tac_deltapoint_hud
1icon_layer = deltapoint
1icon_layer_x = 60
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_deltapoint_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_deltapoint_hud.ogf
aim_hud_offset_pos = -0.0878, 0.023, -0.06
aim_hud_offset_pos_16x9 = -0.0878, 0.023, -0.06
aim_hud_offset_rot = 0.003, 0.0129, -0.005
aim_hud_offset_rot_16x9 = 0.003, 0.0129, -0.005
;---------------------------------------------------------------------------------------------------------------------------------------------------
;--------------------------------NOT IN USE-----------------------------------
[wpn_usp_tac_ekp8_18]:wpn_usp_tac
inv_weight = 1.54
hud = wpn_usp_tac_ekp8_18_hud
1icon_layer = ekp8_18
1icon_layer_x = 55
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_ekp8_18_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_ekp8_18_hud.ogf
;-------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_mepro]:wpn_usp_tac
inv_weight = 1.572
hud = wpn_usp_tac_mepro_hud
1icon_layer = mepro
1icon_layer_x = 55
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_mepro_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_mepro_hud.ogf
;-------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_aimpoint_pro]:wpn_usp_tac
inv_weight = 1.530
hud = wpn_usp_tac_aimpoint_pro_hud
1icon_layer = aimpoint_pro
1icon_layer_x = 55
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_aimpoint_pro_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_aimpoint_pro_hud.ogf
;-------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_aimpoint]:wpn_usp_tac
inv_weight = 1.330
hud = wpn_usp_tac_aimpoint_hud
1icon_layer = aimpoint
1icon_layer_x = 55
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_aimpoint_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_aimpoint_hud.ogf
;-------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_eot]:wpn_usp_tac
inv_weight = 1.500
hud = wpn_usp_tac_eot_hud
1icon_layer = eot
1icon_layer_x = 55
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_eot_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_eot_hud.ogf
;------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_ac10632]:wpn_usp_tac
inv_weight = 1.315
hud = wpn_usp_tac_ac10632_hud
1icon_layer = ac10632
1icon_layer_x = 55
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_ac10632_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_ac10632_hud.ogf
;-------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_0kp2]:wpn_usp_tac
inv_weight = 1.4
hud = wpn_usp_tac_0kp2_hud
1icon_layer = 0kp2
1icon_layer_x = 50
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_0kp2_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_0kp2_hud.ogf
;-------------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_e0t2]:wpn_usp_tac
inv_weight = 1.187
hud = wpn_usp_tac_e0t2_hud
1icon_layer = e0t2
1icon_layer_x = 60
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_e0t2_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_e0t2_hud.ogf
;---------------------------------------------------------------------------------------------------------------------------------------------------
[wpn_usp_tac_compm4s]:wpn_usp_tac
$spawn = "weapons\wpn_usp_tac_compm4s"
hud = wpn_usp_tac_compm4s_hud
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
1icon_layer = compm4s
1icon_layer_x = 60
1icon_layer_y = 8
inv_weight = 1.340
[wpn_usp_tac_compm4s_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_compm4s_hud.ogf
;--------------------------------------------------------------------------------------------
[wpn_usp_tac_rakurs]:wpn_usp_tac
$spawn = "weapons\wpn_usp_tac_rakurs"
hud = wpn_usp_tac_rakurs_hud
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
1icon_layer = rakurs
1icon_layer_x = 60
1icon_layer_y = 8
inv_weight = 1.460
[wpn_usp_tac_rakurs_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_rakurs_hud.ogf
;-----------------------------------------------------------------------------------------------------
[wpn_usp_tac_kemper]:wpn_usp_tac
inv_weight = 1.226
hud = wpn_usp_tac_kemper_hud
1icon_layer = kemper
1icon_layer_x = 60
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_kemper_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_kemper_hud.ogf
;------------------------------------------------------------------------------------------------
[wpn_usp_tac_c-more]:wpn_usp_tac
inv_weight = 1.5
hud = wpn_usp_tac_c-more_hud
1icon_layer = c-more
1icon_layer_x = 55
1icon_layer_y = 8
visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_world.ogf
scope_status = 0
scope_dynamic_zoom = off
[wpn_usp_tac_c-more_hud]:wpn_usp_tac_hud
item_visual = dynamics\weapons\wpn_usp_tac\wpn_usp_tac_c-more_hud.ogf
;-------------------------------------------------------------------------------------------------------------------------------------------------------