Commit two

This commit is contained in:
Fesiug 2024-03-13 02:19:52 -04:00
parent d982c9eaef
commit c50a7ecd76
Signed by: Fesiug
GPG Key ID: 374BFF45E1EEF243
57 changed files with 118671 additions and 416 deletions

9
.gitattributes vendored
View File

@ -1,2 +1,11 @@
# Auto detect text files and perform LF normalization
* text=auto
*.mdl filter=lfs diff=lfs merge=lfs -text
*.vtx filter=lfs diff=lfs merge=lfs -text
*.vvd filter=lfs diff=lfs merge=lfs -text
*.phy filter=lfs diff=lfs merge=lfs -text
*.vtf filter=lfs diff=lfs merge=lfs -text
*.blend filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.ogg filter=lfs diff=lfs merge=lfs -text

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.sw.vtx
*.dx80.vtx
*.blend1
desktop.ini

BIN
.workfiles/Mk23_Fesiug.blend (Stored with Git LFS) Normal file

Binary file not shown.

BIN
.workfiles/Mk23_mod0.blend (Stored with Git LFS) Normal file

Binary file not shown.

BIN
.workfiles/Mk24_Fesiug.blend (Stored with Git LFS) Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,193 @@
$modelname "weapons/arc9/c_uplp-f_mk23_5.mdl"
$bodygroup "ref" {
studio "ref.smd"
}
$bodygroup "threadprotector" {
studio "threadprotector.smd"
blank
}
$collisionmodel "ref.smd"
$surfaceprop "weapon"
$contents "solid"
$cdmaterials "models\weapons\arc9\uplp-f"
$attachment "1" "barrel" 0 0 0 rotate -90 0 0
$attachment "2" "slide" 0 0 0 rotate -10 140 180
$attachment "3" "Camera" 0 0 0 rotate -90 0 0
$attachment "4" "mag" 0 0 0 rotate -90 0 0
$poseparameter "sights" 0 1 loop 0
$sequence "idle"{
"anims\idle.smd"
"anims\idle_iron.smd"
fps 30
blend "sights" 0 1
loop
fadein 0
fadeout 0.2
}
$sequence "idle_empty"{
"anims\idle_empty.smd"
"anims\idle_empty_iron.smd"
fps 30
"ACT_VM_IDLE" 1
blend "sights" 0 1
loop
snap
node "Ready"
fadein 0
fadeout 0.2
}
$sequence "fire" {
"anims\fire.smd"
"anims\fire_iron.smd"
fps 26
"ACT_VM_PRIMARYATTACK" 1
blend "sights" 0 1
fadein 0.02
fadeout 0.08
}
$sequence "fire_empty" {
"anims\fire_empty.smd"
"anims\fire_empty_iron.smd"
fps 30
"ACT_VM_PRIMARYATTACK" 1
blend "sights" 0 1
fadein 0.02
fadeout 0.08
}
$sequence "ready" {
"anims\mk23_ready.smd"
fps 30
"ACT_VM_DRAW" 1
snap
}
$sequence "draw" {
"anims\draw.smd"
fps 30
"ACT_VM_DRAW" 1
snap
}
$sequence "draw_empty" {
"anims\draw_empty.smd"
fps 30
"ACT_VM_DRAW" 1
snap
}
$sequence "holster" {
"anims\holster.smd"
fps 24
"ACT_VM_DRAW" 1
snap
}
$sequence "holster_empty" {
"anims\holster_empty.smd"
fps 30
"ACT_VM_DRAW" 1
snap
}
$sequence "modeswitch" {
"anims\switch.smd"
"anims\switch_ads.smd"
blend "sights" 0 1
fps 30
snap
}
$sequence "modeswitch_empty" {
"anims\switch_empty.smd"
"anims\switch_empty_ads.smd"
blend "sights" 0 1
fps 30
snap
}
$sequence "reload" {
"anims\reload.smd"
"anims\reload_iron.smd"
blend "sights" 0 1
fps 30
"ACT_VM_RELOAD" 1
snap
}
$sequence "reload_empty" {
"anims\mk23_reload_empty.smd"
"anims\mk23_reload_empty_iron.smd"
blend "sights" 0 1
fps 30
"ACT_VM_RELOAD" 1
snap
}
$sequence "inspect" {
"anims\look.smd"
// snap
fps 30
}
$sequence "inspect_empty" {
"anims\look_empty.smd"
// snap
fps 30
}
$bonemerge "ValveBiped.Bip01_Spine4"
$bonemerge "ValveBiped.Bip01_L_Clavicle"
$bonemerge "ValveBiped.Bip01_L_UpperArm"
$bonemerge "ValveBiped.Bip01_L_Forearm"
$bonemerge "ValveBiped.Bip01_L_Hand"
$bonemerge "ValveBiped.Bip01_L_Finger4"
$bonemerge "ValveBiped.Bip01_L_Finger41"
$bonemerge "ValveBiped.Bip01_L_Finger42"
$bonemerge "ValveBiped.Bip01_L_Finger3"
$bonemerge "ValveBiped.Bip01_L_Finger31"
$bonemerge "ValveBiped.Bip01_L_Finger32"
$bonemerge "ValveBiped.Bip01_L_Finger2"
$bonemerge "ValveBiped.Bip01_L_Finger21"
$bonemerge "ValveBiped.Bip01_L_Finger22"
$bonemerge "ValveBiped.Bip01_L_Finger1"
$bonemerge "ValveBiped.Bip01_L_Finger11"
$bonemerge "ValveBiped.Bip01_L_Finger12"
$bonemerge "ValveBiped.Bip01_L_Finger0"
$bonemerge "ValveBiped.Bip01_L_Finger01"
$bonemerge "ValveBiped.Bip01_L_Finger02"
$bonemerge "ValveBiped.Bip01_R_Clavicle"
$bonemerge "ValveBiped.Bip01_R_UpperArm"
$bonemerge "ValveBiped.Bip01_R_Forearm"
$bonemerge "ValveBiped.Bip01_R_Hand"
$bonemerge "ValveBiped.Bip01_R_Wrist"
$bonemerge "ValveBiped.Bip01_R_Finger4"
$bonemerge "ValveBiped.Bip01_R_Finger41"
$bonemerge "ValveBiped.Bip01_R_Finger42"
$bonemerge "ValveBiped.Bip01_R_Finger3"
$bonemerge "ValveBiped.Bip01_R_Finger31"
$bonemerge "ValveBiped.Bip01_R_Finger32"
$bonemerge "ValveBiped.Bip01_R_Finger2"
$bonemerge "ValveBiped.Bip01_R_Finger21"
$bonemerge "ValveBiped.Bip01_R_Finger22"
$bonemerge "ValveBiped.Bip01_R_Finger1"
$bonemerge "ValveBiped.Bip01_R_Finger11"
$bonemerge "ValveBiped.Bip01_R_Finger12"
$bonemerge "ValveBiped.Bip01_R_Finger0"
$bonemerge "ValveBiped.Bip01_R_Finger01"
$bonemerge "ValveBiped.Bip01_R_Finger02"
$bonemerge "round1"
$bonemerge "round2"
$bonemerge "round3"
//$collisionmodel "col.smd"

16864
.workfiles/compile/ref.smd Normal file

File diff suppressed because it is too large Load Diff

