AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] viewmodel manipulation commands (https://forums.alliedmods.net/showthread.php?t=336294)

BirdEnthusiast 02-09-2022 21:02

[L4D2] viewmodel manipulation commands
 
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.

Silvers 02-10-2022 02:15

Re: [L4D2] viewmodel manipulation commands
 
Not possible, client side and a nightmare to work with. Went through all this when I wrote Weapon Charms plugin. The best you can do is change viewmodel_fov.

BirdEnthusiast 02-10-2022 04:16

Re: [L4D2] viewmodel manipulation commands
 
Aw, that's really too bad. I was hoping something could be done about it, but glad to hear someone's already tried.


All times are GMT -4. The time now is 04:50.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.