Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified neo/models/weapons/v_jinrai_tachi.dx80.vtx
Binary file not shown.
Binary file modified neo/models/weapons/v_jinrai_tachi.dx90.vtx
Binary file not shown.
Binary file modified neo/models/weapons/v_jinrai_tachi.mdl
Binary file not shown.
Binary file modified neo/models/weapons/v_jinrai_tachi.sw.vtx
Binary file not shown.
Binary file modified neo/models/weapons/v_jinrai_tachi.vvd
Binary file not shown.
Binary file modified neo/models/weapons/v_nsf_tachi.dx80.vtx
Binary file not shown.
Binary file modified neo/models/weapons/v_nsf_tachi.dx90.vtx
Binary file not shown.
Binary file modified neo/models/weapons/v_nsf_tachi.mdl
Binary file not shown.
Binary file modified neo/models/weapons/v_nsf_tachi.sw.vtx
Binary file not shown.
Binary file modified neo/models/weapons/v_nsf_tachi.vvd
Binary file not shown.
13 changes: 13 additions & 0 deletions neo/modelsrc/weapons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,19 @@ Then copy the generated files (`v_*_tachi.*` for the Tachi) from the game direct
`models/weapons/` to neoAssets `neo/models/weapons/`. The compile overwrites older models in the game directory.


## Lowered pistols with an empty magazine

The Tachi holds its slide back when empty (`idle01empty`). Its shipped lowered clips (`idletolow`, `lowidle`,
`lowtoidle`) show the slide forward, so the scene has three authored slots for an empty gun: `idletolowempty`,
`lowidleempty` and `lowtoidleempty`. Each is the shipped clip with the slide and its catch held at their `idle01empty`
pose; no other bone differs.

- `lowidleempty` carries the activity `ACT_VM_IDLE_LOWERED_EMPTY`; the game plays it instead of `lowidle` while the
magazine is empty.
- The two transitions connect node `0` (the idles) with node `3` (`lowidleempty`), so the engine plays them on the
way into and out of the empty lowered pose, as it plays `idletolow` and `lowtoidle` for a loaded gun.
- Both team models compile the Jinrai SMDs of these slots.

## Adding a gun

Files in neoAssets (this repo):
Expand Down
719 changes: 719 additions & 0 deletions neo/modelsrc/weapons/jinrai_tachi/anims/idletolowempty.smd

Large diffs are not rendered by default.