BIN
.workfiles/compile/ref_1.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
.workfiles/compile/ref_2.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,380 @@
version 1
nodes
0 "ValveBiped.Bip01_Spine4" -1
1 "ValveBiped.Bip01_L_Clavicle" 0
2 "ValveBiped.Bip01_L_UpperArm" 1
3 "ValveBiped.Bip01_L_Forearm" 2
4 "ValveBiped.Bip01_L_Hand" 3
5 "ValveBiped.Bip01_L_Finger4" 4
6 "ValveBiped.Bip01_L_Finger41" 5
7 "ValveBiped.Bip01_L_Finger42" 6
8 "ValveBiped.Bip01_L_Finger3" 4
9 "ValveBiped.Bip01_L_Finger31" 8
10 "ValveBiped.Bip01_L_Finger32" 9
11 "ValveBiped.Bip01_L_Finger2" 4
12 "ValveBiped.Bip01_L_Finger21" 11
13 "ValveBiped.Bip01_L_Finger22" 12
14 "ValveBiped.Bip01_L_Finger1" 4
15 "ValveBiped.Bip01_L_Finger11" 14
16 "ValveBiped.Bip01_L_Finger12" 15
17 "ValveBiped.Bip01_L_Finger0" 4
18 "ValveBiped.Bip01_L_Finger01" 17
19 "ValveBiped.Bip01_L_Finger02" 18
20 "ValveBiped.Bip01_L_Ulna" 3
21 "ValveBiped.Bip01_L_Wrist" 3
22 "rig_l_upperarm" 1
23 "rig_l_forearm" 22
24 "rig_d_l_forearm" 23
25 "rig_d_l_upperarm" 22
26 "ValveBiped.Bip01_R_Clavicle" 0
27 "ValveBiped.Bip01_R_UpperArm" 26
28 "ValveBiped.Bip01_R_Forearm" 27
29 "ValveBiped.Bip01_R_Hand" 28
30 "ValveBiped.Bip01_R_Finger4" 29
31 "ValveBiped.Bip01_R_Finger41" 30
32 "ValveBiped.Bip01_R_Finger42" 31
33 "ValveBiped.Bip01_R_Finger3" 29
34 "ValveBiped.Bip01_R_Finger31" 33
35 "ValveBiped.Bip01_R_Finger32" 34
36 "ValveBiped.Bip01_R_Finger2" 29
37 "ValveBiped.Bip01_R_Finger21" 36
38 "ValveBiped.Bip01_R_Finger22" 37
39 "ValveBiped.Bip01_R_Finger1" 29
40 "ValveBiped.Bip01_R_Finger11" 39
41 "ValveBiped.Bip01_R_Finger12" 40
42 "ValveBiped.Bip01_R_Finger0" 29
43 "ValveBiped.Bip01_R_Finger01" 42
44 "ValveBiped.Bip01_R_Finger02" 43
45 "ValveBiped.Bip01_R_Ulna" 28
46 "ValveBiped.Bip01_R_Wrist" 28
47 "rig_r_upperarm" 26
48 "rig_r_forearm" 47
49 "rig_d_r_forearm" 48
50 "rig_d_r_upperarm" 47
51 "rig_r_hand" -1
52 "rig_d_r_hand" 51
53 "rig_d_r_wrist" 52
54 "rig_l_hand" -1
55 "rig_d_l_hand" 54
56 "rig_d_l_wrist" 54
57 "rig_l_pole" -1
58 "rig_r_pole" -1
59 "rig_l_clavicle" -1
60 "rig_d_l_clavicle" 59
61 "rig_r_clavicle" -1
62 "rig_d_r_clavicle" 61
63 "Camera" -1
64 "body" -1
65 "trigger" 64
66 "barrel" 64
67 "bullet1" 64
68 "slide" 64
69 "hammer" 64
70 "sliderelease" 64
71 "mag" -1
72 "bullet2" 71
73 "bullet3" 71
end
skeleton
time 0
0 0.000006 0.000000 0.000000 -1.570800 -1.391899 -1.570792
1 2.033349 1.000767 1.937657 -1.544956 -1.855077 -0.198630
2 6.027519 -0.000325 0.000208 -2.143567 0.785018 -0.668631
3 11.692112 0.000645 -0.000737 -0.000081 -0.000003 -1.062457
4 11.480341 -0.000210 -0.000731 1.977908 0.206141 0.313878
5 3.859507 -0.142824 -1.192079 -0.468169 0.151546 -0.880257
6 1.312591 0.000011 0.000008 -0.000027 0.000044 -0.439740
7 0.729356 0.000054 0.000049 0.000017 0.000021 -0.244317
8 3.942145 0.046328 -0.431542 -0.151817 0.073216 -0.811086
9 1.539110 0.000084 0.000004 -0.000007 0.000021 -0.247842
10 1.196333 0.000143 0.000029 0.000011 0.000018 -0.430770
11 3.883516 -0.047213 0.431351 0.085894 0.021858 -0.587909
12 1.719572 -0.000031 0.000017 0.000015 0.005518 -0.366533
13 1.209181 0.000090 0.000012 0.000004 0.003091 -0.216438
14 3.859681 -0.138419 1.332380 0.354466 -0.042717 -0.531784
15 1.719448 -0.000020 0.000028 0.000028 0.004066 -0.363025
16 1.099676 0.000050 0.000005 0.000003 0.002578 -0.244381
17 0.806014 -0.349039 1.321248 -1.222694 -0.679188 -0.788867
18 1.789818 -0.000006 -0.000018 0.000011 -0.000024 0.228523
19 1.207014 -0.000014 -0.000041 0.000002 -0.000008 0.362856
20 5.740633 0.000389 -0.000700 0.079065 0.000003 0.000063
21 11.481082 0.000133 -0.000803 0.075193 0.073684 0.050288
22 6.027525 -0.000330 0.000200 -2.352391 -0.091111 0.810625
23 0.000001 11.692099 -0.000007 -0.760917 -0.255891 -0.622326
24 0.000004 0.000009 -0.000000 0.868996 -0.000031 1.570739
25 0.000000 -0.000012 -0.000000 0.868960 0.000002 1.570712
26 2.033355 1.000772 -1.937609 1.473120 1.855075 -0.198639
27 6.027509 -0.000259 -0.000229 1.637176 -0.060228 -0.592196
28 11.691992 0.000163 0.000858 -0.000050 -0.000001 -0.007067
29 11.539204 0.000316 0.000816 -1.562466 0.108529 -0.061253
30 3.859438 -0.132760 1.193065 0.466290 -0.158048 -0.878823
31 1.312559 0.000023 0.000001 0.000013 -0.000043 -0.439709
32 0.729345 0.000065 -0.000027 -0.000023 -0.000019 -0.244286
33 3.942046 0.050138 0.431000 0.150091 -0.079181 -0.810189
34 1.539099 0.000006 0.000000 0.000009 -0.000007 -0.247824
35 1.196302 0.000075 -0.000004 -0.000007 -0.000009 -0.430781
36 3.883415 -0.050474 -0.431084 -0.085915 -0.026392 -0.587660
37 1.719564 -0.000085 -0.000004 -0.000006 -0.007962 -0.366486
38 1.209197 0.000034 0.000011 0.000002 -0.004461 -0.216413
39 3.859588 -0.149084 -1.331321 -0.354445 0.038578 -0.531955
40 1.719413 -0.000099 -0.000036 -0.000030 -0.006584 -0.363030
41 1.099674 0.000025 0.000006 0.000004 -0.004188 -0.244347
42 0.805982 -0.359850 -1.318338 1.221444 0.673631 -0.793558
43 1.789779 -0.000010 -0.000040 -0.000028 0.000031 0.228553
44 1.206995 -0.000006 0.000007 -0.000017 0.000020 0.362910
45 5.740573 0.000079 0.000723 0.026990 -0.000014 0.000028
46 11.492787 0.000137 0.000908 0.000504 0.000315 -0.022541
47 6.027515 -0.000273 -0.000228 0.074799 -0.634128 -2.207435
48 -0.000001 11.691977 -0.000007 -0.005397 0.000036 0.004562
49 0.000002 -0.000001 0.000001 2.272571 -0.000036 1.570860
50 -0.000008 -0.000014 0.000004 2.272645 -0.000036 1.570861
51 -22.620094 0.844507 -17.554111 -1.605366 2.379717 -0.041994
52 -0.000000 0.000001 -0.000000 0.008153 -0.000259 0.000009
53 0.000001 -0.000001 0.000000 1.565115 0.043565 -0.106862
54 22.730511 4.822210 -11.506547 1.605712 0.761853 0.042358
55 0.000000 -0.000002 -0.000000 0.000000 -0.000001 -0.000002
56 0.000031 0.000027 0.000001 -1.571901 -0.044449 -0.106509
57 15.265023 8.339654 -8.787539 1.570796 -0.000000 0.000000
58 -15.265000 8.339654 -8.787539 1.570796 -0.000000 0.000000
59 1.941978 -1.346989 1.821586 1.570796 -0.000000 0.000000
60 -0.004311 0.001230 -0.000371 0.006898 -0.005534 -0.284229
61 -1.937603 -1.346625 1.822824 1.570796 -0.000000 0.000000
62 0.000000 0.000000 0.000000 -0.078727 -3.136056 0.284226
63 0.000000 0.000000 0.000000 1.570796 -0.000000 0.000000
64 -3.534368 -10.111034 -2.851932 1.570796 -0.000000 0.000000
65 -0.039555 1.474504 2.460739 0.000000 -0.000000 0.000000
66 0.005835 2.465127 8.230801 0.000000 -0.000000 0.000000
67 0.005960 1.996234 0.962273 0.000000 -0.000000 0.000000
68 0.000000 2.151127 2.901127 0.000000 -0.000000 0.000000
69 -0.129707 1.615741 -0.793585 0.000000 -0.000000 0.000000
70 0.597054 1.540577 3.235834 0.000000 -0.000000 0.000000
71 -3.534368 -10.839828 -0.901454 1.570796 -0.000000 0.000000
72 0.081399 -0.270263 0.188171 0.000000 -0.000000 0.000000
73 -0.070251 -0.525103 0.105113 0.000000 -0.000000 0.000000
end
triangles
ref1
0 -3.274094 -18.727083 -0.175493 -0.974927 0.000000 -0.222523 0.119365 0.874311 1 66 1.000000
0 -3.211217 -19.358391 -0.450976 -0.974927 0.000000 -0.222523 0.119365 0.874311 1 66 1.000000
0 -3.274095 -19.358391 -0.175493 -0.974927 0.000000 -0.222523 0.119365 0.874311 1 66 1.000000
ref1
0 -3.387395 -18.727083 -0.671897 0.000000 0.000000 1.000000 0.119365 0.874311 1 66 1.000000
0 -3.669963 -19.358391 -0.671897 0.000000 0.000000 1.000000 0.119365 0.874311 1 66 1.000000
0 -3.387395 -19.358391 -0.671897 0.000000 0.000000 1.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.846142 -18.727083 -0.450976 0.974928 0.000000 -0.222521 0.119365 0.874311 1 66 1.000000
0 -3.783264 -19.358391 -0.175493 0.974928 0.000000 -0.222521 0.119365 0.874311 1 66 1.000000
0 -3.846142 -19.358391 -0.450976 0.974928 0.000000 -0.222521 0.119365 0.874311 1 66 1.000000
ref1
0 -3.528679 -18.727083 -0.052891 -0.433883 0.000000 -0.900969 0.119365 0.874311 1 66 1.000000
0 -3.274095 -19.358391 -0.175493 -0.433883 0.000000 -0.900969 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 -0.052891 -0.433883 0.000000 -0.900969 0.119365 0.874311 1 66 1.000000
ref1
0 -3.211217 -18.727083 -0.450976 -0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
0 -3.387395 -19.358391 -0.671897 -0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
0 -3.211217 -19.358391 -0.450976 -0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
ref1
0 -3.669963 -18.727083 -0.671897 0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
0 -3.846142 -19.358391 -0.450976 0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
0 -3.669963 -19.358391 -0.671897 0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
ref1
0 -3.783264 -18.727083 -0.175493 0.433881 0.000000 -0.900970 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 -0.052891 0.433881 0.000000 -0.900970 0.119365 0.874311 1 66 1.000000
0 -3.783264 -19.358391 -0.175493 0.433881 0.000000 -0.900970 0.119365 0.874311 1 66 1.000000
ref1
0 -3.200513 -19.358391 -0.116814 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 -0.052891 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.274095 -19.358391 -0.175493 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.387395 -19.358391 -0.671897 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.119463 -19.358391 -0.471919 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.211217 -19.358391 -0.450976 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.937896 -19.358391 -0.471919 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.669963 -19.358391 -0.671897 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.846142 -19.358391 -0.450976 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.528679 -19.358391 -0.052891 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.856845 -19.358391 -0.116814 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.783264 -19.358391 -0.175493 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.119463 -19.358391 -0.471919 0.000000 -1.000000 0.000010 0.119365 0.874311 1 66 1.000000
0 -3.274095 -19.358391 -0.175493 0.000000 -1.000000 0.000010 0.119365 0.874311 1 66 1.000000
0 -3.211217 -19.358391 -0.450976 0.000000 -1.000000 0.000010 0.119365 0.874311 1 66 1.000000
ref1
0 -3.710798 -19.358391 -0.756691 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.387395 -19.358391 -0.671897 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.669963 -19.358391 -0.671897 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.856845 -19.358391 -0.116814 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.846142 -19.358391 -0.450976 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.783264 -19.358391 -0.175493 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.528679 -18.727083 0.041223 -0.433883 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
0 -3.856845 -19.358391 -0.116814 -0.433883 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 0.041223 -0.433883 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
ref1
0 -3.119463 -18.727083 -0.471919 0.974928 0.000000 0.222522 0.119365 0.874311 1 66 1.000000
0 -3.200513 -19.358391 -0.116814 0.974928 0.000000 0.222522 0.119365 0.874311 1 66 1.000000
0 -3.119463 -19.358391 -0.471919 0.974928 0.000000 0.222522 0.119365 0.874311 1 66 1.000000
ref1
0 -3.710798 -18.727083 -0.756691 0.000000 0.000000 -1.000000 0.119365 0.874311 1 66 1.000000
0 -3.346561 -19.358391 -0.756691 0.000000 0.000000 -1.000000 0.119365 0.874311 1 66 1.000000
0 -3.710798 -19.358391 -0.756691 0.000000 0.000000 -1.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.856845 -18.727083 -0.116814 -0.974928 0.000000 0.222522 0.119365 0.874311 1 66 1.000000
0 -3.937896 -19.358391 -0.471919 -0.974928 0.000000 0.222522 0.119365 0.874311 1 66 1.000000
0 -3.856845 -19.358391 -0.116814 -0.974928 0.000000 0.222522 0.119365 0.874311 1 66 1.000000
ref1
0 -3.200513 -18.727083 -0.116814 0.433883 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 0.041223 0.433883 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
0 -3.200513 -19.358391 -0.116814 0.433883 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
ref1
0 -3.346561 -18.727083 -0.756691 0.781829 0.000000 -0.623492 0.119365 0.874311 1 66 1.000000
0 -3.119463 -19.358391 -0.471919 0.781829 0.000000 -0.623492 0.119365 0.874311 1 66 1.000000
0 -3.346561 -19.358391 -0.756691 0.781829 0.000000 -0.623492 0.119365 0.874311 1 66 1.000000
ref1
0 -3.937896 -18.727083 -0.471919 -0.781829 0.000000 -0.623493 0.119365 0.874311 1 66 1.000000
0 -3.710798 -19.358391 -0.756691 -0.781829 0.000000 -0.623493 0.119365 0.874311 1 66 1.000000
0 -3.937896 -19.358391 -0.471919 -0.781829 0.000000 -0.623493 0.119365 0.874311 1 66 1.000000
ref1
0 -3.846142 -18.727083 -0.450976 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.710798 -18.727083 -0.756691 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.937896 -18.727083 -0.471919 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.783264 -18.727083 -0.175493 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.937896 -18.727083 -0.471919 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.856845 -18.727083 -0.116814 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.669963 -18.727083 -0.671897 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.346561 -18.727083 -0.756691 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.710798 -18.727083 -0.756691 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.387395 -18.727083 -0.671897 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.119463 -18.727083 -0.471919 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.346561 -18.727083 -0.756691 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.211217 -18.727083 -0.450976 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.200513 -18.727083 -0.116814 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.119463 -18.727083 -0.471919 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.200513 -18.727083 -0.116814 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.528679 -18.727083 -0.052891 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.528679 -18.727083 0.041223 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.528679 -18.727083 -0.052891 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.856845 -18.727083 -0.116814 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.528679 -18.727083 0.041223 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.274094 -18.727083 -0.175493 -0.974928 0.000000 -0.222520 0.119365 0.874311 1 66 1.000000
0 -3.211217 -18.727083 -0.450976 -0.974928 0.000000 -0.222520 0.119365 0.874311 1 66 1.000000
0 -3.211217 -19.358391 -0.450976 -0.974928 0.000000 -0.222520 0.119365 0.874311 1 66 1.000000
ref1
0 -3.387395 -18.727083 -0.671897 0.000000 0.000000 1.000000 0.119365 0.874311 1 66 1.000000
0 -3.669963 -18.727083 -0.671897 0.000000 0.000000 1.000000 0.119365 0.874311 1 66 1.000000
0 -3.669963 -19.358391 -0.671897 0.000000 0.000000 1.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.846142 -18.727083 -0.450976 0.974928 0.000000 -0.222520 0.119365 0.874311 1 66 1.000000
0 -3.783264 -18.727083 -0.175493 0.974928 0.000000 -0.222520 0.119365 0.874311 1 66 1.000000
0 -3.783264 -19.358391 -0.175493 0.974928 0.000000 -0.222520 0.119365 0.874311 1 66 1.000000
ref1
0 -3.528679 -18.727083 -0.052891 -0.433884 0.000000 -0.900969 0.119365 0.874311 1 66 1.000000
0 -3.274094 -18.727083 -0.175493 -0.433884 0.000000 -0.900969 0.119365 0.874311 1 66 1.000000
0 -3.274095 -19.358391 -0.175493 -0.433884 0.000000 -0.900969 0.119365 0.874311 1 66 1.000000
ref1
0 -3.211217 -18.727083 -0.450976 -0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
0 -3.387395 -18.727083 -0.671897 -0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
0 -3.387395 -19.358391 -0.671897 -0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
ref1
0 -3.669963 -18.727083 -0.671897 0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
0 -3.846142 -18.727083 -0.450976 0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
0 -3.846142 -19.358391 -0.450976 0.781831 0.000000 0.623490 0.119365 0.874311 1 66 1.000000
ref1
0 -3.783264 -18.727083 -0.175493 0.433885 0.000000 -0.900968 0.119365 0.874311 1 66 1.000000
0 -3.528679 -18.727083 -0.052891 0.433885 0.000000 -0.900968 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 -0.052891 0.433885 0.000000 -0.900968 0.119365 0.874311 1 66 1.000000
ref1
0 -3.200513 -19.358391 -0.116814 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 0.041223 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 -0.052891 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.387395 -19.358391 -0.671897 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.346561 -19.358391 -0.756691 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.119463 -19.358391 -0.471919 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.937896 -19.358391 -0.471919 0.000000 -1.000000 0.000004 0.119365 0.874311 1 66 1.000000
0 -3.710798 -19.358391 -0.756691 0.000000 -1.000000 0.000004 0.119365 0.874311 1 66 1.000000
0 -3.669963 -19.358391 -0.671897 0.000000 -1.000000 0.000004 0.119365 0.874311 1 66 1.000000
ref1
0 -3.528679 -19.358391 -0.052891 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 0.041223 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.856845 -19.358391 -0.116814 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.119463 -19.358391 -0.471919 0.000000 -1.000000 -0.000008 0.119365 0.874311 1 66 1.000000
0 -3.200513 -19.358391 -0.116814 0.000000 -1.000000 -0.000008 0.119365 0.874311 1 66 1.000000
0 -3.274095 -19.358391 -0.175493 0.000000 -1.000000 -0.000008 0.119365 0.874311 1 66 1.000000
ref1
0 -3.710798 -19.358391 -0.756691 0.000000 -1.000000 -0.000004 0.119365 0.874311 1 66 1.000000
0 -3.346561 -19.358391 -0.756691 0.000000 -1.000000 -0.000004 0.119365 0.874311 1 66 1.000000
0 -3.387395 -19.358391 -0.671897 0.000000 -1.000000 -0.000004 0.119365 0.874311 1 66 1.000000
ref1
0 -3.856845 -19.358391 -0.116814 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.937896 -19.358391 -0.471919 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.846142 -19.358391 -0.450976 0.000000 -1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.528679 -18.727083 0.041223 -0.433884 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
0 -3.856845 -18.727083 -0.116814 -0.433884 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
0 -3.856845 -19.358391 -0.116814 -0.433884 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
ref1
0 -3.119463 -18.727083 -0.471919 0.974928 0.000000 0.222520 0.119365 0.874311 1 66 1.000000
0 -3.200513 -18.727083 -0.116814 0.974928 0.000000 0.222520 0.119365 0.874311 1 66 1.000000
0 -3.200513 -19.358391 -0.116814 0.974928 0.000000 0.222520 0.119365 0.874311 1 66 1.000000
ref1
0 -3.710798 -18.727083 -0.756691 0.000000 0.000000 -1.000000 0.119365 0.874311 1 66 1.000000
0 -3.346561 -18.727083 -0.756691 0.000000 0.000000 -1.000000 0.119365 0.874311 1 66 1.000000
0 -3.346561 -19.358391 -0.756691 0.000000 0.000000 -1.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.856845 -18.727083 -0.116814 -0.974928 0.000000 0.222520 0.119365 0.874311 1 66 1.000000
0 -3.937896 -18.727083 -0.471919 -0.974928 0.000000 0.222520 0.119365 0.874311 1 66 1.000000
0 -3.937896 -19.358391 -0.471919 -0.974928 0.000000 0.222520 0.119365 0.874311 1 66 1.000000
ref1
0 -3.200513 -18.727083 -0.116814 0.433884 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
0 -3.528679 -18.727083 0.041223 0.433884 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
0 -3.528679 -19.358391 0.041223 0.433884 0.000000 0.900969 0.119365 0.874311 1 66 1.000000
ref1
0 -3.346561 -18.727083 -0.756691 0.781833 0.000000 -0.623487 0.119365 0.874311 1 66 1.000000
0 -3.119463 -18.727083 -0.471919 0.781833 0.000000 -0.623487 0.119365 0.874311 1 66 1.000000
0 -3.119463 -19.358391 -0.471919 0.781833 0.000000 -0.623487 0.119365 0.874311 1 66 1.000000
ref1
0 -3.937896 -18.727083 -0.471919 -0.781834 0.000000 -0.623487 0.119365 0.874311 1 66 1.000000
0 -3.710798 -18.727083 -0.756691 -0.781834 0.000000 -0.623487 0.119365 0.874311 1 66 1.000000
0 -3.710798 -19.358391 -0.756691 -0.781834 0.000000 -0.623487 0.119365 0.874311 1 66 1.000000
ref1
0 -3.846142 -18.727083 -0.450976 0.000000 1.000000 -0.000020 0.119365 0.874311 1 66 1.000000
0 -3.669963 -18.727083 -0.671897 0.000000 1.000000 -0.000020 0.119365 0.874311 1 66 1.000000
0 -3.710798 -18.727083 -0.756691 0.000000 1.000000 -0.000020 0.119365 0.874311 1 66 1.000000
ref1
0 -3.783264 -18.727083 -0.175493 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.846142 -18.727083 -0.450976 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.937896 -18.727083 -0.471919 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.669963 -18.727083 -0.671897 0.000000 1.000000 0.000020 0.119365 0.874311 1 66 1.000000
0 -3.387395 -18.727083 -0.671897 0.000000 1.000000 0.000020 0.119365 0.874311 1 66 1.000000
0 -3.346561 -18.727083 -0.756691 0.000000 1.000000 0.000020 0.119365 0.874311 1 66 1.000000
ref1
0 -3.387395 -18.727083 -0.671897 0.000000 1.000000 0.000010 0.119365 0.874311 1 66 1.000000
0 -3.211217 -18.727083 -0.450976 0.000000 1.000000 0.000010 0.119365 0.874311 1 66 1.000000
0 -3.119463 -18.727083 -0.471919 0.000000 1.000000 0.000010 0.119365 0.874311 1 66 1.000000
ref1
0 -3.211217 -18.727083 -0.450976 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.274094 -18.727083 -0.175493 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
0 -3.200513 -18.727083 -0.116814 0.000000 1.000000 0.000000 0.119365 0.874311 1 66 1.000000
ref1
0 -3.200513 -18.727083 -0.116814 0.000000 1.000000 0.000040 0.119365 0.874311 1 66 1.000000
0 -3.274094 -18.727083 -0.175493 0.000000 1.000000 0.000040 0.119365 0.874311 1 66 1.000000
0 -3.528679 -18.727083 -0.052891 0.000000 1.000000 0.000040 0.119365 0.874311 1 66 1.000000
ref1
0 -3.528679 -18.727083 -0.052891 0.000000 1.000000 0.000020 0.119365 0.874311 1 66 1.000000
0 -3.783264 -18.727083 -0.175493 0.000000 1.000000 0.000020 0.119365 0.874311 1 66 1.000000
0 -3.856845 -18.727083 -0.116814 0.000000 1.000000 0.000020 0.119365 0.874311 1 66 1.000000
end

