FeXoR Posted March 13, 2012 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 Link to comment Share on other sites More sharing options...
feneur Posted March 13, 2012 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 Link to comment Share on other sites More sharing options...
FeXoR Posted March 13, 2012 Author 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. Link to comment Share on other sites More sharing options...
k776 Posted March 13, 2012 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). Link to comment Share on other sites More sharing options...
FeXoR Posted March 13, 2012 Author 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now