Tremulous Forum
Mods => Modding Center => Topic started by: Jack Bauer on October 31, 2009, 11:25:43 pm
-
I was just wondering what file handles build angles. I want to be able to build turrets and what not on walls so...
-
The file is src/game/bg_misc.c. You have to change minNormal and invertNormal, minNormal is the minimal cosine of the angle of the ground (e.g. 0 degrees -> 1, 60 degrees -> 0.5, 90 degrees -> 0) and invertNormal must be true to allow building upside down.