Ticket #1289 (closed enhancement: fixed)
[PATCH] Change placement for random maps to default 2d (x/y plane)
|Reported by:||FeXoR||Owned by:||quantumstate|
|Priority:||Must Have||Milestone:||Alpha 10|
|Component:||Core engine||Keywords:||review, rmgen|
Changed the placement of entities in random map scripts to default 2d behavior. A unit placed with the angle 0 faces right now (towards positive x) and rotates counter clockwise when the angle is risen (mathematical positive rotation).
BUILDING_ANGlE is now -PI/4 so all random map scripts had to be changed.
Also the function 'createStartingPlayerEntities' had to be changed for that in 'misc.js'. (There you can see WHY it's changed! Unit placement angle is now the same as the direction they are placed with the civil center centered)
The resource bunches at the start locations in the random map 'fortress' are swapped but I think that doesn't matter. If Spahbod insists I will fix that.
Still no propper 'Component' to choose...