chemtale: Fabulous Yonekura Toshinori from the cover of his 1998 album "i" (Yone)
[personal profile] chemtale
So, lately I stumbled upon this awesome post by Pooklet, where they explain their method for creating diverse townies. It's utter magic, but my lazy bum self would like something that will give them the needed numbers quickly and without opening a browser. That, plus the fact that coding is fun, is exactly why I wrote some handy Python scripts *wink wink*

There are two generators, one for each of the two steps detailed in Pooklet's tutorial.
Generator 1 is the equivalent of Drew's Randomizer and Generator 2 of Random Integer Generator.
They do exactly what is shown in Pooklet's method, except that:
  • in Generator 1 the range of sliders is -10 (extreme left) to 10 (extreme right) - that is, there is a chance you'll get 0 clicks for a particular slider;
  • it will ask you before rolling numbers for each part of the sim's face (just press Enter);
  • it rolls numbers for all of the modifier sliders (you're welcome to not use "face short-long" and "orbit up-down", or any other if you wish so);
  • Generator 2 explicitly asks you how many facial templates you have (type the number and press Enter).
You can download the scripts here: [DOWNLOAD]
Please note that you need to have Python 2.7 installed in order to use those scripts offline on your device. They have to be run from the command line.

Alternatively, you may run them from within your browser (does not require Python to be installed): Generator 1 | Generator 2
Just press the "Run" button if the script hasn't already started. It will load in the right pane.
Please do not change anything on the left (it's the code), or it may stop working.

Major thanks to Pooklet; without them I would have never realised I needed a generator for townies :)
Feedback is very welcome.
Enjoy!

Thank you!

Date: 2015-03-22 11:38 pm (UTC)
From: [personal profile] miros1
I intend to abuse these happily!

Tags

Profile

chemtale: Purple flammable icon on a black background (Default)
shien

Policy

Please keep all the stuff you find here free.