Jump to content

Starting entities placement suggestion


Recommended Posts

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:

post-14196-0-35358900-1331658348_thumb.j

The code for that could look similar to:

// Place starting entities
placeObject(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 by FeXoR
Link to comment
Share on other sites

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...