abral Posted February 11, 2011 Report Share Posted February 11, 2011 I was thinking about how to place correctly a building over a terrain with different heights (I'm starting to code my own rts), so I tried to see how 0A.D. did with this problem.But this is the result: Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted February 11, 2011 Report Share Posted February 11, 2011 Yeah, that's definitely not good - it's just something we haven't implemented yet . The current plan is just to flatten the terrain underneath the building (and forbid construction on strong slopes so that there's not a lot to flatten - there could be a maximum of e.g. 1 metre height variation in the tiles underneath the building). Hopefully that'll be adequate. Quote Link to comment Share on other sites More sharing options...
abral Posted February 11, 2011 Author Report Share Posted February 11, 2011 Thanks for the reply, this'll help also me!However I've seen also another way to solve this (i think i saw it in Warcraft III): where there is the height variation, they show under the building a sort of pedestal. Quote Link to comment Share on other sites More sharing options...
Pureon Posted February 12, 2011 Report Share Posted February 12, 2011 It's possible to do, just involves adding foundations to each building model. Here's an extreme foundation example. Quote Link to comment Share on other sites More sharing options...
Kimball Posted February 12, 2011 Report Share Posted February 12, 2011 I usually add a foundation to my buildings. The only problem that remains is that terrain decals (such as corral mud and general dirt) still render at the base, and will still stick out like they do in that first screenshot. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted February 12, 2011 Report Share Posted February 12, 2011 Yeah, terrain decals are definitely something we need - shouldn't be terribly complex so I think it's safe to work on the assumption that we'll have them eventually 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.