Random sector generator

General Uncharted Worlds and tangential matters discussion
Post Reply
User avatar
LarpWellington
Class 0
Posts: 27
Joined: Sun Jan 27, 2019 6:32 am

Random sector generator

Post by LarpWellington » Sat Nov 30, 2019 10:10 pm

For Explorers, I had to write some perl to generate some random sector maps. Its an undocumented mess (because I wrote only what I needed to, and it was short enough to keep in my head all at once), but if anyone wants to reuse it, its here:

https://drive.google.com/file/d/1ZbsV1X ... sp=sharing

There are two scripts:

UWStarGen.pl produces a 10x10 "sector" of randomly placed stars, with stellar types, habitability and range stats as used in Explorers. It produces an output file, UWsubsec.txt. It overwrites this file, so you will need to rename old versions to retain them.

UWmapper.pl takes output from UWStarGen.pl and turns it into a pretty map which can be opened in your browser. It could be used to produce a web version. It is based on Alex Schroeder's Traveller Subsector Generator: https://campaignwiki.org/traveller/map/

Both scripts are licenced under the GPL, so you can redistribute. modify or use them however you want.

User avatar
zircher
Class 0
Posts: 49
Joined: Sat Jan 26, 2019 12:13 am

Re: Random sector generator

Post by zircher » Sat Nov 30, 2019 10:59 pm

That's very kind of you. Perl's not my thing, but it is still appreciated.
Web Toys and gaming stuff - http://www.tangent-zero.com
Solo actual plays (various systems) - https://www.deviantart.com/zircher/gallery/

Post Reply