Star System Generation

  • 1 replies
  • 2379 views
*

Offline FuzzySadist

  • *****
  • 115
  • To The Pain!
Star System Generation
« on: October 14, 2020, 02:52:14 AM »
Wrote a php program to generate star systems via the FTL2448 charts.  Some minor changes, but this what I have so far:


Code: [Select]

----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
01--------------------------------------------------------------------------------
----------------------------------------------------------------------------------
--------------------------02------------------------------------------------------
----------------------------------------------------------------------------------
------------------03------------------------------------------------------------04
----------------------------------------------------------------05----------------
----------------------------------------------------------------------------------
----------------------------------------------------06----------------------------
--------07------------------------------------------------------------------------
----------------------------------------------------------08----------------------
--------------------------------------------------09------------------------------
--------------------------10----------------11------------------------------------
----------------------------------------------------------------------------------
----------------------------------------------------------12----------------------
----------------------------------------------------------------------------------
--13--14--------------------------------------------------------------------------
--------------------------------------------15------------------------------------
----------------------------------------------------------------------------------
------------------------------------------------------16------------------17------
----------------------------------------------------------------------------------
18--------------------------------------------------------------------------------
----------------------------------------19----------------------------------------
----------------------------------------------------------------------------------
--------------------------------------20------------------------------------------
--------------------------------21------------------------------------------------
----------------------------22----------------------------------------------------
----------------------------------------------------------------------------------
23--------------------------------------------------------------------------------
--------------------------------------------------------24------------------------
----------------------------------------------------------------------------------
----------------------------------------------25----------------------------------
----------------------------------------------------26----------------------------
--------------------------------------------------------------------------27------
----------------------------------------------------------------------------------
--------28------------------------------------------------------------------------
------------------------------------------------------------------------------29--
------------------------30------------------------------------------31------------
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
KEY: Primary Star | ZoneA | ZoneB | ZoneC | ZoneD | Outside System
[]=star/()=planet
Star Size: d=dwarf, s=small, m=medium, l=large, g=giant, x=super giant
Star Type: N=Dark, M=Red, K=Orange, G=Yellow, F=Yellow-White, A=White, B=Blue-White, O=Blue
Planets: s=small, m=medium, l=large / P=planet, G=Gas Giant
Note: The string of 'sml' that comes after each planet are moons

01: [mK]--
02: [lM]---|-(sP)sm-(lP)mmsssms-|--|-(sP)-(lP)s-(lP)-|-(sG)m-(sG)sllmssllm-|
03: [mM]---|--|--|--|-(sG)xs-|
04: [mK]---|-(lP)msmm-(mP)lslls-|-(lP)s-(mP)-|-(sP)-(lG)llmssmmlssmlm-|-(sP)ms-(sP)mm-(sP)ms-|
05: [sM]--
06: [gG]---|--|--|-(sG)s-(lP)ss-(aG)-|-(lG)mx-(sP)sms-[mF]-(mP)m-(sP)s-|
07: [mK]---|-(mP)ms-|--|-(lG)lmx-|--|
08: [mK]---|-(sP)mss-|-(lP)-|-(mG)-(sG)llm-(sG)lsmsxx-(mP)sm-|-(mP)mmss-|
09: [mK]---|-(aP)-|-(sP)-(mP)sms-|-(mP)ssm-[mM]-(mG)ssss-|-(sG)sxmmmm-(mP)-(mP)l-(lG)lmmsls-(lG)ssmmxxmlss-|
10: [mG]---|-[dM]-|--|--|-(lG)lmsmllmsxxmlsslsm-|
11: [mM]--
12: [mM]---|--|--|--|-(sG)mslx-| [sG]
13: [mM]---|-(sP)-|--|--|--|
14: [sK]---|--|--|--|-(sP)m-|
15: [dM]---|-(lP)ssmmm-|--|-(mG)sxllsx-|--|
16: [mK]---|--|--|-(lP)mmlmssm-|--|
17: [mM]---|-(mP)-|-(sP)sm-|-(aG)-(lG)lmmsssmlmmmlsss-(lG)mlsxsmmmmm-(mG)sm-(sG)mss-(lP)ssl-|-(lG)lmsmlmlsssmm-(sP)-(mG)ssxs-(aG)-| [sA]
18: [sM]---|--|--|-(aG)-|--|
19: [lK]---|-(sP)-(sP)-|--|--|-(sP)ms-(mG)msmmmlxls-| [sA]
20: [mG]---|--|-(lP)lmlssm-(mP)m-|-(lG)lm-(mP)s-|-(mP)lmss-(sG)xslmsmms-(lG)mlllmmxxmmsmllmmsl-|
21: [mA]---|-(mP)m-|-(lP)m-|-(mG)-(mP)-(aP)-|-(mP)mms-|
22: [mM]---|-(sP)mm-|--|-(sP)-|--|
23: [mA]---|--|--|-(mG)smsmms-(lP)mlsm-|--|
24: [mF]---|-(lP)ms-|-(sP)-(sP)ms-|-(aG)-(mG)lssmxslm-|-(sG)x-(mG)lsmmsmsllm-|
25: [mM]---|--|--|-(sG)lsss-(sP)s-|-(lP)mmms-(aG)-|
26: [dG]--
27: [lM]---|-(sP)-|-(mP)-(mP)sml-|-(lG)xlmmssllxmxlslsl-(lG)slslmlmsmllxmsss-|--|
28: [lK]---|--|-(lP)mss-|--|-(mP)ml-(mP)-(lG)sxllmsm-(lP)mlm-|
29: [mG]---|--|-(aP)-|-(mP)mmm-(sG)sslxmss-(lP)msmlm-|-(aG)-(sG)-(lP)mm-(sG)mxslm-|
30: [lM]---|--|--|-(sP)m-(lP)smmsss-|-(mP)lsm-(mG)smlxsmxm-(sG)llsmms-(sG)xl-|
31: [gM]---|-(mP)smms-|-(mP)-|-(mG)mllms-|-(lP)mm-| [mM]
"Knowing others is intelligence; knowing yourself is true wisdom. Mastering others is strength; mastering yourself is true power."

*

Offline ORtrail

  • **
  • 263
  • Agent
Re: Star System Generation
« Reply #1 on: October 22, 2020, 02:20:36 PM »
I just noticed this post.  If you get a chance, check out the Frontierspace RPG.  It's a serial numbers filed off modernized version of Star Frontiers, but has some really nice generation tables for aliens and star systems.  With all the exoplanets being found, I'm not sure how much -if any, updating might need to be done to recreate what has been found so far.  I'm looking at YOU, TRAPPIST-1b.