| Author |
Message |
tails_fanatic Dianoga
Joined: 30 Jan 2007
|
Posted: Jan 31, 2007 18:53 Post subject: How to make Fences? |
|
|
I am working on my first level and have run into a problem. How do you make it so there is an impassible wall that displayes a fence graphic between two adjoined sectors? I already know how to make it impassable, but how do you put a graphic in?
_________________ I wanna fly high so I can reach the highest of all the heavens. Somebody will be waiting for me so I have got to fly higher.
-Miles Prower |
|
Nottheking Kell Dragon
Joined: 29 Sep 2003
|
Posted: Jan 31, 2007 21:22 Post subject: |
|
|
Simply put, you need to find a texture that has the "Transparent" flag set. There are a few that already have this, such as some gratings.
However, you'll probably notice that this fills up the whole wall, all the way up to where the sky begins. Chances are this is higher than you want the fence to be.
So what you need instead, is to edit a texture, and add a lot of blank space above where you want the fence to end. That way, when it displays it, it won't repeat vertically, because the whole texture is as tall as the wall. As a result, it will appear like a "fence." Of course, as you probably already noted, this does mean that you won't be able to jump over the fence; it will technically be just as solid at any altitude.
_________________ Wake up, George Lucas... The Matrix has you.. |
|
tails_fanatic Dianoga
Joined: 30 Jan 2007
|
Posted: Jan 31, 2007 22:07 Post subject: |
|
|
Apparently I don't know how to adjoin it properly, how do you do that, and what flags need to be set on the wall?
_________________ I wanna fly high so I can reach the highest of all the heavens. Somebody will be waiting for me so I have got to fly higher.
-Miles Prower |
|
The MAZZTer Death Star

Joined: 25 Sep 2003
|
Posted: Feb 12, 2007 13:37 Post subject: |
|
|
I haven't edited DF in awhile, but there are a couple of "Mid" numbers that allow you to adjust the offset of the texture.
To adjoin two sectors, you take the walls you want to join, and make sure the opposing vertices are on top of each other. Then you select one of the walls and press A.
I forget what flags you need. There's "Always show MID texture" or something, that will show the fence texture, and the you want the "Player cannot pass" and probably the "Can't fire" flag too. I forget the actual names.
_________________ http://www.mzzt.net/ | I am a respectable admin with a respectable sig. |
|
Nottheking Kell Dragon
Joined: 29 Sep 2003
|
Posted: Feb 28, 2007 17:02 Post subject: |
|
|
tails_fanatic wrote:
Apparently I don't know how to adjoin it properly, how do you do that, and what flags need to be set on the wall?
First, obviously, you'll want both sides adjoined first.
Assuming that you're using WDFUSE, what you want next is to open what I recall is flag 1. The very first bit shown should be "Adjoining MID tex", or something like that. Enable that bit.
Next, go to flag 3. The first and third bits, respectively, should read something like "PLAYER cannot pass through wall" and "fence - keeps ENEMY in." Enable those two bits.
Once you're done, remember to enable the same flag bits on the opposite wall.
There you go: you've got a wall that, provided you selected a transparent texture, you can see through, as well as fire through, but neither you nor enemies can walk through it. If you want a fire-proof "fence," such as a window, simply enable the second bit for flag 3, "cannot fire through wall."
_________________ Wake up, George Lucas... The Matrix has you.. |
|
|