Git Product home page Git Product logo

traveller-rpg-sectorgen's Introduction

Traveller RPG SectorGen

Traveller RPG SectorGen is a Windows program for generating sectors, based on rules from Mongoose Traveller 2nd Edition.

images/app_screen.png

Notes

Traveller RPG SectorGen is being developed using Python 3.9.7 and PyQt5. There are a few Python programs included.

SectorGen.py will generate a sector at origin 0,0. The sector density can be selected. It will create both raw CSV and JSON data files, and a Traveller 5 format sector file as well.

(Optional) CSV_to_GEnie_converter.py will create a GEnie format file from the raw sector data generated.

(Optional) PyMapGen.py will read the Traveller 5 format sector file and display it graphically using PyGame.

Requirements

  • Windows 10

    It might not work in OSX or Linux.

  • Python 3.9.7

    This code was written using the C implementation of Python version 3.9.7. Also known as CPython.

  • colorama 0.4.4

    Because CMD may have some colored text messages for debugging invalid die rolls.

  • PyQt5 5.15.4

    PyQt5 is the framework used for displaying the Window GUI and buttons, etc.

  • (Optional) pyttsx3 2.90

    PyMapGen speaks in Zira's voice (her voice comes with Windows). Can be changed to a different voice in the source.

  • (Optional) pygame 2.1.0

    PyGame is used to draw the maps. It's basically a Python wrapper for SDL 2.0.16, which PyGame includes.

Warning

This code will not work with Python 2.7-.

PyMapGen Usage

Click on a sector to center it.

Dragging a sector (or pressing the arrow keys) will scroll the map.

The mouse wheel will zoom the map in and out while pointing.

Pressing m will toggle the computer's voice on/off.

Pressing h will flip to a hex map(s) at different zoom levels.

Pressing r will flip to a rectangle map.

Pressing c will toggle solid/clear travel zones while zoomed in.

Pressing z will toggle circle/hex/rectangle travel zones while zoomed in.

Pressing t will toggle world UWP/TC while zoomed in.

Pressing l will toggle the world system locations on/off.

Pressing g will toggle the hex/rectangle grid on/off.

Pressing ESC will exit the program.

Not Using Python?

You can always run the .EXE versions for Windows 10 if you don't have the Python language installed.

The Traveller game in all forms is owned by Far Future Enterprises. Copyright 1977 - 2022 Far Future Enterprises. Traveller is a registered trademark of Far Future Enterprises.

Contact

Questions? Please contact [email protected]

traveller-rpg-sectorgen's People

Contributors

shawndriscoll avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.