#1289 closed enhancement (fixed)
[PATCH] Change placement for random maps to default 2d (x/y plane)
Reported by: | FeXoR | Owned by: | Jonathan Waller |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 10 |
Component: | Core engine | Keywords: | rmgen |
Cc: | Patch: |
Description
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...
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | entity_placement.diff added |
---|
comment:1 by , 12 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 12 years ago
Milestone: | Backlog → Alpha 10 |
---|
comment:3 by , 8 years ago
Keywords: | review removed |
---|
In 11430: