Raised This Month: $ Target: $400
 0% 

Vertical Model Offset


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
smdobay
Member
Join Date: Feb 2005
Old 03-27-2005 , 03:37   Vertical Model Offset
Reply With Quote #1

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.
smdobay is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 03-27-2005 , 18:16  
Reply With Quote #2

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.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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