Skip to content
Snippets Groups Projects

Normal distribution for intelligence

Merged kopareigns requested to merge kopareigns/fc-pregmod:Gaussian-intelligence into pregmod-master

The start of something I mentioned doing in !2712 (merged). Basically appropriated the code for the Height generator, and removed a bunch of extra parts. Since producing a Gaussian distribution might be useful for other things, I moved the gaussianPair() function so that it can be accessed at anytime and anywhere in the game. I also reappropriated FCGudder's height debug tool to generate this graph for the generated heights. Had to tweak a few things to get it to display properly, so subtract 100 from every number and you'll get what the Intelligence generator actually outputs.

intelligence_distribution

Edited by kopareigns

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading