Fraggle script is supposed to allow modders to add additional levels and redirect the player to them. For example, E1M1 can be set up to exit to a level called "PIBBLE" or whatever, insread of E1M2, and PIBBLE can then exit back to E1M2, or yet another level with a different name.
I know it is in the documentation, and I know it is in Eternity, perhaps also in SMMU. Legacy has the fraggle commands to make levels exit to other nonstandard levels, but at last look, they do not work in Legacy.
My question is whether or not this is implemented in GZDooM. I know the code for fraggle script was added to GZDooM from Legacy, so, is it implemented, and, more importantly, does it work?
Extra Levels via Fraggle Script?
Moderator: Graf Zahl
- Boingo the Clown
- Posts: 102
- Joined: Sat Dec 03, 2005 17:40
- Location: North of New York, West of Montreal, East of Toronto, and South of Hell
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Using the ZDoom architecture, you can name your map lumps whatever you want ("PIBBLE" or whatever), but the level exit functions uses numerical parameters, so in your MAPINFO lump, you still have to give your PIBBLE map a valid map number, for example MAP02.
If your exit lines trigger ACS scripts that call a level exit function, you can #define a constant to replace the numbers if that makes you remember the name better (#define PIBBLE 2).
If I'm not making any sense to you, then I suggest you read up on MAPINFO and try it yourself.
If your exit lines trigger ACS scripts that call a level exit function, you can #define a constant to replace the numbers if that makes you remember the name better (#define PIBBLE 2).
If I'm not making any sense to you, then I suggest you read up on MAPINFO and try it yourself.
- Gez
- Developer
- Posts: 1399
- Joined: Mon Oct 22, 2007 16:47
That is, if you want to use ACS for level exits. Otherwise, you can just use next and secretnext.Nash wrote:Using the ZDoom architecture, you can name your map lumps whatever you want ("PIBBLE" or whatever), but the level exit functions uses numerical parameters, so in your MAPINFO lump, you still have to give your PIBBLE map a valid map number, for example MAP02.
- Boingo the Clown
- Posts: 102
- Joined: Sat Dec 03, 2005 17:40
- Location: North of New York, West of Montreal, East of Toronto, and South of Hell
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Yup. They take you to the maps you specify as next in MAPINFO.
Also for other exits, you don't have to use ACS. You can pass level numbers (as defined in MAPINFO using the levelnum command) directly on to certain exit line types (teleport_new_map or whatever it's called) and have (G)Zdoom take you to the map specified.
Also for other exits, you don't have to use ACS. You can pass level numbers (as defined in MAPINFO using the levelnum command) directly on to certain exit line types (teleport_new_map or whatever it's called) and have (G)Zdoom take you to the map specified.
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Boingo the Clown
- Posts: 102
- Joined: Sat Dec 03, 2005 17:40
- Location: North of New York, West of Montreal, East of Toronto, and South of Hell
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Boingo the Clown
- Posts: 102
- Joined: Sat Dec 03, 2005 17:40
- Location: North of New York, West of Montreal, East of Toronto, and South of Hell
- Contact: