Modifications to defensive building models needed

Improving the artwork in Warzone2100 - not for mod discussions
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 »

Zarel wrote:What about hardpoints?
Hardpoints are defensive structures, and thus need foundations. Fortresses, on the other hand, are not defensive structures (neat huh), so are not a problem. The Lassat should be made a normal building rather than give it a foundation - I will fix that.
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:Ok, here's my "sketches".
I don't see them... :(
winsrp
Trained
Trained
Posts: 417
Joined: 14 May 2008, 17:00

Re: Modifications to defensive building models needed

Post by winsrp »

Per wrote:I don't see them... :(
Second this... don't see a thing
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: Modifications to defensive building models needed

Post by Olrox »

Olrox wrote: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
I could've swaer I'd attached the pic - I'll do that when I get home. :stressed:
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:Hardpoints are defensive structures, and thus need foundations. Fortresses, on the other hand, are not defensive structures (neat huh), so are not a problem. The Lassat should be made a normal building rather than give it a foundation - I will fix that.
Hardpoints are corner walls with stuff on them. Regardless of their structure type. What matters, after all, is how they look and only that.

Fortresses are not defensive structures, but I am planning on changing that.
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Re: Modifications to defensive building models needed

Post by Mysteryem »

Per wrote: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.
Do you have a patch to prevent the stretching, if so, where? I'd like to do some testing.
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
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 it is

The height of the bunker is set at the tile's highest point :rolleyes:
Attachments
Bunker foundations
Bunker foundations
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 »

Mysteryem wrote:
Per wrote: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.
Do you have a patch to prevent the stretching, if so, where? I'd like to do some testing.
See https://gna.org/patch/?895
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 »

Olrox wrote:Ok, here it is

The height of the bunker is set at the tile's highest point :rolleyes:
That looks like it really defeats the purpose of a bunker. ;) Bunkers are supposed to be bunkered into the ground; the exact opposite of towers.

Better to calculate which point it goes up to the edge of the bunker.
bunkers.gif
bunkers.gif (2.51 KiB) Viewed 6514 times
Like that.

Black: Bunker, aboveground
Gray: Bunker, belowground
Green: Ground
Dotted green: Reference, flat ground

(left: flat. right: max slope)

So as you can see, since the bunker doesn't go up to the edge, you can sink it a bit. Since structures must be built on reasonably flat terrain, we can extend the belowground part out to the edge, so it still slopes like a bunker should.
User avatar
Olrox
Art contributor
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: Modifications to defensive building models needed

Post by Olrox »

Yeah, I thought about that But I wasn't sure if it's possible to limit the height this way (with reference points not at the edges of the tiles :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 »

Olrox wrote:Yeah, I thought about that But I wasn't sure if it's possible to limit the height this way (with reference points not at the edges of the tiles :P
You compare the T = tallest vertex and the S = shortest vertex, and you, you measure D = the distance (in percentage of a tile) from the edge of the tile to the edge of the bunker.

Then, your height will be: T - D * (T - S)
Kacen
Trained
Trained
Posts: 294
Joined: 19 Feb 2007, 19:28

Re: Modifications to defensive building models needed

Post by Kacen »

I should reiterate that walls over uneven ground would look out of line...

...I mean is there going to be a "default level" for the underground part? Is it going to be relative to how high up you are, as in there's pre-set "levels that correspond to different areas of a slope?
-Kosh-
Trained
Trained
Posts: 203
Joined: 16 Sep 2009, 23:34

Re: Modifications to defensive building models needed

Post by -Kosh- »

What about raise (or lower) the ground in a 4x4 grid or whatever the structure size is x2 in all directions if another object is within that grid then do not raise (or lower) the ground by that much too make it look better ?
This is a waste of space. Something important should be here.
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 »

-Kosh- wrote:What about raise (or lower) the ground in a 4x4 grid or whatever the structure size is x2 in all directions if another object is within that grid then do not raise (or lower) the ground by that much too make it look better ?
...Then you end up with the same problem we have right now? o_O
User avatar
MaNGusT
Art contributor
Posts: 1152
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: Modifications to defensive building models needed

Post by MaNGusT »

wz2100_shot_001.jpg
Image
Post Reply