Non-free-Doom only filter?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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.

Non-free-Doom only filter?

Postby Matt » Thu Sep 13, 2018 11:14 am

Is there any way to set up something like a filter that only loads lumps if a Doom IWAD other than Freedoom is used? I'm trying to weed out all the non-free derivative sprites and whatnot (sprite alignment fixes, slight aesthetic adjustments, etc.) in my mod that only make sense in the id games.


(Conversely: is there a filter that can work for both Doom1 and Freedoom Phase 1?)
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: Non-free-Doom only filter?

Postby Caligari87 » Thu Sep 13, 2018 2:18 pm

Have you looked at Lump_filtering on the wiki? I think that's describing what you want. what am I talkign about, of course you have. Maybe I'm misunderstanding the question?

EDIT: Ah, I think I see the problem. You can't define both "filters/doom" (any doom game) and "filters/doom.freedoom" (freedoom only) without both being loaded at once, right?

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: Non-free-Doom only filter?

Postby Matt » Thu Sep 13, 2018 2:44 pm

Yeah, at this point my only option appears to be to set a whole bunch of extra stuff in the Freedoom filter to override the Doom stuff.

I might just end up using a script for my parenthetical question. the script would be longer than just copying the TEXTURES and ANIMDEFs twice, lol


EDIT: I think I misread Caligari's response.

What I'm trying to do is have a "doom" filter that applies to UD, D2, Plut and TNT, but not to FreedoomP1/P2/FreeDM.

A filter liket his would contain things like realigned weapon sprites and edits and TEXTURES alterations (e.g., HD's player and zombies shouldering their weapons when firing instead of firing from the hip, as well as some weapon HUD sprites to make the HD player consistently left-handed) that would not work at all if they appeared in Freedoom.


The only way I seem to be able to do this is to put all the id-Doom-only stuff into a folder and include four copies of it one in each of the UD/D2/Plut/TNT-specific filters or at least 2 copies in doom.doom1 and doom.doom2.

I'll try to see if there's any reasonably non-gross-hacky way to do this before I make a feature suggestion.
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia


Return to Scripting

Who is online

Users browsing this forum: No registered users and 2 guests