Could we save some trouble and just make slopetolerance in º

Could we save some trouble and just make slopetolerance in º

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Could we save some trouble and just make slopetolerance in º

Post by Forboding Angel »

Slopetolerance should be in degrees instead of what we have now. Everyone can agree on this, yes? Can we just do it and get it over with? It won't hurt us to have to put the actual º of tolerance in our movedefs.

Sure it may not be that big of a deal, but it's ugly and fail.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Could we save some trouble and just make slopetolerance

Post by knorke »

http://springrts.com/wiki/Units:MoveTyp ... determined
add the multipilcator to _post.lua if you want
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Could we save some trouble and just make slopetolerance

Post by Forboding Angel »

Just because something can be done with lua, doesn't mean it should be. It's silly to keep using this arbitrary value that makes no sense and iirc, it is a TAism.

-- Does the engine not use it in degrees? I was under the impression that this arbitrary value was first converted into degrees and then used in the engine, making it dumb to have the arbitrary value in the first place.

If the engine doesn't use degrees outright the that kind of takes all the air out of my argument. Meh. If that is the case, Perhaps the conversion thing should be added to basecontent _post so that future noobs don't get snookered by it.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Could we save some trouble and just make slopetolerance

Post by smoth »

degrees are for humans forb.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Could we save some trouble and just make slopetolerance

Post by Forboding Angel »

Yeah ok, so my premise was wrong entirely. QQ :cry:
Post Reply

Return to “Engine”