Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/polar_sea.js
Show First 20 Lines • Show All 315 Lines • ▼ Show 20 Lines | createObjectGroups( | ||||
new SimpleGroup([new SimpleObject("special/trigger_point_A", 1, 1, 0, 0)], true, clWolf), | new SimpleGroup([new SimpleObject("special/trigger_point_A", 1, 1, 0, 0)], true, clWolf), | ||||
0, | 0, | ||||
avoidClasses(clWater, 2, clMetal, 4, clRock, 4, clPlayer, 15, clHill, 2, clWolf, 20), | avoidClasses(clWater, 2, clMetal, 4, clRock, 4, clPlayer, 15, clHill, 2, clWolf, 20), | ||||
1000, | 1000, | ||||
100 | 100 | ||||
); | ); | ||||
RMS.SetProgress(95); | RMS.SetProgress(95); | ||||
if (randInt(0, 2) == 0) | if (randBool(1/3)) | ||||
{ | { | ||||
setSkySet("sunset 1"); | setSkySet("sunset 1"); | ||||
setSunColor(0.8, 0.7, 0.6); | setSunColor(0.8, 0.7, 0.6); | ||||
setTerrainAmbientColor(0.7, 0.6, 0.7); | setTerrainAmbientColor(0.7, 0.6, 0.7); | ||||
setUnitsAmbientColor(0.6, 0.5, 0.6); | setUnitsAmbientColor(0.6, 0.5, 0.6); | ||||
setSunElevation(randFloat(PI/24, PI/7)); | setSunElevation(randFloat(PI/24, PI/7)); | ||||
} | } | ||||
else | else | ||||
Show All 22 Lines |
Wildfire Games · Phabricator