View unanswered posts | View active topics It is currently Fri Mar 29, 2024 9:16 am



Reply to topic  [ 4 posts ] 
 Convert actor Height to Pixels? 
Author Message
User avatar

Joined: Mon Jul 16, 2007 9:50 am
Posts: 1512
Location: Tallahassee, FL
Reply with quote
Post Convert actor Height to Pixels?
First of all, an actor's Height property is the same thing as the actor "CharHeight" setting in .ini, right?

If that's the case... what exactly is it measured in? It doesn't seem to be pixels. Is there some kind of known conversion from Height to Pixels?

I need to do this in order to make sure extra HUD elements provided by held devices actually appear in the right place regardless of who's holding it.


Sat Aug 06, 2011 8:40 pm
Profile YIM
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Convert actor Height to Pixels?
I cannot answer your question, but can't you use self.AboveHUDPos instead?


Sat Aug 06, 2011 9:11 pm
Profile
User avatar

Joined: Mon Jul 16, 2007 9:50 am
Posts: 1512
Location: Tallahassee, FL
Reply with quote
Post Re: Convert actor Height to Pixels?
What object type does that belong to? And what precisely does it represent?

Edit: Nevermind I got it figured out. Thanks.


Sat Aug 06, 2011 9:19 pm
Profile YIM

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: Convert actor Height to Pixels?
Also, Charheight is the height of the HUD above the center of the actor.


Tue Aug 09, 2011 12:28 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.108s | 17 Queries | GZIP : Off ]