Modifications to defensive building models needed

Improving the artwork in Warzone2100 - not for mod discussions
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: Modifications to defensive building models needed

Post 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 :)
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Modifications to defensive building models needed

Post 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 7493 times
We have a slope, and want to build something on it:
s2.png
s2.png (3.96 KiB) Viewed 7493 times
So the ground gets flattened for three tiles:
s3.png
s3.png (3.6 KiB) Viewed 7493 times
We add a second building:
s4.png
s4.png (4.26 KiB) Viewed 7493 times
... and that also flattens the ground:
s5.png
s5.png (3.56 KiB) Viewed 7493 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 7493 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.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Modifications to defensive building models needed

Post 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?
winsrp
Trained
Trained
Posts: 417
Joined: 14 May 2008, 17:00

Re: Modifications to defensive building models needed

Post 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.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Modifications to defensive building models needed

Post 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 7488 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 7488 times
and
wz2100_shot_020.png
I think it would look better if each defensive building got its own custom foundation instead.
winsrp
Trained
Trained
Posts: 417
Joined: 14 May 2008, 17:00

Re: Modifications to defensive building models needed

Post 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?
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Modifications to defensive building models needed

Post 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.
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: Modifications to defensive building models needed

Post 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
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: Modifications to defensive building models needed

Post by Olrox »

How did walls look qith that fix, Per? They had the same foundation?
User avatar
psychopompos
Trained
Trained
Posts: 470
Joined: 08 Nov 2007, 09:18
Location: UK

Re: Modifications to defensive building models needed

Post 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:
MOTHERBOARD - MSI P7N PLATINUM¦-¦PROCESSOR - C2D E7300 @ 4.00GHZ
MEMORY - 4 Gig (2x2gig) ddr2 1066mhz¦-¦OPERATING SYSTEM - WINDOWS 7 (ULT)
GRAPHICS - BFG GTX 260 OCX (requires ForceWare drivers for good openGL)
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Modifications to defensive building models needed

Post 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.
-Kosh-
Trained
Trained
Posts: 203
Joined: 16 Sep 2009, 23:34

Re: Modifications to defensive building models needed

Post 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.
This is a waste of space. Something important should be here.
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: Modifications to defensive building models needed

Post 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
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Modifications to defensive building models needed

Post 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...
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: Modifications to defensive building models needed

Post 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
Post Reply