Open eduzappa18 opened 2 years ago
This seems to be mainly a compatibility issue. BT only has sin, cos, tan and atan. The rest of the math functions are are new additions from NF. I think the best way to solve this would be to keep original BT behavior, and display a (suppressible) warning for modders regarding this exact problem. Let me know if you have a better suggestion.
This is not really an issue but just something to have in mind if there is ever a client version of Reborn/Nightfall for Breakthrough
Or for old mods/maps that make use of this functions
The trigonometric functions
atan
,cos
,sin
andtan
are different than the ones in the vanilla game Reborn functions expects radians, while Breakthrough functions expects degrees So the same imput gives different resultsThe scripting documentation for Breakthrough, should have a warning about this
This are the scripts that use some of this functions in Breakthrough
Other duplicated functions like sqrt or netname works the same or don't cause any conflict with old scripts