- Timestamp:
- 08/13/11 02:54:24 (13 years ago)
- Location:
- ps/trunk/binaries/data/mods/public/maps/random
- Files:
-
- 4 edited
-
cantabrian_highlands.js (modified) (2 diffs)
-
latium.js (modified) (2 diffs)
-
neareastern_badlands.js (modified) (2 diffs)
-
new_rms_test.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/binaries/data/mods/public/maps/random/cantabrian_highlands.js
r9760 r10004 137 137 138 138 // create the TC 139 var group = new SimpleGroup( // elements (type, min/max count, min/max distance )140 [new SimpleObject(civEntities[0].Template, 1,1, 0,0 )],139 var group = new SimpleGroup( // elements (type, min/max count, min/max distance, min/max angle) 140 [new SimpleObject(civEntities[0].Template, 1,1, 0,0, 0.75*PI, 0.75*PI)], 141 141 true, null, ix, iz 142 142 ); … … 145 145 // create starting units 146 146 var uDist = 8; 147 var uAngle = playerAngle[i] +PI + randFloat(-PI/8, PI/8);147 var uAngle = -0.75*PI + randFloat(-PI/8, PI/8); 148 148 for (var j = 1; j < civEntities.length; ++j) 149 149 { -
ps/trunk/binaries/data/mods/public/maps/random/latium.js
r9555 r10004 418 418 419 419 // create the TC 420 var group = new SimpleGroup( // elements (type, min/max count, min/max distance )421 [new SimpleObject(civEntities[0].Template, 1,1, 0,0 )],420 var group = new SimpleGroup( // elements (type, min/max count, min/max distance, min/max angle) 421 [new SimpleObject(civEntities[0].Template, 1,1, 0,0, 0.75*PI, 0.75*PI)], 422 422 true, null, ix, iz 423 423 ); … … 426 426 // create starting units 427 427 var uDist = 8; 428 var uAngle = randFloat(0, TWO_PI);428 var uAngle = -0.75*PI + randFloat(-PI/8, PI/8); 429 429 for (var j = 1; j < civEntities.length; ++j) 430 430 { -
ps/trunk/binaries/data/mods/public/maps/random/neareastern_badlands.js
r9470 r10004 112 112 113 113 // create the TC 114 var group = new SimpleGroup( // elements (type, min/max count, min/max distance )115 [new SimpleObject(civEntities[0].Template, 1,1, 0,0 )],114 var group = new SimpleGroup( // elements (type, min/max count, min/max distance, min/max angle) 115 [new SimpleObject(civEntities[0].Template, 1,1, 0,0, 0.75*PI, 0.75*PI)], 116 116 true, null, ix, iz 117 117 ); … … 120 120 // create starting units 121 121 var uDist = 8; 122 var uAngle = playerAngle[i] +PI + randFloat(-PI/8, PI/8);122 var uAngle = -0.75*PI + randFloat(-PI/8, PI/8); 123 123 for (var j = 1; j < civEntities.length; ++j) 124 124 { -
ps/trunk/binaries/data/mods/public/maps/random/new_rms_test.js
r9909 r10004 49 49 50 50 // create the TC 51 var group = new SimpleGroup( // elements (type, min/max count, min/max distance )52 [new SimpleObject(civEntities[0].Template, 1,1, 0,0 )],51 var group = new SimpleGroup( // elements (type, min/max count, min/max distance, min/max angle) 52 [new SimpleObject(civEntities[0].Template, 1,1, 0,0, 0.75*PI, 0.75*PI)], 53 53 true, null, ix, iz 54 54 ); … … 57 57 // create starting units 58 58 var uDist = 8; 59 var uAngle = playerAngle[i] +PI + randFloat(-PI/8, PI/8);59 var uAngle = -0.75*PI + randFloat(-PI/8, PI/8); 60 60 for (var j = 1; j < civEntities.length; ++j) 61 61 {
Note:
See TracChangeset
for help on using the changeset viewer.
