A.Gamma's UDMF bag of questions!

Is there a way for a door made with polyobjects (either sliding or swinging) to stay open? I'm mapping on UDMF.

Share this post


Link to post

I think you should use Polyobject Move or Polyobject Rotate instead (the difference is like this between door open and door raise I suppose).

Share this post


Link to post

I figured that instead of making a new thread I will change the title of this one and post my questions here.

Anyway, is there a way to key lock a door made with polyobjects? I read somewhere that in UDMF a lock can be given to any special, but I can't find how to this. Help will be much appreciated.

@Sawd, sorry for the late response, while simple your advice was extremely useful, so thanks a lot.

Share this post


Link to post
A.Gamma said:

Anyway, is there a way to key lock a door made with polyobjects? I read somewhere that in UDMF a lock can be given to any special, but I can't find how to this. Help will be much appreciated.


Set the locknumber property to the lockdefs number.
http://zdoom.org/wiki/Linedef#UDMF_properties

Share this post


Link to post

Gez directed you to the ZDoom WIKI, where you will find the line for locknumber



which in turn directs you to LOCKDEFS.

All this means is that, in the editor, you have to give the linedef a locknumber



Then in SLADE3 make a LOCKDEFS lump (in plain text) to specify the lock.
The examples given in the WIKI are a good guide.

Share this post


Link to post
Kappes Buur said:

Gez directed you to the ZDoom WIKI, where you will find the line for locknumber
[pic]
which in turn directs you to LOCKDEFS.

All this means is that, in the editor, you have to give the linedef a locknumber
[pic]
Then in SLADE3 make a LOCKDEFS lump (in plain text) to specify the lock.
The examples given in the WIKI are a good guide.


Yeah I figured as much, my problem is that I can't find the locknumber property on Doom builder

Share this post


Link to post

Add it, then. That "Click to add custom field" part isn't just for decoration. ;)

DB2 does seem to lack a couple of defined zdoom-UDMF properties (the "hidden" sector flag comes to mind), but the nice part is that you can always add them yourself since UDMF's all nice and extensible like that.

Share this post


Link to post

It works!
I added it following Kappes Buur screenshot and I'm using the yellow key (3) as a value.

I find it kind of dumb that DB2 does not has something so useful by default.

Share this post


Link to post

Good show.

Just a suggestion - use GZDoombuilder, it is more update and has many more functions.

While the name has a G at the beginning, that does not mean that it is only for GZDoom.

Share this post


Link to post
Kappes Buur said:

Good show.

Just a suggestion - use GZDoombuilder, it is more update and has many more functions.

While the name has a G at the beginning, that does not mean that it is only for GZDoom.


Downloaded it and I'm currently using it. Pretty cool stuff, seeing 3D floors ind the editor is incredibly useful. Also locknumber comes already defined!.

One thing though, can I add format definitions like I would on good ol' DB2?

Share this post


Link to post

Of course.

Share this post


Link to post
Sleepy me said:

...One thing though, can I add format definitions like I would on good ol' DB2?


Oh dear, I should stop posting while half-asleep.

Anyway, seeing how many things can been done on UDMF I wondered, is there a way to make a door that won't open on competitive multiplayer modes?

Share this post


Link to post

Yes, but you'll need ACS for that. Have the door's activating linedefs activate a script (80: ACS_Execute) instead of one of the usual door specials. In that script, use GameType to detect the game mode. In single player or coop, open the door, in deathmatch, do nothing.

Alternatively, give the door's activating linedefs a unique line ID, and have an OPEN script checking the GameType to erase their specials when playing in deathmatch, using SetLineSpecial (id, 0, 0, 0, 0, 0, 0).

Share this post


Link to post

Is there a way to make a door that opens both up and down at the same time a la Duke?

Also, forgot to thank Gez last time, so thanks Gez!

Share this post


Link to post
A.Gamma said:

Is there a way to make a door that opens both up and down at the same time a la Duke?


Yep. You can try using Pillar_Open and Pillar_Build.

Share this post


Link to post

Yes.

Share this post


Link to post

Hi there, I was wondering of there was a way to make Build style deep water.

Making deep water is simple enough but when you're inside a pool you will automatically submerge, this does not happen on the Build games, there you won't submerge unless you press the crouch/swim down key, so I was wondering, is there a way to replicate this effect on UDMF?

Share this post


Link to post

That's more a gameplay feature than a map feature.

Share this post


Link to post

True, but still if there is anyway to replicate it I figure it would be easier on UDMF (also too lazy to start another thread just for such a simple question :P).

Share this post


Link to post

I have a question

I have a 32,000 x 32,000 large landscape sector.

I have GZDoomBuilder and I've set the sector to use Fadecolor. However, I would like for actors inside this landscape-sector to be exempt from this Fadecolor effect. Is that possible?

Further more, is it possible to set a separate Fadecolor/ or Sectorcolor for just actors? This one I doubt, but it would be useful if it could be done easily :)

also, what is the best way to maintain the same Fadecolor atmosphere in all sectors under/ within this landscape sector? I mean with "Child sectors" such as crates.

Share this post


Link to post

hello folks.

did anyone see my question right ^^ there?

gemini09 said:

what is the best way to maintain the same Fadecolor atmosphere in all sectors under/ within this landscape sector? I mean with "Child sectors" such as crates.

Share this post


Link to post

To start with, 32k x 32k is too large. You risk getting overruns in distance checks.

To answer the question, I don't know if it's possible to make actors not subject to sector fade.

Also, if the surrounding sector has properties, then all sectors you create inside should inherit those properties when you create it in DB2. (If you create an unconnected sector, on the other hand, it'll have default properties.)

Share this post


Link to post

Thanks.

I wish the map size capacity could be increased. Personally I wouldn't mind! :)

Is it possible to attach the Fadecolor (in GZDB2: Sector properties->Custom->Fadecolor) to F_SKY? Or in another, similar fashion that you would recommend? I'm unsure of what the most practical method is.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now