|
Post by Gibbon on Apr 21, 2012 6:05:07 GMT
Here's something i randomly found out while testing a new ship with a massive turret on it for the mod. I wanted to get it so the turret would turn really slowly due to its size and weight on the model. All it did was turn quickly like a normal turret. I then decided to add mass to it, thinking that's bound to slow it down. Nope, still turning quickly. And then i discovered this line in the weapon code, turn_rate = 90I always thought it had something to do with the angles the turret could turn like 45 degrees, or 90 degrees etc, but that's not the case at all. It's a speed setting for the turret. I set it to 10 on my model and the turret rotates really slowly like on a battleship which is exactly what i was after. Not sure what the highest number is you can enter, but all anyone needs to remember is low number equals a slow turn and high number a fast turn. Never too old to learn
|
|