Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1779

WML Workshop • Re: [DEVLOG] Procedural Co-Op Labyrinth

$
0
0
I can’t change the map dimensions without breaking the generation algorithm.
I can't imagine this. I can't imagine code that is so bad that you can't change it that way. The size should be a variable that you can change everywhere by modifying one line of code. This is very important for testing. To test this add-on, you will need to play it many times, so you need to have the ability to make the map tiny to test new features. You want to be able to play in only four or five turns. I will take a look at your code and see if I can fix that part because I am curious what the code looks like. If I help, I will need the full add-on. I don't want something that I cannot open and test in the game.

You should not be using chatGPT to write WML. You have already seen the problems. I suggest downloading "WML Guide." It has code with many explanatory notes. You can learn how use WML to add enemies, fog of war, messages, and other things. That would be faster and less frustrating than using AI. You will need to translate the notes in the code, but that shouldn't be difficult if you have a little knowledge of English.

Statistics: Posted by beetlenaut — Today, 2:48 am



Viewing all articles
Browse latest Browse all 1779

Trending Articles