News:

Come Chat with us live! Learn how HERE!

Main Menu

Wrong buildable angles on wall

Started by rotacak, September 19, 2009, 11:16:55 AM

rotacak

Hi. When I will try to build hovels around me, then it is ok when I am on floor. But when I am on wall, then all hovels are in same angle:



Can you tell me how to fix that?

David

Hovels can't be built on walls.
All the ones that can be built on walls are the same however the rotate, so it's probably a bitch to fix.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

rotacak

On my server can be builded on walls. I tried same experiment with hive and it's rotated. But hovel (and any new buildings what I added) no. BBox will be still same, I know, but that model should be rotated.

rotacak

I found how to make it. In g_buildable.c is:
built->s.angles[ PITCH ] = 0.0f;

I chandet it to:
built->s.angles[ PITCH ] = angles[ PITCH ];

But I don't know why it was set to 0.0f, maybe it will cause something bad now.