Ticket #1288 (closed enhancement: duplicate)
[PATCH] wall_builder.js update
| Reported by: | FeXoR | Owned by: | |
|---|---|---|---|
| Priority: | Should Have | Milestone: | |
| Component: | Atlas editor | Keywords: | delayed |
| Cc: |
Description
A new version of the wall_builder.js random map script library. Tested in svn version 11426. Compatible to random map script 'fortress'.
Changes:
- All classes/functions take more arguments (to enable 1 line placements)
- Most arguments are optional now.
- Wall style definition is MUCH shorter now (about 500 lines less!).
- Linear wall placement added (More or less the code needed to add walls in game)
- Circular wall placement added including random offset for organic looking fortresses (though not sufficient IMO)
As soon as it is in the repository I would like to add documentation to the rmgen wiki if that's ok.
Note: Non 'component' seam to fit to this ticket.
Attachments
Change History
comment:1 Changed 14 months ago by FeXoR
I forgot to tell it fixes in issue on the random map 'fortress' that causes celtic huts to overlap. Due to the celtic wall's thickness they now overlap with the inner hill of the wall (it looks ok) but can clearly be noticed as 2 huts.
comment:2 Changed 14 months ago by FeXoR
- Keywords delayed added; Review removed
NOTE: Some parts of the wall tool are not consistent with unit placement after the rmgen placement fix so don't add this yet...
comment:3 follow-up: ↓ 4 Changed 14 months ago by FeXoR
This ticket is to be replaced by Ticket #1311. Sorry for the 'double ticket'. Thx, Leper, for pointing this out!
