• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.
  • We, the systems administration staff, apologize for this unexpected outage of the boards. We have resolved the root cause of the problem and there should be no further disruptions.

Platform-Portable MT Basic CGen

aramis

Administrator
Administrator
Baronet
I've started a basic character generation program for MT. (No, no Merc, HG, MP, Flyer nor Scout Adv CG features, since I don't use them.)

I am doing this to teach myself Python; Python object code files are massively platform-portable, even if they are text interface only.

Some Questions:
1) Does anybody want me to find someplace to post it?
2) Is there anybody out there who wants to add the advanced careers to it?
3) should I have an interactive preference setting (won't be persistent) or just allow preference variables to be adjusted in the executable with a text editor?
 
Not really... Python's pretty slick.

As I said, tho', I don't use Advanced CG. I don't like it. So, unless somebody else really wants it...
 
I'm not interested in widely open sourcing the module, per se... that WOULD violate Marc's Copyrights, as the bulk of the code is actually going to be the tabular data (as huge lists... compounded lists.... ie, lists as variables used solely to be contained in other lists. Python specific stuff there...)

I have, however, discovered that Python really lends itself well to this kind of stuff... as it allows lists (un-dimed/malloc'ed single dimensional arrays of almost any data type, specifically allowing other lists...) I have been busy (Lots of sub jobs, and prepping for and going to Oerthan Coronet Tourney, then Heralding ALL the courts.... and I've got paperwork to finish yet for that...)
 
Aramis, how's this going?

You know, those proprietary lists can be stored in files, in a Python-friendly import format (such as YAML)... thus you could distribute the code without the tables.
 
Stalled by grad school.

Plus I hung up upon a glitch I couldn't track down. Next chance to really have a crack at it will be Christmas break.
 
Well, care to discuss it in brief? We can debug in parallel.

I presume you've built...

</font>
  • a class to hold the character itself</font>
  • a class that represents a career template</font>
  • a dice roller that takes optional DMs</font>
...and you run it like this...

</font>
  • Python instantiates eighteen career templates with appropriate data</font>
  • player chooses career</font>
  • player resolves career
    </font>
    • </font>
    • program rolls the dice</font>
    • player chooses the skills</font>
    • player chooses mustering out benefits at the end</font>
  • program dumps out player results</font>
 
Back
Top