So L4D2/CS:GO has these commands that allow the player to move the viewmodel according to XYZ coordinates. they are as follows:
viewmodel_offset_x
viewmodel_offset_y
viewmodel_offset_z
unfortunately, these commands only function in CS:GO, and I was wondering if someone could make a plugin that adds commands and functionality similar to these, except they actually work.
i basically want this because i prefer my viewmodels to be in the bottom-right corner of the screen, and by default, L4D2's viewmodels are uncomfortably high and large.
now, there *does* exist a couple workshop mods that do just this, but it would be incredible for this to be a dynamic system by which you can do it to any viewmodel, as currently, if you want to reorigin your *own* viewmodels, it involves decompiling, editing, and recompiling, and as
this page states, $origin does not work with models using $includemodel, which vanilla animation edits often do, as crowbar fails to decompile vanilla weapon viewmodel animations properly for whatever reason.
additionally, i think this potential plugin should be on a per-weapon basis, for maximum customization. to reduce clutter, the command would look something like "viewmodel_offset_pumpshotgun X Y Z", so it can all be done in one command for each weapon, instead of split into 3 like the original commands.