Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/northern_lights.js
Show First 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | avoidClasses( | ||||
clWater, 8, | clWater, 8, | ||||
clForest, 0, | clForest, 0, | ||||
clHill, 0, | clHill, 0, | ||||
clPlayer, 20, | clPlayer, 20, | ||||
clDirt, 16), | clDirt, 16), | ||||
scaleByMapSize(20, 80)); | scaleByMapSize(20, 80)); | ||||
g_Map.log("Creating stone mines"); | g_Map.log("Creating stone mines"); | ||||
var group = new SimpleGroup([new SimpleObject(oStoneSmall, 0, 2, 0, 4), new SimpleObject(oStoneLarge, 1, 1, 0, 4)], true, clRock); | var group = new SimpleGroup([new SimpleObject(oStoneSmall, 0, 2, 0, 4, 0, 2 * Math.PI, 1), new SimpleObject(oStoneLarge, 1, 1, 0, 4, 0, 2 * Math.PI, 4)], true, clRock); | ||||
createObjectGroupsDeprecated(group, 0, | createObjectGroupsDeprecated(group, 0, | ||||
avoidClasses(clWater, 3, clForest, 1, clPlayer, 20, clRock, 10, clHill, 1), | avoidClasses(clWater, 3, clForest, 1, clPlayer, 20, clRock, 10, clHill, 1), | ||||
scaleByMapSize(8,32), 100 | scaleByMapSize(8,32), 100 | ||||
); | ); | ||||
g_Map.log("Creating small stone quarries"); | g_Map.log("Creating small stone quarries"); | ||||
group = new SimpleGroup([new SimpleObject(oStoneSmall, 2,5, 1,3)], true, clRock); | group = new SimpleGroup([new SimpleObject(oStoneSmall, 2,5, 1,3)], true, clRock); | ||||
createObjectGroupsDeprecated(group, 0, | createObjectGroupsDeprecated(group, 0, | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator