FeXoR Posted March 13, 2012 Report Share Posted March 13, 2012 (edited) I think the scout looks better in front of the civil center with the females on the one side and the infantry on the other.I don't seam to able to upload a screen-shot (Why? How? In other posts it worked?)However I think it's understandable what I describe.Edit: Here's the screenshot:The code for that could look similar to:// Place starting entitiesplaceObject(x, z, startEntities[0].Template, i+1, buildAngle);for (var typeIndex = 1; typeIndex < startEntities.length; typeIndex++){ var numUnits = (startEntities[typeIndex].Count !== undefined ? startEntities[typeIndex].Count : 1); for (var unitIndex = 0; unitIndex < numUnits; unitIndex++) { placeX = x + Math.pow(-1, typeIndex-1) * (3 + round(numUnits/2 + 1/4) - unitIndex); placeZ = z + Math.pow(-1, round(typeIndex/2 - 1/4)) * (4 - round(numUnits/2 - 1/4) + unitIndex); placeObject(placeX, placeZ, startEntities[typeIndex].Template, i+1, buildAngle); };}; Edited March 13, 2012 by FeXoR Quote Link to comment Share on other sites More sharing options...
feneur Posted March 13, 2012 Report Share Posted March 13, 2012 I don't seam to able to upload a screen-shot (Why? How? In other posts it worked?)Because this is the wrong forum =) I've moved the topic to the correct place though, so now you should be able to if you want to Quote Link to comment Share on other sites More sharing options...
FeXoR Posted March 13, 2012 Author Report Share Posted March 13, 2012 Because this is the wrong forum =) I've moved the topic to the correct place though, so now you should be able to if you want to Oh, thx, sry, stupid me. Quote Link to comment Share on other sites More sharing options...
k776 Posted March 13, 2012 Report Share Posted March 13, 2012 This doesn't work well because the units disappear behind the building when the camera is rotated by default.Having them on the two sides facing the camera makes the most sense (which is what it does at the moment, IIRC). Quote Link to comment Share on other sites More sharing options...
FeXoR Posted March 13, 2012 Author Report Share Posted March 13, 2012 This doesn't work well because the units disappear behind the building when the camera is rotated by default.Having them on the two sides facing the camera makes the most sense (which is what it does at the moment, IIRC).Haven't thought about that, makes sense. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.