Upvote Upvoted 12 Downvote Downvoted
working translucent wireframe viewmodels
posted in Projects
1
#1
DM Servers
0 Frags +

So I stumbled across this thread about wireframe translucent viewmodels a bit ago, and i learned that it only works for 2 weapons. wow, this sucks, right?

Nope!

through the magic of weapon crosshairs, it is possible to do this for every weapon in the game, with some caveats, mainly:

you need a hud crosshair to aim with because these use weapon crosshairs to display the "viewmodel" (which is just a vtf cropped and centered)
you need to adjust some settings
viewmodel_fov doesnt do anything as, again, these are static vtf textures (i use viewmodel_fov 100 with full viewmodels, which is what these are based off of)
some weapons share the same script file, so they share a viewmodel, meaning i have to pick one to display

anywho, i've spent the past few days working on this project, and i think it's time to release at least a rudimentary version of it

https://www.youtube.com/watch?v=-wOY6ioAqCA&feature=youtu.be

this works perfectly at 1920x1080 with cl_crosshair_scale "32" and tf_hud_no_crosshair_on_scope_zoom "1"

if you're at 1280x720, you should change cl_crosshair_scale to around 22ish, if i'm remembering correctly, fiddle with it yourself

at the moment this only supports the following weapons:

scout -

  • scattergun
  • pistol
  • winger

soldier -

  • rocket launcher/original (shows rl model because i use it)
  • shotgun

demo -

  • any sticky launcher
  • grenade launcher / iron bomber (shows iron bomber model because i use it)

medic -

  • crossbow
  • any medigun (shows medigun model)

sniper -

  • sniper rifle/awp (shows awp because i use it)
  • smg

i didnt do melee weapons because IMO it makes them harder to hit because the .25 sec delay on all of them isnt shown as the viewmodel would be static

for any other weapon it will show a blank crosshair, but if there's any interest i'll consider doing more weapons

download it here and put it in your /custom/ folder

this works in sv_pure 2 and any dxlevel, by the way, and since they're weapon crosshairs, you can change the color with the built in settings in tf2.

:)

edit, almost forgot:

if you want to hide the normal viewmodels and only show the wireframe ones, you need to set up class configs with a slot based viewmodel switcher, which there are plenty of tutorials out there for.

should look something like this:

// slot keys
bind 1 "slot1;r_drawviewmodel 0"
bind 2 "slot1;r_drawviewmodel 0"
bind 3 "slot1;r_drawviewmodel 1"
So I stumbled across [url=https://www.teamfortress.tv/16994/transparent-viewmodels-concept]this thread[/url] about wireframe translucent viewmodels a bit ago, and i learned that it only works for 2 weapons. wow, this sucks, right?

Nope!

through the magic of weapon crosshairs, it is possible to do this for every weapon in the game, with some caveats, mainly:

you need a hud crosshair to aim with because these use weapon crosshairs to display the "viewmodel" (which is just a vtf cropped and centered)
you need to adjust some settings
viewmodel_fov doesnt do anything as, again, these are static vtf textures (i use viewmodel_fov 100 with full viewmodels, which is what these are based off of)
some weapons share the same script file, so they share a viewmodel, meaning i have to pick one to display



anywho, i've spent the past few days working on this project, and i think it's time to release at least a rudimentary version of it
[youtube]
https://www.youtube.com/watch?v=-wOY6ioAqCA&feature=youtu.be
[/youtube]

this works perfectly at 1920x1080 with cl_crosshair_scale "32" and tf_hud_no_crosshair_on_scope_zoom "1"

if you're at 1280x720, you should change cl_crosshair_scale to around 22ish, if i'm remembering correctly, fiddle with it yourself


at the moment this only supports the following weapons:

scout -
[list]
[*] scattergun
[*] pistol
[*] winger
[/list]
soldier -
[list]
[*] rocket launcher/original (shows rl model because i use it)
[*] shotgun
[/list]
demo -
[list]
[*] any sticky launcher
[*] grenade launcher / iron bomber (shows iron bomber model because i use it)
[/list]
medic -
[list]
[*] crossbow
[*] any medigun (shows medigun model)
[/list]

sniper -
[list]
[*] sniper rifle/awp (shows awp because i use it)
[*] smg
[/list]

i didnt do melee weapons because IMO it makes them harder to hit because the .25 sec delay on all of them isnt shown as the viewmodel would be static

for any other weapon it will show a blank crosshair, but if there's any interest i'll consider doing more weapons


download it [url=https://stephanie.lgbt/files/wireframeViewmodels/_wireframeVM.vpk]here [/url]and put it in your /custom/ folder

this works in sv_pure 2 and any dxlevel, by the way, and since they're weapon crosshairs, you can change the color with the built in settings in tf2.

:)

edit, almost forgot:

if you want to hide the normal viewmodels and only show the wireframe ones, you need to set up class configs with a slot based viewmodel switcher, which there are plenty of tutorials out there for.

should look something like this:
[code]
// slot keys
bind 1 "slot1;r_drawviewmodel 0"
bind 2 "slot1;r_drawviewmodel 0"
bind 3 "slot1;r_drawviewmodel 1"[/code]
2
#2
0 Frags +

Looks good, although no animations are a real downside.
Nice to see transparent viewmodels work on all dxlevels tho

Looks good, although no animations are a real downside.
Nice to see transparent viewmodels work on all dxlevels tho
3
#3
DM Servers
3 Frags +

by popular request here's a vpk for the original viewmodel instead of the stock rl model

also @makemake the lack of animations is the best part of this lol, at least imo its much cleaner

maybe im a loon but i find the reload distracting, which is why i used to play with no viewmodels

by popular request here's a [url=https://stephanie.lgbt/files/wireframeViewmodels/_wireframeVM_original.vpk]vpk[/url] for the original viewmodel instead of the stock rl model

also @makemake the lack of animations is the best part of this lol, at least imo its much cleaner

maybe im a loon but i find the reload distracting, which is why i used to play with no viewmodels
4
#4
DM Servers
1 Frags +

tiny update, fixed missing texture with engie's pistol

download link didnt change for either flavor (rl or original) but if you're using this you should redownload whichever one again because otherwise if you're playing engineer you're gonna see a big old missing texture in the middle of your screen

tiny update, fixed missing texture with engie's pistol

download link didnt change for either flavor (rl or original) but if you're using this you should redownload whichever one again because otherwise if you're playing engineer you're gonna see a big old missing texture in the middle of your screen
5
#5
27 Frags +

thanks now i have ak =D

https://cdn.discordapp.com/attachments/605488337335353364/613201724097822728/image.png

thanks now i have ak =D
[img]https://cdn.discordapp.com/attachments/605488337335353364/613201724097822728/image.png[/img]
6
#6
0 Frags +

:o

:o
7
#7
0 Frags +

Is there a way to make it adjustable to like, viewmodel fov 70-75 for each class? And maybe make them a minimal viewmodel? I'd appriciate if you did that. Also how do i change their color?

Is there a way to make it adjustable to like, viewmodel fov 70-75 for each class? And maybe make them a minimal viewmodel? I'd appriciate if you did that. Also how do i change their color?
Please sign in through STEAM to post a comment.