The "How do I..." Thread

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
edward850
Posts: 5904
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: The "How do I..." Thread

Post by edward850 »

Specific items? No, you're getting a wee bit too complex there.
You can make all items (sans flagged) show with a powerup, though.
User avatar
SyntherAugustus
Posts: 973
Joined: Tue Jul 15, 2003 5:43 pm

Re: The "How do I..." Thread

Post by SyntherAugustus »

Oh well. Thanks anyway.
User avatar
Yholl
Posts: 1955
Joined: Mon Dec 17, 2012 11:08 am
Location: Here, stupid.

Re: The "How do I..." Thread

Post by Yholl »

Is anyone familiar with .imf music files? ZDoom does support playing them, but for instance, Commander Keen ones play at about 150% normal speed, and Duke Nukem II ones play at over triple their normal speed, maybe even more. I've got no idea how to deal with this.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: The "How do I..." Thread

Post by wildweasel »

For some reason, IMF was never designed with a way to set the tempo of individual songs. Most Apogee games play their songs at the same tempo, except for Wolfenstein and Blake Stone, which were set to a faster tempo. Some IMF players recognize this change in tempo by playing .IMF files at the slower speed by default, and the faster Wolfenstein ones are recognized if they are renamed to .WMF.

I am unsure if, or how, ZDoom handles this.
User avatar
edward850
Posts: 5904
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: The "How do I..." Thread

Post by edward850 »

The tempo used to playback IMFs was hard coded into their engines, as wildweasel pointed out, thus ZDoom is currently forced to assume they all playback at 700Hz (Wolf3D). There is currently no method of changing this.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: The "How do I..." Thread

Post by Gez »

The devbuilds of SLADE 3 deal with this by having a list of known tempos and a CVAR to set the default value when the IMF song is not recognized.
User avatar
Yholl
Posts: 1955
Joined: Mon Dec 17, 2012 11:08 am
Location: Here, stupid.

Re: The "How do I..." Thread

Post by Yholl »

Well, I guess filesize city, here I come. That's a shame. Thanks for the responses.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: The "How do I..." Thread

Post by Gez »

Slade uses CRC-32 to identify them, not filesize.
User avatar
DoomKrakken
Posts: 3489
Joined: Sun Oct 19, 2014 6:45 pm
Location: Plahnit Urff
Contact:

Re: The "How do I..." Thread

Post by DoomKrakken »

Would anyone know how to create a CVAR that can toggle weapon recoil on or off? Mods I have in mind to use this for would be Guncaster, Trailblazer, and Project MSX.

Also, if at all possible, is there a way to create a universal mod that turns weapon recoil off?
User avatar
Caligari87
Admin
Posts: 6245
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: The "How do I..." Thread

Post by Caligari87 »

DoomKrakken wrote:Would anyone know how to create a CVAR that can toggle weapon recoil on or off? Mods I have in mind to use this for would be Guncaster, Trailblazer, and Project MSX.

Also, if at all possible, is there a way to create a universal mod that turns weapon recoil off?
Not universally, and probably not for any specific mod unless you edit the mod itself. Recoil is usually just a script creatively adjusting the player's view angle, and there's not really any universal way to counteract a running script unless you know exactly what it's doing. You can't just block angle changes, because then the player gets frozen and unable to look around.

More likely you should create a personal patch for those projects that overrides the script lumps, DECORATE or the relevant LOADACS lines, but you'll need to dig into each project and see how the author is handling recoil.

8-)
User avatar
DoomKrakken
Posts: 3489
Joined: Sun Oct 19, 2014 6:45 pm
Location: Plahnit Urff
Contact:

Re: The "How do I..." Thread

Post by DoomKrakken »

That's what I was going for... editing the mod itself to include said CVAR.

Thank you. :D

BRB.
User avatar
cambertian
Posts: 344
Joined: Thu May 07, 2015 4:24 pm
Graphics Processor: nVidia with Vulkan support
Location: New England Area, USA

Re: The "How do I..." Thread

Post by cambertian »

I'm trying to construct some maps for a school project, but I was wondering about UDMF.

From what I've been reading, UDMF should support scripting and slopes and whatnot, but every time I load up the map in GZDoom with a Doom 2 WAD, the slopes never appear, and for a while the scripting wasn't working either. I'm assuming it has to do with Doom 2's WAD being present.

Is there any way to use Doom 2's assets while also using those extra features? I would prefer not to use Doom-in-Hexen format if possible.
User avatar
phantombeta
Posts: 2197
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: The "How do I..." Thread

Post by phantombeta »

User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: The "How do I..." Thread

Post by cocka »

for a school project
Do you create levels with builder in school?
I would prefer not to use Doom-in-Hexen format if possible.
Why not? It's more flexible than doom/boom format.
User avatar
cambertian
Posts: 344
Joined: Thu May 07, 2015 4:24 pm
Graphics Processor: nVidia with Vulkan support
Location: New England Area, USA

Re: The "How do I..." Thread

Post by cambertian »

cocka wrote:Do you create levels with builder in school?
It's for a college level design class. I'm taking a game programming major, but there's bits and pieces of game design included.
cocka wrote:Why not? It's more flexible than doom/boom format.
Textures/flats seem fairly rigid - I can't seem to scale or move textures, so lights have to be in specific places and sizes. Not aiming for authenticity so much as flexibility.
I can work with it if need-be.

I did manage to get slopes working eventually, but they're the action-special variety. I don't know if there's going to be any future repercussions if I stick with them.

I'll try updating GZDoom and the Builder - I don't remember ever updating the ones I've got in my "Doom Modding" folder.
Locked

Return to “Editing (Archive)”