Tremulous Forum
Mods => Modding Center => Topic started by: rotacak on September 19, 2009, 11:16:55 am
-
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:
(http://img12.imageshack.us/img12/6933/shot0029j.jpg)
Can you tell me how to fix that?
-
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.
-
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.
-
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.