Generating a bell curve with Civ's SDK

Merkava120

Oberleutnant
Joined
Feb 2, 2013
Messages
450
Location
Socially distant
Anyone know of a way to generate random numbers on a bell curve (normal distribution) in the SDK between two numbers, say, 50 and 150?

EDIT: I found this site, does Civ 4 use C++ 11 so that I could use the std::normal_distribution thing this site talks about?

EDIT 2: Never mind, I've figured out a way. Roll two dice, add them together :goodjob:
 
Top Bottom