AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Vertical Model Offset (https://forums.alliedmods.net/showthread.php?t=11725)

smdobay 03-27-2005 03:37

Vertical Model Offset
 
Summary: Working with changing player models in Natural Selection. Vertical offsets aren't correct.

So then, I'm working on a plugin for masking players as members of the opposite team. They can earn points for kills, and spend those points on 'masks,' or disguises. It's all working well except for one thing: when they change models, the vertical offset is off, sometimes resulting in flying or being sunk into the ground. How would I go about compensating for this?

P.S.
I'm at a different copmputer than my main. When I return I can post some actual code.

XxAvalanchexX 03-27-2005 18:16

Why is your topic title Horizontal Model Offset when your entire problem is about the vertical offset?

Anyway, you can adjust this with the EV_VEC_view_ofs vector. I believe Z, the last dimension of the array, is up and down height.


All times are GMT -4. The time now is 09:55.

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