Ticket #892 (closed enhancement: fixed)

Opened 23 months ago

Last modified 15 months ago

Add paths to random maps

Reported by: historic_bruno Owned by: historic_bruno
Priority: Nice to Have Milestone: Alpha 9
Component: UI & Simulation Keywords: rms,rmgen
Cc:

Description

One thing missing from the rmgen API is the ability to place paths. Paths are conceptually a line connecting two points, with some parametric variation in curviness. They can be used for roads, rivers, and many other things. The current plan for implementation is an area placer called PathPlacer which can be used in place of clumps.

An example of how this might look on the Cantabrian Highlands map: http://imgur.com/gIpf0

Attachments

pathplacer.js (5.6 KB) - added by historic_bruno 16 months ago.
work in progress
pathplacer2.js (5.0 KB) - added by quantumstate 16 months ago.
Updated script with fixed fill code

Change History

comment:1 Changed 21 months ago by k776

  • Milestone changed from Alpha 7 to Alpha 8

comment:2 Changed 18 months ago by k776

  • Milestone changed from Alpha 8 to Backlog

Changed 16 months ago by historic_bruno

work in progress

comment:3 Changed 16 months ago by historic_bruno

  • Keywords rms,rmgen,review added; rms,rmgen removed
  • Milestone changed from Backlog to Alpha 9

I have no idea what's wrong with that path placer, but I'm tired of having it around with no progress :)

Changed 16 months ago by quantumstate

Updated script with fixed fill code

comment:4 Changed 15 months ago by Spahbod

  • Status changed from new to closed
  • Resolution set to fixed

The new path placer script works perfectly. So we should close this.

In 11152:

Adds the path placer library by historic_brunno to rmgen. Fixes #892.
Also takes all the duplicated parts of random maps including the new player start entities and random biome system into rmgen libraries.
Tweaks nile river and snowflake random maps.

Version 1, edited 15 months ago by Spahbod (previous) (next) (diff)

comment:5 Changed 15 months ago by historic_bruno

  • Keywords rms,rmgen added; rms,rmgen,review removed
Note: See TracTickets for help on using tickets.