Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Define player head's height

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
PVince81
Member
Member
Posts: 15
Joined: December 15th, 2010, 1:42 pm
Name: Vincent
Location: Stuttgart, Germany

Define player head's height

Post by PVince81 »

From the player's point of view (first person) it feels that the player is small on my map, and I'd like to increase its head height.
I don't want to rescale the whole map using smaller cubes to achieve this.

Is it possible to define the player's head height ? Do I need to modify the player's model for that ?

Thanks,

Vincent
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Define player head's height

Post by arcones »

I'm assuming you want to do something like this: Youtube: Sandbox Cabzilla (albeit a bit smaller ;D)

Open your Sandbox folder. Packages>models>ogre>Look for the md3 file and the last bit of coding in it should say something like:

Code: Select all

//adjust height
mdltrans 0 0 17
mdlbb 0 0 0.93

mdlspec -1
Change the height to whatever you'd like.

If you're looking to change the RC: Packages>models>rc>Look for the md# (I've upgrade my folder, so the md file is a bit different than yours). Search for the code:

Code: Select all

mdlscale 1000
Change the height to whatever you'd like.

Now, if you want to change each RC's height specifically, go into each folder (red, blue, pink) and search for the same thing in each md# file.

Have a one,
-Arcones
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Define player head's height

Post by Leo_V117 »

No... Arc... thats just the Model height... Its in one of the src folders. Something to do with Eye Height. and its in C++
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Define player head's height

Post by arcones »

Yeah, I know. But technically this would work as well... It just saves time.
Image
Want a user bar like this one? PM Leo!
PVince81
Member
Member
Posts: 15
Joined: December 15th, 2010, 1:42 pm
Name: Vincent
Location: Stuttgart, Germany

Re: Define player head's height

Post by PVince81 »

Thanks for the hints.

I tried changing the RC's model scale, but it doesn't affect the eye height in first person mode. It only shows me a bigger RC in third person mode. Also it seems there is no eye height defined in the model itself. It must be somewhere else. I've hoped it could be changed without having to hack the source.
User avatar
kid matthew
Developer
Developer
Posts: 468
Joined: August 11th, 2009, 5:28 pm
Name: Matthew
IRC Username: Kid_matthew
Location: Land of Sandbox.

Re: Define player head's height

Post by kid matthew »

Pvence You can't hack an open source Engine.....
Lost Lands Work In Progress <3 viewtopic.php?f=10&t=2522 <3
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Define player head's height

Post by chocolatepie33 »

why would you need a higher head height? Also, you could try to make the ground lower and use clip (invisible wall) to give the illusion (as long as you don't switch into 3rd person mode) of being higher, maybe.

I wish we had Aardappel here. He could help us. (Actually, maybe I'll go do that now!)
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
PVince81
Member
Member
Posts: 15
Joined: December 15th, 2010, 1:42 pm
Name: Vincent
Location: Stuttgart, Germany

Re: Define player head's height

Post by PVince81 »

I want a higher head height because I figured out the eye is too low in my map, and I don't want to change my whole complex map to fit this.

Some people could want to have bigger models for the player, or power ups / spells / curses that would make the player grow.
Locked