View File

@ -0,0 +1,8 @@
L = {}
//////////////////// MK23
L["uplp_weapon_mk23"] = "MK 23"
L["uplp_weapon_mk23_desc"] = "The \"USSOCOM MARK 23\", shortened MK 23, is a semi-automatic large frame handgun chambered in .45 ACP designed specifically to be an offensive pistol. Considered a match grade pistol, its accuracy is equal to that of the finest custom made handguns, yet exceeds the most stringent operational requirements ever demanded of a combat handgun. Endurance testing demonstrated a service life of over 30,000 rounds of +P ammunition."
L["uplp_weapon_mk23_real"] = "MK 23"

View File

@ -8,25 +8,27 @@ SWEP.Spawnable = true
SWEP.Slot = 1 -- Which slot the weapon is in; starts at 0
---- Name, Description, Class, Category and Trivia
SWEP.PrintName = ARC9:GetPhrase("uplp_weapon_m9")
SWEP.Description = ARC9:GetPhrase("uplp_weapon_m9_desc")
SWEP.PrintName = ARC9:GetPhrase("uplp_weapon_mk23")
SWEP.Description = ARC9:GetPhrase("uplp_weapon_mk23_desc")
SWEP.Class = ARC9:GetPhrase("uplp_class_weapon_pistol") -- In the Customization Menu
SWEP.SubCategory = ARC9:GetPhrase("uplp_category_weapon_pistol") -- In the Spawnmenu
SWEP.Trivia = {
[ ARC9:GetPhrase( "uplp_realname" ) ] = ARC9:GetPhrase("uplp_weapon_m9_real"),
[ ARC9:GetPhrase( "uplp_realname" ) ] = ARC9:GetPhrase("uplp_weapon_mk23_real"),
[ ARC9:GetPhrase( "uplp_manufacturer" ) ] = ARC9:GetPhrase( "uplp_weapon_m9_manufacturer" ),
[ ARC9:GetPhrase( "uplp_caliber" ) ] = ARC9:GetPhrase( "uplp_caliber_9x19mm"),
[ ARC9:GetPhrase( "uplp_mechanism" ) ] = ARC9:GetPhrase( "uplp_mechanism_delayed"),
[ ARC9:GetPhrase( "uplp_country" ) ] = ARC9:GetPhrase( "uplp_country_italy" ),
[ ARC9:GetPhrase( "uplp_year" ) ] = string.format( ARC9:GetPhrase("uplp_year_present"), "1976" ),
[ ARC9:GetPhrase( "uplp_manufacturer" ) ] = ARC9:GetPhrase( "uplp_manufacturer_hk" ),
[ ARC9:GetPhrase( "uplp_caliber" ) ] = ARC9:GetPhrase( "uplp_caliber_45acp"),
[ ARC9:GetPhrase( "uplp_mechanism" ) ] = string.format( ARC9:GetPhrase("uplp_mechanism_2" ),
ARC9:GetPhrase( "uplp_mechanism_shortrecoil" ),
ARC9:GetPhrase( "uplp_mechanism_browning" ) ),
[ ARC9:GetPhrase( "uplp_country" ) ] = ARC9:GetPhrase( "uplp_country_germany" ),
[ ARC9:GetPhrase( "uplp_year" ) ] = string.format( ARC9:GetPhrase("uplp_year_present"), "1991" ),
}
SWEP.Credits = {
[ ARC9:GetPhrase( "uplp_lua" ) ] = "Moka",
[ ARC9:GetPhrase( "uplp_assets" ) ] = "Kaan, TastyTony",
[ ARC9:GetPhrase( "uplp_lua" ) ] = "Moka, Fesiug",
[ ARC9:GetPhrase( "uplp_assets" ) ] = "notcplkerry",
[ ARC9:GetPhrase( "uplp_animations" ) ] = "Partexedd",
[ ARC9:GetPhrase( "uplp_sounds" ) ] = "rzen1th",
[ ARC9:GetPhrase( "uplp_general" ) ] = "Darsu",
@ -52,7 +54,7 @@ SWEP.CamQCA = 3
SWEP.CamOffsetAng = Angle(0, 0, 90)
---- View & Worldmodel
SWEP.ViewModel = "models/weapons/arc9/c_uplp_beretta.mdl"
SWEP.ViewModel = "models/weapons/arc9/c_uplp-f_mk23_5.mdl"
SWEP.WorldModel = "models/weapons/arc9/w_uplp_beretta.mdl"
SWEP.MirrorVMWM = true
@ -69,7 +71,8 @@ SWEP.WorldModelOffset = {
SWEP.ViewModelFOVBase = 75
SWEP.ActiveAng = Angle(0, 0, -1)
SWEP.ActivePos = Vector(0.2, 0, -0.1)
SWEP.ActiveAng = Angle(0, 0, -2)
SWEP.BobSettingsMove = {0.85, -0.45, 0.5, 0.9, -1.5, 1.15}
SWEP.BobSettingsSpeed = {0.9, 1, 0.92, 1, 0.92, 0.8}
@ -79,7 +82,7 @@ SWEP.AnimReload = ACT_HL2MP_GESTURE_RELOAD_MAGIC
---- Weapon Stats and Behaviour
-- Damage
SWEP.DamageMax = 28
SWEP.DamageMax = 33
SWEP.DamageMin = 12
SWEP.DamageType = DMG_BULLET
@ -94,11 +97,11 @@ SWEP.BodyDamageMults = {
}
SWEP.Penetration = 12 -- Units of wood that can be penetrated
SWEP.ImpactForce = 4 -- How much kick things will have when hit
SWEP.ImpactForce = 8 -- How much kick things will have when hit
-- Range
SWEP.RangeMin = 6 / ARC9.HUToM
SWEP.RangeMax = 32 / ARC9.HUToM
SWEP.RangeMin = 9 / ARC9.HUToM
SWEP.RangeMax = 45 / ARC9.HUToM
-- Physical Bullets
SWEP.PhysBulletMuzzleVelocity = 625 * 39.37
@ -109,12 +112,12 @@ SWEP.PhysBulletDrag = 1.5
SWEP.Ammo = "pistol" -- What ammo type this gun uses.
SWEP.ChamberSize = 1
SWEP.ClipSize = 15
SWEP.ClipSize = 12
-- Recoil
SWEP.Recoil = 1
SWEP.RecoilUp = 1.2
SWEP.RecoilSide = 0.9
SWEP.RecoilUp = 3.2
SWEP.RecoilSide = 1.1
SWEP.RecoilRandomUp = 0.25
SWEP.RecoilRandomSide = 0.75
@ -128,16 +131,16 @@ SWEP.RecoilMultSights = 0.95
SWEP.RecoilMultCrouch = 0.75
-- Visual Recoil
SWEP.VisualRecoil = 0.5
SWEP.VisualRecoil = 0.75
SWEP.VisualRecoilMultSights = 1
SWEP.VisualRecoilCenter = Vector(2, 11, 2)
SWEP.VisualRecoilUp = -0.15 -- Vertical tilt
SWEP.VisualRecoilUp = -6.15 -- Vertical tilt
SWEP.VisualRecoilSide = 0 -- Horizontal tilt
SWEP.VisualRecoilRoll = 10 -- Roll tilt
SWEP.VisualRecoilPunch = 2.5 -- How far back visual recoil moves the gun
SWEP.VisualRecoilDampingConst = 50
SWEP.VisualRecoilSpringMagnitude = 0.44
SWEP.VisualRecoilPositionBumpUp = .25
SWEP.VisualRecoilRoll = 100 -- Roll tilt
SWEP.VisualRecoilPunch = 3.0 -- How far back visual recoil moves the gun
SWEP.VisualRecoilDampingConst = 200
SWEP.VisualRecoilSpringMagnitude = 1.44
SWEP.VisualRecoilPositionBumpUp = 0.25
SWEP.VisualRecoilMultHipFire = 1
-- SWEP.VisualRecoilUpHipFire = 2
@ -148,7 +151,7 @@ SWEP.VisualRecoilMultHipFire = 1
-- SWEP.VisualRecoilPositionBumpUpHipFire = .5
-- Accuracy and Spread
SWEP.Spread = 0.004
SWEP.Spread = math.rad(4/60)
SWEP.SpreadAddHipFire = 0.012
SWEP.SpreadAddRecoil = 0.01
@ -172,10 +175,10 @@ SWEP.AimDownSightsTime = 0.16 -- Time it takes to fully enter ADS
SWEP.SprintToFireTime = 0.15 -- Time it takes to fully enter sprint
-- Shooting and Firemodes
SWEP.RPM = 420 -- How fast gun shoot
SWEP.RPM = 280 -- How fast gun shoot
SWEP.HeatCapacity = 60 -- For suppresors; how many shots for full heat With big silencer (Small silencers will make this number lower down to 70%)
SWEP.Num = 1 -- How many bullets shot at once
SWEP.Num = 1 -- How many bullets shot at oncew
SWEP.Firemodes = {
{ Mode = 1 }, -- Semi
@ -198,7 +201,7 @@ SWEP.NPCWeight = 60
-- Iron Sight and Sight Info
SWEP.IronSights = {
Pos = Vector(-1.92, -2, 0.79),
Pos = Vector(-1.92, -2, 0.49),
Ang = Angle(0, 0.25, 0),
Magnification = 1.1,
ViewModelFOV = 70,
@ -232,48 +235,50 @@ SWEP.DropMagazineVelocity = Vector(0, -40, 0)
-- local pathRZ = "uplp_rz/57/"
-- urbna!
local pathUT = "uplp_urban_temp/beretta/"
local pathUT = "uplp_f/mk23/"
local pathUTC = "uplp_urban_temp/common/"
local path1911 = "uplp_urban_temp/1911/"
local pathSCAR = "uplp_urban_temp/scar/"
local pathDE = "uplp_urban_temp/deagle/"
SWEP.ShootSound = {
path1911 .. "fire-9-01.ogg",
path1911 .. "fire-9-02.ogg",
path1911 .. "fire-9-03.ogg",
path1911 .. "fire-9-04.ogg",
path1911 .. "fire-9-05.ogg",
path1911 .. "fire-9-06.ogg",
pathUT .. "fire-762-01.ogg",
pathUT .. "fire-762-02.ogg",
pathUT .. "fire-762-03.ogg",
pathUT .. "fire-762-04.ogg",
pathUT .. "fire-762-05.ogg",
pathUT .. "fire-762-06.ogg",
}
SWEP.ShootSoundSilenced = {
path1911 .. "fire-9-sup-01.ogg",
path1911 .. "fire-9-sup-02.ogg",
path1911 .. "fire-9-sup-03.ogg",
path1911 .. "fire-9-sup-04.ogg",
path1911 .. "fire-9-sup-05.ogg",
path1911 .. "fire-9-sup-06.ogg",
pathUT .. "fire-762-sup-02.ogg",
pathUT .. "fire-762-sup-01.ogg",
pathUT .. "fire-762-sup-03.ogg",
pathUT .. "fire-762-sup-04.ogg",
pathUT .. "fire-762-sup-05.ogg",
pathUT .. "fire-762-sup-06.ogg",
}
SWEP.ShootSoundSilencedIndoor = SWEP.ShootSoundSilenced
SWEP.DistantShootSound = {
pathUTC .. "9mmtails/fire-dist-9x19-pistol-ext-01.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-ext-02.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-ext-03.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-ext-04.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-ext-05.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-ext-06.ogg",
pathUTC .. "308tails/fire-dist-308-rif-ext-01.ogg",
pathUTC .. "308tails/fire-dist-308-rif-ext-02.ogg",
pathUTC .. "308tails/fire-dist-308-rif-ext-03.ogg",
pathUTC .. "308tails/fire-dist-308-rif-ext-04.ogg",
pathUTC .. "308tails/fire-dist-308-rif-ext-05.ogg",
pathUTC .. "308tails/fire-dist-308-rif-ext-06.ogg"
}
SWEP.DistantShootSoundIndoor = {
pathUTC .. "9mmtails/fire-dist-9x19-pistol-int-01.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-int-02.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-int-03.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-int-04.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-int-05.ogg",
pathUTC .. "9mmtails/fire-dist-9x19-pistol-int-06.ogg",
pathUTC .. "308tails/fire-dist-308-rif-int-01.ogg",
pathUTC .. "308tails/fire-dist-308-rif-int-02.ogg",
pathUTC .. "308tails/fire-dist-308-rif-int-03.ogg",
pathUTC .. "308tails/fire-dist-308-rif-int-04.ogg",
pathUTC .. "308tails/fire-dist-308-rif-int-05.ogg",
pathUTC .. "308tails/fire-dist-308-rif-int-06.ogg"
}
SWEP.DistantShootSoundSilenced = {
@ -329,12 +334,12 @@ SWEP.ReloadHideBoneTables = {
local mechh = {
path1911 .. "mech-01.ogg",
path1911 .. "mech-02.ogg",
path1911 .. "mech-03.ogg",
path1911 .. "mech-04.ogg",
path1911 .. "mech-05.ogg",
path1911 .. "mech-06.ogg",
pathDE .. "mech-01.ogg",
pathDE .. "mech-02.ogg",
pathDE .. "mech-03.ogg",
pathDE .. "mech-04.ogg",
pathDE .. "mech-05.ogg",
pathDE .. "mech-06.ogg",
}
local UTCrattle = {
@ -474,12 +479,12 @@ SWEP.Animations = {
PeekProgress = 0.825,
RefillProgress = 0.675,
FireASAP = true,
Mult = 1,
Mult = 1.2,
EventTable = {
{ s = pathUTC .. "pistol_rattle_2.ogg", t = 0 / 60, c = ca },
{ s = pathUT .. "magout.ogg", t = 12.5 / 60, c = ca },
{ s = pathDE .. "magout.ogg", t = 12.5 / 60, c = ca },
{ s = pathUTC .. "magpouch_pull_small.ogg", t = 20 / 60, v = 0.3 },
{ s = pathUT .. "magin.ogg", t = 35 / 60, c = ca },
{ s = pathDE .. "magin.ogg", t = 42 / 60, c = ca },
{ s = UTCrattle, t = 55 / 60, c = ca },
{hide = 0, t = 0},
{hide = 1, t = 0.4},
@ -499,13 +504,13 @@ SWEP.Animations = {
PeekProgress = 0.85,
RefillProgress = 0.725,
FireASAP = true,
Mult = 1,
Mult = 1.2,
EventTable = {
{ s = pathUTC .. "pistol_rattle_2.ogg", t = 0 / 60, c = ca },
{ s = pathUT .. "magout.ogg", t = 12.5 / 60, c = ca },
{ s = pathDE .. "magout.ogg", t = 10 / 60, c = ca },
{ s = pathUTC .. "magpouch_pull_small.ogg", t = 20 / 60, v = 0.3 },
{ s = pathUT .. "magin.ogg", t = 35 / 60, c = ca },
{ s = pathUT .. "sliderel.ogg", t = 60 / 60, c = ca },
{ s = pathDE .. "magin.ogg", t = 35 / 60, c = ca },
{ s = pathDE .. "chamber.ogg", t = 60 / 60, c = ca },
{ s = UTCrattle, t = 67.5 / 60, c = ca },
{hide = 0, t = 0},
{hide = 1, t = 0.4},
@ -520,58 +525,6 @@ SWEP.Animations = {
},
},
["reload_ext"] = {
Source = "reload_ext",
MinProgress = 0.95,
PeekProgress = 0.825,
RefillProgress = 0.675,
FireASAP = true,
Mult = 1,
EventTable = {
{ s = pathUTC .. "pistol_rattle_2.ogg", t = 0 / 60, c = ca },
{ s = pathUT .. "magout.ogg", t = 17.5 / 60, c = ca },
{ s = pathUTC .. "magpouch_pull_small.ogg", t = 20 / 60, v = 0.3 },
{ s = pathUT .. "magin.ogg", t = 45 / 60, c = ca },
{ s = UTCrattle, t = 60 / 60, c = ca },
{hide = 0, t = 0},
{hide = 1, t = 0.5},
{hide = 0, t = 0.75},
},
IKTimeLine = {
{ t = 0, lhik = 1, rhik = 1 },
{ t = 0.1, lhik = 0, rhik = 0 },
{ t = 0.7, lhik = 0, rhik = 0 },
{ t = 0.975, lhik = 1, rhik = 1 },
{ t = 1, lhik = 1, rhik = 1 },
},
},
["reload_empty_ext"] = {
Source = "reload_empty_ext",
MinProgress = 0.95,
PeekProgress = 0.85,
RefillProgress = 0.725,
FireASAP = true,
Mult = 1,
EventTable = {
{ s = pathUTC .. "pistol_rattle_2.ogg", t = 0 / 60, c = ca },
{ s = pathUT .. "magout.ogg", t = 17.5 / 60, c = ca },
{ s = pathUTC .. "magpouch_pull_small.ogg", t = 20 / 60, v = 0.3 },
{ s = pathUT .. "magin.ogg", t = 45 / 60, c = ca },
{ s = pathUT .. "sliderel.ogg", t = 67.5 / 60, c = ca },
{ s = UTCrattle, t = 75 / 60, c = ca },
{hide = 0, t = 0},
{hide = 1, t = 0.5},
{hide = 0, t = 0.75},
},
IKTimeLine = {
{ t = 0, lhik = 1, rhik = 1 },
{ t = 0.08, lhik = 0, rhik = 0 },
{ t = 0.7, lhik = 0, rhik = 0 },
{ t = 0.95, lhik = 1, rhik = 1 },
{ t = 1, lhik = 1, rhik = 1 },
},
},
-- Inspecc --
["inspect"] = {
@ -622,275 +575,18 @@ SWEP.Animations = {
Source = "modeswitch_empty",
EventTable = thetoggle
},
["firemode_1"] = {
Source = "modeswitch",
EventTable = thetoggle,
IKTimeLine = { { t = 0, lhik = 1, rhik = 1 } },
},
["firemode_1_empty"] = {
Source = "modeswitch_empty",
EventTable = thetoggle,
IKTimeLine = { { t = 0, lhik = 1, rhik = 1 } },
},
["firemode_2"] = {
Source = "modeswitch",
EventTable = thetoggle,
IKTimeLine = { { t = 0, lhik = 1, rhik = 1 } },
},
["firemode_2_empty"] = {
Source = "modeswitch_empty",
EventTable = thetoggle,
IKTimeLine = { { t = 0, lhik = 1, rhik = 1 } },
},
-- robocop, alt anim set
["rc_idle"] = {
Source = "rc_idle",
EventTable = {
{hide = 1, t = 0},
},
IKTimeLine = {
{ t = 0, lhik = 0, rhik = 0 },
{ t = 1, lhik = 0, rhik = 0 },
},
},
["rc_idle_empty"] = {
Source = "rc_idle_empty",
EventTable = {
{hide = 1, t = 0},
},
},
["rc_ready"] = {
Source = "rc_ready",
MinProgress = 0.75,
FireASAP = true,
Mult = 1.1,
EventTable = {
{ s = path1911 .. "draw.ogg", t = 0 / 60, c = ca, v = 0.8 },
{s = pathUTC .. "pistol_rattle_1.ogg", t = 10 / 60},
{s = pathUTC .. "pistol_rattle_2.ogg", t = 20 / 60},
{s = pathUTC .. "pistol_rattle_3.ogg", t = 30 / 60},
{s = pathUTC .. "pistol_rattle_4.ogg", t = 40 / 60},
{s = pathUTC .. "cloth_4.ogg", t = 35 / 60},
},
},
["rc_draw"] = {
-- Source = "rc_draw",
-- EventTable = {
-- { s = path1911 .. "draw.ogg", t = 0 / 60, c = ca, v = 0.8 },
-- },
Source = "rc_ready",
MinProgress = 0.75,
FireASAP = true,
Mult = 1.1,
EventTable = {
{ s = path1911 .. "draw.ogg", t = 0 / 60, c = ca, v = 0.8 },
{s = pathUTC .. "pistol_rattle_1.ogg", t = 10 / 60},
{s = pathUTC .. "pistol_rattle_2.ogg", t = 20 / 60},
{s = pathUTC .. "pistol_rattle_3.ogg", t = 30 / 60},
{s = pathUTC .. "pistol_rattle_4.ogg", t = 40 / 60},
{s = pathUTC .. "cloth_4.ogg", t = 35 / 60},
},
},
["rc_draw_empty"] = {
Source = "rc_draw_empty",
MinProgress = 0.75,
FireASAP = true,
EventTable = {
{ s = path1911 .. "draw.ogg", t = 0 / 60, c = ca, v = 0.8 },
},
},
["rc_holster"] = {
Source = "rc_holster",
MinProgress = 0.5,
EventTable = {
{s = pathUTC .. "cloth_2.ogg", t = 0},
},
},
["rc_holster_empty"] = {
Source = "rc_holster_empty",
MinProgress = 0.5,
EventTable = {
{s = pathUTC .. "cloth_2.ogg", t = 0},
},
},
["rc_fire"] = {
Source = {"rc_fire"},
-- Time = 1,
ShellEjectAt = 0.01,
EventTable = { { s = mechh, t = 0, v = 0.3 } },
},
["rc_fire_empty"] = {
Source = "rc_fire_empty",
-- Time = 1,
ShellEjectAt = 0.01,
EventTable = { { s = mechh, t = 0, v = 0.3 } },
},
-- Reloads --
["rc_reload"] = {
Source = "rc_reload",
MinProgress = 0.925,
PeekProgress = 0.75,
RefillProgress = 0.625,
FireASAP = true,
Mult = 1.12,
EventTable = {
{ s = pathUTC .. "pistol_rattle_2.ogg", t = 0 / 60, c = ca },
{ s = pathUT .. "magout.ogg", t = 7.5 / 60, c = ca },
{ s = pathUTC .. "magpouch_pull_small.ogg", t = 20 / 60, v = 0.3 },
{ s = pathUT .. "magin.ogg", t = 30 / 60, c = ca },
{ s = UTCrattle, t = 30 / 60, c = ca },
{hide = 0, t = 0},
{hide = 1, t = 0.4/1.12},
{hide = 0, t = 0.53},
},
},
["rc_reload_empty"] = {
Source = "rc_reload_empty",
MinProgress = 0.925,
PeekProgress = 0.825,
RefillProgress = 0.65,
FireASAP = true,
Mult = 1.12,
EventTable = {
{ s = pathUTC .. "pistol_rattle_2.ogg", t = 0 / 60, c = ca },
{ s = pathUT .. "magout.ogg", t = 7.5 / 60, c = ca },
{ s = pathUTC .. "magpouch_pull_small.ogg", t = 4 / 60, v = 0.3 },
{ s = pathUT .. "magin.ogg", t = 30 / 60, c = ca },
{ s = pathUT .. "sliderel.ogg", t = 50 / 60, c = ca },
{ s = UTCrattle, t = 60 / 60, c = ca },
{hide = 0, t = 0},
{hide = 1, t = 0.4/1.12},
{hide = 0, t = 0.53},
},
},
-- Inspecc --
["rc_inspect"] = {
Source = "rc_inspect",
EventTable = {
{ s = pathUTC .. "cloth_2.ogg", t = 5 / 30, c = ca },
{ s = pathUTC .. "movement-pistol-02.ogg", t = 52 / 30, c = ca },
{ s = pathUTC .. "cloth_4.ogg", t = 56 / 30, c = ca, v = 0.5 },
{ s = pathUTC .. "cloth_1.ogg", t = 92 / 30, c = ca },
},
},
["rc_inspect_empty"] = {
Source = "rc_inspect_empty",
EventTable = {
{ s = pathUTC .. "cloth_2.ogg", t = 5 / 30, c = ca },
{ s = pathUTC .. "movement-pistol-02.ogg", t = 52 / 30, c = ca },
{ s = pathUTC .. "cloth_4.ogg", t = 56 / 30, c = ca, v = 0.5 },
{ s = pathUTC .. "cloth_1.ogg", t = 92 / 30, c = ca },
},
},
["rc_toggle"] = {
Source = "rc_modeswitch",
EventTable = thetoggle
},
["rc_toggle_empty"] = {
Source = "rc_modeswitch_empty",
EventTable = thetoggle
},
["rc_firemode_1"] = {
Source = "rc_modeswitch",
EventTable = thetoggle
},
["rc_firemode_1_empty"] = {
Source = "rc_modeswitch_empty",
EventTable = thetoggle
},
["rc_firemode_2"] = {
Source = "rc_modeswitch",
EventTable = thetoggle,
IKTimeLine = { { t = 0, lhik = 1, rhik = 1 } },
},
["rc_firemode_2_empty"] = {
Source = "rc_modeswitch_empty",
EventTable = thetoggle,
IKTimeLine = { { t = 0, lhik = 1, rhik = 1 } },
},
}
---- Attachments
SWEP.Hook_ModifyBodygroups = function(wep, data)
local eles = data.elements
local mdl = data.model
if eles["uplp_optic_small"] then
if eles["uplp_m9_receiver_raffica"] then
mdl:SetBodygroup(1, 4)
else
mdl:SetBodygroup(1, 3)
end
end
if eles["uplp_m9_mag_20"] then
mdl:SetBodygroup(2, 2)
end
-- if eles["uplp_muzzle_pistol"] then mdl:SetBodygroup(5, 1) end
end
SWEP.AttachmentElements = {
["uplp_m9_receiver_raffica"] = { Bodygroups = { { 0, 1 }, { 1, 1 } }, AttPosMods = {
[2] = { Pos = Vector(0, -0.9, -1.65), },
}},
["uplp_m9_receiver_a3"] = { Bodygroups = { { 0, 2 } } },
["uplp_m9_receiver_a3t"] = { Bodygroups = { { 0, 3 }, { 2, 1 } } },
["uplp_m9_receiver_sc"] = { Bodygroups = { { 0, 4 }, { 1, 2 } }, AttPosMods = {
[3] = { Pos = Vector(0, -2.465, 9.5), },
}},
["uplp_m9_receiver_robocop"] = { Bodygroups = { { 0, 5 }, { 1, 5 }, { 2, 3 } } },
-- ["uplp_m9_mag_20"] = { Bodygroups = { { 2, 2 } } },
-- ["uplp_optic_tacrds"] = { AttPosMods = {
-- [2] = { Pos = Vector(0, -0.9, -1.55), Scale = 1 },
-- }},
["muzzle"] = {
Bodygroups = { {1, 1} }
}
}
local fuckthis = 0
SWEP.Hook_Think = function(swep)
if fuckthis < CurTime() then
fuckthis = CurTime() + 0.5
if swep:GetElements()["uplp_m9_receiver_raffica"] then
local vm, wm = swep:GetVM(), swep:GetWM()
if IsValid(vm) then vm:SetPoseParameter("raffica", 1) end -- different animations for raffica
if IsValid(wm) then wm:SetPoseParameter("raffica", 1) end -- tpik
else
local vm, wm = swep:GetVM(), swep:GetWM()
if IsValid(vm) then vm:SetPoseParameter("raffica", 0) end
if IsValid(wm) then wm:SetPoseParameter("raffica", 0) end
end
end
end
local defatt = "arc9/def_att_icons/"
local defatt2 = "entities/uplp_attachements/def/"
SWEP.Attachments = {
{
PrintName = ARC9:GetPhrase("uplp_category_receiver"),
Category = {"uplp_m9_receiver"},
Bone = "body",
Pos = Vector(0, -1.25, 0.75),
Ang = Angle(90, 0, -90),
},
{
PrintName = ARC9:GetPhrase("uplp_category_optic"),
Category = {"uplp_optic_small"},
@ -900,32 +596,23 @@ SWEP.Attachments = {
Pos = Vector(0, -0.8, -1.8),
ExtraSightDistance = 3,
Ang = Angle(90, 90, 180),
Scale = 1.2
},
{
PrintName = ARC9:GetPhrase("uplp_category_muzzle"),
Category = {"uplp_muzzle_pistol"},
ExcludeElements = {"nomuz"},
InstalledElements = {"muzzle"},
Bone = "body",
Pos = Vector(0, -2.465, 7.75),
Pos = Vector(0, -2.465, 8.53),
Ang = Angle(90, 90, 180),
Scale = 0.85
},
{
PrintName = ARC9:GetPhrase("uplp_category_tactical"),
Category = {"uplp_tac_pistol"},
Bone = "body",
Pos = Vector(0, -1.05, 6),
Ang = Angle(90, 90, 0),
RequireElements = {"uplp_can_tac"},
},
{
PrintName = ARC9:GetPhrase("uplp_category_magazine"),
Category = {"uplp_m9_mag"},
ExcludeElements = {"nomag"},
Bone = "body",
Pos = Vector(0, 1.5, 0.25),
Pos = Vector(0, -1.25, 6.7),
Ang = Angle(90, 90, 0),
Scale = 1.3334,
},
-- Cosmetic shit
@ -952,26 +639,4 @@ SWEP.Attachments = {
Pos = Vector(0.625, 0.1, 3.7),
Ang = Angle(90, 0, -90),
},
}
SWEP.HookP_NameChange = function(self, name)
local att = self:GetElements()
if att["uplp_m9_receiver_raffica"] then
name = ARC9:GetPhrase("uplp_weapon_m9_raffica")
end
if att["uplp_m9_receiver_a3"] or att["uplp_m9_receiver_a3t"] then
name = ARC9:GetPhrase("uplp_weapon_m9_a3")
end
if att["uplp_m9_receiver_sc"] then
name = ARC9:GetPhrase("uplp_weapon_m9_sc")
end
if att["uplp_m9_receiver_robocop"] then
name = ARC9:GetPhrase("uplp_weapon_m9_robocop")
end
return name
end
}

View File

@ -0,0 +1,8 @@
VertexLitGeneric
{
$basetexture "models/weapons/arc9/uplp-f/ref1"
$bumpmap "dev/flat_normal"
$halflambert 1
$envmap "env_cubemap"
$envmaptint "[0 0 0]"
}

BIN
materials/models/weapons/arc9/uplp-f/ref1.vtf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/c_uplp-f_mk23_5.dx90.vtx (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/c_uplp-f_mk23_5.mdl (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/c_uplp-f_mk23_5.phy (Stored with Git LFS) Normal file

Binary file not shown.

BIN
models/weapons/arc9/c_uplp-f_mk23_5.vvd (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-01.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-02.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-03.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-04.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-05.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-06.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-sup-01.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-sup-02.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-sup-03.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-sup-04.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-sup-05.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sound/uplp_f/mk23/fire-762-sup-06.ogg (Stored with Git LFS) Normal file

Binary file not shown.