GenAsteroidField

From NexusWiki
Revision as of 07:48, 19 June 2009 by LordValarian (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.