What do the numbers do in the SWITCHES lump?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
What do the numbers do in the SWITCHES lump?
I'm trying to make a switches lump for a texture pack, but I don't know what the numbers under the "type" column mean. Do they have a specific function?
Re: What do the numbers do in the SWITCHES lump?
Have you looked at the [wiki]SWITCHES[/wiki] page?
Also, is there a particular reason that you want to make a SWITCHES style lump? If not, [wiki]ANIMDEFS[/wiki] is likely to be better.
Also, is there a particular reason that you want to make a SWITCHES style lump? If not, [wiki]ANIMDEFS[/wiki] is likely to be better.
Re: What do the numbers do in the SWITCHES lump?
So what if I set all my switch textures to 3? And Im making a SWITCHES lump because the pack I got didn't come with one.
- Kappes Buur
-
- Posts: 4120
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: What do the numbers do in the SWITCHES lump?
The numbers for switches are as follows according to DEFSWANI.DATgman829 wrote:So what if I set all my switch textures to 3? And Im making a SWITCHES lump because the pack I got didn't come with one.
So, if you are mapping for DOOM2 then use 2*. Switches are either off or on.switches usable with each IWAD, 1=SW, 2=DOOM2, 3=registered/Ultimate DOOM
And, of course, the dat file must be co#switches usable with each IWAD, 1=SW, 2=registered DOOM, 3=DOOM2mpiled with SWANTBLS.EXE
ANIMDEFS is more versatile, where you can also specify the duration for each switch state,
as for example animated switches with more than two frames.
And, of course, it is just a text lump.
* see correction below
Last edited by Kappes Buur on Sun Jul 26, 2020 2:39 pm, edited 2 times in total.
Re: What do the numbers do in the SWITCHES lump?
That's backwards; it's 2 for Doom and 3 for Doom II.Kappes Buur wrote:The numbers for switches are as follows according to DEFSWANI.DATswitches usable with each IWAD, 1=SW, 2=DOOM2, 3=registered/Ultimate DOOM
- Kappes Buur
-
- Posts: 4120
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: What do the numbers do in the SWITCHES lump?
I got this from an old download of utils050999.zip
I just checked, the download from https://zdoom.org/files/utils/utils050999.zip is correct.
I just checked, the download from https://zdoom.org/files/utils/utils050999.zip is correct.
Nice catch, Gez#switches usable with each IWAD, 1=SW, 2=registered DOOM, 3=DOOM2
Re: What do the numbers do in the SWITCHES lump?
Thanks. I think I'll stick to Animdefs.