Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate if some geometry sizes of buildings and units need to be adjusted #354

Open
xezon opened this issue Sep 13, 2021 · 2 comments
Open
Labels
Major Severity: Minor < Major < Critical < Blocker Task A task for someone to work on

Comments

@xezon
Copy link
Collaborator

xezon commented Sep 13, 2021

Investigate if geometry sizes of buildings and units need to be adjusted.

See:

  Geometry = BOX
  GeometryMajorRadius = 20.0
  GeometryMinorRadius = 9.0
  GeometryHeight = 13.0

Enlima29:

Geometry parameter lines use the same scale as the 3dsmax default scale, so it is easy to get the proper (if not accurate) values
and actually many objects has their geometry different than they should be, I fixed these values anyway. Though do note that changing object geometry can affect their formation spacing (for units) and footprint size (for buildings), also how they affect path finding in general to some extent. So please consider if you don't really want to change these.

Potentially related issues:

@xezon xezon added the Task A task for someone to work on label Sep 13, 2021
@xezon
Copy link
Collaborator Author

xezon commented Sep 13, 2021

Potential approach 1
Get a visual presentation of the bounding box of all units and structures. Take a good look at them and tweak those objects first, that deviate too much from the norm.

Potential approach 2
Set CameraPitch to 89.99 in GameData.ini or to 89.5 in GenTool and select a building with Dozer/Worker and move cursor over Supply Stash. Game should draw red surface below building that indicates its boundaries. Maybe find a way to permanently draw the red area on buildings for debug purposes.

@xezon
Copy link
Collaborator Author

xezon commented Sep 14, 2021

Enlima29:

Some models are severely off-centered that makes it impossible to be given proper geometry. As a consequence I gave them additional model to balance their footprints. For example nuclear reactors and usa supply centers have new models. Another notable thing I've done with geometry are, I standardized infantry geometry. And I also replaced every cylinder geometry for buildings with box because cylinder geometry has derpy collision where projectiles sometimes collide at the middle of the object instead of the intended collision radius. So yeah, there's quite lot and technical changes so I didn't really include them in the changelog.

Seeing the geometry difference can be checked through the World Builder. You don't need to compare them ingame or import them into 3dsmax and get a ruler. In World Builder make sure you enable the Show Bounding Box from the View menu
then if you place an object on the map and select it, you'll see purple lines/circle/ball around the object which indicates the object geometry size. So for example, change one of the duplicate object's geometry to NProject values, and keep another to the old values, place both of them on the map and select them. See which one fit your liking more.

@xezon xezon added the Major Severity: Minor < Major < Critical < Blocker label Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Major Severity: Minor < Major < Critical < Blocker Task A task for someone to work on
Projects
None yet
Development

No branches or pull requests

1 participant