Skip to content

Lopeh/CreaturesGenealogyGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CreaturesGenealogyGraph

A genealogy mapper for Creatures 3 / Docking station!

What is this?

This is a set of in-game and OS-terminal scripts to visualize the ancestry of your creatures like so! image

Things get much more interesting for longer-running worlds, especially those that export/import creatures or use the warp regularly; image

So many colors and shapes!

  • Blue, double-circle shapes with names are creatures that are currently alive (and active) in your world!
  • Gray, regular-circle shapes with names are the ancestors of those living creatures
  • White, regular-circles: Creatures who have passed, but do not have any living descendants
  • White, regular-circles (with gray font): Creatures who have passed, but never had any offspring
  • Polygons: creatures who are referenced only by their offspring. Typically the genetic ancestor or custom genetic files (eg: dave.gen)
  • If a creature's name is colored green on the left, that means it warped in from another world

image Poaditucna here stumbled upon this world, and despite her passing, her lineage is still going!

image Kialryrfoy here is thriving in this new world, even finding love and having a kid!

  • If a creature's name is colored peach on the right, that means it was exported or warped out from the world.

image Xoasbacyzu, on the other hand, took a look around, found all this quite silly and strange, and left for new horizons back through the warp

image Yaasutbof, an engineered norn of the great dave.gen, found a deep sense of wanderlust, and went to explore the Warp, leaving little behind

Install & Use

  1. Make sure you have Python 3 and GraphViz installed
  2. Move the Quick_Genealogy.cos file into your \Docking Station\Bootstrap folder or \Creatures 3\Bootstrap folder. a. If you want the script to auto-run every two hours, add the Quick_GenealogyAgent.cos file to
  3. Copy the family_tree.py into a folder of your choice
  4. Start the world you want a genealogy map of.
  5. Select a norn, and open up the script console with CTRL+SHIFT+C
  6. Type in ject "Quick_Genealogy.cos" 4
  7. The new genealogy file is now generated in the My Worlds\{WorldName}\Journal\{WorldName}.genealogy. Copy this file into where you placed the family_tree.py file.
  8. In your console of choice, run python family_tree.py {WorldName}.genealogy, and a new SVG file will be created and run a. In the case you have multiple python installations in Windows, you may need to use py -3.11 family_tree.py {WorldName}.genealogy

The files

Quick_Genealogy.cos

This is the meat of this project; a file that iterates through creature life history, and outputs into a file that can be read and visually mapped. The

Quick_GenealogyAgent.cos

An agent that can be injected into your world to auto-run the same Quick Genealogy exporter, but with a _{datetime} suffix in the file name. This is done to preserve data otherwise purged by the game after a number of generations. All credit to this and the Quick_Genealogy code goes to Verm on the Norn Nebula discord

family_tree.py

This converts the outpute .genealogy files to .dot and .SVG using GraphViz. For now, this is just the MVP/POC of this project, but will likely be maintained/tweaked periodically.

About

A genealogy mapper for Creatures 3 / Docking station!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages