#include for MODELDEFs and zips inside zips!
Moderator: Graf Zahl
-
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England
#include for MODELDEFs and zips inside zips!
I've just tried using #include in a modeldef file and it doesn't work, it probably doesn't work in some other scripts as well. But it does in decorate and acs, so why not in other scripts. I'm stuck with infinte long modeldef and doomdefs files.
Another thing is I can't get a .pk3 loading when it's in another pk3 (I would use zip but for some reason I prefer pk3, even though they're both the same!) is there a way, or could there be a way, like how gzdoom loads every .wad inside a zip automatically or a launch parameter which can search in zips like directories, a bit like how doomsday works. Not much of a suggestion but very useful, it would make thing much tidier.
Another thing is I can't get a .pk3 loading when it's in another pk3 (I would use zip but for some reason I prefer pk3, even though they're both the same!) is there a way, or could there be a way, like how gzdoom loads every .wad inside a zip automatically or a launch parameter which can search in zips like directories, a bit like how doomsday works. Not much of a suggestion but very useful, it would make thing much tidier.
Last edited by ChupaReaper on Fri Dec 21, 2007 14:34, edited 2 times in total.
-
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
-
- Developer
- Posts: 4753
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
-
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
-
- Developer
- Posts: 4753
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
-
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England
I'm starting (have started) a 3D resource where 1 pk3 file adds one creature or weapon, and if someone wants to download the lot they'd have to do every single file one by one, where as I could release packs. I wont merge the pk3s together because one slight change means I've got to edit this huge pk3.
And for the big packs which I use pk4 for (for batch loaders) I have loads of modeldefs to do and massive sndinfos which is why #include for modeldefs mainly and doomdefs would help, a LOT!
And for the big packs which I use pk4 for (for batch loaders) I have loads of modeldefs to do and massive sndinfos which is why #include for modeldefs mainly and doomdefs would help, a LOT!
-
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England
#include for MODELDEFs and zips inside zips!
You could call this a bump!
ZIPS or PK3s inside a zip would really be useful right now, there's support for wads inside pk3s so it can't be too hard to add support for zips inside zips too right?
And I'm happy now that I don't a a 10k lines long DOOMDEFS file anymore (thanks to #include support) but I've still got a giant MODELDEF.
So basically:
-Compressed files loading inside compressed files like wads do
-#include support for MODELDEFs
This would really save my middle finger from dropping off due to all the scrolling I have to do!
ZIPS or PK3s inside a zip would really be useful right now, there's support for wads inside pk3s so it can't be too hard to add support for zips inside zips too right?
And I'm happy now that I don't a a 10k lines long DOOMDEFS file anymore (thanks to #include support) but I've still got a giant MODELDEF.
So basically:
-Compressed files loading inside compressed files like wads do
-#include support for MODELDEFs
This would really save my middle finger from dropping off due to all the scrolling I have to do!
-
- Posts: 1000
- Joined: Wed Jul 06, 2005 11:58
- Location: What's that fucking smell
-
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England
-
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
#include for SNDINFO is not needed; SNDINFO lumps are additive.
... would work.
Code: Select all
sndinfo.zombieman
sndinfo.shotgunguy
-
- Developer
- Posts: 4753
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
-
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
-
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England
But what if it's in a different folder of a zip? Do all text files in a SNDINFO folder work? If so, what about subfolders? I've a lot of scripts to organize because of my very big and ambitious project! If sndinfo lumps, modeldefs and even decorates and gldefs were to load like sounds/sprites/graphics do in their folders, that would be even better because it would save me from writing rows and rows of #includes!
-
- Developer
- Posts: 4753
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
Personally, I've always considered multiple lumps of the same name clumsy and not all Doom tools allow it.Nash wrote:It still would. Just have more than one SNDINFO lump.
Doing so would also remove one of the nice features of #include which is to be able to give the various lumps meaningful names so you know what their content is without opening them.
-
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England