GenAsteroidField
From NexusWiki
GenAsteroidField(maxdb, cx,cy,cz, rx,ry,rz, classfrom,classto,weight, range);
It generates a local asteroid field. ’maxdb’: is the maximum amount of them, ’cx’,’cy’,’cz’: the center of the field, ’rx’,’ry’,’rz’: the size of the field, ’classfrom’,’classto’: from which shipclass should it choose the asteroids from, ’weight’: in which way should the selection rather fall, ’range’: minimum distance between two asteroids.