169 changes: 169 additions & 0 deletions neo/modelsrc/weapons/jinrai_tachi/anims/lowidleempty.smd
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
version 1
nodes
0 "Dummy01" -1
1 "bone forearm01" 0
2 "bone hand01" 1
3 "bone middle 05" 2
4 "bone middle 06" 3
5 "bone middle 07" 4
6 "bone middle 08" 5
7 "bone index 05" 2
8 "bone index 06" 7
9 "bone index 07" 8
10 "bone index 08" 9
11 "bone ring 05" 2
12 "bone ring 06" 11
13 "bone ring 07" 12
14 "bone ring 08" 13
15 "bone pinky 05" 2
16 "bone pinky 06" 15
17 "bone pinky 07" 16
18 "bone pinky 08" 17
19 "bone thumb 04" 2
20 "bone thumb 05" 19
21 "bone thumb 06" 20
22 "bone forearm" 0
23 "bone hand" 22
24 "bone middle 1" 23
25 "bone middle 2" 24
26 "bone middle 3" 25
27 "bone middle 4" 26
28 "bone index 1" 23
29 "bone index 2" 28
30 "bone index 3" 29
31 "bone index 4" 30
32 "bone ring 1" 23
33 "bone ring 2" 32
34 "bone ring 3" 33
35 "bone ring 4" 34
36 "bone pinky 1" 23
37 "bone pinky 2" 36
38 "bone pinky 3" 37
39 "bone pinky 4" 38
40 "bone thumb 1" 23
41 "bone thumb 2" 40
42 "bone thumb 3" 41
43 "magrel" 23
44 "slide" 43
45 "Eject" 44
46 "body" 43
47 "catch2" 46
48 "bullet_eject01" 46
49 "trigger" 43
50 "mag" 43
51 "bullet2" 50
52 "Main" 43
53 "Muzzle" 52
end
skeleton
time 0
0 7.163901 0.365875 -19.936886 -0.099005 0.001714 -3.122014
1 -0.351829 15.330443 -13.820519 -0.745784 -0.815646 -2.913863
2 -0.035539 -23.756720 -0.084860 0.563671 -0.142908 -0.131840
3 0.273358 -3.765814 -0.387136 0.000000 0.000000 0.000000
4 -0.000001 -3.784252 -0.191474 -0.436319 -0.178305 -0.000000
5 0.024373 -3.235434 0.175103 -0.573025 -0.002704 0.002331
6 -0.111964 -3.553714 0.074802 -0.841225 0.087075 0.015758
7 1.858445 -3.773906 0.198659 0.000000 -0.245131 0.075729
8 0.000003 -3.784236 -0.191475 -0.371285 0.090881 -0.024549
9 0.074589 -3.334562 0.036046 -0.660281 -0.002704 0.002331
10 -0.033771 -2.966130 0.050360 -0.664473 0.026121 0.048147
11 -1.407706 -3.765815 -0.387137 0.000000 0.000000 -0.095034
12 -0.000001 -3.784235 -0.191476 -0.529518 -0.125139 0.025178
13 0.038989 -2.749650 0.107387 -0.572380 -0.028980 -0.038419
14 0.013191 -3.474700 0.024515 -1.073998 0.019874 0.037834
15 -2.992725 -3.619927 0.091621 0.000000 0.000000 -0.168174
16 -0.231700 -2.899985 -0.226468 -0.730107 -0.125139 0.025178
17 0.047096 -3.464710 0.060475 -0.747514 0.006848 0.017134
18 -0.012932 -2.746928 0.096236 -0.778043 -0.072458 0.061817
19 2.231811 -1.416998 1.590838 -0.527384 -0.897563 0.885636
20 0.316688 -3.892337 -0.185576 -0.364956 -0.578900 -0.202701
21 0.269053 -3.933444 0.328680 -0.522312 0.089592 -0.216743
22 12.577015 11.498293 1.716356 1.571261 1.551342 1.587291
23 0.035543 23.756729 -0.084860 -0.030468 0.000040 -0.168765
24 -0.273363 3.765805 0.387137 -0.000000 0.000000 0.000000
25 -0.000003 3.784235 0.191474 -0.446109 -0.143092 0.061073
26 -0.024376 3.235433 -0.175101 -1.253705 -0.002704 0.002331
27 0.111962 3.553719 -0.074804 -1.364840 0.087075 0.015758
28 -1.858446 3.773889 -0.198660 -0.000000 -0.245131 0.075729
29 0.000000 3.784238 0.191475 -0.122252 0.093311 -0.004824
30 -0.074587 3.334552 -0.036039 -0.223961 -0.002704 0.002331
31 0.033769 2.966135 -0.050350 -0.856461 0.026121 0.048147
32 1.407697 3.765793 0.387135 -0.000000 -0.000000 -0.095034
33 -0.000007 3.784245 0.191474 -0.705893 -0.116309 0.040343
34 -0.038989 2.749647 -0.107387 -1.270513 -0.028980 -0.038419
35 -0.013188 3.474696 -0.024519 -1.423080 0.019874 0.037834
36 2.992726 3.619925 -0.091624 -0.000000 -0.000000 -0.168174
37 0.231696 2.899971 0.226468 -0.730128 -0.125139 0.025178
38 -0.047096 3.464705 -0.060476 -1.358395 0.006848 0.017134
39 0.012928 2.746924 -0.096221 -1.144578 -0.072458 0.061817
40 -2.231816 1.416988 -1.590842 -0.961137 -0.813399 1.071353
41 -0.316676 3.892341 0.185576 -0.766382 -0.578900 -0.202701
42 -0.269050 3.933448 -0.328677 -1.154412 0.089592 -0.216743
43 -1.389965 15.611849 -2.785500 1.570727 1.518439 -1.623084
44 0.000005 5.217501 6.216671 -0.000000 0.000000 -0.000000
45 -0.120960 -0.439797 -0.840954 0.003521 -0.174820 3.121466
46 0.000001 -0.000003 0.000002 -0.000000 0.000000 -0.000000
47 0.000002 0.367149 3.416008 0.087260 -0.000000 -0.000000
48 0.000000 4.833647 3.431725 0.000000 0.000000 -0.000000
49 0.000000 1.612486 2.633623 -0.000000 0.000000 -0.000000
50 -0.059483 7.270134 1.720142 0.139626 0.000000 -0.000000
51 0.059484 -7.270135 -1.720146 0.000000 -0.000000 -0.000000
52 -0.000622 3.390028 5.182981 1.570474 -0.023349 -1.570612
53 16.557518 -0.000007 -0.000003 -0.000000 -0.000000 0.000731
time 1
0 7.163901 0.365875 -19.936886 -0.099005 0.001714 -3.122014
1 -0.351829 15.330443 -13.820519 -0.745784 -0.815646 -2.913863
2 -0.035539 -23.756720 -0.084860 0.563671 -0.142908 -0.131840
3 0.273358 -3.765814 -0.387136 0.000000 0.000000 0.000000
4 -0.000001 -3.784252 -0.191474 -0.436319 -0.178305 -0.000000
5 0.024373 -3.235434 0.175103 -0.573025 -0.002704 0.002331
6 -0.111964 -3.553714 0.074802 -0.841225 0.087075 0.015758
7 1.858445 -3.773906 0.198659 0.000000 -0.245131 0.075729
8 0.000003 -3.784236 -0.191475 -0.371285 0.090881 -0.024549
9 0.074589 -3.334562 0.036046 -0.660281 -0.002704 0.002331
10 -0.033771 -2.966130 0.050360 -0.664473 0.026121 0.048147
11 -1.407706 -3.765815 -0.387137 0.000000 0.000000 -0.095034
12 -0.000001 -3.784235 -0.191476 -0.529518 -0.125139 0.025178
13 0.038989 -2.749650 0.107387 -0.572380 -0.028980 -0.038419
14 0.013191 -3.474700 0.024515 -1.073998 0.019874 0.037834
15 -2.992725 -3.619927 0.091621 0.000000 0.000000 -0.168174
16 -0.231700 -2.899985 -0.226468 -0.730107 -0.125139 0.025178
17 0.047096 -3.464710 0.060475 -0.747514 0.006848 0.017134
18 -0.012932 -2.746928 0.096236 -0.778043 -0.072458 0.061817
19 2.231811 -1.416998 1.590838 -0.527384 -0.897563 0.885636
20 0.316688 -3.892337 -0.185576 -0.364956 -0.578900 -0.202701
21 0.269053 -3.933444 0.328680 -0.522312 0.089592 -0.216743
22 12.577015 11.498293 1.716356 1.571261 1.551342 1.587291
23 0.035543 23.756729 -0.084860 -0.030468 0.000040 -0.168765
24 -0.273363 3.765805 0.387137 -0.000000 0.000000 0.000000
25 -0.000003 3.784235 0.191474 -0.446109 -0.143092 0.061073
26 -0.024376 3.235433 -0.175101 -1.253705 -0.002704 0.002331
27 0.111962 3.553719 -0.074804 -1.364840 0.087075 0.015758
28 -1.858446 3.773889 -0.198660 -0.000000 -0.245131 0.075729
29 0.000000 3.784238 0.191475 -0.122252 0.093311 -0.004824
30 -0.074587 3.334552 -0.036039 -0.223961 -0.002704 0.002331
31 0.033769 2.966135 -0.050350 -0.856461 0.026121 0.048147
32 1.407697 3.765793 0.387135 -0.000000 -0.000000 -0.095034
33 -0.000007 3.784245 0.191474 -0.705893 -0.116309 0.040343
34 -0.038989 2.749647 -0.107387 -1.270513 -0.028980 -0.038419
35 -0.013188 3.474696 -0.024519 -1.423080 0.019874 0.037834
36 2.992726 3.619925 -0.091624 -0.000000 -0.000000 -0.168174
37 0.231696 2.899971 0.226468 -0.730128 -0.125139 0.025178
38 -0.047096 3.464705 -0.060476 -1.358395 0.006848 0.017134
39 0.012928 2.746924 -0.096221 -1.144578 -0.072458 0.061817
40 -2.231816 1.416988 -1.590842 -0.961137 -0.813399 1.071353
41 -0.316676 3.892341 0.185576 -0.766382 -0.578900 -0.202701
42 -0.269050 3.933448 -0.328677 -1.154412 0.089592 -0.216743
43 -1.389965 15.611849 -2.785500 1.570727 1.518439 -1.623084
44 0.000005 5.217501 6.216671 -0.000000 0.000000 -0.000000
45 -0.120960 -0.439797 -0.840954 0.003521 -0.174820 3.121466
46 0.000001 -0.000003 0.000002 -0.000000 0.000000 -0.000000
47 0.000002 0.367149 3.416008 0.087260 -0.000000 -0.000000
48 0.000000 4.833647 3.431725 0.000000 0.000000 -0.000000
49 0.000000 1.612486 2.633623 -0.000000 0.000000 -0.000000
50 -0.059483 7.270134 1.720142 0.139626 0.000000 -0.000000
51 0.059484 -7.270135 -1.720146 0.000000 -0.000000 -0.000000
52 -0.000622 3.390028 5.182981 1.570474 -0.023349 -1.570612
53 16.557518 -0.000007 -0.000003 -0.000000 -0.000000 0.000731
end
Loading