Designing a Base from Templates
Posted: Wed Nov 19, 2014 10:02 am
I wanted to make a single player mission for Dune 2000 and found the editor to be quite limited in a few ways. I might be doing something wrong, but I could not see the buildings for various factions that I could put down. This got me thinking and I thought that there should be a way by which the creation of single player map can be made easier. So I made this little project of mine.
The idea I got was, there should be a way by which we can make a base quickly, so I started with developing an algorithm that can generate a base. Later I realized that making a base from a text file will be even easier, so now the plan is to add functionality for both methods. I only spent 3 hours on it and the current version has some bugs, but it is working fine with the RA mod. Support for other mods will be added in due time and a separate algorithm will be written to create random looking bases in far future. So this is what you do.
First of all, you design a base using a text file. The file can have both *.txt or *.yaml extension.
Then you open the software and enter the coordinates from where you want the base to be drawn. These are the top-left coordinates. Then, you load your file. The text is generated based on the base you defined, so press Ctrl + A inside the text box and Ctrl + C to copy the code.
Then you open the map.yaml file where you want to add the code as I have done in this picture:
Save the file and then just open the map to see your base in all of its glory
The code will be improved in due time and will be kept free for anyone to use. If someone wants the software at its current build state, they can get it from here. Be warned that this is a very early build and has many errors.
Enjoy!
The idea I got was, there should be a way by which we can make a base quickly, so I started with developing an algorithm that can generate a base. Later I realized that making a base from a text file will be even easier, so now the plan is to add functionality for both methods. I only spent 3 hours on it and the current version has some bugs, but it is working fine with the RA mod. Support for other mods will be added in due time and a separate algorithm will be written to create random looking bases in far future. So this is what you do.
First of all, you design a base using a text file. The file can have both *.txt or *.yaml extension.
Then you open the software and enter the coordinates from where you want the base to be drawn. These are the top-left coordinates. Then, you load your file. The text is generated based on the base you defined, so press Ctrl + A inside the text box and Ctrl + C to copy the code.
Then you open the map.yaml file where you want to add the code as I have done in this picture:
Save the file and then just open the map to see your base in all of its glory
The code will be improved in due time and will be kept free for anyone to use. If someone wants the software at its current build state, they can get it from here. Be warned that this is a very early build and has many errors.
Enjoy!