Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1288 closed enhancement (duplicate)

[PATCH] wall_builder.js update

Reported by: FeXoR Owned by:
Priority: Should Have Milestone:
Component: Atlas editor Keywords: delayed
Cc: Patch:

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 (1)

wall_builder.js (28.9 KB ) - added by FeXoR 12 years ago.

Download all attachments as: .zip

Change History (6)

by FeXoR, 12 years ago

Attachment: wall_builder.js added

comment:1 by FeXoR, 12 years ago

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 by FeXoR, 12 years ago

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...

Last edited 12 years ago by FeXoR (previous) (diff)

comment:3 by FeXoR, 12 years ago

This ticket is to be replaced by Ticket #1311. Sorry for the 'double ticket'. Thx, Leper, for pointing this out!

Last edited 12 years ago by FeXoR (previous) (diff)

in reply to:  3 comment:4 by vts, 12 years ago

Resolution: duplicate
Status: newclosed

Replying to FeXoR:

This ticket is to be replaced by Ticket #1311. Sorry for the 'double ticket'. Thx, Leper, for pointing this out!

Closing this ticket then, with the closest resolution to 'superseded' I could find :)

comment:5 by historic_bruno, 12 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.