DF-21 Forums Forum Index DF-21 Forums
The Dark Forces Community
 
DF-21.net Home | FAQ | Search | Memberlist  | Register 
Profile | Log in to check your private messages | Log in

How to make Fences?

 
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing
View previous topic :: View next topic  
Author Message
tails_fanatic
Dianoga

Joined: 30 Jan 2007

PostPosted: Jan 31, 2007 18:53    Post subject: How to make Fences? View user's profile Send private message Reply with quote

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

PostPosted: Jan 31, 2007 21:22    Post subject: View user's profile Send private message Reply with quote

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

PostPosted: Jan 31, 2007 22:07    Post subject: View user's profile Send private message Reply with quote

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
Death Star

Joined: 25 Sep 2003

PostPosted: Feb 12, 2007 13:37    Post subject: View user's profile Send private message Send e-mail Reply with quote

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

PostPosted: Feb 28, 2007 17:02    Post subject: View user's profile Send private message Reply with quote

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..

Display posts from previous:   
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group