Page 2 of 13

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 17:09
by Olrox
Sekmeton wrote: And, I'm ok with the
Per wrote:to add a subterranean base to each defensive structure instead of adapting vertices to the map.
idea, but I'm not sure of how it would look like...
I will make some schematics later, today, with my interpretation of Per's idea :)

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 18:04
by cybersphinx
Sekmeton wrote:So, it is not possible to make an Automatic terrain flat?
Let me illustrate the problem:
s1.png
s1.png (3.32 KiB) Viewed 7494 times
We have a slope, and want to build something on it:
s2.png
s2.png (3.96 KiB) Viewed 7494 times
So the ground gets flattened for three tiles:
s3.png
s3.png (3.6 KiB) Viewed 7494 times
We add a second building:
s4.png
s4.png (4.26 KiB) Viewed 7494 times
... and that also flattens the ground:
s5.png
s5.png (3.56 KiB) Viewed 7494 times
The changes in height of the terrain in this case are not that great. But suppose the left building was a wall of three tiles that flattened the terrain, and you want to extend it to the right:
s6.png
s6.png (6.83 KiB) Viewed 7494 times
What do you do now? Keep the wall at the current level and raise the terrain to the right? Lower the already existing wall? And remember that every tile has four neighbors, not only the two shown in the intersection. After some tiles, you end up having to modify large areas of terrain (or you have to limit the extend of buildings to an impractically small area).

It is much easier (and probably better looking) to just add a base to the buildings that goes under the terrain where needed.

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 20:05
by Zarel
Per wrote:
BulletMagnet wrote:what about extending the models down and just clipping through the terrain?

...or is that what is being proposed?
Yes. That is what I am suggesting.
No, I think he means, instead of making new models with a "basement", why not just stretch the current models down?

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 20:17
by winsrp
Zarel wrote:why not just stretch the current models down?
Doesn't the games does this already... at least for walls? I have seen some really weird configs of walls on slopes before.

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 20:28
by Per
Yes, the game currently takes the lowest vertices and pulls them down to match the terrain. This looks funny and strange in some cases. Example:
wz2100_shot_023.png
wz2100_shot_023.png (151.74 KiB) Viewed 7489 times
Two years ago, I wrote a patch to fix this problem by adding a custom foundation beneath all defensive buildings. That made them look (IMHO) a bit better, at least in some cases. Example:
wz2100_shot_022.png
wz2100_shot_022.png (185.79 KiB) Viewed 7489 times
and
wz2100_shot_020.png
I think it would look better if each defensive building got its own custom foundation instead.

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 20:55
by winsrp
Per wrote:That made them look (IMHO) a bit A LOT better
Seems to look great... this fix can be applied to the Vtol reaming pads too?

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 21:07
by Per
winsrp wrote:Seems to look great... this fix can be applied to the Vtol reaming pads too?
Thanks. No, since you can drive over the VTOL pads, you'd be clipping through the foundation as you drive over it. Or tip over the edge... I'll fix the VTOL pads soon by plastering them to the ground.

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 21:27
by Olrox
That's what I was thinking about, but each model would have foundations with a coherent shape (bunkers - hexagonal, towers- square, etc.), as well as the wooden towers from T1 would need wooden of raw steel foundations to look coherent. :3

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 22:36
by Olrox
How did walls look qith that fix, Per? They had the same foundation?

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 23:20
by psychopompos
winsrp wrote:
Per wrote:That made them look (IMHO) a bit A LOT better
Seems to look great...
i second this.
looks great, does want :cool:

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 23:23
by Per
Olrox wrote:How did walls look qith that fix, Per? They had the same foundation?
I'm not touching walls and corners... yet. Worst case, we can make them a special case. They are very simple models.

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 23:30
by -Kosh-
Seems to look great...
psychopompos wrote: i second this.
looks great, does want :cool:
It does? O_o
It looks odd or out of place.

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 23:36
by Olrox
-Kosh- wrote: It does? O_o
It looks odd or out of place.
I think that's why Per suggested modifying each model, by the same reason I've stated before - they do not look coherent.
I they were made specially for each model, they would look great. I'll make the sketches I've mentioned before right now :P

Re: Modifications to defensive building models needed

Posted: 19 Oct 2009, 23:40
by Zarel
Per wrote:I'm not touching walls and corners... yet. Worst case, we can make them a special case. They are very simple models.
What about hardpoints?

Also, it shouldn't be too hard to just extend them into the ground. Do the same for fortresses. Your current foundation works well for towers. Base structures already flatten terrain, so that's not an issue. LasSat and Uplink are probably the biggest issues. Let's just make them base structures and make them flatten terrain.

So that leaves bunkers, emplacements, pits...

Re: Modifications to defensive building models needed

Posted: 20 Oct 2009, 00:35
by Olrox
Ok, here's my "sketches". Do not blame me for texture distortion on the ground, blame AutoCAD :D
The quad guns are a secret also, don't tell anybody ;)

I've made all this tho show how the bunkers, pits and emplacements' bases should look like if they're going to use foundations, in my opinion. There are no textures other than ground ones, though: Anyone should know they'll look 1000% better with good textures. :P