Thursday, March 22, 2018

Randuke (My Duke3d Random Map Generator) Completely Overhauled...

Just Redid Randuke to make it better starting last night. I was sick and tired of the bad architecture in Randuke 3.1 so I decided to make a new version that attempted to use Rooms (and pieces of rooms) from 3d Realms levels are prefabs.  I thought that would make much better levels...

It took a long time to make this version. I was working on it all night last night and all day today.




The new version has much better architecture than the old version, thanks to the new prefabs. Prefabs such as book stores,  city streets, sewage plants, freeways, duke burgers, and others are  based on parts of rooms from the 3d realms levels. Other setpeices, Radio Stations, Shop N Bags, the roof of the hotel in e3m3, bathrooms, freight enterances with loading docks, post offices, and more are actually based on entire rooms however... The difference this makes is amazing...


Making this was not easy. It was a bitch to get these new prefabs to work right. At first I took big chunks of levels and made walls palette 1 (what you have to do to mark a wall as a connector for other rooms) but that didn't work. I had to add doors to every prefab for it to work. That took hours of work.. It finally started to work right 2 hours in... For a while It kept on using only 2 prefabs. It almost didn't get made. This could have been a complete failure. Instead it became a great Random Map Generator.






Here are screenshots:




Version 4.0 is available to download Here: It uses these new prefabs...

Running it is a bit tricky.. It's a dos program.

A) Extract the zip file above to a new folder : C:\randuke

B) set the mode by doing this:
Go to a dos prompt and type:
1) cd C:\randuke
2) Mode <mode you want to use>
Mode can be a number from 1 to 3. 1 Corresponds to Duke3d 1.4, 2 Corresponds to Duke3d 20th Anniversary World Tour without the new enemies or weapons being used. 3 Corresponds to 20th anniversary with those new enemies and weapons used.
Exit the dos prompt.

C) If you are running a windows Vista or higher system you will need dosbox. Install it and run it and type the following in
1) Mount C: C:\randuke then Hit Enter
2) Hit CTRL+F12 till the cpu cycles becomes 50,000 or more
3) Type randuke and hit enter
D) If you are running a windows XP system or lower just run a normal dos prompt and type
1) cd C:\randuke then Hit Enter
2) Randuke then  Hit Enter

E) Randuke will ask you how many structures to put in the level. Put in no higher than 8 for this.
Then it will ask you how many additional structures to put in. Set this to a low value like 3. The rest of the values should be 1. Be patient as it makes the level because this can take some time.

F) Go to a dos prompt and type
1) cd C:\randuke
2) copymaps <name of level> (omit the .map extension - it is put in automatically for you)
This will copy the newest level to your duke3d folder. If running duke3d 1.4 you will need eduke32 and can load the level with user map feature. If running 20th anniversary load a new game and hit ~ and type in map <same map name you typed in in copy maps>

EDIT :

Fixed a bug in one of the prefabs that made the player get stuck in a room when leaving...

EDIT 2 :

Fixed another major bug.. Redownload it... The bug was level breaking...