News:

Come Chat with us live! Learn how HERE!

Main Menu

File that handles build angles?

Started by Jack Bauer, October 31, 2009, 10:25:43 PM

Jack Bauer

I was just wondering what file handles build angles. I want to be able to build turrets and what not on walls so...
"Las guns are a woman's weapon. That's why they're called 'Las' guns!"
Quote from: David on September 01, 2010, 08:45:24 AM
"In My Opinion", eg "IMO you should have googled it instead of asking"

gimhael

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.