Inside3D!
     

Player Height

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Tom-5-



Joined: 07 Feb 2010
Posts: 10

PostPosted: Sun Feb 07, 2010 5:28 am    Post subject: Player Height Reply with quote

I'm not a coder, I am a mapper (for such famous projects such as Left 4 quake and Pro Splat Portable) . therefore changing the player height is something that i cannot do (without your help) so. I'm posting it here Very Happy
So.. i have two options, i could scale down my maps, or code it in.
I REALLY didn't want to scale down my maps because last time i made a map and attempted scaling it down i had to redo it because i had compiling issues.



here is the map in half life,it looks good (the way i want it)



and here is the map in darkplaces

as you can see the quake version looks like your player is shorter, this picture may not seem like much a difference but it makes a big difference in other areas of the map.

(textures by tom-5-, map by mexicouger/tom-5-)
Back to top
View user's profile Send private message
leileilol



Joined: 15 Oct 2004
Posts: 1321

PostPosted: Sun Feb 07, 2010 6:18 am    Post subject: Reply with quote

client.qc, PutClientInServer,
self.view_ofs = '0 0 28';

NOW YOUR TALL!
_________________
Back to top
View user's profile Send private message
Tom-5-



Joined: 07 Feb 2010
Posts: 10

PostPosted: Sun Feb 07, 2010 6:41 am    Post subject: Reply with quote

Thanks.. didn't know it was that easy. (Yay)
Back to top
View user's profile Send private message
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Sun Feb 07, 2010 7:12 am    Post subject: Reply with quote

that does nothing to the bounding boxes btw... you will still hit your head on the same stuff.
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Teiman



Joined: 03 Jun 2007
Posts: 309

PostPosted: Sun Feb 07, 2010 11:46 am    Post subject: Reply with quote

the compiler will only generate 3 "collission models" inside the BSP file (know has hulls), so in-game theres only 3 valid sizes. HL support another one. The trick of leilei moves the camera, but has error say, you will still have the exact same size. It could be good enough, anyway... I suppose.
Back to top
View user's profile Send private message
frag.machine



Joined: 25 Nov 2006
Posts: 728

PostPosted: Sun Feb 07, 2010 2:05 pm    Post subject: Reply with quote

From what I understand the problem is not the player's height exactly, but only the camera position. Leileilol's tip will be enough.
_________________
frag.machine - Q2K4 Project
http://fragmachine.quakedev.com/
Back to top
View user's profile Send private message Visit poster's website
Tom-5-



Joined: 07 Feb 2010
Posts: 10

PostPosted: Sun Feb 07, 2010 6:05 pm    Post subject: Reply with quote

It works great for my mod, collision isn't a problem. it's not like i can jump and have my head go through the roof. This was exactly what i needed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2004 phpBB Group