Now, I'm not sure if it's my coding that has caused this, but:
http://transcendence.pastebin.com/mjwHR5PT
Returns 80, 160, 240, etc. Meaning theScale is being set to integers only. I also discovered that (power x y) returns 0 if y<1. Meaning no cubed roots or little-phi roots or whatever.
Is transcendence coded entirely in integer math?
Where are my floating points, George?
- Arisaya
- Fleet Admiral
- Posts: 5535
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
scripts are, unfortunatly, as far as I know, limited to using integers; in fact, a good portion of the engine also relies on integer math, unfortunatly enough, resulting in problems such as the acceptable facing restrictions, as well as the minimum turn rate restriction, as well as various issues with fire rates and enhancements.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>