Random level generator mod

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

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.
User avatar
iHaveYourGun
Posts: 40
Joined: Sun Apr 16, 2023 9:21 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Android 5.1
Graphics Processor: Not Listed

Random level generator mod

Post by iHaveYourGun »

If someone can make a random level generator MOD? Then I'm all ears.
User avatar
Kizoky
Posts: 291
Joined: Mon Nov 14, 2011 9:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them

Re: Random level generator mod

Post by Kizoky »

User avatar
iHaveYourGun
Posts: 40
Joined: Sun Apr 16, 2023 9:21 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Android 5.1
Graphics Processor: Not Listed

Re: Random level generator mod

Post by iHaveYourGun »

Thanks for the option but that's not what I'm looking for.
User avatar
Hexereticdoom
Posts: 660
Joined: Thu Aug 08, 2013 1:30 pm
Graphics Processor: nVidia with Vulkan support
Location: Spain

Re: Random level generator mod

Post by Hexereticdoom »

Apart from the aforementioned one:

Oblige
ObHack
Slige

There are not so many to choose from, you know... :-|
User avatar
Caligari87
Admin
Posts: 6190
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him

Re: Random level generator mod

Post by Caligari87 »

It's simply not possible to generate a new map from scratch inside the engine at this time.

The only way to achieve "random" maps is either a system where map areas are opened or closed to allow player movement (such as a grid of sectors), or a series of prefab rooms connected with portals or teleports. There have been a few examples of both.

8-)
User avatar
ramon.dexter
Posts: 1556
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Random level generator mod

Post by ramon.dexter »

iHaveYourGun wrote: Thu Jul 06, 2023 1:01 pm Thanks for the option but that's not what I'm looking for.
Okay, what exactly are you looking for then? You know, advising you anything when you dont specify your requirements is pretty impossible.
User avatar
iHaveYourGun
Posts: 40
Joined: Sun Apr 16, 2023 9:21 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Android 5.1
Graphics Processor: Not Listed

Re: Random level generator mod

Post by iHaveYourGun »

The reason why I said "that's not what I'm looking for." Is because I don't have a pc and I can't run exe files on a TABLET! So basically, what I meant when I said "random level generator mod" I meant it as a pk3 or wad file. I know it sounds stupidly funny but I'm serious........ But if anyone can MAKE one THEN I would like to hear it (even though it's in text).
User avatar
ramon.dexter
Posts: 1556
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Random level generator mod

Post by ramon.dexter »

iHaveYourGun wrote: Thu Jul 13, 2023 12:41 am The reason why I said "that's not what I'm looking for." Is because I don't have a pc and I can't run exe files on a TABLET!

...and this information should have been in the first post... :wink:

And no, your request is not stupid at all. But based on what others told you, the tablet is little bit dead end. Either, you have to make the mod yourself, or patiently wait until someone makes something like that.
User avatar
iHaveYourGun
Posts: 40
Joined: Sun Apr 16, 2023 9:21 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Android 5.1
Graphics Processor: Not Listed

Re: Random level generator mod

Post by iHaveYourGun »

Oki thanks for letting me know!
User avatar
Sgt Major Kiwi
Posts: 53
Joined: Sat Oct 24, 2020 9:01 pm
Preferred Pronouns: She/Her
Location: Raiding your kitchen (stealing your cheese)

Re: Random level generator mod

Post by Sgt Major Kiwi »

Caligari87 wrote: Tue Jul 11, 2023 10:59 am It's simply not possible to generate a new map from scratch inside the engine at this time.

The only way to achieve "random" maps is either a system where map areas are opened or closed to allow player movement (such as a grid of sectors), or a series of prefab rooms connected with portals or teleports. There have been a few examples of both.
I've wondered lately if doing such a thing, generating a level at runtime, would be possible through the use of a levelpostprocessor. I know it can modify the properties of linedefs or sectors, though I'm not sure just how capable they are, and with them lacking a proper wiki page the only way I can find out is by experimenting. though, if all else fails, that grid idea could still be used to make predefined tiles. I'm hoping however that I can find some way of simply making vertices and linedefs and sectors, but chances are it won't be so easy.
User avatar
phantombeta
Posts: 2110
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Random level generator mod

Post by phantombeta »

Sgt Major Kiwi wrote: Fri Jul 21, 2023 12:41 amI'm hoping however that I can find some way of simply making vertices and linedefs and sectors, but chances are it won't be so easy.
You can't. The best you can do is modify existing ones, and even then there's still limitations. (e.g., you can't add a back side to a line that doesn't already have one, can't remove the back side of a line...)
So, unfortunately, it's impossible to fully generate levels in-engine. The best you can do is connect existing areas in a map in different ways (using portals) or make the whole level a grid, with the only things you add being actors and models, and changing things like line flags and textures.
Jarewill
 
 
Posts: 1805
Joined: Sun Jul 21, 2019 8:54 am

Re: Random level generator mod

Post by Jarewill »

Caligari87 wrote: Tue Jul 11, 2023 10:59 am There have been a few examples of both.
And those examples are:
ZDoom-Templated for the portal method.
All Dungeons! for the sector grid method.
User avatar
iHaveYourGun
Posts: 40
Joined: Sun Apr 16, 2023 9:21 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Android 5.1
Graphics Processor: Not Listed

Re: Random level generator mod

Post by iHaveYourGun »

Sorry I didn't get back to this post after July 13th but I will try those examples and I will tell you how it went. Okay?
User avatar
iHaveYourGun
Posts: 40
Joined: Sun Apr 16, 2023 9:21 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Android 5.1
Graphics Processor: Not Listed

Re: Random level generator mod

Post by iHaveYourGun »

ZDoom Templated: Its good it regenerates every time except one small issue. everytime i happen to go ahead and walk into a room i glitches and shows a completely different room. i wish i could show you the error but this website says the file is too large.

All Dungeons!: couldn't run i cause remember, i only have a tablet. And the file format it says and shows on the itch.io site (which is where i took me to download the file) is apperently an .exe so i can't review unfortunately :(

Return to “Mapping”