- Aug 2, 2009
- 539
- 334
After looking at old posts of mine, I found that I once made a random map generator (http://forums.tf2maps.net/showthread.php?t=11564)
However that program did not really produce anything useful and I no longer had the source code, so today I decided to write a new map generator.
So today I got the basics coded and wrote a simple terrain generator. Basicly it is a python script that writes a vmf file that can be opened by hammer and then compiled,
Unfortunalty I already faced a lot of problems, most notacibly the long compile times. I had planned to make a full tf2 styled map (minus objectives and spawns). For instance I wanted to generate bridges and towers such as at gravelpit point c. However seeing as how this simple map already took 9 minute to compile, I would have to make some huge optimizations to make a more complicated map feasable.
Now the maps that it generates is functional, not very playable. The higher areas are only reachables by demoman and soldiers (and scouts with FaN).
Some more pictures
http://steamcommunity.com/sharedfiles/filedetails/?id=159083482
http://steamcommunity.com/sharedfiles/filedetails/?id=159083603
Size when compared to a soldier
http://steamcommunity.com/sharedfiles/filedetails/?id=159082550
http://steamcommunity.com/sharedfiles/filedetails/?id=159082463
If you want to check it out for your self, the code will be publicly available at
https://github.com/martijnterpstra/mblock/blob/master/mblock.py
In the next version I will probably make the terrain smoother (there are already way too many minecraft themed maps) and make everything more optimized.
However that program did not really produce anything useful and I no longer had the source code, so today I decided to write a new map generator.
So today I got the basics coded and wrote a simple terrain generator. Basicly it is a python script that writes a vmf file that can be opened by hammer and then compiled,
Unfortunalty I already faced a lot of problems, most notacibly the long compile times. I had planned to make a full tf2 styled map (minus objectives and spawns). For instance I wanted to generate bridges and towers such as at gravelpit point c. However seeing as how this simple map already took 9 minute to compile, I would have to make some huge optimizations to make a more complicated map feasable.
Now the maps that it generates is functional, not very playable. The higher areas are only reachables by demoman and soldiers (and scouts with FaN).
Some more pictures
http://steamcommunity.com/sharedfiles/filedetails/?id=159083482
http://steamcommunity.com/sharedfiles/filedetails/?id=159083603
Size when compared to a soldier
http://steamcommunity.com/sharedfiles/filedetails/?id=159082550
http://steamcommunity.com/sharedfiles/filedetails/?id=159082463
If you want to check it out for your self, the code will be publicly available at
https://github.com/martijnterpstra/mblock/blob/master/mblock.py
In the next version I will probably make the terrain smoother (there are already way too many minecraft themed maps) and make everything more optimized.